Quote:
The original Linksys software is running in big endian mode, including the RedBoot bootloader. Debian only supports little endian mode on ARM. Therefore the kernel has to switch the processor into little endian mode at startup (in arch/arm/boot/compressed/little-endian.S). The kernel image furthermore needs to be byteswapped before upload as it is loaded into memory by RedBoot running in big endian mode, but needs to be read by the Linux kernel running in little endian mode.
|
Gee, that sounds like fun...
Quote:
When the script finishes you should have an armv5b-softfloat-linux-gcc in /opt/crosstool/armv5b-softfloat-linux/gcc-3.3.4-glibc-2.2.5/bin/. Alternatively you can download a precompiled version of it: crosstool-armv5b-softfloat-gcc-3.3.4-glibc-2.2.5.tar.gz (40M)
|
Hmm... I have not tried THAT toolchain yet...
Quote:
The kernel for running Debian on the NSLU2 is based on a standard 2.6.11.12 kernel.org kernel with some additional patches. The kernel patch is based on the work done by the OpenSlug team with a few patches to run in little endian mode.
|
The K1 is running kernel "2.6.10-lab126", so no kernel modules without some vermagic futzing...