2024-09-28 03:54 AM
Hi,
I want to boot my image from the user data area partition in the eMMC of my stm32mp257f-ev1 board by disabling the eMMC hardware partitions (the mmcblk1boot0/1) in U-Boot like this:
mmc partconf 1 0 0 0
Unfortunately, the ROM code can't load my image (even TF-A). Here's my WIC file:
part --part-name fsbla1 --fixed-size 256K --source rawcopy --sourceparams="file=${DEPLOY_DIR_IMAGE}/arm-trusted-firmware/tf-a-${STM32MP_DT_FILES_EMMC}-optee-emmc.stm32" --align 4096 part --part-name fsbla2 --fixed-size 256K --source rawcopy --sourceparams="file=${DEPLOY_DIR_IMAGE}/arm-trusted-firmware/tf-a-${STM32MP_DT_FILES_EMMC}-optee-emmc.stm32" --align 4096 # metadata for fsbla update part --part-name metadata1 --fixed-size 256K --source rawcopy --sourceparams="file=${DEPLOY_DIR_IMAGE}/arm-trusted-firmware/metadata.bin" --part-type 8DA63339-0007-60C0-C436-083AC8230908 part --part-name metadata2 --fixed-size 256K --source rawcopy --sourceparams="file=${DEPLOY_DIR_IMAGE}/arm-trusted-firmware/metadata.bin" --part-type 8DA63339-0007-60C0-C436-083AC8230908 part --part-name fip-a --source rawcopy --sourceparams="file=${DEPLOY_DIR_IMAGE}/fip/fip-${STM32MP_DT_FILES_EMMC}-optee-emmc.bin" --part-type 19d5df83-11b0-457b-be2c-7559c13142a5 --uuid 4fd84c93-54ef-463f-a7ef-ae25ff887087 part --part-name fip-b --source rawcopy --sourceparams="file=${DEPLOY_DIR_IMAGE}/fip/fip-${STM32MP_DT_FILES_EMMC}-optee-emmc.bin" --part-type 19d5df83-11b0-457b-be2c-7559c13142a5 --uuid 09c54952-d5bf-45af-acee-335303766fb3
Thank you
Solved! Go to Solution.
2024-09-29 11:28 PM
Hi @zakariazh
BootROM can only boot from the active boot partition of the eMMC. That's cannot be changed.
Regards,
2024-09-29 11:28 PM
Hi @zakariazh
BootROM can only boot from the active boot partition of the eMMC. That's cannot be changed.
Regards,