4,199
edits
Changes
From IGEP - ISEE Wiki
m
<pre> make ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- imx6_igep0046_defconfig</pre>
<pre> make ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- zImage modules dtbs</pre>
<pre> sudo make ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- INSTALL_MOD_PATH=[path to your target rootfs] modules_install</pre> You can '''install''' the zImage to boot partition : <pre> cp arch/arm/boot/zImage [path to your target boot]</pre> You can '''install''' the IGEP SMARC i.MX6 DTBs to boot partition. You can choose the dtb you need to your machine: <pre> cp arch/arm/boot/dts/imx6q-igep-base0040*.dtb [path to your target boot]</pre> = TI Wilink8 Backports = Once you install kernel and module binaries in your rootfs You can download and compile WIFI and Bluetooth modules and applications: Install dependencies: <pre> sudo apt-get install lib32z1 </pre> Download WIFI build-utilities: <pre> git clone git://git.isee.biz/pub/scm/wilink8-wlan/build-utilites.git </pre> Mount your SD card or rootfs and configure setup-env: <pre>cd build-utilites/ </pre> <pre>cp setup-env.sample setup-env </pre>
You can '''install''' the zImage in ../arch/arm/boot/ to your target Add SD or rootfs :patch into ROOTFS environment variables and add linux-imx kernel source path into KERNEL_PATH variable
cp zImage [path to your target rootfs/boot]Download sources:
You can '''install''' the zImage in <pre>./build_wl18xx.sh init</arch/arm/boot/ to your target boot :pre>
cp zImage [path to your target boot]Compile sources and install binaries:
You can '''install''' the dtb in .<pre>./arch/arm/boot/dts to your target rootfssudo_build_wl18xx. You can choose the dtb you need to your machinesh update R8. In this case we have the rb2 version:6_SP1 </pre>
cp imx6q-igep-base0040rb2.dtb [path to your target rootfs/boot]During process appear the following error:
You can '''install''' the dtb in <pre> ERROR [PATH ROOTFS]/lib/modules/3.14.28-1.0.0_ga+yocto+g34048c3/updates/archdrivers/armnet/bootwireless/ti/wl18xx/wl18xx.ko Not found ! </dts to your target boot:pre>
cp imx6q-igep-base0040rb2wl18xx.dtb [path to ko is correctly installed. So don't take care of it. Now, your target boot]kernel has Wilink 8 support added
→Compiler
= Compiler =
We recommend to use IGEP i.MX6 Yocto Fido SDK to compile i.MX6 kernels
'''Download'''
[http://downloads.isee.biz/pub/releases/sdk/poky-glibc-x86_64-isee-fsl-image-dev-cortexa9hf-vfp-neon-toolchain-1.8.sh IGEP i.MX6 Yocto Fido SDK ]
'''Install''' sdk
<pre> sh poky-glibc-x86_64-isee-fsl-image-dev-cortexa9hf-vfp-neon-toolchain-1.8.sh</pre>
Install target into default directory (/opt/poky/1.8)
'''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
Then '''build''' the kernel, the kernel modules and the device tree files. The result will be an ''zImage'' file in arch/arm/boot directory. Execute:
You can '''install''' the kernel modules to your target rootfs
[[Category:Linux_Kernel]]