Difference between revisions of "Linux Kernel Mainline"

From IGEP - ISEE Wiki

Jump to: navigation, search
m (Build kernel from sources)
 
(One intermediate revision by one other user not shown)
Line 20: Line 20:
 
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:  
 
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
+
  make ARCH=arm CROSS_COMPILE=[your cross compiler prefix] zImage modules dtbs
  
 
Note that you can '''install''' the kernel modules to your target rootfs  
 
Note that 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
+
  make ARCH=arm CROSS_COMPILE=[your cross compiler prefix] modules_install INSTALL_MOD_PATH=[path to your target rootfs] modules_install
  
 
= Known issues =
 
= Known issues =
  
 
[[Category:Linux Kernel]]
 
[[Category:Linux Kernel]]

Latest revision as of 11:49, 2 June 2015

Introduction

The 'master' branch from git.isee.biz repository is where the development work takes place and you should use this if you're after to work with the latest cutting edge developments. It is possible trunk can suffer temporary periods of instability while new features are developed and if this is undesirable we recommend using one of the release branches. Use ONLY for development purposes.

Additional patches can be found at http://patchwork.kernel.org/project/linux-omap/list

Build kernel from sources

Download the latest unstable version sources and follow next steps:

git clone git://git.isee.biz/pub/scm/linux-omap-2.6.git linux
cd linux

Configure Linux kernel for IGEP Processor Boards. A generic configuration is provided for all ARM machines, and can be used as the default by

make ARCH=arm omap2plus_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 prefix] zImage modules dtbs

Note that you can install the kernel modules to your target rootfs

make ARCH=arm CROSS_COMPILE=[your cross compiler prefix] modules_install INSTALL_MOD_PATH=[path to your target rootfs] modules_install

Known issues