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)
commit31c6c79a01c05dca9ab93b42f0f97d973a4db61f
tree7c49e023a47c3bab969a410977377ceba2f6c190
parent52726d24d6c8e857f40d9125b0bce5f6272b6022
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