How to use kernel 2.6.38.x on APF27

From ArmadeusWiki
Revision as of 15:37, 15 February 2012 by FabienM (Talk | contribs) (Get the trunk version)

Jump to: navigation, search

By default, the kernel for APF27 is the 2.6.29.6. Migration for 2.6.38.x is in progress but not finished, and some features like CAN or GPIOlib interrupts management are not available under kernel 2.6.29. This article explain how to use the 2.6.38.x kernel with latest armadeus trunk.

Get the trunk version

Get the latest trunk version with command :

$ git clone git://armadeus.git.sourceforge.net/gitroot/armadeus/armadeus apf27

Configure the view for APF27 :

$ make apf27_defconfig

On menuconfig select :

Toolchain  --->
    Kernel Headers (Linux 2.6 (manually specified version))  --->
    (2.6.38.8) linux version
[...]
System configuration  --->
    (ttymxc0) Port to run a getty (login prompt) on
[...]
Kernel  --->
    (2.6.38.8) Kernel version

Then make :

$ make