Hi experts Ash WildingMark Nicholson Michele Wilkinson,
I configured my Juno board as this instruction and my workspace is initialized by the script from that page too.
Now I met some unknown issues when setting secure timer for my board. I find the ARM-TF provides a test secure payload and they utilize the secure timer so I want to try this payload to confirm my board's timer works well.
In this case, I'm wondering can I still use the workspace I got to build the TSP for Juno board?
If I can, could you please give me some hints about how to modify the build scripts? If I can't, is there any other instructions about applying the TSP on Juno?
Thank you in advance.
Simon
Hi Simon, I'm away from the office myself without physical access to a Juno board for the next ~week, so am limited in how much I can investigate this. I'll take a look when I can, though.
Hi Ash, would you get a chance to look into the case this week? I tried to open my Juno box while I don't find the FPGA UART port so I think it's better for me to just configure the TSP with SoC UARTs, thank you.
Hi Simon,
I think it would be wise to take this to a private case: please can you send an email to juno-support@arm.com and I'll pick it up.
Please do keep in mind, though, that this is starting to fall out of scope of what we officially support and so I may be limited in how much I can help you.
The problem you are experiencing is due to the recent changes to the way the deliverables communicate with the SCP - via SCMI rather than SCPI (see the Release Notes).
To fix this you need to build Trusted Firmware with the `CSS_USE_SCMI_SDS_DRIVER=1' flag set, i.e.:
CROSS_COMPILE=../gcc/bin/aarch64-linux-gnu- \ make PLAT=juno DEBUG=1 LOG_LEVEL=40 \ BL33=../out/SOFTWARE/bl33-uboot.bin \ SCP_BL2=../out/SOFTWARE/scp_bl2.bin \ CSS_USE_SCMI_SDS_DRIVER=1 \ SPD=tspd \ all fip
This will let you successfully boot when using the Linaro Release 17.07 board files.
To see the TSP output, attach an RS232 10-pin to DB9 connector to the J55 header on your Juno:
The UART uses the same 115200 8N1 setup as the main UARTs on the back of the board. You should see messages like this printed there:
INFO: TSP: cpu 0x80000100: 340 smcs, 340 erets 170 cpu suspend requests INFO: TSP: cpu 0x80000100 resumed. maximum off power level 1 INFO: TSP: cpu 0x80000100: 341 smcs, 341 erets 170 cpu suspend requests INFO: TSP: cpu 0x80000100: 342 smcs, 342 erets 171 cpu suspend requests INFO: TSP: cpu 0x80000100 resumed. maximum off power level 1 INFO: TSP: cpu 0x80000100: 343 smcs, 343 erets 171 cpu suspend requests INFO: TSP: cpu 0x80000100: 344 smcs, 344 erets 172 cpu suspend requests INFO: TSP: cpu 0x80000100 resumed. maximum off power level 1 INFO: TSP: cpu 0x80000100: 345 smcs, 345 erets 172 cpu suspend requests INFO: TSP: cpu 0x80000100: 346 smcs, 346 erets 173 cpu suspend requests INFO: TSP: cpu 0x80000100 resumed. maximum off power level 1 INFO: TSP: cpu 0x80000100: 347 smcs, 347 erets 173 cpu suspend requests INFO: TSP: cpu 0x80000100: 348 smcs, 348 erets 174 cpu suspend requests
Hope that helps,Ash.
Thank you very much, Ash! I think I can get the correct output now. I'm sorry that I don't see the last message about sending email to the support team. Have a good day.
No problem at all, glad to be of help :)