El 2014-11-14 11:06, Guillaume Gardet escribió:
Le 14/11/2014 01:03, Oscar a écrit :
Hi,

El 2014-11-13 09:30, Guillaume Gardet escribió:
Hi,

Cc'ing opensuse-arm ML.


Le 12/11/2014 21:29, Oscar a écrit :
Hi,

I'm trying to boot my cubieboard but it seems that there's a problem with the SPL and u-boot files. I'm not sure why, but generating the u-boot-sunxi-with-spl.bin, which is a bundle of the SPL and u-boot in one file, seems to do the trick. Adding the following line makes u-boot happy:

+install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin

Just have it in /boot partition is ok, or did you replace your SPL
with this file (using dd tool)?

It's not enough, you need to replace the spl & u-boot files with this file.

Replace SPL should be enough since u-boot is packaged in this one.


I did some tests and the problem seems to be the u-boot binary. Using u-boot.bin does not work, but using u-boot.img does work. That way even if I use both files (instead of the all-in-one file) it still works. What does not work is u-boot.bin + SPL.

Do we prefer to use SPL + u-boot (raw or on a partition) or raw
bootable u-boot (all in one: u-boot + SPL)?

Either solutions are fine. I personally prefer the all-in-one as it's easier to maintain.

Did SPL + u-boot (separated) work previously?

I have no such board to perform tests.


u-boot 2014.10 is the first release with a complete support for sunxi boards, so this is the first time we use it (previously we used a downstream u-boot).

--
Oscar.
Cheers,
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to