I've spent much time to get all the required code for running uClinux on the DPCM into the
official 2.4 uClinux kernel patches.
Instead of using the released versions as shown below, you can also get the very latest sources from
CVS. But note that you may still need some of the patches
on this page. As of 2005-12-28, all of the DPCM specific patches are in CVS with the exception of
cnxtserial-update.diff,
so be sure to apply it if you really want to use the CVS sources.
To compile a kernel, get a set of files as shown below, untar the kernel and apply the patches. Then copy the kernel config
file into the kernel source directory and rename it to .config. Finally, use the following commands (you will need a proper
toolchain of course):
ARCH=armnommu CROSS_COMPILE=arm-elf- make oldconfig
ARCH=armnommu CROSS_COMPILE=arm-elf- make dep
ARCH=armnommu CROSS_COMPILE=arm-elf- make linux
arm-elf-objcopy -O binary linux linux.bin; gzip <linux.bin >linuz
The "linuz" file is your DPCM kernel. To adjust the kernel options, use "make menuconfig" instead of "make oldconfig".
|