I u-boot fails to compile

Ganbold Tsagaankhuu ganbold at gmail.com
Fri Mar 1 01:28:05 UTC 2013


On Fri, Mar 1, 2013 at 8:28 AM, XiaoQI Ge <ghw at 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 at 7axu.com>:ghw at 7axu.com
>
>
>
> 2013/3/1 Oleksandr Tymoshenko <gonzo at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"


More information about the freebsd-arm mailing list