HOWTO: Build NSLU2 U-Boot on FreeBSD

Stanislav Sedov stas at FreeBSD.org
Tue Oct 14 11:09:10 UTC 2008


On Tue, 14 Oct 2008 12:43:36 +0200
Gary Jennejohn <gary.jennejohn at freenet.de> mentioned:

> > 
> 
> Doesn't work anymore with more recent versions of u-boot.  It tries to
> generate some native utilities which use Linux headers which conflict
> with the native FreeBSD headers.
>

Patch I've posted fixes that.
 
> Judicious tweeking of include paths may solve the problem, but I only
> spent a little time on it.
> 
> This is an unfortunate trend which I've also observed with Linux.
> It is still possible to cross compile Linux 2.4.25 under FreeBSD, but
> the Linux (and u-boot) developers keep adding more and more
> Linux-specific utilities so that e.g. Linux 2.6.* _must_ be compiled
> under Linux.
> 

Well, I've managed to build Linux with a bit of header tweaking too. I was
even thinking about making a port, when I was working on embedded Linux.
Hopefully, I don't work on it anymore:-)

-- 
Stanislav Sedov
ST4096-RIPE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-embedded/attachments/20081014/6a528f0d/attachment.pgp


More information about the freebsd-embedded mailing list