Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2013 09:28:04 +0800
From:      Ganbold Tsagaankhuu <ganbold@gmail.com>
To:        XiaoQI Ge <ghw@7axu.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: I u-boot fails to compile
Message-ID:  <CAGtf9xO8NgYUqnDL6DQ%2BawTXsO2ucm2Sa_1ZYAn2r1-Zc6ba%2Bw@mail.gmail.com>
In-Reply-To: <CAKrd9eX5CyjNDExQvd-4b3JhZSNtVoeneMiVgYU8nvem=6qHeA@mail.gmail.com>
References:  <CAKrd9eUVGuU=NuKfCP5d1uaTPC4XoMkjzn_AzcAqeh%2Bu2E9STw@mail.gmail.com> <512FD685.8070009@bluezbox.com> <CAKrd9eX5CyjNDExQvd-4b3JhZSNtVoeneMiVgYU8nvem=6qHeA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 1, 2013 at 8:28 AM, XiaoQI Ge <ghw@7axu.com> 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?

I observed that in my side too, and I just decided to use prebuilt
sunxi-spl.bin.

Ganbold

>
> 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.
>>
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGtf9xO8NgYUqnDL6DQ%2BawTXsO2ucm2Sa_1ZYAn2r1-Zc6ba%2Bw>