Compiling a kernel for the CC1000

Last updated: May 18, 2006.
Under construction


The current CC1000 kernel is the Linux 2.4.25 kernel from the ELDK 4.1 distribution with some minor changes.

The following files should be added from or replaced by files from this archive: The Makefile contains FreeBSD specific modifications. Rename the original file to Makefile.orig and use 'diff' to see the modifications and decide which mods you need.
All filenames are relative to the base directory of the kernel source. If you installed the ELDK in /opt/eldk this is /opt/eldk/ppc_8xx/usr/src/linux.

Build the kernel with:
	make mrproper
	make CC1000_config
	make oldconfig
	make dep
	make -j6 uImage
Use gmake if you are using FreeBSD.
Copy the final image to your TFTP directory. E.g.:
	cp arch/ppc/boot/images/uImage /tftpboot/cc1000
Load and start the kernel with the following U-BOOT commands:
	tftpboot 100000 /tftpboot/cc1000/uImage
	setenv bootargs root=/dev/ram rw
	bootm 100000 ff800000