]> git.baikalelectronics.ru Git - uboot.git/commit
smegw01: Enable EMMC boot from multiple partitions
authorEduard Strehlau <eduard@lionizers.com>
Wed, 26 Apr 2023 16:04:54 +0000 (13:04 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 2 May 2023 08:57:32 +0000 (10:57 +0200)
commit69c372ce8f76df5dec970027b65e17ce97dbd3b6
tree7c49e023a47c3bab969a410977377ceba2f6c190
parentabb8c683f0f19c98354b3581bc17771f09656429
smegw01: Enable EMMC boot from multiple partitions

GPT Partition labels are used for determining the right
root filesystem to boot from.

The U-Boot environment is configured to reside in the eMMC hardware
boot partition we are currently booted from.

This should enable a dual copy approach for upgrading the bootloader.
One can overwrite the inactive hardware partition with new bootloader
and environment and afterwards switch the eMMC boot partition for an
atomic bootloader switch.

Signed-off-by: Eduard Strehlau <eduard@lionizers.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
board/storopack/smegw01/smegw01.c
configs/smegw01_defconfig
include/configs/smegw01.h