install_linux_fw_uuu: reconfigure fastboot after partitioning
Fastboot is configured on boot with the current MMC configuration. If we create a GPT partition table, we need to restart fastboot before we try to program any partition with the 'flash' fastboot command. Set 'fastboot_dev' to a different device, 'sata' for example an back to 'mmc' to trigger a fastboot restart after creating the partition table on blank devices. Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
This commit is contained in:
parent
afb57ef521
commit
7076d9f24e
|
|
@ -201,6 +201,10 @@ uuu fb: acmd reset
|
||||||
# Wait for the target to reset
|
# Wait for the target to reset
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
|
# Restart fastboot with the latest MMC partition configuration
|
||||||
|
uuu fb: ucmd setenv fastboot_dev sata
|
||||||
|
uuu fb: ucmd setenv fastboot_dev mmc
|
||||||
|
|
||||||
# Update Linux
|
# Update Linux
|
||||||
part_update "linux" "${INSTALL_LINUX_FILENAME}"
|
part_update "linux" "${INSTALL_LINUX_FILENAME}"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -260,6 +260,10 @@ uuu fb: acmd reset
|
||||||
# Wait for the target to reset
|
# Wait for the target to reset
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
|
# Restart fastboot with the latest MMC partition configuration
|
||||||
|
uuu fb: ucmd setenv fastboot_dev sata
|
||||||
|
uuu fb: ucmd setenv fastboot_dev mmc
|
||||||
|
|
||||||
# Set fastboot buffer address to $loadaddr, just in case
|
# Set fastboot buffer address to $loadaddr, just in case
|
||||||
uuu fb: ucmd setenv fastboot_buffer \${loadaddr}
|
uuu fb: ucmd setenv fastboot_buffer \${loadaddr}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue