diff options
author | Tom Rini <trini@konsulko.com> | 2024-11-25 17:23:49 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-11-25 17:34:08 -0600 |
commit | 48380f9b2a12e3fc6339d6af5a154bded769d911 (patch) | |
tree | 4782d21bfc7ddf81f757a38a85bf47d18f20e69d /doc/usage/dfu.rst | |
parent | dc1859f8d2ac3faaa5e2e1d465ec4bd8980520a5 (diff) | |
parent | 3073246d1be682071d8b3d07d06c2484907aed60 (diff) | |
download | u-boot-48380f9b2a12e3fc6339d6af5a154bded769d911.tar.gz |
Merge tag 'v2025.01-rc3' into nextWIP/25Nov2024-next
Prepare v2025.01-rc3
Diffstat (limited to 'doc/usage/dfu.rst')
-rw-r--r-- | doc/usage/dfu.rst | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/usage/dfu.rst b/doc/usage/dfu.rst index 8cc09c308d8..af805514b26 100644 --- a/doc/usage/dfu.rst +++ b/doc/usage/dfu.rst @@ -22,6 +22,7 @@ U-Boot implements this DFU capability (CONFIG_DFU) with the command dfu Today the supported DFU backends are: - MMC (RAW or FAT / EXT2 / EXT3 / EXT4 file system / SKIP / SCRIPT) +- SCSI (UFS, RAW partition, FAT / EXT2 / EXT3 / EXT4 file system / SKIP / SCRIPT) - NAND - RAM - SF (serial flash) @@ -51,6 +52,7 @@ The following configuration options are relevant to device firmware upgrade: * CONFIG_DFU_MTD * CONFIG_DFU_NAND * CONFIG_DFU_RAM +* CONFIG_DFU_SCSI * CONFIG_DFU_SF * CONFIG_DFU_SF_PART * CONFIG_DFU_TIMEOUT @@ -167,6 +169,36 @@ mmc Please note that this means the user will be able to execute any arbitrary commands just like in the u-boot's shell. +scsi + for UFS storage:: + + dfu 0 scsi <dev> + + each element in *dfu_alt_info* being + + * <name> raw <offset> <size> raw access to SCSI LUN + * <name> part <part_id> raw access to partition + * <name> fat <part_id> file in FAT partition + * <name> ext4 <part_id> file in EXT4 partition + * <name> skip 0 0 ignore flashed data + * <name> script 0 0 execute commands in shell + + with + + size + is the size of the access area (hexadecimal without "0x") + or 0 which means whole device + partid + is the GPT or DOS partition index. + dev + is the SCSI LU (Logical Unit) index (decimal only) + + A value of environment variable *dfu_alt_info* for UFS could be:: + + u-boot part 4;bl2 raw 0x1e 0x1d + + See mmc section above for details on the skip and script types. + nand raw slc nand device:: @@ -278,6 +310,7 @@ alternate list separated by '&' with the same format for each <alt>:: mmc <dev>=<alt1>;....;<altN> nand <dev>=<alt1>;....;<altN> ram <dev>=<alt1>;....;<altN> + scsi <dev>=<alt1>;....;<altN> sf <dev>=<alt1>;....;<altN> mtd <dev>=<alt1>;....;<altN> virt <dev>=<alt1>;....;<altN> |