Date: Thu, 28 Feb 2013 16:58:42 -0800 From: Oleksandr Tymoshenko <gonzo@bluezbox.com> To: XiaoQI Ge <ghw@7axu.com> Cc: freebsd-arm@freebsd.org Subject: Re: I u-boot fails to compile Message-ID: <512FFD42.4090304@bluezbox.com> In-Reply-To: <CAKrd9eXru-NCFPeK6Hso=CU2-4LPB0qTXssqYASPMQ2fMAG-NA@mail.gmail.com> References: <CAKrd9eUVGuU=NuKfCP5d1uaTPC4XoMkjzn_AzcAqeh%2Bu2E9STw@mail.gmail.com> <512FD685.8070009@bluezbox.com> <CAKrd9eX5CyjNDExQvd-4b3JhZSNtVoeneMiVgYU8nvem=6qHeA@mail.gmail.com> <512FF7B9.4070700@bluezbox.com> <CAKrd9eXru-NCFPeK6Hso=CU2-4LPB0qTXssqYASPMQ2fMAG-NA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2/28/2013 4:46 PM, XiaoQI Ge wrote: > === > Command: > sh > gmake cubieboard SED=sed CROSS_COMPILE=arm-freebsd- > === > serial console echo > > Skip SD equipment > Boot from NAND Looks like problem with toolchain, I'll try to reproduce it and see how it goes. Last question: how did you connect SD card to FreeBSD host system. AFAIR I had more success using USB reader for dd'ing u-boot than when I used SD card slot (seen as an mmcsd device) on laptop. Haven't looked further though - device was quirky in general so I just wrote the stuff off to its quirkiness. FWIW, if you're not adding specific options to the build you might want to use pre-built binaries for time being and modify boot.scr/uEnv.txt to your needs: http://people.freebsd.org/~gonzo/arm/hackberry/ > > === > Welcome to Ge, XiaoQI's Homepage! <https://www.7axu.com> > Gtalk/E-Mail <mailto:ghw@7axu.com>:ghw@7axu.com <mailto:ghw@7axu.com> > > > > 2013/3/1 Oleksandr Tymoshenko <gonzo@bluezbox.com > <mailto:gonzo@bluezbox.com>> > > On 2/28/2013 4:28 PM, XiaoQI Ge wrote: > > I compiled the file size of 22,016 Byte / occupied space of > 24,576 Byte is rather http://people.freebsd.org/ ~~ ganbold / > cubieboard / sunxi-spl.bin size and space are 20,480 Byte is > not where Iwrong ah? > > These files produced the SD card can not start > === > dd if = / dev / zero of = a10.img bs = 1m count = 1 > dd if = sunxi-spl.bin conv = notrunc of = a10.img bs = 1024 > seek = 8 > dd if = u-boot.bin conv = notrunc of = a10.img bs = 1024 seek = 32 > dd if = a10.img of = $ {DEVNAME} bs = 1m > === > > > Which commands did you use to compile u-boot? > What's printed on serial console when you're trying to boot device? > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?512FFD42.4090304>