Difference between revisions of "How to use kernel 2.6.38.x on APF27"
From ArmadeusWiki
(→Get the trunk version) |
|||
Line 5: | Line 5: | ||
Get the latest trunk version with command : | Get the latest trunk version with command : | ||
<pre class="host"> | <pre class="host"> | ||
− | $ git clone git:// | + | $ git clone git://git.code.sf.net/p/armadeus/code apf27 |
</pre> | </pre> | ||
Revision as of 04:09, 11 December 2012
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://git.code.sf.net/p/armadeus/code 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
U-Boot modification
Serial port names have been unified to /dev/ttymxc[0-6]. So if you want to see something on your serial console please do the following before booting:
BIOS> setenv console console=ttymxc0,115200
- Framebuffer can now support multiple LCDs and so LCD you want to use must be passed as bootparam (like serial port). So you can do (for example):
BIOS> setenv console console=ttymxc0,115200 video=imxfb:Chimei-LW700AT9003
Evolution of migration
The evolution of patches migration can be found on migration page.