Difference between revisions of "Linux Kernel 2.6.37.y - Wilink 8"

From IGEP - ISEE Wiki

Jump to: navigation, search
(Build kernel from sources)
Line 13: Line 13:
  
  
== Older IGEP devices (Marvell wifi and NO wifi versions) - P/N: IGEP0020-RCxx, IGEP0030-RExx ==
+
== Older IGEP devices (Marvell wifi and NO wifi versions) - P/N: IGEP0020-RCxx, IGEP0030-RExx, IGEP0020-RF7x and IGEP0030-RG7x  ==
Binaries: latest stable kernel version for older IGEP devices is: '''2.6.37-10 (20140708)'''<br>
+
Binaries: latest stable kernel version for older IGEP devices is: '''2.6.37-11 (20151008)'''<br>
  
 
See [[Linux_Kernel_2.6.37.y | Linux_Kernel_2.6.37.y]]
 
See [[Linux_Kernel_2.6.37.y | Linux_Kernel_2.6.37.y]]
 
== Newer IGEP devices (TI Wilink8 wifi versions) - P/N: IGEP0020-RF6x, IGEP0030-RG6x ==
 
== 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)'''<br>
+
Binaries: latest stable kernel version for newer IGEP devices is: '''2.6.37-11-wilink8 (20151008)'''<br>
  
 
{| border="1"
 
{| border="1"
Line 29: Line 29:
 
|-
 
|-
 
| &nbsp;IGEP00x0&nbsp;  
 
| &nbsp;IGEP00x0&nbsp;  
| [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-10/linux-omap-2.6.37-10-wilink8-0.tar.gz 2.6.37-10-Wilink8-0] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-10/linux-omap-2.6.37-10-wilink8-0.tar.gz.md5 md5sum])  
+
| [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-11/linux-omap-2.6.37-11.tar.gz 2.6.37-11] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-11/linux-omap-2.6.37-11.tar.gz.md5 md5sum])  
| [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-10/compat-wireless-wilink8-0.tar.gz compat-wireless-wilink8-0] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-10/zImage-2.6.37-10-wilink8-0.bin.md5 md5sum])  
+
| [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-11/compat-wireless-wilink8-0.tar.gz compat-wireless-wilink8-0] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-11/zImage-2.6.37-11-wilink8.bin.md5 md5sum])  
| [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-10/zImage-2.6.37-10-wilink8-0.bin zImage-2.6.37-10-wilink8-0.bin] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-10/zImage-2.6.37-10-wilink8-0.bin.md5 md5sum])  
+
| [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-11/zImage-2.6.37-11-wilink8.bin zImage-2.6.37-11-wilink8.bin] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-11/zImage-2.6.37-11-wilink8.bin.md5 md5sum])  
| [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-10/modules-2.6.37-10-wilink8-0.tar.gz modules-2.6.37-10-wilink8-0] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-10/modules-2.6.37-10-wilink8-0.tar.gz.md5 md5sum)]
+
| [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-11/modules-2.6.37-11-wilink8.tar.gz modules-2.6.37-11-wilink8] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-11/modules-2.6.37-11-wilink8.tar.gz.md5 md5sum)]
 
|  
 
|  
 
|}
 
|}
Line 38: Line 38:
 
= Build kernel from sources  =
 
= Build kernel from sources  =
  
'''Download''' the latest stable version sources and follow next steps:  
+
'''Download''' the latest stable version sources (same version/branch for all newer and older igep00x0 devices) 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
+
  wget http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-11/linux-omap-2.6.37-11.tar.gz
  tar xzf linux-omap-2.6.37-10-wilink8-0.tar.gz
+
  tar xzf linux-omap-2.6.37-11.tar.gz
 
  cd [kernel version]
 
  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
+
'''Configure''' Linux kernel for IGEP devices. IGEP is ARM architecture based device.  
 +
For newer wilink8 wifi version, it should be used a '''new 'igep00x0_wilink8_defconfig' file'''. ([http://git.isee.biz/?p=pub/scm/linux-omap-2.6.git;a=commit;h=c9aac4fd20f833099f658a654257f2295c5303bb patch])
  
  make ARCH=arm igep00x0_defconfig
+
  make ARCH=arm igep00x0_wilink8_defconfigg
  
 
Then '''build''' the kernel and kernel modules. The result will be an ''zImage'' file in arch/arm/boot directory. Execute:  
 
Then '''build''' the kernel and kernel modules. The result will be an ''zImage'' file in arch/arm/boot directory. Execute:  
Line 63: Line 64:
 
'''Download''' the Compat-Wireless version sources and follow next steps:  
 
'''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
+
  wget http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-11/compat-wireless-wilink8-0.tar.gz
 
  tar xzf compat-wireless-wilink8-0.tar.gz
 
  tar xzf compat-wireless-wilink8-0.tar.gz
 
  cd compat-wireless-wilink8-0
 
  cd compat-wireless-wilink8-0

Revision as of 15:51, 8 October 2015

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, IGEP0020-RF7x and IGEP0030-RG7x

Binaries: latest stable kernel version for older IGEP devices is: 2.6.37-11 (20151008)

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-11-wilink8 (20151008)

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

Build kernel from sources

Download the latest stable version sources (same version/branch for all newer and older igep00x0 devices) and follow next steps:

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

Configure Linux kernel for IGEP devices. IGEP is ARM architecture based device. For newer wilink8 wifi version, it should be used a new 'igep00x0_wilink8_defconfig' file. (patch)

make ARCH=arm igep00x0_wilink8_defconfigg

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-11/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