Difference between revisions of "How to use vanilla kernel on APF28"

From ArmadeusWiki
Jump to: navigation, search
(Get the trunk version)
Line 1: Line 1:
 
By default, the kernel for APF28 is the 2.6.35 version (from Freescale BSP).
 
By default, the kernel for APF28 is the 2.6.35 version (from Freescale BSP).
Migration to '''Mainline (3.6)''' is in progress but not finished, this article explains how to use (test) these kernels with latest armadeus trunk.
+
Migration to '''Mainline (3.8+)''' is in progress but not finished, this article explains how to use (test) these kernels with latest armadeus trunk.
  
 
Mainline support is done with [[Kernel-with-device-tree|Device Tree]].
 
Mainline support is done with [[Kernel-with-device-tree|Device Tree]].
Line 21: Line 21:
 
Toolchain  --->
 
Toolchain  --->
 
     Kernel Headers (Linux 2.6 (manually specified version))  --->
 
     Kernel Headers (Linux 2.6 (manually specified version))  --->
     (3.6.2) linux version
+
     (3.8) linux version
 
...
 
...
 
System configuration  --->
 
System configuration  --->
Line 27: Line 27:
 
...
 
...
 
Kernel  --->
 
Kernel  --->
     (3.6.2) Kernel version
+
     (3.8) Kernel version
 
     (../patches/linux/$(BR2_LINUX_KERNEL_VERSION)) Custom kernel patches
 
     (../patches/linux/$(BR2_LINUX_KERNEL_VERSION)) Custom kernel patches
 
</pre>
 
</pre>

Revision as of 11:49, 18 March 2013

By default, the kernel for APF28 is the 2.6.35 version (from Freescale BSP). Migration to Mainline (3.8+) is in progress but not finished, this article explains how to use (test) these kernels with latest armadeus trunk.

Mainline support is done with Device Tree.

Get the trunk version

  • Get the latest trunk version with command :
$ git clone git://git.code.sf.net/p/armadeus/code armadeus-trunk
  • Configure the view for APF28 :
$ cd armadeus-trunk
$ make apf28_defconfig
  • On menuconfig select :
Toolchain  --->
    Kernel Headers (Linux 2.6 (manually specified version))  --->
    (3.8) linux version
...
System configuration  --->
    (ttyAMA0) Port to run a getty (login prompt) on
...
Kernel  --->
    (3.8) Kernel version
    (../patches/linux/$(BR2_LINUX_KERNEL_VERSION)) Custom kernel patches
  • Then build :
$ make

U-Boot modification

  • Serial port used for console has now a different name: ttyAMA0. So if you want to see something on your serial console please do the following before booting:
BIOS> setenv console console=ttyAMA0,115200n8
BIOS> setenv consoledev ttyAMA0
BIOS> run nfsboot

Which devices are supported ?

Roadmap

  1. SPI
  2. touchscreen