Hacking Linux for chumby

From Chumby Wiki
Revision as of 14:02, 27 September 2007 by Ksteele (Talk | contribs)

Jump to: navigation, search

Alpha Prototype

The Alpha Prototype chumby runs a modified linux 2.4.20 kernel.

Compiling the Kernel

First, install the GCC Toolchain.

In order to build the chumby kernel, you can download the kernel source from chumby_kernel.tgz and build by doing the following:

# mkdir kernel
# cd kernel
# tar zxvf chumby_kernel.tgz
# make menuconfig
(then immediately exit and save the config)
# make dep
# make Image

If all goes well, you should end up with an uncompressed kernel image at arch/arm/boot/Image.

Ironforge

The "Ironforge" production chumby runs Linux 2.6.16 kernel.

First install the GNU Toolchain

In order to build the chumby kernel, you can download the kernel source from linux-2.6.16-chumby-1.0.tar.gz and build by doing the following:

# mkdir kernel
# cd kernel
# tar zxvf linux-2.6.16-chumby-1.0.tar.gz
# cd linux-2.6.16
# ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make menuconfig
(then immediately exit and save the config)
# ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make

If all goes well, you should end up with an uncompressed kernel image at arch/arm/boot/Image.