Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2013 08:28:31 +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:  <CAKrd9eX5CyjNDExQvd-4b3JhZSNtVoeneMiVgYU8nvem=6qHeA@mail.gmail.com>
In-Reply-To: <512FD685.8070009@bluezbox.com>
References:  <CAKrd9eUVGuU=NuKfCP5d1uaTPC4XoMkjzn_AzcAqeh%2Bu2E9STw@mail.gmail.com> <512FD685.8070009@bluezbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
===

===
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:07 AM, XiaoQI Ge wrote:
>
>> I tried to compile U-BOOT (https://github.com/linux-**sunxi/u-boot-sunxi<https://github.com/linux-sunxi/u-boot-sunxi>;
>> ),
>> but failed, suggesting:
>>
>> gmake [1]: *** [u-boot] Segmentation fault: 11
>>
>> I do not know how to solve.
>>
>>
> In addition to Tim's patches for libc and static you'll also need to use
> gsed instead of
> sed with later versions of u-boot repo.
> Install textproc/gsed and rename sed to gsed in helper.mk.
> I have patch for using user-defined sed name but haven't pushed it to
> upstream yet.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKrd9eX5CyjNDExQvd-4b3JhZSNtVoeneMiVgYU8nvem=6qHeA>