Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Linux Kernel 2.6.37.y

201 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/archive/151.05/components/toolchain2/binariessysroots/armi686-linux-gnueabi/gcc-linaro-4.9-2015.05-x86_64_armpokysdk-linux-gnueabi.tar.xzsudo tar -xvf gcc-linaro-4.9-2015.05-x86_64_arm-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-12 (20161206)'''
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
Modify the environment file (setup-env-wl18xx-rmd).
Change '''KLIB_BUILD''' variable
export KLIB_BUILD="<<Path to Linux directory linux-omap-2.6.37 sources directory>>-12
Load the environment file (setup-env-wl18xx-rmd):
rm ${ROOTFS}/lib/modules/2.6.37-wilink8/kernel/net/wireless/cfg80211.ko
Install the compat-wireless modules to your target rootfs. Change '''KLIB''' variableand '''ROOTFS''' variables
make KLIB_BUILD=${KLIB_BUILD} KLIB=${ROOTFS} install-modules
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
4,199
edits