Technical Specifications - Motorola LA-5137 User Manual

Compact flash adapter
Hide thumbs Also See for LA-5137:
Table of Contents

Advertisement

A.1 Patching the Linux kernel
Patching the Linux kernel needs to be done only once for every kernel, before the LA-51XX driver can be built.
1. Get the Linux 2.4.31 sources from the http://kernel.org, or from the CD.
The linux-2.4.31.tar.gz in the CD has got the patched kernel, as also, a modified la5137.config file.
cp /mnt/cdrom/la5137-pkgs/shared/la5137-linux-2.4.31.tar.gz
2. Untar the sources
cd /usr/src/
tar -xzvf la5137-linux-2.4.31.tar.gz
3. Make sure the following are present in the
CONFIG_PCMCIA=m
CONFIG_HOTPLUG=y
CONFIG_HOTPLUG_PCI=y
CONFIG_FW_LOADER=y
CONFIG_EXPERIMENTAL=y
4. Rebuild the linux kernel : linux-2.4.31
Untar the Linux 2.4.31 sources into a directory, and cd to that
directory
make clean
make mrproper
cp la5137.config
make clean
make oldconfig
make depy
make bzImage
make modules
make modules-install
cp arch/i386/boot/bzImage
cp System.map /boot/System.map-2.4.31
mkinitrd initrd.2.4.31.img 2.4.31
cp initrd.2.4.31.img

Technical Specifications

/usr/src/linux-2.4.31/.config
.config
/boot/vmlinuz-2.4.31
/boot/
.

Advertisement

Table of Contents
loading

Table of Contents