I u-boot fails to compile

XiaoQI Ge ghw at 7axu.com
Fri Mar 1 01:24:16 UTC 2013


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 at 7axu.com>:ghw at 7axu.com



2013/3/1 Oleksandr Tymoshenko <gonzo at 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 at 7axu.com>:ghw@**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