Hi,
On 11/01/17 20:20, Andrea Venturi wrote:
> Il giorno mercoledì 11 gennaio 2017 06:46:10 UTC+1, Priit Laes ha scritto:
>
> On Tue, 2017-01-10 at 15:44 -0800, Andrea Venturi wrote:
> > hello
> >
> > i'm following the notes for booting my Orange PI PC2 from the
> > embedded SPI flash! finally..
> >
> >
https://linux-sunxi.org/Bootable_SPI_flash
> <
https://linux-sunxi.org/Bootable_SPI_flash>
> >
> > i,m using H5 branch of apritzel
> uboot:
https://github.com/apritzel/u- <
https://github.com/apritzel/u->
Please have some more patience. The existing code will take you nowhere:
- You seem to build a 32-bit only U-Boot, so no way to start 64-bit
kernels (check: you should have no booti command, but only bootz).
- This branch does not support a 64-bit SPL, so you can't switch to
this. You really need to combine a 32-bit SPL with a 64-bit U-Boot
proper, but ...
- You don't have ATF loaded, so the kernel will crash unless you disable
all secondary CPUs in the DT (which means you have one core only). Also
I believe there is one more thing which will fail, IIRC.
I managed to finally clean up my SPL FIT support last night, so there
should be a clean way of including the ATF in this process very soon.
And please be advised that this branch was more proof of concept code
and is a bit outdated already. Hopefully I will be able to send some
proper H5 U-Boot patches for discussion in the next few days.
Cheers,
Andre.