EMMC Bootarea selection Debugging
Hi,
i implemented our TF-A update by using both bootareas:
1) checking EXTCSD for active bank
2) flashing opposite bank
3) after verification switching EXTCSD (mmc bootpart enable)
not failsafe but at least atomic / verified.
(btw, i'm missing the feature that the ROMCode does a fallback to the inactive bootarea in case the selected one is unbootable.)
The TF-A is not printing any information about the used partition. It's always showing:
INFO: Using EMMC
INFO: Instance 2
INFO: Boot used partition fsbl1
which is of course misleading, because there is no fsbl1 partition anywhere on the emmc. It's also "1" if i boot from second boot area ([PARTITION_CONFIG: 0x50]), so the bootcontext information for this seems only to be valid in case of booting from userarea, e.g. SDC?
Is there any (undocumented) information for that (reflecting used boot area) in the bootcontext i could use for a debug message? I ensured that the mechanism is working by selecting a bootpartition without content - nothing happens then, so it's working and bootstrapping is correct.
thanks,
Simon
