I u-boot fails to compile
Oleksandr Tymoshenko
gonzo at bluezbox.com
Fri Mar 1 00:58:46 UTC 2013
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 at 7axu.com>:ghw at 7axu.com <mailto:ghw at 7axu.com>
>
>
>
> 2013/3/1 Oleksandr Tymoshenko <gonzo at bluezbox.com
> <mailto:gonzo at 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?
>
>
>
More information about the freebsd-arm
mailing list