2025-01-07 02:42 AM
hi all,
I am using
u-boot: git clone -b v2023.10-stm32mp https://github.com/STMicroelectronics/u-boot.git
TF: git clone -b v2.10-stm32mp-r1 https://github.com/STMicroelectronics/arm-trusted-firmware.git
export CROSS_COMPILE to extracted toolchain: arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-
Build u-boot
make ARCH=arm stm32mp15_defconfig
make DEVICE_TREE=stm32mp157f-dk2
TF:
make PLAT=stm32mp1 ARCH=aarch32 ARM_ARCH_MAJOR=7 STM32MP_SDMMC=1 STM32MP_EMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157f-dk2.dtb BL33_CFG=../u-boot/u-boot.dtb BL33=../u-boot/u-boot-nodtb.bin all fip
copy the generated tf-a-stm32mp157f-dk2.stm32 and the fip.bin to the fsbl1 fsbl2 and fip partitions of the SD card.
On board it hangs on
NOTICE: BL2: Booting BL32
Do I need some additional menuconfig to set for u-boot?
Exactly same steps (except using stm32mp157c-dk2, DEVICE_TREE=stm32mp157c-dk2 and DTB_FILE_NAME=stm32mp157f-dk2.dtb ) for
git clone -b v2024.10 https://source.denx.de/u-boot/u-boot.git
git clone -b v2.12.0 https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git
works perfectly.
regards
2025-01-07 02:45 AM
also the official fip/fip-stm32mp157f-dk2-opteemin-sdcard.bin works perfectly when I copy to the fip partition. Maybe dump the config and compare?
2025-01-08 01:45 AM
Unfortunately fip-stm32mp157f-dk2-opteemin-sdcard.bin doesnt have config command configured so can not dump the settings.
BTW there is a small error in first post:
"
Do I need some additional menuconfig to set for u-boot?
Exactly same steps (except using stm32mp157c-dk2, DEVICE_TREE=stm32mp157c-dk2 and DTB_FILE_NAME=stm32mp157f-dk2 stm32mp157c-dk2.dtb ) for
git clone -b v2024.10 https://source.denx.de/u-boot/u-boot.git
git clone -b v2.12.0 https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git
works perfectly.