Date: Tue, 19 Aug 2014 11:38:52 +0900 From: FUKAUMI Naoki <fun@naobsd.org> To: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: U-boot for Banana Pi Message-ID: <53F2B8BC.3000403@naobsd.org> In-Reply-To: <53F27EB9.3090805@toomeek.waw.pl> References: <53EE0F93.6060407@toomeek.waw.pl> <53EE23B1.2020403@toomeek.waw.pl> <CAGtf9xNTsQg-WKMu%2BRqNmF3W=vKm8ccvNdcL1VKm9gWwRohsTw@mail.gmail.com> <53EE402D.8000204@toomeek.waw.pl> <20140815214416.GJ60808@cicely7.cicely.de> <53EFCD6C.5000601@toomeek.waw.pl> <53EFD5D5.7010406@toomeek.waw.pl> <53F0E640.5030506@toomeek.waw.pl> <53F14BD7.1050007@fukaumi.org> <53F1A126.1020408@toomeek.waw.pl> <53F1D8FD.9010903@fukaumi.org> <53F27EB9.3090805@toomeek.waw.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53F2B8BC.3000403>