Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2013 09:23:33 +0800
From:      XiaoQI Ge <ghw@7axu.com>
To:        Oleksandr Tymoshenko <gonzo@bluezbox.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: I u-boot fails to compile
Message-ID:  <CAKrd9eUFs2o2fTQo85Yb-2BUoXFSBx2-FtEdQ9vcHvVnDzuyEQ@mail.gmail.com>
In-Reply-To: <512FFD42.4090304@bluezbox.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> <512FFD42.4090304@bluezbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
sunxi-spl.bin u-boot.bin from http://people.freebsd.org/ ~ gonzo / arm /
hackberry /
Can not start from my own compiled u-boot

1, I is the kernel of the SD card
fatload mmc 0 0x40200000 kernel
go 0x40200000
So start (SD Carry only the kernel to a file)
2, outside a USB storage disk
Inside it (da0s2, ufs, freebsd_base)
=== dmesg ===
https://www.7axu.com/dmesg.log.txt

===
Welcome to Ge, XiaoQI's Homepage! <https://www.7axu.com>;
Gtalk/E-Mail <ghw@7axu.com>:ghw@7axu.com



2013/3/1 Oleksandr Tymoshenko <gonzo@bluezbox.com>

> 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/<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 <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?CAKrd9eUFs2o2fTQo85Yb-2BUoXFSBx2-FtEdQ9vcHvVnDzuyEQ>