From owner-freebsd-arm@FreeBSD.ORG Tue Aug 19 02:51:04 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 54734F40 for ; Tue, 19 Aug 2014 02:51:04 +0000 (UTC) Received: from mail.naobsd.org (7c294571.i-revonet.jp [124.41.69.113]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DF33933DD for ; Tue, 19 Aug 2014 02:51:03 +0000 (UTC) Received: from [192.168.1.135] ([192.168.1.135]) (authenticated bits=0) by mail.naobsd.org (8.13.6.20060614/8.13.6) with ESMTP id s7J2cqRR004390 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 19 Aug 2014 11:38:53 +0900 (JST) Message-ID: <53F2B8BC.3000403@naobsd.org> Date: Tue, 19 Aug 2014 11:38:52 +0900 From: FUKAUMI Naoki User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: "freebsd-arm@freebsd.org" Subject: Re: U-boot for Banana Pi References: <53EE0F93.6060407@toomeek.waw.pl> <53EE23B1.2020403@toomeek.waw.pl> <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> In-Reply-To: <53F27EB9.3090805@toomeek.waw.pl> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2014 02:51:04 -0000 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