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

From ArmadeusWiki
Jump to: navigation, search
(New page: By default, the kernel for APF28 is the 2.6.35.3 version (from Freescale BSP). Migration to 3.x is in progress but not finished, this article explains how to use (test) these kernels with ...)
 
(U-Boot modification)
Line 34: Line 34:
 
== U-Boot modification ==
 
== 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:  
+
* 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:  
 
<pre class="apf">
 
<pre class="apf">
 
BIOS> setenv console console=ttyAMA0,115200n8
 
BIOS> setenv console console=ttyAMA0,115200n8
 +
</pre>
 +
 +
* Currently, only NFS boot have been tested:
 +
<pre class="apf">
 +
BIOS> run nfsboot
 
</pre>
 
</pre>

Revision as of 16:17, 8 May 2012

By default, the kernel for APF28 is the 2.6.35.3 version (from Freescale BSP). Migration to 3.x is in progress but not finished, this article explains how to use (test) these kernels 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 armadeus-trunk
  • Configure the view for APF28 :
$ make apf28_defconfig
  • On menuconfig select :
Toolchain  --->
    Kernel Headers (Linux 2.6 (manually specified version))  --->
    (3.3.5) linux version
...
System configuration  --->
    (ttyAMA0) Port to run a getty (login prompt) on
...
Kernel  --->
    (3.3.5) Kernel version
  • 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
  • Currently, only NFS boot have been tested:
BIOS> run nfsboot