U-boot for Banana Pi
FUKAUMI Naoki
fun at naobsd.org
Tue Aug 19 02:51:04 UTC 2014
hi
(sorry, forgot to sent to ML)
On 08/19/2014 07:31 AM, TooMeeK Admin wrote:
> # Original Banana Pi U-boot loader
> #dd if=/usr/src/u-boot-sunxi/spl/sunxi-spl.bin conv=notrunc
> of=banana.img bs=1024 seek=8
> #dd if=/usr/src/u-boot-sunxi/u-boot.bin conv=notrunc of=banana.img
> bs=1024 seek=40
> # Lemaker's U-boot loader
> dd if=/usr/src/u-boot-bananapi/spl/sunxi-spl.bin conv=notrunc
> of=banana.img bs=1024 seek=8
> dd if=/usr/src/u-boot-bananapi/u-boot.bin conv=notrunc of=banana.img
> bs=1024 seek=40
:
> And according to https://github.com/linux-sunxi/u-boot-sunxi/wiki
> "If using v2013.07 or earlier then the procedure is slightly different
> dd if=spl/sunxi-spl.bin of=/dev/sdX bs=1024 seek=8
> dd if=u-boot.bin of=/dev/sdX bs=1024 seek=32"
>
> So it SHOULD be seek=40 and it's not working anyway..
sorry, I misunderstood about you're using of=(file) and conv=notrunc. as
you said, seek=32 should be correct...
> The only way it works is:
> # Cubieboard's 2 U-boot loader from FreeBSD Wiki
> dd if=sunxi-spl.bin conv=notrunc of=banana.img bs=1024 seek=8
> dd if=u-boot.bin conv=notrunc of=banana.img bs=1024 seek=32
did you download these files from my site? (androtab.info)
--
FUKAUMI Naoki
More information about the freebsd-arm
mailing list