Sunxi (pine64-lts) SPL load BL32
Amit Tomer
amittomer25 at gmail.com
Fri Dec 20 18:26:41 CET 2019
Hi Adam,
> I am attempting to boot the Pine64-lts with a Trusted OS. In the ARM-TF
> documentation it states "make sure the loader (SPL) loads the Trusted OS
> binary to the beginning of DRAM (0x40000000)." I have yet to find a
> mechanism by which U-Boot's SPL for this platform can be configured to do
> this. Any help would be appreciated.
You can use "sunxi-fel" tool(which is part of sunxi-tool[0]) to load
Secure OS on pine64.
Also, you have to use specific SPL binary[1] to make it work.Besides
that you need USB Type A Male to Type A male cable(connected
from host to upper USB socket on Pine64 machine)
So, you can try following from host machine(after building sunxi-tool package)
# /sunxi-fel -v -p spl sunxi-a64-spl32-ddr3.bin write 0x44000 bl31.bin
write 0x40000000 tee-pager_v2.bin write 0x4a000000 u-boot.bin write
0x42080000 Image write 0x43080000 sun50i-a64-pine64-plus.dtb reset64
0x44000
Hi Andre,
Right now, we club different binaries together using FIT image(if I am
right ?), is it a good idea to club Secure OS image as well
with in FIT for A64 based platform ?
[0]: https://github.com/linux-sunxi/sunxi-tools
[1]: https://github.com/apritzel/pine64/tree/master/binaries
Thanks
-Amit
More information about the U-Boot
mailing list