Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Linux Kernel 2.6.37.y

5,752 bytes added, 18:02, 13 December 2016
m
Compiled binaries
= Introduction =
This article is for specific 2.6.37.y Linux kernel branch serieseries. <br>It is interesting read All the steps has been tested with [http://releases.ubuntu.com/12.04/ubuntu-12.04.5-desktop-amd64.iso Ubuntu 12.04 64b] and [The_Linux_kernel|The Linux kernel article]http://labs.isee.biz/index.php/How_to_setup_a_cross_compiler#IGEP_OMAP3 IGEP SDK Yocto Toolchain 1.2.2-3] previously.
On this 2.6.37.y version, supported All configurations support the following IGEP Processor Expansions Boards are:* IGEP v2 (IGEP0020)* IGEP COM MODULE / ELECTRON (IGEP0030) The currently supported IGEP Expansion Boards are as follows:
* IGEP v2 EXPANSION (IGEP0022)
* IGEP PARIS / BERLIN (BASE0010)
* IGEP NEW YORK (ILMS0015)
Depending the Kernel configuration used, 2.6.37.y series support the following IGEP OMAP3 Processor Boards: == igep00x0_defconfig ==* IGEP v2 '''(WIFI/no WIFI)''' (IGEP0020'''RC''')* IGEP COM MODULE / ELECTRON '''(WIFI/no WIFI)''' (IGEP0030'''RE''') == igep00x0_wilink8_defconfig ==* IGEP v2 '''(WIFI/no WIFI)''' (IGEP0020'''RF''')* IGEP COM MODULE / ELECTRON '''(WIFI/no WIFI)''' (IGEP0030'''RG''') == igep00x0_nowifi_defconfig == Older Alternative configuration:* IGEP devices v2 '''(no WIFI)'''* IGEP COM MODULE / ELECTRON '''(Marvell wifi and NO wifi versionsno WIFI) ''' = Setup IGEP SDK Yocto Toolchain 1.2.2-3 = == Install == Download - [http://www.isee.biz/support/downloads/item/igep-sdk-yocto-toolchain-1-2-2- P3 isee.biz] follow the next steps:*Open a terminal *Located your downloaded file, in my case is inside /Nhome/jdoe/Downloads: IGEP0020<pre>jdoe@ubuntu ~ $ cd Downloads/</pre> *Extract binaries in root directory with root privileges<br><pre>jdoe@ubuntu ~/Downloads $ sudo tar jxf igep-sdk-yocto-toolchain-*.tar.bz2 -C /</pre>*Make sure that binaries are installed correctly.<pre>jdoe@ubuntu ~/Downloads $ ls /opt/poky/1.2 1.2.1 </pre> == Configure == Open a terminal and type: <pre> export PATH=/opt/poky/1.2/sysroots/i686-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-RCxx, IGEP0030linux-RExx gnueabi:$PATH </pre> =Compiled binaries = Binaries: latest stable kernel version for older IGEP OMAP3 devices is: '''2.6.37-10 12 (2014070820161206)'''<br> 
{| border="1"
|-
! '''Platform'''
! '''SourcesKernel source''' ! '''zImage binary(igep00x0_defconfig)''' ! '''Modules binaries (igep00x0_defconfig)'''! '''zImage binary (igep00x0_wilink8_defconfig)''' ! '''Modules binaries (igep00x0_wilink8_defconfig)'''! '''Compat Wireless source (only for igep00x0_wilink8_defconfig)'''! '''Firmware binaries (only for igep00x0_wilink8_defconfig)'''
|-
| &nbsp;IGEP00x0&nbsp; | [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1012/linux-omap-2.6.37-1012.tar.gz 2.6.37-1012] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1012/linux-omap-2.6.37-1012.tar.gz.md5 md5sum]) | [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1012/zImage-2.6.37-1012.bin zImage-2.6.37-1012.bin] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1012/zImage-2.6.37-1012.bin.md5 md5sum]) | [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1012/modules-2.6.37-1012.tar.gz modules-2.6.37-1012] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1012/modules-2.6.37-1012.tar.gz.md5 md5sum)]| [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-12/zImage-2.6.37-12-wilink8.bin zImage-2.6.37-12-wilink8.bin] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-12/zImage-2.6.37-12-wilink8.bin.md5 md5sum]) | [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-12/modules-2.6.37-12-wilink8.tar.gz modules-2.6.37-12-wilink8] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-12/modules-2.6.37-12-wilink8.tar.gz.md5 md5sum)]| [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-12/compat-wireless-wilink8-0.tar.gz compat-wireless-wilink8-0] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-12/compat-wireless-wilink8-0.tar.gz.md5 md5sum]) | [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-12/ti-connectivity-wilink8-0.tar.gz ti-connectivity-wilink8-0] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-12/ti-connectivity-wilink8-0.tar.gz.md5 md5sum)]
|}
=Build kernel from sources = 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)Download'''<br>the latest stable version sources and follow next steps:
See [[Linux_Kernel_2 wget http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-12/linux-omap-2.6.37-12.tar.y_gz tar xzf linux-_Wilink_8 | Linux_Kernel_2omap-2.6.37-12.tar.gz cd linux-omap-2.y 6.37- Wilink 8]]12
= Build Also, it could download from GIT Repositories ([http://git.isee.biz/ http://git.isee.biz/]) and test the last unstable version at your own risk (see "''Linux mainline tree (development)''" chapter in [[The Linux kernel from sources =]])
'''Download''' the latest stable version sources and follow next steps: == Important procedures ==
wget http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-10/linux-omap-2.6.37-10.tar.gz* Remove rootfs modules binaries from any previous Kernel tar xzf linux-omap-2.6.37-10.tar.gz cd [* If you switch to another configuration, clean kernel version]sources with command: make mrproper
Also, it could download from GIT Repositories ([http://git.isee.biz/ http://git.isee.biz/]) and test the last unstable version at your own risk (see "''Linux mainline tree (development)''" chapter in [[The Linux kernel]])<br> == igep00x0_defconfig ==
'''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 OMAP3 old Marvell WIFI:
make ARCH=arm igep00x0_defconfig
make ARCH=arm CROSS_COMPILE=[your cross compiler] zImage modules
For example, if you are using IGEP SDK Yocto Toolchain ([[How to setup a cross compiler]]) then you should execute following cmdline:
make ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- zImage modules
<br> You can '''install''' the kernel modules image to your target rootfs boot
cp arch/arm/boot/zImage /media/boot/zImage You can '''install''' the kernel modules to your target rootfs  make ARCH=arm modules_install INSTALL_MOD_PATH=[path to your target rootfs] == igep00x0_wilink8_defconfig == '''Configure''' Linux kernel for IGEP OMAP3 new WiLink 8 WIFI:  make ARCH=arm igep00x0_wilink8_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 Yocto Toolchain then you should execute following cmdline:   make ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- zImage modules You can '''install''' the kernel image to your target boot   cp arch/arm/boot/zImage /media/boot/zImage You can '''install''' the kernel modules to your target rootfs  make ARCH=arm modules_install INSTALL_MOD_PATH=[path to your target rootfs]  Download and extract Compat Wireless source:<pre>cd ..wget http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-12/compat-wireless-wilink8-0.tar.gztar -xvf compat-wireless-wilink8-0.tar.gz</pre> Modify the environment file (setup-env-wl18xx-rmd). Change '''KLIB_BUILD''' variable export KLIB_BUILD="Linux directory linux-omap-2.6.37-12"Load the environment file (setup-env-wl18xx-rmd):  source setup-env-wl18xx-rmd Compile the Compat-Wireless modules:  cd compat-wireless-wilink8-0 make KLIB_BUILD=${KLIB_BUILD} modules Remove old mac80211.ko and cfg80211.ko modules:  rm ${ROOTFS}/lib/modules/2.6.37-wilink8/kernel/net/mac80211/mac80211.ko rm ${ROOTFS}/lib/modules/2.6.37-wilink8/kernel/net/wireless/cfg80211.ko Install the compat-wireless modules to your target rootfs. Change '''KLIB''' and '''ROOTFS''' variables  make KLIB_BUILD=${KLIB_BUILD} KLIB=${ROOTFS} install-modules Download Wilink 8 binaries:  wget http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-12/ti-connectivity-wilink8-0.tar.gz Copy WiLink 8 binaries to rootfs/lib/firmware:  sudo tar -xvf ti-connectivity-wilink8-0.tar.gz -C /media/rootfs/lib/firmware  == igep00x0_nowifi_defconfig == '''Configure''' Linux kernel for IGEP OMAP3 without WIFI:  make ARCH=arm igep00x0_nowifi_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 Yocto Toolchain then you should execute following cmdline:   make ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- zImage modules You can '''install''' the kernel image to your target boot   cp arch/arm/boot/zImage /media/boot/zImage You can '''install''' the kernel modules to your target rootfs  make ARCH=arm modules_installINSTALL_MOD_PATH=[path to your target rootfs]
= Kernel Parameters =
See http://processors.wiki.ti.com/index.php/AM35x-OMAP35x-PSP_04.02.00.07_Release_Notes#Known_Issues_-_AM.2FDM37x
 
