FreeBSD and BeagleBone

Tim Kientzle tim at
Thu Jan 26 05:34:56 UTC 2012

On Jan 25, 2012, at 2:06 PM, Rafal Jaworowski wrote:
> On 2012-01-22, at 00:29, Tim Kientzle wrote:
>> P.S.  Is it worth trying to generalize the ubldr Makefile
>> to accept some form of link address specification?
> In general yes, the challenge is how to do this in a smart and flexible way: loader/ubldr is built as part of the world which you don't want to entagle with platform specific knobs. On the other hand a configurable like this is specific to some board (not even a chip, soc or a familiy, anybody can have their U-Boot configured differently underneath..), so the question is how to convey this knowledge.

I know Warner has some ideas for organizing the tree to include
board information.  If each board has a directory, then
you could build a custom ubldr for each board.  That
feels a little heavyweight to me, though.

The closest thing to a board description we have is
the kernel config.  That reflects the hardware and layout
of the board being targeted.  Is there some way to have
ubldr made by buildkernel instead of buildworld?

Another approach might be to provide a build script that
accepts arguments and spits out a compiled ubldr to
match those parameters.  Maybe something like:

    $ cd /usr/src/sys/tools/ubldr-build
    $ ./ubldr-build arm.arm -l 0x80010000 -o ubldr.beagle


More information about the freebsd-arm mailing list