Linux Kernel 2.6.37.y - Wilink 8

From IGEP - ISEE Wiki

Revision as of 19:03, 28 May 2015 by egavinc (talk | contribs) (Build kernel from sources)

Jump to: navigation, search

Introduction

This article is for specific 2.6.37.y Linux kernel branch serie.
It is interesting read The Linux kernel article previously.

On this 2.6.37.y version, supported IGEP Processor Boards are:

  • IGEP COM MODULE / ELECTRON (IGEP0030)
  • IGEP v2 (IGEP0020)

The currently supported IGEP Expansion Boards are as follows:

  • IGEP PARIS / BERLIN (BASE0010)


Older IGEP devices (Marvell wifi and NO wifi versions) - P/N: IGEP0020-RCxx, IGEP0030-RExx

Binaries: latest stable kernel version for older IGEP devices is: 2.6.37-10 (20140708)

See Linux_Kernel_2.6.37.y

Newer IGEP devices (TI Wilink8 wifi versions) - P/N: IGEP0020-RF6x, IGEP0030-RG6x

Binaries: latest stable kernel version for newer IGEP devices is: 2.6.37-10-wilink8-0 (20150528)

Platform Kernel source Compat Wireless source zImage binary Modules binaries
 IGEP00x0  2.6.37-10-Wilink8-0 (md5sum) compat-wireless-wilink8-0 (md5sum) zImage-2.6.37-10-wilink8-0.bin (md5sum) modules-2.6.37-10-wilink8-0 (md5sum)

Build kernel from sources

Download the latest stable version sources and follow next steps:

wget http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-10/linux-omap-2.6.37-10-wilink8-0.tar.gz
tar xzf linux-omap-2.6.37-10-wilink8-0.tar.gz
cd [kernel version]

Configure Linux kernel for IGEP devices. IGEP is ARM architecture based device. A generic configuration is provided for all IGEP machines, and can be used as the default by

make ARCH=arm igep00x0_defconfig

Then build the kernel and kernel modules. The result will be an zImage file in arch/arm/boot directory. Execute:

make ARCH=arm CROSS_COMPILE=[your cross compiler] zImage modules

For example, if you are using IGEP SDK Toolchain (How to setup a cross compiler) then you should execute following cmdline:

make ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- zImage modules


You can install the kernel modules to your target rootfs

make ARCH=arm CROSS_COMPILE=[your cross compiler] INSTALL_MOD_PATH=[path to your target rootfs] modules_install


Download the Compat-Wireless version sources and follow next steps:

wget http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-10/compat-wireless-wilink8-0.tar.gz
tar xzf compat-wireless-wilink8-0.tar.gz
cd compat-wireless-wilink8-0

Load (modify if it is needed) the environment file (setup-env-wl18xx-rmd):

source setup-env-wl18xx-rmd

Compile the Compat-Wireless modules:

make KLIB_BUILD=${KLIB_BUILD} modules

Install the compat-wireless modules to your target rootfs

make KLIB_BUILD=${KLIB_BUILD} KLIB=${ROOTFS} install-modules

Kernel Parameters

See Linux_Kernel_2.6.37.y - Wilink 8