== modules are not installed correctly ==
 
Try to change rootfs owner from root to your username.
<pre> sudo chown <username> -R /media/rootfs</pre>
 
== wlcore: Unknown symbol ==
 
Probably, you didn't erase old module binaries from rootfs. Open IGEP terminal and type:
<pre>depmod -a
depmod -A </pre>
 
Finally reboot the system
= Changelog =
*[http://git.isee.biz/?p=pub/scm/linux-omap-2.6.git;a=tag;h=a7fcc18d3c24e0b11d945cb8f96df22cf9099617 2016-12-06 Release 2.6.37-12]
** Improved wilink8 support
*[http://git.isee.biz/?p=pub/scm/linux-omap-2.6.git;a=tag;h=56ce61fa77402b3d0a0ace13ebe1cc0e75ceefda 2015-10-08 Release 2.6.37-11]
** Added wilink8 support to new IGEP0020-RFxx and IGEP0030-RGxx boards
*[http://git.isee.biz/?p=pub/scm/linux-omap-2.6.git;a=commit;h=a9673378bab87c5a2ffec5f213cf19053c96595e 2014-07-08 Release 2.6.37-10]
** Add CONFIG_DEVTMPFS kernel option that is required for newer udev
** Fix #021: Linux kernel doesn't detect Ethernet link after boot on OMAP3530 and IGEP0020-RC2.
** Fix #027: HDMI standard resolution 720P or 480P it's not working correctly.
*[http://git.igepisee.esbiz/?p=pub/scm/linux-omap-2.6.git;a=commit;h=350181c115d33e2bf724eaef5b53cee960afa192 2012-05-23 Release 2.6.37-3]
** Fix PM features.
** Return ENODEV if touchscreen device is not found.
** Fix SMSC911x issue, wait for the chip to be ready.
** Fix MCP251X requesting NRESET gpio.
*[http://git.igepisee.esbiz/?p=pub/scm/linux-omap-2.6.git;a=commit;h=ac74968e3e401e559517211e836749a62a6c4dd2 2012-02-29 Release 2.6.37-2]
** base0010: Fix mux for GPIO53
** Update defconfig (disable JFFS2 SUMMARY SUPPORT)
*[http://git.igepisee.esbiz/?p=pub/scm/linux-omap-2.6.git;a=commit;h=db3cb47adf10504d3847d54927de50b2fa94c008 2012-01-19 Release 2.6.37-1]
** Fix NFS root mount option
** Add MADC support
** Add support for Battery Backup
** Fix RS485 bug when transmitting more than 16 bytes
*[http://git.igepisee.esbiz/?p=pub/scm/linux-omap-2.6.git;a=commit;h=b4332e8eedc815383081c3abf9f7a16ae4391ccc Release 2.6.37-0]
**First release for 2.6.37 series
 
For more information,it is interesting read [[The_Linux_kernel|The Linux kernel article]] previously.
[[Category:Linux Kernel]]
4,199
edits