• Quick Start
  • Booting
  • Platform
  • Portals
  • References
    • API Reference TOI3
    • IIP Reference
  • Resources
ARRIS Enterprises, Inc. Confidential Information

Linux Kernel Modules

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>.ko where xx is a number between 00 and 99. The modules are loaded in the order specified by the xx number (e.g. 10ir.ko is loaded before 20atyx220.ko).

ls /lib/modules

10ir.ko
20atyx220.ko
30kboxmtd.ko
40usbcore.ko
41usb-ohci.ko
42hid.ko

Example: Build kernel module manually

  1. Copy the kernel module (.c) files you want to build to the e><sdk_root>/examples/c++/kernel-module/ directory.
  2. Modify the Makefile to use the new files.

    Note! The modules should be given names on the format xx<filename>.ko.

  3. Execute
    VIP=<target> make

If the build process finished successfully you should now have an iip file called something like example-option-kernel-module_<toolchain_name>_<target>.iip.

5.1.p5

Copyright (c) 2017 ARRIS Enterprises, LLC. All Rights Reserved. ARRIS Enterprises, LLC. Confidential Information.