|
|
(3 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | By default, the kernel for APF27 is the 2.6.29.6. Migration for 2.6.38.x [[APF9328_and_APF27_migration_to_Linux_2.6.38 | 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.
| + | #REDIRECTION[[How to use vanilla kernel on APF27]] |
− | | + | |
− | == Get the trunk version ==
| + | |
− | | + | |
− | Get the latest trunk version with command :
| + | |
− | <pre class="host">
| + | |
− | $ git clone git://armadeus.git.sourceforge.net/gitroot/armadeus/armadeus apf27
| + | |
− | </pre>
| + | |
− | | + | |
− | Configure the view for APF27 :
| + | |
− | <pre class="host">
| + | |
− | $ make apf27_defconfig
| + | |
− | </pre>
| + | |
− | | + | |
− | On menuconfig select :
| + | |
− | <pre class="config">
| + | |
− | 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
| + | |
− | </pre>
| + | |
− | | + | |
− | Then make :
| + | |
− | <pre class="host">
| + | |
− | $ make
| + | |
− | </pre>
| + | |
− | | + | |
− | == 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:
| + | |
− | <pre class="apf">
| + | |
− | BIOS> setenv console console=ttymxc0,115200
| + | |
− | </pre>
| + | |
− | | + | |
− | * 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):
| + | |
− | <pre class="apf">
| + | |
− | BIOS> setenv console console=ttymxc0,115200 video=imxfb:Chimei-LW700AT9003
| + | |
− | </pre>
| + | |