cancel
Showing results for 
Search instead for 
Did you mean: 

Problem booting an m33 TA app from the RFS

PJD
Associate

Cannot boot an m33 TA app from the RFS on a STM32mp257f-DK board running latest OpenSTLinux starter package image.
Any assistance would be appreciated. Please see details and boot error below.

STEPS USED:
1) build a TA m33 application in STM32CubeIDE
2) from PC ssh .elf file - 73551a82-b721-4e53-9c84-c962e172c8ad.elf to target dir /lib/firmware
3) from PC ssh .ta file - 73551a82-b721-4e53-9c84-c962e172c8ad.ta to target dir /lib/optee_armtz/
4) from target terminal invoke command: root@stm32mp2unknownunknown:/lib/firmware# echo 73551a82-b721-4e53-9c84-c962e172c8ad.elf > /sys/class/remoteproc/remoteproc0/firmware
5) from target terminal invoke command: root@stm32mp2unknownunknown:/lib/firmware# echo start > /sys/class/remoteproc/remoteproc0/state


TARGET TERMIAL OUTPUT:

root@stm32mp2unknownunknown:/lib/firmware# ls
73551a82-b721-4e53-9c84-c962e172c8ad.elf DKfullTest_CM33.elf LICENCE.cypress_bcm4373 regulatory.db
73551a82-b721-4e53-9c84-c962e172c8ad.stripped.elf LICENCE.cypress_bcm4343 brcm regulatory.db.p7s
root@stm32mp2unknownunknown:/lib/firmware# echo 73551a82-b721-4e53-9c84-c962e172c8ad.elf > /sys/class/remoteproc/remoteproc0/firmware
root@stm32mp2unknownunknown:/lib/firmware# echo start > /sys/class/remoteproc/remoteproc0/state

THIS IS THE ERROR i'M GETTING:

[ 1176.101390] remoteproc remoteproc0: powering up m33
E/TA: remoteproc_load_fw:1250 Can't Authenticate the firmware (res = 0xffff0006)
[ 1176.154315] tee_remoteproc optee-ta-80a4c275-0a47-4905-8285-1486a9771a08: TA_RPROC_FW_CMD_LOAD_FW invoke failed TEE err: ffff0006, ret:0
[ 1176.161258] remoteproc remoteproc0: Boot failed: -5
sh: write error: Input/output error
root@stm32mp2unknownunknown:/lib/firmware#

0 REPLIES 0