Changes between Version 31 and Version 32 of MMC
- Timestamp:
- 05/16/2024 07:15:33 PM (11 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MMC
v31 v32 132 132 * mmc bootbus <dev> <boot_bus_width> <reset_boot_bus_width> <boot_mode> 133 133 * mmc bootpart-resize <dev> <boot-part-size-mb> <rpmb-part-size-mb> 134 * mmc partconf <dev> <boot_ack> <boot -partition> <partition-access> # set PARTITION_CONFIG field134 * mmc partconf <dev> <boot_ack> <boot_partition_enable> <partition_access> # set PARTITION_CONFIG field 135 135 * mmc rst-function <dev> <value> # change RST_n_FUNCTION field between 0|1|2 (write-once) 136 136 137 137 The {{{mmc partconf}}} command can be used to configure the PARTITION_CONFIG specifying what hardware partition to boot from: 138 138 {{{#!bash 139 mmc partconf 0 0 0 0 # disable boot partition (default unset condition; boots from user partition) 140 mmc partconf 0 1 1 0 # set boot0 partition (with ack) 141 mmc partconf 0 1 2 0 # set boot1 partition (with ack) 142 mmc partconf 0 1 7 0 # set user partition (with ack) 143 }}} 139 setenv ack 0 # 0=no boot ack sent 1=boot ack sent during boot 140 setenv part 7 # valid options are 1=boot0, 2=boot1, 7=user 141 setenv access 0 # specify partition to switch to 142 mmc partconf $dev $ack $part $access # set emmc PARTITION_CONFIG register 143 }}} 144 - Note that setting the PARTITION_ACCESS field (access above) via 'mmc partconf' selects the current active partition; you should followup with an 'mmc dev $dev $part' afterward before reading/writing with the 'mmc' command 144 145 145 146 If U-Boot has been built with {{{CONFIG_SUPPORT_EMMC_RPMB}}} the {{{mmc rpmb}}} command is available for reading, writing and programming the key for the Replay Protection Memory Block (RPMB) partition in eMMC.