2023-08-31 02:44 AM - edited 2023-08-31 02:46 AM
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
Solved! Go to Solution.
2023-09-15 10:17 PM
stoped using the makefile.sdk and just use make commands
2023-09-15 10:17 PM
stoped using the makefile.sdk and just use make commands