Not able to change eMMC boot partition
Hi there,
I have a custom CPU: STM32MP153CAB Rev.Z board and setting up a redundant bootloader setup on eMMC. In order for that to work I should be able to switch between boot partitions.
This is how I'm trying to do that in u-boot:
STM32MP> mmc partconf 1
EXT_CSD[179], PARTITION_CONFIG:
BOOT_ACK: 0x1
BOOT_PARTITION_ENABLE: 0x1
PARTITION_ACCESS: 0x0Then I've got expected output from TF-A:
INFO: Using EMMC
INFO: Instance 2
INFO: Boot used partition fsbl1When I switch to a second partition though:
STM32MP> mmc partconf 1 1 2 0
STM32MP> mmc partconf 1
EXT_CSD[179], PARTITION_CONFIG:
BOOT_ACK: 0x1
BOOT_PARTITION_ENABLE: 0x2
PARTITION_ACCESS: 0x0I still get the same message in TF-A:
INFO: Using EMMC
INFO: Instance 2
INFO: Boot used partition fsbl1What am I missing here? Is boot_context populated correctly by TF-A? Is second boot partition used at all by ROM?

