Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: SlyCom on October 29, 2013, 12:29:07 PM

Title: Buil uboot, kernel...
Post by: SlyCom on October 29, 2013, 12:29:07 PM
Hi,

I'm trying build uboot as mentioned in: https://www.olimex.com/wiki/Build_Bootable_SD_Card_with_Debian#Write_Uboot_and_Kernel_you_build (https://www.olimex.com/wiki/Build_Bootable_SD_Card_with_Debian#Write_Uboot_and_Kernel_you_build)

but with no success. I have following message:

QuoteU-Boot SPL 2013.10-rc2-08400-g8a4621c (Oct 28 2013 - 05:14:01)
Board: A13-OLinuXino
DRAM: 512 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
spl: not an uImage at 1600
spl: not an uImage at 80
### ERROR ### Please RESET the board ###
Title: Re: Buil uboot, kernel...
Post by: progmetalbg on October 29, 2013, 12:37:33 PM
Hi,

U-Boot 2013.10 installation is different:

dd if=spl/sunxi-spl.bin of=/dev/sdX bs=1024 seek=8
dd if=u-boot.img of=/dev/sdX bs=1024 seek=40


or just:

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

Check sunxi u-boot wiki page:

https://github.com/linux-sunxi/u-boot-sunxi/wiki (https://github.com/linux-sunxi/u-boot-sunxi/wiki)
Title: Re: Buil uboot, kernel...
Post by: SlyCom on October 29, 2013, 03:58:35 PM
Thanks! Now it's better but still need to write the rootfs to the sd card.