IGEPv2 Linux Kernel 3.18.x



This page describes the process of compiling the Linux kernel version 3.18.12 for the IGEPv2 RC4 board that I own.

It includes compilation details not only for the kernel but also for the newer version of U-Boot SPL that doesn't need the TI X-Loader as its first stage loader.

ISEE, the company that manufactures the IGEP boards, only provides kernels versions 2.6.35 and 2.6.37 and those are not recent enough to run a mainstream distribution like Debian on your IGEPv2 board with all the security fixes that come out periodically.


Disclaimer: The process described on this page works very well for me and didn't destroy my IGEPv2 or my computer, but everything on this page is provided without any warranty. You may download the kernel and U-Boot already compiled on the next section or in alternative feel free to compile your own by following the instructions.



Here are the binary files you'll need to place in the boot partition of your SD card and the linux kernel source. You don't need to go through the entire build process unless you wish to add extra features to the kernel.

All you need to start using the new kernel is here in the downloads section:

  Kernel 3.18.x binaries and source
kernel source (optional) kernel zImage modules dtb uEnv.txt script extras
linux-3.18.12.tar.xz zImage-3.18.12 modules-3.18.12.tar.xz omap3-igep0020.dtb uEnv.txt

+ samba
+ uvcvideo
+ pwc
+ usb-serial
+ acm


  Old builds with less drivers are still available,  >>> click here to view or hide them <<<


  Das U-Boot 2014.07-rc4 binaries (from commit a176ff0705351bf6d993a8f15e081bfa2ba2e1af)
u-boot SPL u-boot main uImage uEnv.txt script generic
MLO u-boot.img uEnv.txt


  Extra scripts
LED usage example Enable audio example
setleds.sh enable_sound.sh



Setting up the cross compiler toolchain

I installed Debian Wheezy using their net-install (link no longer works, see end of paragraph) ISO on a VirtualBox VM with 512M RAM and 10GB HDD to reduce the probability of making mistakes while using the crosscompile toolchain, but it's also possible to crosscompile on a physical system if you have one available. Debian no longer provides a working link to download Wheezy but you can use the newer version Jessie 8.2.0 as well.

To get the crosscompiler toolchain, I went to the Linaro website and downloaded their gnueabihf most recent build (at the time of writing): gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz which I extracted to /usr/src/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux and included its bin/ it in the search path.

cd /usr/src
mkdir build-target
tar xvlf gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz
export PATH=/usr/src/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin:$PATH

Compiling the kernel

Like the crosscompiler, the Linux kernel was also extracted at /usr/src

cd /usr/src
tar xvlf linux-3.18.12.tar.xz
cd linux-3.18.12

Now edit the file "arch/arm/configs/omap2plus_defconfig" and paste the following parameters at the bottom:


Search and comment out any repeated value from the file.

Apply the configuration and request the menuconfig target to continue with the configuration:

make ARCH=arm omap2plus_defconfig
make ARCH=arm menuconfig

Activate the options indicated below if they are not active (some are already active but verify them anyway)

Device Drivers
    [*] LED Support  --->
        <*>   Led Class Support
        <*>   LED Support for GPIO connected LEDs
        [*]   LED Trigger support  --->
            <*>   LED One-shot Trigger
            <*>   LED Heartbeat Trigger

General setup  --->
    <*>   open by handle at

Networking support --->
    Wireless --->
        [*]     cfg80211 wireless extensions compatibility

File systems --->
    <M> Reiserfs support
    [*] Network File Systems  --->
        <M>   CIFS support (advanced network filesystem, SMBFS successor)
        [*]     Support legacy servers which use weaker LANMAN security

Device Drivers  --->
    <*> Multimedia support  --->
        [*]   Cameras/video grabbers support
        [*]   Media USB Adapters  --->
            <M>   USB Video Class (UVC)
            [*]     UVC input events device support
            <M>   GSPCA based webcams  --->
                (none selected but you may have one of the cameras listed)
            <M>   USB Philips Cameras
            [*]     USB Philips Cameras input events device support

Device Drivers  --->
    [*] USB support  --->
        <M>   USB Serial Converter support  --->
             <M>   USB FTDI Single Port Serial Driver
             <M>   USB Prolific 2303 Single Port Serial Driver

Exit saving the configuration and start the compilation

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=/usr/src/build-target/ modules_install

Finally copy the kernel zImage and the Device Tree Blob file to build-target directory and compress the modules:

cp -p arch/arm/boot/zImage ../build-target
cp -p arch/arm/boot/dts/omap3-igep0020.dtb ../build-target
cd ../build-target
tar -cf - lib/ | xz -c - > modules-3.18.12.tar.xz
mv zImage zImage-3.18.12

And you shall have 3 files:



Compiling Das U-Boot

The bootloader was cloned from its git repository and then a specific version was checked out because the HEAD on 2015/01 didn't create an u-boot.img that works on the IGEPv2. The revision a176ff0705351bf6d993a8f15e081bfa2ba2e1af works fine (v2014.07-rc4).

cd /usr/src
git clone git://git.denx.de/u-boot.git

cd u-boot
git checkout a176ff0705351bf6d993a8f15e081bfa2ba2e1af

make CROSS_COMPILE=arm-linux-gnueabihf- igep0020_config
make CROSS_COMPILE=arm-linux-gnueabihf-

cp -p MLO u-boot.img ../build-target

Now you should have the following list of file in build-target

The uEnv.txt file (u-boot configuration)

I'm using almost the same file found on this page but I changed the resolution to 1440x900.

fdtaddr= 0x81600000
bootargs='console=ttyO2,115200n8 console=tty0 video=DVI-D-1:1440x900MR-16@60 omapfb.mode=dvi:1440x900MR-16@60 omapdss.def_disp=dvi omapfb.vram=0:8M,1:8M,2:8M vram=24M smsc911x.mac=0x5c,0xda,0xd4,0x3d,0x2f,0x08 mpurate=800 root=/dev/mmcblk0p2 rw rootwait rootfstype=ext4 fixrtc'

loadzimage=load mmc 0:1 ${loadaddr} ${kernel_file}
loadfdt=load mmc 0:1 ${fdtaddr} ${fdtfile}
setenvargs=setenv bootargs ${bootargs}

uenvcmd=run loadzimage; run loadfdt; run setenvargs; bootz ${loadaddr} - ${fdtaddr}

I added the omapfb.vram, vram and video parameters to prevent the kernel Oops error on omapdrm.ko due to the lack of configuration on the omapfb.ko (omapfb.vram, vram) and omapdrm.ko itself (video).

Save as text file (in UNIX mode) and place it also on build-target.



Install on target board

Copy all files
from build-target to the boot partition of the SD card. Don't forget uEnv.txt.

Uncompress the modules-3.18.12.tar.xz file into the rootfs partition at /. It should write all modules in /lib/modules/3.18.12.


What does and doesn't work


Gnu Linux logoReferences to sites that helped

Compilation related

  1. Uboot 2014.4 + Kernel 3.15.rc3 + Debian 7.4 (armel) on the IGEPv2 works 
  2. U-Boot Mainline Series
  3. U-Boot commit a176ff0705351bf6d993a8f15e081bfa2ba2e1af
  4. Cross compile linux kernel for beaglebone black
  5. ARM: OMAP3: Adding vdd_sdi regulator supply to IGEPv2 board


DVI/HDMI related

  1. openSUSE:Beagleboard (xM) (DVI section)



  1. cfg80211 - Linux Wireless
  2. some kernel config missing for wifi with IGEPv2 board


Published on Tuesday 2015/01/13, last modified on Monday 2016/01/04