Port: U-Boot for BeagleBone
Warner Losh
imp at bsdimp.com
Sat May 18 14:28:14 UTC 2013
On May 18, 2013, at 10:17 AM, Tim Kientzle wrote:
>
> On May 18, 2013, at 5:05 AM, Andrew Turner wrote:
>
>> On Fri, 17 May 2013 16:22:56 -0400
>> Tim Kientzle <kientzle at freebsd.org> wrote:
>>
>>> I'm trying to move the actual building of boot loaders out of Crochet
>>> and into FreeBSD ports.
>>>
>>> Here's the first attempt at such a port (many thanks to Diane Bruce
>>> for patiently tutoring me through this):
>>>
>>> http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz
>>>
>>> I'd appreciate any feedback:
>>> * Can you build this?
>>> * Suggestions for improving it?
>>
>> Could you try installing devel/cross-binutils and devel/cross-gcc using
>> TGTARCH=arm and TGTABI=none-eabi and using these to build u-boot? It
>> would mean the user doesn't need to have xdev set up.
>
> I'll definitely give that a try.
>
> More importantly than the user, I'm concerned about the
> package-building cluster. One of the goals here is to
> get the packages built automatically so that not everybody
> has to build the boot loaders themselves.
>
> I've not used the devel/cross-ZZZ tools before, so
> it will take me a little while to experiment. Ideally,
> the U-Boot port would just require the cross tools.
A long time ago I was able to build u-boot using the cross-* ports... They even have wrapper ports so you can get the write dependencies. Make sure these are build-time dependencies not run-time dependencies and all that will be installed will be the u-boot images...
Warner
More information about the freebsd-arm
mailing list