El 2014-10-31 16:47, Siarhei Siamashka escribió:
On Fri, 31 Oct 2014 13:59:19 +0100
Oscar wrote:

Hi,

Did anyone use u-boot 2014.10 from mainline on a A20 board
(cubieboard2)?

Yes, it works. Though some things are a bit different if compared
with https://github.com/linux-sunxi/u-boot-sunxi

Although it seems to compile fine, there seems to be a
problem with the generated SPL image since the u-boot code doesn't even
load. All I have is this:

U-Boot SPL 2014.10 (Oct 26 2014 - 15:20:59)
DRAM: 1024 MiB
CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
### ERROR ### Please RESET the board ###

Thanks!

How do you write the compiled u-boot to the SD card?

mmm. I tried to write SPL & u-boot separated, but it didn't work:

dd if=boot/sunxi-spl.bin of=/dev/sdb bs=1024 seek=8 conv=notrunc
dd if=boot/u-boot.bin of=/dev/sdb bs=1024 seek=40 conv=notrunc

Doing it only in one file worked like a charm:

dd if=boot/u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8 conv=notrunc

Is there a reason why it didn't work with u-boot and SPL splitted in two files but worked fine in just one file? I though that the u-boot-sunxi-with-spl.bin was just the two files concatenated.

Thanks,

--
Best regards,
Siarhei Siamashka

--
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to