Re: [PATCH] mmc-utils: Add ffu modes documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 5 Jan 2025 at 13:16, Avri Altman <avri.altman@xxxxxxx> wrote:
>
> Add documentation entries for the recently added optional ffu modes,
> specifically, to exist in https://mmc-utils.readthedocs.io/en/latest/.
>
> Signed-off-by: Avri Altman <avri.altman@xxxxxxx>
> Cc: Bean Huo <beanhuo@xxxxxxxxxx>

Applied for master, thanks!

Kind regards
Uffe


> ---
>  docs/HOWTO.rst | 15 ++++++++++++++-
>  1 file changed, 14 insertions(+), 1 deletion(-)
>
> diff --git a/docs/HOWTO.rst b/docs/HOWTO.rst
> index 0ce7279..095a9bd 100644
> --- a/docs/HOWTO.rst
> +++ b/docs/HOWTO.rst
> @@ -35,7 +35,20 @@ Running mmc-utils
>          Print SCR data from <device path>. The device path should specify the scr file directory.
>
>      ``ffu <image name> <device> [chunk-bytes]``
> -        Run Field Firmware Update with <image name> on <device>. [chunk-bytes] is optional and defaults to its max - 512k. Should be in decimal bytes and sector aligned.
> +      Default mode.  Run Field Firmware Update with `<image name>` on `<device>`. `[chunk-bytes]` is optional and defaults to its max - 512k. Should be in decimal bytes and sector aligned.
> +
> +    ``opt_ffu1 <image name> <device> [chunk-bytes]``
> +      Optional FFU mode 1, it's the same as 'ffu', but uses CMD23+CMD25 for repeated downloads and remains in FFU mode until completion.
> +
> +    ``opt_ffu2 <image name> <device> [chunk-bytes]``
> +      Optional FFU mode 2, uses CMD25+CMD12 Open-ended Multiple-block write to download and remains in FFU mode until completion.
> +
> +    ``opt_ffu3 <image name> <device> [chunk-bytes]``
> +      Optional FFU mode 3, uses CMD24 Single-block write for downloading, exiting FFU mode after each block written.
> +
> +    ``opt_ffu4 <image name> <device> [chunk-bytes]``
> +      Optional FFU mode 4, uses CMD24 Single-block write for repeated downloads, remaining in FFU mode until completion.
> +
>
>      ``erase <type> <start address> <end address> <device>``
>          Send Erase CMD38 with specific argument to the <device>. NOTE!: This will delete all user data in the specified region of the device. <type> must be one of: legacy, discard, secure-erase, secure-trim1, secure-trim2, or trim.
> --
> 2.25.1
>




[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux