Skip to main content
debugging
Lead
September 3, 2023
Solved

STM32MP15 ECO 5.0.0 FIP does not contain tee-pageable

  • September 3, 2023
  • 1 reply
  • 863 views

After building optee, tf-a and uboot the info of the fip file results in

Secure Payload BL32 (Trusted OS): offset=0x128, size=0x1C, cmdline="--tos-fw"
Secure Payload BL32 Extra1 (Trusted OS Extra1): offset=0x144, size=0x30BB8, cmdline="--tos-fw-extra1"
Non-Trusted Firmware BL33: offset=0x30CFC, size=0xF5D3C, cmdline="--nt-fw"
FW_CONFIG: offset=0x126A38, size=0x1EA, cmdline="--fw-config"
HW_CONFIG: offset=0x126C22, size=0xCFB8, cmdline="--hw-config"

and extraction of the files in

-rw-rw-r-- 1 user user 490 Sep 3 18:22 fw-config.bin
-rw-rw-r-- 1 user user 53176 Sep 3 18:22 hw-config.bin
-rw-rw-r-- 1 user user 1006908 Sep 3 18:22 nt-fw.bin
-rw-rw-r-- 1 user user 28 Sep 3 18:22 tos-fw.bin
-rw-rw-r-- 1 user user 199608 Sep 3 18:22 tos-fw-extra1.bin

The Secure Payload BL32 Extra2 (Trusted OS Extra2) seems not been added by the build scripts ? is this correct ?

BTW the pageable file are zero bytes  ?

See also: https://wiki.st.com/stm32mpu/wiki/How_to_configure_TF-A_FIP

This topic has been closed for replies.
Best answer by debugging

It seems when using OPTEE using page swapping on DDR BL32 extra 2 is empty. At least my boot process passes with this now.

1 reply

debugging
debuggingAuthorBest answer
Lead
September 15, 2023

It seems when using OPTEE using page swapping on DDR BL32 extra 2 is empty. At least my boot process passes with this now.