Difference between revisions of "Linux Kernel 3.14.28.y"

From IGEP - ISEE Wiki

Jump to: navigation, search
(Created page with '= Build kernel from sources = '''Download''' the latest stable version sources and follow next steps: For clone linux-imx git clone git://git.isee.biz/pub/scm/linux-imx.git …')
 
Line 5: Line 5:
 
For clone linux-imx
 
For clone linux-imx
  
git clone git://git.isee.biz/pub/scm/linux-imx.git
+
<pre>git clone git://git.isee.biz/pub/scm/linux-imx.git</pre>
  
 
Export environment variables
 
Export environment variables
  
source /opt/poky/1.8/environment
+
<pre>source /opt/poky/1.8/environment</pre>
  
 
'''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. A generic configuration is provided for all IGEP machines, and can be used as the default by  

Revision as of 09:23, 27 May 2016

Build kernel from sources

Download the latest stable version sources and follow next steps:

For clone linux-imx

git clone git://git.isee.biz/pub/scm/linux-imx.git

Export environment variables

source /opt/poky/1.8/environment

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

make ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- imx6-igep0046_defconfig

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:

make ARCH=arm CROSS_COMPILE=[your cross compiler] zImage modules dtbs


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