http://www.ucdot.org/article.pl?sid=08/04/08/1047235&mode=thread
|
| Problems building snapgear
for NSLU2 |
|
 |
 |
Stephan
writes "Hello!
A couple of days ago I bought a Linksys NSLU2. Since I do not want to
this that box as a fileserver I plan to install snapgear with a new
kernel. I am having some problems getting it to build, below are the
details." |
|
 |
 |
These are my steps:
1. Downloaded snapgear-3.5.0.tar.gz
from snapgear.org
2. Downloaded linux-2.6.24.tar.bz2
from kernel.org
3. Downloaded linux-2.6.24-uc0-big.patch.gz
from uclinux.org
After downloading:
-------------------------------------------------- --------------
# Unpack snapgear
tar xfz snapgear-3.5.0.tar.gz
# Save head-xscale.S
cp snapgear/linux-2.6.x/arch/arm/boot/compressed/head -xscale.S .
# Delete old kernel-sources
rm -r snapgear/linux-2.6.x
# Unpack new kernel-sources
tar xfj linux-2.6.24.tar.bz2
# Unpack patch & apply it to new kernel-sources
gunzip linux-2.6.24-uc0-big.patch
cd linux-2.6.24
patch -p1 cd ..
# Move new kernel-sources into snapgears folder "linux-2.6.x"
mv linux-2.6.24 snapgear/linux-2.6.x/
# Restore old head-xscale.S
cp head-xscale.S /snapgear/linux-2.6.x/arch/arm/boot/compressed/
# Trying to config kernel-source
cd snapgear
make menuconfig
-------------------------------------------------- --------------
Menuconfigs asks me about what the Cendor and the used Board is. I
choose "Intel" and "IXDP425".
But when I savce and exit make asks me several questions that I did not
have to answer when using the old kernel-sources, which were included
in snapgear 3.5.0. One Question is for example whether I am using a
NSLU2. But it's automatically answered with "n"...
What am I doing wrong? I hope, sombody can help me.
PS: I also get an error about "arm-linux-gcc" missing. Where to get
that? I tried apt-get install arm-linux-gcc, but there was no such
package found. |
|
|