Difference between revisions of "Hacking Linux for chumby"

From Chumby Wiki
Jump to: navigation, search
(Found actual link and made the update.)
(Ironforge)
Line 28: Line 28:
 
  # cd kernel
 
  # cd kernel
 
  # tar zxvf linux-2.6.16-chumby-1.0.tar.gz
 
  # tar zxvf linux-2.6.16-chumby-1.0.tar.gz
  # make menuconfig
+
  # cd linux-2.6.16
 +
# ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make menuconfig
 
  (then immediately exit and save the config)
 
  (then immediately exit and save the config)
  # make dep
+
  # ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make
# make Image
+
  
 
If all goes well, you should end up with an uncompressed kernel image at arch/arm/boot/Image.
 
If all goes well, you should end up with an uncompressed kernel image at arch/arm/boot/Image.

Revision as of 14:02, 27 September 2007

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.