This document describes how to build Linux kernel modules for the KreaTV IP-STB.
The result of the kernel module build process is an IP-STB Installation Package (IIP) file.
The kernel modules are located in the /lib/modules
directory in the root file system. The name convention used is
xx<filename>.o where xx is a number between 00 and 99. The
modules are loaded in the order specified by the xx number
(e.g. 10ir.o
is loaded before
20atyx220.o
). For 2.6 kernels the extension is .ko
instead of .o.
# Example ls /lib/modules 10ir.o 20atyx220.o 30kboxmtd.o 40usbcore.o 41usb-ohci.o 42hid.o
Note! To build for the 1500 platform all commands must be
prepended with VIP=1500.
Example: VIP=1500 make
<edk home>/examples/kernel_module/
directory.Note! The modules should be given names on the format
xx<filename>.o
or xx<filename>.ko
.
make
VIP=1500 make
For the 5xx and 7xx platform use linux-2.4.20.tar.gz
For the 1500 platform use linux-2.4.18.tar.gz
Note! The iip rule in the Makefile must be modified to include the needed modules.
The modules should be given a name with format xx<filename>.o
example-inst-kernel-module_vip1500.iip
.