This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to run my own trusted firmware BL32 on juno r2

Hi, 

I am trying to use arm trusted firmware with my own BL32 (with 0xFF000000 entry point as specified). I want BL31 switch to my secure world that generate smc (aftersome init) to switch to normal world.
For that I use this compilation configuration:

make PLAT=juno SCP_BL2=scp-fw.bin ARM_TSP_RAM_LOCATION=dram BL32=<path_yo_my_fw>.bin BL33=bl33-uboot.bin LOG_LEVEL=40 all fip

And I get these traces :

INFO: BL2: Loading image id 4
WARNING: Failed to obtain reference to image id=4 (-2)
ERROR: BL2: Failed to load image (-2)

And with tspd with this congiguration :

make PLAT=juno SCP_BL2=scp-fw.bin ARM_TSP_RAM_LOCATION=dram BL32=<path_yo_my_fw>.bin SPD=tspd BL33=bl33-uboot.bin LOG_LEVEL=40 all fip

I get these traces:

INFO:    BL31: Initializing BL32

then it crashes when trying to execute this line :  rc = tspd_enter_sp(&tsp_ctx->c_rt_ctx);

Thank you for your help

 

0