The GCM uses NAND flash memory. To program an on-board flash partition from linux, use nandwrite.
GNU Toolchain
To build the kernel, use a toolchain known to support recent 2.6 kernels, EABI, and your board's CPU. For cross compiling on an x86 linux system, you can use arm-none-linux-gnueabi-gcc-4.2.3. We used this toolchain to build the precompiled kernel(s) provided below.
linux-2.6.26.tar.bz2 (~48MB) Download the kernel source from the link above or from kernel.org and make a base directory.
bzcat < linux-2.6.26.tar.bz2 | tar -xf -
Change to the linux-2.6.26 directory to apply patches.
cd linux-2.6.24.5/
If there's more than one patch, apply them in the order listed. For each patch, download it from the link provided and apply it using patch level '-p1'.
Configure the kernel using your board's default configuration settings. The naming convention is
make machine_defconfig
where machine is the name of your board. You can change individual configuration settings later with
make menuconfig
After executing the line below for your board
make adsgcm_defconfig
you can build the kernel with
make uImage
The kernel uImage will be in the arch/arm/boot/ directory.Root File System
There are several root file systems which are suitable for use with this kernel. It is recommended that you an armel (EABI) root file system. Visit the Root File Systems topic to learn more.