Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Linux Kernel 2.6.37.y

1,234 bytes added, 18:02, 13 December 2016
m
Compiled binaries
= Introduction =
This article is for specific 2.6.37.y Linux kernel branch series. 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 [httpshttp://releaseslabs.linaroisee.orgbiz/15index.05php/components/toolchain/binaries/arm-linux-gnueabi/gcc-linaro-4How_to_setup_a_cross_compiler#IGEP_OMAP3 IGEP SDK Yocto Toolchain 1.9-20152.05-x86_64_arm-linux-gnueabi.tar.xz gcc-linaro-4.9-2015.05-x86_64_arm-linux2-gnueabi3].
All configurations support the following IGEP Expansions Boards:
* IGEP COM MODULE / ELECTRON '''(no WIFI)'''
= Setup gccIGEP SDK Yocto Toolchain 1.2.2-linaro3 = == Install == Download -4[http://www.9isee.biz/support/downloads/item/igep-2015sdk-yocto-toolchain-1-2-2-3 isee.05biz] follow the next steps:*Open a terminal *Located your downloaded file, in my case is inside /home/jdoe/Downloads:<pre>jdoe@ubuntu ~ $ cd Downloads/</pre> *Extract binaries in root directory with root privileges<br><pre>jdoe@ubuntu ~/Downloads $ sudo tar jxf igep-x86_64_armsdk-linuxyocto-gnueabi 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>cd Downloadswget https:export PATH=/opt/releases.linaro.orgpoky/151.05/components/toolchain/binaries2/arm-linux-gnueabisysroots/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabi.tar.xzsudo tar -xvf gcc-linaro-4.9-2015.05i686-x86_64_armpokysdk-linux-gnueabi.tar.xz -C /optexport PATH=usr/optbin/gccarmv7a-linaro-4.9vfp-2015.05neon-x86_64_armpoky-linux-gnueabi/bin:$PATH </pre>
= Compiled binaries =
 Binaries: latest stable kernel version IGEP OMAP3 devices is: '''2.6.37-11 12 (2015100820161206)'''
{| border="1"
|-
| IGEP00x0
| [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1112/linux-omap-2.6.37-1112.tar.gz 2.6.37-1112] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1112/linux-omap-2.6.37-1112.tar.gz.md5 md5sum]) | [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1112/zImage-2.6.37-1112.bin zImage-2.6.37-1112.bin] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1112/zImage-2.6.37-1112.bin.md5 md5sum]) | [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1112/modules-2.6.37-1112.tar.gz modules-2.6.37-1112] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1112/modules-2.6.37-1112.tar.gz.md5 md5sum)]| [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1112/zImage-2.6.37-1112-wilink8.bin zImage-2.6.37-1112-wilink8.bin] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1112/zImage-2.6.37-1112-wilink8.bin.md5 md5sum]) | [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1112/modules-2.6.37-1112-wilink8.tar.gz modules-2.6.37-1112-wilink8] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1112/modules-2.6.37-1112-wilink8.tar.gz.md5 md5sum)]| [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1112/compat-wireless-wilink8-0.tar.gz compat-wireless-wilink8-0] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1112/compat-wireless-wilink8-0.tar.gz.md5 md5sum]) | [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1112/ti-connectivity-wilink8-0.tar.gz ti-connectivity-wilink8-0] ([http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1112/ti-connectivity-wilink8-0.tar.gz.md5 md5sum)]
|}
'''Download''' the latest stable version sources and follow next steps:
wget http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1112/linux-omap-2.6.37-1112.tar.gz tar xzf linux-omap-2.6.37-1112.tar.gz cd linux-omap-2.6.37-1112
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]])
 
== Important procedures ==
 
* Remove rootfs modules binaries from any previous Kernel
* If you switch to another configuration, clean kernel sources with command: make mrproper
 
== igep00x0_defconfig ==
make ARCH=arm CROSS_COMPILE=[your cross compiler] zImage modules
For example, if you are using gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabi 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
make ARCH=arm CROSS_COMPILE=[your cross compiler] zImage modules
For example, if you are using gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabi 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
Download and extract Compat Wireless source:
<pre>cd ..wget http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-1112/compat-wireless-wilink8-0.tar.gz
tar -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):
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-1112/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 ==
make ARCH=arm CROSS_COMPILE=[your cross compiler] zImage modules
For example, if you are using gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabi 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
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
4,199
edits