Le 15/11/2014 15:39, Oscar C a écrit :
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.
Ok, thanks for finding the problem. :)
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.
The 2 solutions need to update u-boot packages and JeOS images too. Is there anyone else who prefer one or the other solution? I think it may be better to use SPL + u-boot in 2 files so that we do not hit a size limit for 1st external loader (SPL). (Not sure what is the limit for sunxi, but for OMAP3, it is very limited as it uses a small SRAM for SPL). Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org