- Obtain the Linux kernel sources and OMAP patch
$ mkdir omap-linux
$ cd omap-linux
$ wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.12.tar.bz2
$ wget http://www.muru.com/linux/omap/patches/patch-2.6.12-omap1.bz2
- Extract the files and aplly the patch
$ tar xvfj linux-2.6.12.tar.bz2
$ cd linux-2.6.12
$ bzcat ../patch-2.6.12-omap1.bz2 | patch -p1
- Configure the kernel setting.
$ make clean
$ make omap_osk_5912_defconfig
Optionally, NFS (Network File System) can be enabled, with which the OSK
board can access PC Linux host machine directory. This is convenient function
during development phase.
$ make menuconfig
...
< A graphical configuratio menu appears >
...
Network File Systems --->
<*> NFS file system support ( CONFIG_NFS_FS )
[*] Provide NFSv3 client support ( CONFIG_NFS_V3 )
...
[*] Root file system on NFS ( CONFIG_ROOT_NFS )
- Build the kernel image.
$ make uImage
After 5 ~ 30 minutes, ./arch/arm/boot/uImage will be generated.
This file can be transferred to the OSK u-boot either through TFTP
(ether) or Kermit (serial).