u-boot-dey: add mmc partconf command to uuu scripts
Add running 'mmc partconf 0 1 1 1' command to the uuu scripts after writing the new U-Boot into the internal eMMC. This is required for blank eMMCs on CC8MN and CC8X SOMs where the 'update' command has never been run to be able to boot from eMMC. Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
This commit is contained in:
parent
5fa8b17a09
commit
ae05d9633a
|
|
@ -53,6 +53,9 @@ uuu fb: ucmd setenv forced_update 1
|
||||||
# Update U-Boot
|
# Update U-Boot
|
||||||
uuu fb: flash bootloader ${INSTALL_UBOOT_FILENAME}
|
uuu fb: flash bootloader ${INSTALL_UBOOT_FILENAME}
|
||||||
|
|
||||||
|
# Set MMC to boot from BOOT1 partition
|
||||||
|
uuu fb: ucmd mmc partconf 0 1 1 1
|
||||||
|
|
||||||
# Set 'bootcmd' for the second part of the script that will
|
# Set 'bootcmd' for the second part of the script that will
|
||||||
# - Reset environment to defaults
|
# - Reset environment to defaults
|
||||||
# - Save the environment
|
# - Save the environment
|
||||||
|
|
|
||||||
|
|
@ -115,6 +115,9 @@ uuu fb: ucmd setenv forced_update 1
|
||||||
# Update U-Boot
|
# Update U-Boot
|
||||||
uuu fb: flash bootloader ${INSTALL_UBOOT_FILENAME}
|
uuu fb: flash bootloader ${INSTALL_UBOOT_FILENAME}
|
||||||
|
|
||||||
|
# Set MMC to boot from BOOT1 partition
|
||||||
|
uuu fb: ucmd mmc partconf 0 1 1 1
|
||||||
|
|
||||||
# Set 'bootcmd' for the second part of the script that will
|
# Set 'bootcmd' for the second part of the script that will
|
||||||
# - Reset environment to defaults
|
# - Reset environment to defaults
|
||||||
# - Save the environment
|
# - Save the environment
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue