Kernel hacking - linux-2.4

From OpenEZX

Jump to: navigation, search

Exploring the original Motorola linux-2.4 kernel tree, can help in porting functionalities to OpenEZX kernel tree based on linux-2.6.

These efforts are mainly for study and the OpenEZX project does not intend to support 2.4 kernels in the long run.

Building original Motorola kernel and kernel modules

You would need to get ezx-crosstool first. We have some information about how to setup.

Steps (config for A780):

  • download the kernel,
  • apply the patchset using quilt.
  • configure the kernel using for example this config file. This is for the A780.

And then:

make ARCH=arm CROSS_COMPILE=arm-linux- oldconfig
make ARCH=arm CROSS_COMPILE=arm-linux- dep
make ARCH=arm CROSS_COMPILE=arm-linux- zImage
make ARCH=arm CROSS_COMPILE=arm-linux- modules

If everything works fine you can find the zImage in arch/arm/boot/

Personal tools