Re: crosscompiling for the slug
* Christoph Simon <ml133@netpole.com.br> [2006-05-04 16:33]:
> As I can't file some modules corresponding to the kernel installed
> with debian, as as I will need a crosscompiling environment anyway for
> different purposes, I decided to try to build it from scratch,
> following the instructions in
> http://www.nslu2-linux.org/wiki/Development/MasterMakefile
That's different to the Debian you're running.
What you have to do is:
- apt-get source linux-2.6
- edit linux-2.6*/debian/arch/arm/defines and remove all but "nslu2"
from flavours
- add options to linux-2.6/debian/arch/arm/config.nslu2
That should get you a kernel. However, *then* the fun only starts
because you need to build the proprietary Ethernet module. That's
part of this MasterMakefile from nslu2-linux.org though, I think (or
some other Makefile from there). [Well, okay, if you're lucky the
precompiled module will work with your new kernel; but there's no
guarantee it will.]
If you can wait a bit, I intend to make new images with an updated
kernel and the Ethernet drivers; but it might take me some weeks.
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: