Re: [PATCH] sunxi: eMMC: support TOC0 on boot partitions

2023-01-14 Thread Samuel Holland
Hi Andre, On 1/4/23 19:58, Andre Przywara wrote: > To determine whether we have been booted from an eMMC boot partition, we > replay some of the checks that the BROM must have done to successfully > load the SPL. This involves a checksum check, which currently relies on > the SPL being wrapped in

[PATCH] sunxi: eMMC: support TOC0 on boot partitions

2023-01-04 Thread Andre Przywara
To determine whether we have been booted from an eMMC boot partition, we replay some of the checks that the BROM must have done to successfully load the SPL. This involves a checksum check, which currently relies on the SPL being wrapped in an "eGON" header. If a board has secure boot enabled, the