[U-Boot] booting optee via SPL on imx6q
Shyam Saini
shyam at amarulasolutions.com
Fri Jan 4 11:46:34 UTC 2019
Hi Kever,
I've been trying to boot optee via SPL on my imx6 board.
I see you added booting optee via SPL support in this commit.
http://git.denx.de/?p=u-boot.git;a=commit;h=70fe2876352939194ccd9091379453a5ddb64ddb
I used fit image to do this. Here is my fit *.its file content
https://paste.ubuntu.com/p/5FYkGqswX9/
When I power on my imx6 board it hangs on spl_optee_entry function with
this message "Jumping to U-Boot via OP-TEE"
Here are the complete logs:
# logs without reserved TZ RAM
https://paste.ubuntu.com/p/wGxXSvPSkS/
# logs with reserved TZ RAM
https://paste.ubuntu.com/p/7KgYJx8V9p/
I'm not sure why is it hanging. But when i put some print statements
in optee os it doesn't print, so i guess something wrong from SPL
side.
One more question, what is the significance of "mov pc, r3", here
http://git.denx.de/?p=u-boot.git;a=blob;f=common/spl/spl_optee.S;h=86fc3985465b4e4f6cf300923b0f8d6564e8be64;hb=70fe2876352939194ccd9091379453a5ddb64ddb
I compiled optee os with CFG_NS_ENTRY_ADDR=0x17800000 i.e, u-boot
load address in my case.
Do you know what am i missing?
I'd really appreciate any help from you.
Thanks a lot,
Shyam
More information about the U-Boot
mailing list