cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP15 ECO 5.0.0 u-boot build tool only outputs optee files for ST boards

debugging
Lead

No matter what is in the following line of the Makefile.sdk (even it is empty)

UBOOT_DEVICETREE_stm32mp15_defconfig ?= stm32mp157c-ed1 stm32mp157f-ed1 stm32mp157a-ev1 stm32mp157c-ev1 stm32mp157d-ev1 stm32mp157f-ev1 stm32mp157a-dk1 stm32mp157d-dk1 stm32mp157c-dk2 stm32mp157f-dk2  <custom board>

make -f $PWD/../Makefile.sdk all

Only create optee files for the st boards as can be seen form the output from the build:

fiptool-stm32mp config:
optee:
bl32 config value: optee
devicetree config: stm32mp157c-ed1 stm32mp157f-ed1 stm32mp157a-ev1 stm32mp157c-ev1 stm32mp157d-ev1 stm32mp157f-ev1 stm32mp135f-dk stm32mp157a-dk1 stm32mp157d-dk1 stm32mp157c-dk2 stm32mp157f-dk2

Make clean does not have affect.

while.....

make -f $PWD/../Makefile.sdk UBOOT_CONFIG=trusted UBOOT_DEFCONFIG=stm32mp15_defconfig UBOOT_BINARY=u-boot.dtb DEVICETREE=stm32mp157a-<custon board> all

does output the optee file.

[fiptool] Create fip-stm32mp157a-<custom board>-optee.bin fip binary into 'FIP_DEPLOYDIR_FIP' folder..

What does u-btoot use to select the board to build ?

Output:

 

[fiptool] Create fip-stm32mp157c-ed1-optee.bin fip binary into 'FIP_DEPLOYDIR_FIP' folder...
[fiptool] Done
[fiptool] Create fip-stm32mp157f-ed1-optee.bin fip binary into 'FIP_DEPLOYDIR_FIP' folder...
[fiptool] Done
[fiptool] Create fip-stm32mp157a-ev1-optee.bin fip binary into 'FIP_DEPLOYDIR_FIP' folder...
[fiptool] Done
[fiptool] Create fip-stm32mp157c-ev1-optee.bin fip binary into 'FIP_DEPLOYDIR_FIP' folder...
[fiptool] Done
[fiptool] Create fip-stm32mp157d-ev1-optee.bin fip binary into 'FIP_DEPLOYDIR_FIP' folder...
[fiptool] Done
[fiptool] Create fip-stm32mp157f-ev1-optee.bin fip binary into 'FIP_DEPLOYDIR_FIP' folder...
[fiptool] Done
[fiptool] Create fip-stm32mp135f-dk-optee.bin fip binary into 'FIP_DEPLOYDIR_FIP' folder...
[fiptool] Done
[fiptool] Create fip-stm32mp157a-dk1-optee.bin fip binary into 'FIP_DEPLOYDIR_FIP' folder...
[fiptool] Done
[fiptool] Create fip-stm32mp157d-dk1-optee.bin fip binary into 'FIP_DEPLOYDIR_FIP' folder...
[fiptool] Done
[fiptool] Create fip-stm32mp157c-dk2-optee.bin fip binary into 'FIP_DEPLOYDIR_FIP' folder...
[fiptool] Done
[fiptool] Create fip-stm32mp157f-dk2-optee.bin fip binary into 'FIP_DEPLOYDIR_FIP' folder...
[fiptool] Done

1 ACCEPTED SOLUTION

Accepted Solutions
debugging
Lead

stoped using the makefile.sdk and just use make commands

View solution in original post

1 REPLY 1
debugging
Lead

stoped using the makefile.sdk and just use make commands