Difference between revisions of "How to use vanilla kernel on APF27"
From ArmadeusWiki
(→Evolution of migration) |
|||
Line 5: | Line 5: | ||
With recent kernel it is also important to know how to use kernel [[device tree]] | With recent kernel it is also important to know how to use kernel [[device tree]] | ||
− | == | + | == mainline target == |
− | Get the latest trunk version with command : | + | * Get the latest trunk version with command : |
<pre class="host"> | <pre class="host"> | ||
− | $ git clone git://git.code.sf.net/p/armadeus/code | + | $ git clone git://git.code.sf.net/p/armadeus/code armadeus-trunk |
</pre> | </pre> | ||
− | Configure the view for | + | * Configure the view for APF28 "mainline" : |
<pre class="host"> | <pre class="host"> | ||
− | $ make | + | $ cd armadeus-trunk |
+ | $ make apf27mainline_defconfig | ||
</pre> | </pre> | ||
− | + | * Update your board: | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<pre class="apf"> | <pre class="apf"> | ||
− | BIOS> setenv | + | BIOS> run update_uboot; reset |
+ | BIOS> run flash_reset_env; reset | ||
+ | BIOS> setenv fdt_addr_r A0008000 | ||
+ | BIOS> saveenv | ||
+ | BIOS> run update_dtb | ||
+ | BIOS> run update_kernel | ||
+ | BIOS> run update_rootfs | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 09:11, 6 December 2013
By default, the kernel for APF27 is the 2.6.29.6. Migration for the kernel upstream 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 a recent kernel with latest armadeus trunk on APF27.
With recent kernel it is also important to know how to use kernel device tree
mainline target
- Get the latest trunk version with command :
$ git clone git://git.code.sf.net/p/armadeus/code armadeus-trunk
- Configure the view for APF28 "mainline" :
$ cd armadeus-trunk $ make apf27mainline_defconfig
- Update your board:
BIOS> run update_uboot; reset BIOS> run flash_reset_env; reset BIOS> setenv fdt_addr_r A0008000 BIOS> saveenv BIOS> run update_dtb BIOS> run update_kernel BIOS> run update_rootfs