<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wikilegacy.armadeus.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=FredericB</id>
	<title>ArmadeusWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wikilegacy.armadeus.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=FredericB"/>
	<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=Special:Contributions/FredericB"/>
	<updated>2026-04-28T03:26:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>http://wikilegacy.armadeus.com/index.php?title=Adeos&amp;diff=4241</id>
		<title>Adeos</title>
		<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=Adeos&amp;diff=4241"/>
		<updated>2008-06-05T23:02:44Z</updated>

		<summary type="html">&lt;p&gt;FredericB: Added: how to select the kernel version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;font-size: 2em; font-weight:bold;&amp;quot;&amp;gt; How to install Adeos on your board &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The purpose of Adeos is to provide a flexible environment for sharing hardware resources among multiple operating systems, or among multiple instances of a single OS.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
==Get Adeos==&lt;br /&gt;
&lt;br /&gt;
First create a working directory&lt;br /&gt;
 $ cd armadeus&lt;br /&gt;
 $ mkdir patches/adeos&lt;br /&gt;
 $ cd patches/adeos&lt;br /&gt;
&lt;br /&gt;
Adeos is provided as a linux kernel patch. Thus, you have to carefully select a patch matching the kernel version running on the board. &amp;lt;br /&amp;gt;&lt;br /&gt;
On April 2008, the status was the following :&lt;br /&gt;
* Adeos patches was provided for the kernels&lt;br /&gt;
** 2.6.24&lt;br /&gt;
** 2.6.20&lt;br /&gt;
** 2.6.19&lt;br /&gt;
* Kernels ported for the board:&lt;br /&gt;
** 2.6.24&lt;br /&gt;
** 2.6.23&lt;br /&gt;
** 2.6.23.18&lt;br /&gt;
&lt;br /&gt;
The latest kernel matching is the 2.6.24.&lt;br /&gt;
So you have to make sure this kernel will be run on the board. &amp;lt;br /&amp;gt;&lt;br /&gt;
To do this, at the root of the armadeus project :&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
Then select :&lt;br /&gt;
 Target options  &amp;gt; Armadeus Device Support &amp;gt; Linux &amp;gt; Linux kernel version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Download the adeos patch from [http://download.gna.org/adeos/patches/v2.6/arm/ this page].&lt;br /&gt;
&lt;br /&gt;
For instance :&lt;br /&gt;
 $ wget http://download.gna.org/adeos/patches/v2.6/arm/adeos-ipipe-2.6.24-arm-1.9-01.patch&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Install Adeos==&lt;br /&gt;
&lt;br /&gt;
Go to the linux kernel directory&lt;br /&gt;
&lt;br /&gt;
 $ cd ../../..&lt;br /&gt;
 $ cd armadeus/buildroot/build_arm/linux-2.6.XX.YY&lt;br /&gt;
&lt;br /&gt;
And apply the patch with the &#039;&#039;-p1&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
 $ patch -p1 &amp;lt; ../../../patches/adeos/adeos-ipipe-2.6.XX-arm-1.9-01.patch&lt;br /&gt;
&lt;br /&gt;
Now, let&#039;s see if everything went fine. Run the command:&lt;br /&gt;
 $ find . -name &#039;*.rej&#039;&lt;br /&gt;
If you get any results, it means that some errors occurred while trying to patch. In a such case,&lt;br /&gt;
you will have to apply the changes manually. &amp;lt;br /&amp;gt;&lt;br /&gt;
These pages can help you to do the job:&lt;br /&gt;
* [http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO-6.html   http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO-6.html]&lt;br /&gt;
* [http://www.tuxfinder.com/french/HOWTOhtml/Kernel-HOWTO-5.html   http://www.tuxfinder.com/french/HOWTOhtml/Kernel-HOWTO-5.html] (&#039;&#039;French&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Configure Adeos==&lt;br /&gt;
&lt;br /&gt;
Adeos is now installed, let&#039;s configure it a bit.&lt;br /&gt;
&lt;br /&gt;
In the kernel directory, run the command&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
And select the following options&lt;br /&gt;
&lt;br /&gt;
 Kernel Features ---&amp;gt;&lt;br /&gt;
     [*] Interrupt Pipeline&lt;br /&gt;
     (4)   Max domains&lt;br /&gt;
     [ ]   Maintain code compatibility with older releases  &lt;br /&gt;
&lt;br /&gt;
Optionally, you can also enable ipipe debugging&lt;br /&gt;
&lt;br /&gt;
  Kernel hacking  ---&amp;gt;&lt;br /&gt;
     [*] I-pipe debugging&lt;br /&gt;
     [*]   Check for illicit cross-domain calls (NEW)&lt;br /&gt;
     [*]   Latency tracing&lt;br /&gt;
     [*]     Enable tracing on boot (NEW)&lt;br /&gt;
     [*]     Instrument function entries (NEW)&lt;br /&gt;
     [*]     Trace IRQs-off times (NEW)&lt;br /&gt;
     (14)    Depth of trace log (14 =&amp;gt; 16Kpoints, 15 =&amp;gt; 32Kpoints) (NEW)&lt;br /&gt;
     [*]     Use vmalloc&#039;ed trace buffer (NEW)&lt;br /&gt;
     [*]     Enable panic back traces (NEW)       &lt;br /&gt;
&lt;br /&gt;
Well, it&#039;s now time for compilation !&lt;br /&gt;
&lt;br /&gt;
 $ cd ../../../..&lt;br /&gt;
 $ cd armadeus&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Then check that your kernel size is lower than 1.5 Mb&lt;br /&gt;
 $ ls -lh buildroot/binaries/armadeus/linux-kernel-2.6.XX.Y-arm.bin&lt;br /&gt;
 -rw-r--r-- 1 creber users 1.4M 2008-04-05 23:29 buildroot/binaries/armadeus/linux-kernel-2.6.XX.Y-arm.bin&lt;br /&gt;
&lt;br /&gt;
If the test is OK, you&#039;re ready to [[Target_Software_Installation | transfer ]] the kernel to the board.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Test==&lt;br /&gt;
&lt;br /&gt;
To validate your Adeos installation, boot the target an run the command &lt;br /&gt;
&lt;br /&gt;
 dmesg | grep I-pipe&lt;br /&gt;
&lt;br /&gt;
You should get an output similar to :&lt;br /&gt;
&lt;br /&gt;
 I-pipe 1.9-01: pipeline enabled.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* A page describing how to use the ipipe tracer option. [http://www.xenomai.org/index.php/I-pipe:Tracer   http://www.xenomai.org/index.php/I-pipe:Tracer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Virtualization]]&lt;br /&gt;
[[Category:Real-Time]]&lt;/div&gt;</summary>
		<author><name>FredericB</name></author>
	</entry>
	<entry>
		<id>http://wikilegacy.armadeus.com/index.php?title=Xenomai&amp;diff=4227</id>
		<title>Xenomai</title>
		<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=Xenomai&amp;diff=4227"/>
		<updated>2008-06-04T23:48:24Z</updated>

		<summary type="html">&lt;p&gt;FredericB: Page creation. This is a draft. I submit the page now since few guys need to progress on the Xenomai side.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Under Construction&#039;&#039;&#039; [[Image:Construction.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size: 2em; font-weight:bold;&amp;quot;&amp;gt; How to manually install Xenomai on your board &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==What is Xenomai==&lt;br /&gt;
&lt;br /&gt;
Xenomai is a real time co-kernel which cooperate with Linux via Adeos.&amp;lt;br /&amp;gt; &lt;br /&gt;
Hard real time applications can be developped and run on the Armadeus&lt;br /&gt;
board. Thanks to Adeos, Xenomai will receive the interrupts first and decide&lt;br /&gt;
to handle them or not. If not, they will then be transfered to the regular&lt;br /&gt;
Linux kernel. Also, Xenomai provides a framework to develop applications which&lt;br /&gt;
can be easily moved between the Real Time Xenomai environment and the regular&lt;br /&gt;
Linux system. Moreover, Xeno provides a set of APIs (called &amp;quot;skins&amp;quot;) that&lt;br /&gt;
emulate traditional RTOSes such as VxWorks and pSOS and implement other APIs&lt;br /&gt;
such as POSIX. Thus, porting third party real time applications to Xenomai is&lt;br /&gt;
a fairly simple process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Explanation of the process used to install &amp;amp; deploy xenomai==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Because Xenomai has not (&#039;&#039;yet&#039;&#039;) been integrated into the project, we will&lt;br /&gt;
have to install it manually.&lt;br /&gt;
&lt;br /&gt;
The main steps are&lt;br /&gt;
* Installation of Adeos, an interupt pipeline&lt;br /&gt;
* Create the Xenomai project directories used for this tutorial&lt;br /&gt;
* Download Xenomai, extract &amp;amp; patch the sources&lt;br /&gt;
* Prepare the Armadeus linux kernel to support Xenomai&lt;br /&gt;
* Compile Xenomai&lt;br /&gt;
* Deploy user space Xenomai applications into the target root file system&lt;br /&gt;
* Validate the installation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Namming conventions :&lt;br /&gt;
In this document, the following naming conventions will be applied :&lt;br /&gt;
&lt;br /&gt;
* Xeno or xeno will be used to reference Xenomai&lt;br /&gt;
* $ARMASEUS_ROOT will be used to reference the root directory of the xenomai project&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Install Adeos==&lt;br /&gt;
&lt;br /&gt;
First of all, you need to deploy a working Adeos on your board.&lt;br /&gt;
This can easily be done by following [[Adeos  | these instructions]].&lt;br /&gt;
&lt;br /&gt;
==Create our Xenomai project folder architecture==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Xenomai will create some files to be deployed. By default, the command&lt;br /&gt;
&#039;&#039;make install&#039;&#039; will copy the files into the following directories :&lt;br /&gt;
* &#039;&#039;/usr/xenomai/*&#039;&#039; contain test programs, includes, ...&lt;br /&gt;
* &#039;&#039;/usr/share/xenomai/*&#039;&#039; contain the documentation.&lt;br /&gt;
&lt;br /&gt;
To have a clean but integrated folder architecture, we will create some specific&lt;br /&gt;
directories to install theses files. Later, we will copy them into the board&#039;s&lt;br /&gt;
root filesystem so Xenomai testing programs  will be available on the apf.&lt;br /&gt;
&lt;br /&gt;
Also, because Xenomai documentation installed is quite huge (several Mb), we&lt;br /&gt;
will avoid to copy it on the board.&lt;br /&gt;
&lt;br /&gt;
 $ mkdir $ARMADEUS_ROOT/xenomai&lt;br /&gt;
 $ mkdir $ARMADEUS_ROOT/xenomai/root_dir&lt;br /&gt;
 $ mkdir $ARMADEUS_ROOT/xenomai/root_dir/xenodoc&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;$ARMADEUS_ROOT/xenomai/root_dir/usr&#039;&#039; will contain all Xenomai target specific&lt;br /&gt;
files. This directory will be transfered to the board.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;$ARMADEUS_ROOT/xenomai/root_dir/xenodoc&#039;&#039; will contain Xenomai documentation&lt;br /&gt;
that won&#039;t be transfered to the board.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Download &amp;amp; patch==&lt;br /&gt;
&lt;br /&gt;
Well, let&#039;s start by downloading Xenomai sources.&lt;br /&gt;
&lt;br /&gt;
 $ cd $ARMADEUS_ROOT/xenomai&lt;br /&gt;
 $ wget http://download.gna.org/xenomai/stable/xenomai-2.4.3.tar.bz2&lt;br /&gt;
 $ tar xvjf xenomai-2.4.3.tar.bz2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To compile Xenomai-2.4.3 with the current uClibc used within the Armadeus project&lt;br /&gt;
(uClibc-0.9.29), we will have to patch :&lt;br /&gt;
* Xenomai sources (See [[https://mail.gna.org/public/xenomai-help/2008-03/msg00043.html | here]])&lt;br /&gt;
* uClibc sources (See [[http://sourceforge.net/mailarchive/forum.php?thread_name=4803E169.30708%40free.fr&amp;amp;forum_name=armadeus-forum | this thread]])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To patch Xenomai sources :&lt;br /&gt;
&lt;br /&gt;
 $ cd $ARMADEUS_ROOT/xenomai/xenomai-2.4.3&lt;br /&gt;
 $ wget https://mail.gna.org/public/xenomai-help/2008-03/bin5IoYobpAwu.bin&lt;br /&gt;
 $ patch -p0 &amp;lt; bin5IoYobpAwu.bin&lt;br /&gt;
   patching file src/skins/posix/thread.c&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To patch uClibc :&amp;lt;br /&amp;gt;&lt;br /&gt;
This patch has been inserted into the Armadeus project, starting from revision&lt;br /&gt;
799. Update your svn tree to make sure it will be applied.&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Compilation==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Xenomai kernel space support===&lt;br /&gt;
&lt;br /&gt;
Xenomai is a co-kernel cooperating with Linux. This suite is made of two parts :&lt;br /&gt;
* The Xenomai kernel: It is provided as a patch to the regular Linux kernel and&lt;br /&gt;
can be compiled as a full part of the kernel or as a regular module.&lt;br /&gt;
* Xenomai user space data: This set of file contains:&lt;br /&gt;
** header files used to compile Xenomai applications&lt;br /&gt;
** Binary files to validate and measure the performace of Xenomai&lt;br /&gt;
&lt;br /&gt;
This section describe how to compile the kernel space for Xenomai.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here we will patch the Armadeus linux kernel to add Xenomai features.&lt;br /&gt;
This is automatically done via the Xenomai script &#039;&#039;prepare-kernel.sh&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 $ cd $ARMADEUS_ROOT/xenomai/xenomai-2.4.3&lt;br /&gt;
 $ ./scripts/prepare-kernel.sh --linux=$ARMADEUS_ROOT/buildroot/build_arm/linux-2.6.24.3/ --arch=arm&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;--linux&#039;&#039; is used to specify which kernel we want to patch&lt;br /&gt;
* &#039;&#039;--arch&#039;&#039; is used to specify for which platform we want to patch (arm in our case)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let&#039;s configure the Xenomai kernel :&lt;br /&gt;
&lt;br /&gt;
 cd $ARMADEUS_ROOT&lt;br /&gt;
 $ make linux-menuconfig&lt;br /&gt;
&lt;br /&gt;
You should see the new entry :&lt;br /&gt;
 Real-time sub-system  ---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Enter in it and check the following to compile Xenomai as a part of the Linux&lt;br /&gt;
kernel :&lt;br /&gt;
 [*] Xenomai&lt;br /&gt;
   &amp;lt;*&amp;gt; Nucleus &lt;br /&gt;
   [*]   Pervasive real-time support in user-space&lt;br /&gt;
   [ ]     Interrupt shield support&lt;br /&gt;
   [*]     Priority coupling support&lt;br /&gt;
   [*]   Optimize as pipeline head&lt;br /&gt;
   (32)  Number of pipe devices&lt;br /&gt;
   (512) Number of registry slots&lt;br /&gt;
   (128) Size of the system heap (Kb)&lt;br /&gt;
   (32)  Size of the private stack pool (Kb)&lt;br /&gt;
   [*]   Statistics collection&lt;br /&gt;
   [ ]   Debug support&lt;br /&gt;
   [ ]   Shared interrupts&lt;br /&gt;
      Timing  ---&amp;gt;&lt;br /&gt;
      Scalability  ---&amp;gt;&lt;br /&gt;
      Machine  ---&amp;gt;&lt;br /&gt;
      Interfaces  ---&amp;gt;&lt;br /&gt;
      Drivers  ---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additionaly, to enable / disable the different available skins, go into &amp;quot;&#039;&#039;Interfaces  ---&amp;gt;&#039;&#039;&amp;quot; :&lt;br /&gt;
 &amp;lt;*&amp;gt; Native API  ---&amp;gt;&lt;br /&gt;
 &amp;lt;*&amp;gt; POSIX API  ---&amp;gt;&lt;br /&gt;
 &amp;lt; &amp;gt; pSOS+ emulator  ---&amp;gt;&lt;br /&gt;
 &amp;lt; &amp;gt; uITRON API  ---&amp;gt;&lt;br /&gt;
 &amp;lt; &amp;gt; VRTX emulator  ---&amp;gt;&lt;br /&gt;
 &amp;lt; &amp;gt; VxWorks emulator  ---&amp;gt;&lt;br /&gt;
 &amp;lt; &amp;gt; RTAI emulator  ---&amp;gt;&lt;br /&gt;
 &amp;lt;*&amp;gt; Real-Time Driver Model  ---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, compile Xenomai  :&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Xenomai User Space support===&lt;br /&gt;
&lt;br /&gt;
Because we need to cross compile Xenomai applications for ARM, we will use the&lt;br /&gt;
cross compilations tools provided by Armadeus/buildroot.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s update our PATH accordingly :&lt;br /&gt;
 $ export PATH=$ARMADEUS_ROOT/buildroot/build_arm/staging_dir/bin:$PATH&lt;br /&gt;
&lt;br /&gt;
We are now ready to start the user space compilation.&lt;br /&gt;
&lt;br /&gt;
First, let&#039;s configure Xeno and create the makefiles :&lt;br /&gt;
 $ cd $ARMADEUS_ROOT/xenomai/xenomai-2.4.3&lt;br /&gt;
 $ ./configure --enable-arm-mach=imx --host=arm-linux --datarootdir=/xenodoc&lt;br /&gt;
  &lt;br /&gt;
* &#039;&#039;--enable-arm-mach&#039;&#039; : We want to build Xeno for the ARM Imx architecture&lt;br /&gt;
* &#039;&#039;--host&#039;&#039; :  Prefix used for all compilation tools&lt;br /&gt;
* &#039;&#039;--datarootdir&#039;&#039; :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, compile user space utilities.&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Deploy==&lt;br /&gt;
&lt;br /&gt;
First, install xenomai data in $ARMADEUS_ROOT/xenomai/root-dirs/target&lt;br /&gt;
 $ cd $ARMADEUS_ROOT/xenomai/xenomai-2.4.3&lt;br /&gt;
 $ make DESTDIR=$ARMADEUS_ROOT/xenomai/root-dir install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This command will install all Xenomai data in $ARMADEUS_ROOT/xenomai/root-dir.&lt;br /&gt;
Have a look in this directory. Note that it contains two sub directories,&lt;br /&gt;
&#039;&#039;xenodoc&#039;&#039; and &#039;&#039;usr&#039;&#039;. &#039;&#039;xenodoc&#039;&#039; contains all documentation regarding&lt;br /&gt;
Xenomai. As said previously, we will not copy xenodoc on the board.&lt;br /&gt;
Instead, we will only transfert the required files to run Xeno applications&lt;br /&gt;
on the apf. These files are located under &#039;&#039;usr/xenomai&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before modifying the board&#039;s root filesystem, we will first make a backup of it.&lt;br /&gt;
 $ cp -R $ARMADEUS_ROOT/buildroot/project_build_arm/armadeus/root $ARMADEUS_ROOT/buildroot/project_build_arm/armadeus/root.orig&lt;br /&gt;
&lt;br /&gt;
We can now copy Xeno data to the board&#039;s root filesystem:&lt;br /&gt;
 $ cp -R $ARMADEUS_ROOT/xenomai/root-dir/usr/* $ARMADEUS_ROOT/buildroot/project_build_arm/armadeus/root/usr/&lt;br /&gt;
&lt;br /&gt;
And generate the target filesystem&lt;br /&gt;
 $ cd $ARMADEUS_ROOT&lt;br /&gt;
 $ make&lt;br /&gt;
 &lt;br /&gt;
You can now [[Target_Software_Installation | transfer]] the rootfs and the kernel&lt;br /&gt;
on the apf.&lt;br /&gt;
&lt;br /&gt;
==Validate the installation==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Boot the apf and logon as root.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can double check Xeno is installed correctly :&lt;br /&gt;
&lt;br /&gt;
 $ dmesg | grep Xenomai&lt;br /&gt;
  I-pipe: Domain Xenomai registered.&lt;br /&gt;
  Xenomai: hal/arm started.&lt;br /&gt;
  Xenomai: real-time nucleus v2.4.3 (Back to Shalla-Bal) loaded.&lt;br /&gt;
  Xenomai: starting native API services.&lt;br /&gt;
  Xenomai: starting POSIX services.&lt;br /&gt;
  Xenomai: starting RTDM services.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We will now update our environment to add xenomai features. On the apf,&lt;br /&gt;
run the following commands:&lt;br /&gt;
 $ export LD_LIBRARY_PATH=/usr/xenomai/lib:$LD_LIBRARY_PATH&lt;br /&gt;
 $ export PATH=/usr/xenomai/bin:$PATH&lt;br /&gt;
&lt;br /&gt;
to make the change permanentrly, add to  /usr/xenomai/lib $ARMADEUS_ROOT/buildroot/project_build_arm/armadeus/root/etc/ld.so.conf&lt;br /&gt;
&lt;br /&gt;
So we can run the performance test provided by Xenomai:&lt;br /&gt;
 $ xeno-test&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.xenomai.org] Xenomai main page&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Real-Time]]&lt;/div&gt;</summary>
		<author><name>FredericB</name></author>
	</entry>
	<entry>
		<id>http://wikilegacy.armadeus.com/index.php?title=Adeos&amp;diff=3919</id>
		<title>Adeos</title>
		<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=Adeos&amp;diff=3919"/>
		<updated>2008-04-07T21:27:00Z</updated>

		<summary type="html">&lt;p&gt;FredericB: removing Xenomai references in the Test section (xenomai should be installed at this stage)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;font-size: 2em; font-weight:bold;&amp;quot;&amp;gt; How to install Adeos on your board &amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The purpose of Adeos is to provide a flexible environment for sharing hardware resources among multiple operating systems, or among multiple instances of a single OS.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
==Get Adeos==&lt;br /&gt;
&lt;br /&gt;
First create a working directory&lt;br /&gt;
 $ cd armadeus&lt;br /&gt;
 $ mkdir patches/adeos&lt;br /&gt;
 $ cd patches/adeos&lt;br /&gt;
&lt;br /&gt;
Adeos is provided as a linux kernel patch. Thus, you have to carefully select a patch matching the kernel version running on the board. &amp;lt;br /&amp;gt;&lt;br /&gt;
On April 2008, the status was the following :&lt;br /&gt;
* Adeos patches was provided for the kernels&lt;br /&gt;
** 2.6.24&lt;br /&gt;
** 2.6.20&lt;br /&gt;
** 2.6.19&lt;br /&gt;
* Kernels ported for the board:&lt;br /&gt;
** 2.6.24&lt;br /&gt;
** 2.6.23&lt;br /&gt;
** 2.6.23.18&lt;br /&gt;
&lt;br /&gt;
The latest kernel matching is the 2.6.24.&lt;br /&gt;
So you have to make sure this kernel will be run on the board. &amp;lt;br /&amp;gt;&lt;br /&gt;
Then download the adeos patch from [http://download.gna.org/adeos/patches/v2.6/arm/ this page].&lt;br /&gt;
&lt;br /&gt;
For instance :&lt;br /&gt;
 $ wget http://download.gna.org/adeos/patches/v2.6/arm/adeos-ipipe-2.6.24-arm-1.9-01.patch&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Install Adeos==&lt;br /&gt;
&lt;br /&gt;
Go to the linux kernel directory&lt;br /&gt;
&lt;br /&gt;
 $ cd ../../..&lt;br /&gt;
 $ cd armadeus/buildroot/build_arm/linux-2.6.XX.YY&lt;br /&gt;
&lt;br /&gt;
And apply the patch with the &#039;&#039;-p1&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
 $ patch -p1 &amp;lt; ../../../patches/adeos/adeos-ipipe-2.6.XX-arm-1.9-01.patch&lt;br /&gt;
&lt;br /&gt;
Now, let&#039;s see if everything went fine. Run the command:&lt;br /&gt;
 $ find . -name &#039;*.rej&#039;&lt;br /&gt;
If you get any results, it means that some errors occurred while trying to patch. In a such case,&lt;br /&gt;
you will have to apply the changes manually. &amp;lt;br /&amp;gt;&lt;br /&gt;
These pages can help you to do the job:&lt;br /&gt;
* [http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO-6.html   http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO-6.html]&lt;br /&gt;
* [http://www.tuxfinder.com/french/HOWTOhtml/Kernel-HOWTO-5.html   http://www.tuxfinder.com/french/HOWTOhtml/Kernel-HOWTO-5.html] (&#039;&#039;French&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Configure Adeos==&lt;br /&gt;
&lt;br /&gt;
Adeos is now installed, let&#039;s configure it a bit.&lt;br /&gt;
&lt;br /&gt;
In the kernel directory, run the command&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
And select the following options&lt;br /&gt;
&lt;br /&gt;
 Kernel Features ---&amp;gt;&lt;br /&gt;
     [*] Interrupt Pipeline&lt;br /&gt;
     (4)   Max domains&lt;br /&gt;
     [ ]   Maintain code compatibility with older releases  &lt;br /&gt;
&lt;br /&gt;
Optionally, you can also enable ipipe debugging&lt;br /&gt;
&lt;br /&gt;
  Kernel hacking  ---&amp;gt;&lt;br /&gt;
     [*] I-pipe debugging&lt;br /&gt;
     [*]   Check for illicit cross-domain calls (NEW)&lt;br /&gt;
     [*]   Latency tracing&lt;br /&gt;
     [*]     Enable tracing on boot (NEW)&lt;br /&gt;
     [*]     Instrument function entries (NEW)&lt;br /&gt;
     [*]     Trace IRQs-off times (NEW)&lt;br /&gt;
     (14)    Depth of trace log (14 =&amp;gt; 16Kpoints, 15 =&amp;gt; 32Kpoints) (NEW)&lt;br /&gt;
     [*]     Use vmalloc&#039;ed trace buffer (NEW)&lt;br /&gt;
     [*]     Enable panic back traces (NEW)       &lt;br /&gt;
&lt;br /&gt;
Well, it&#039;s now time for compilation !&lt;br /&gt;
&lt;br /&gt;
 $ cd ../../../..&lt;br /&gt;
 $ cd armadeus&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Then check that your kernel size is lower than 1.5 Mb&lt;br /&gt;
 $ ls -lh buildroot/binaries/armadeus/linux-kernel-2.6.XX.Y-arm.bin&lt;br /&gt;
 -rw-r--r-- 1 creber users 1.4M 2008-04-05 23:29 buildroot/binaries/armadeus/linux-kernel-2.6.XX.Y-arm.bin&lt;br /&gt;
&lt;br /&gt;
If the test is OK, you&#039;re ready to [[Target_Software_Installation | transfer ]] the kernel to the board.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Test==&lt;br /&gt;
&lt;br /&gt;
To validate your Adeos installation, boot the target an run the command &lt;br /&gt;
&lt;br /&gt;
 dmesg | grep I-pipe&lt;br /&gt;
&lt;br /&gt;
You should get an output similar to :&lt;br /&gt;
&lt;br /&gt;
 I-pipe 1.9-01: pipeline enabled.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* A page describing how to use the ipipe tracer option. [http://www.xenomai.org/index.php/I-pipe:Tracer   http://www.xenomai.org/index.php/I-pipe:Tracer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Virtualization]]&lt;br /&gt;
[[Category:Real-Time]]&lt;/div&gt;</summary>
		<author><name>FredericB</name></author>
	</entry>
	<entry>
		<id>http://wikilegacy.armadeus.com/index.php?title=MemberList&amp;diff=3918</id>
		<title>MemberList</title>
		<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=MemberList&amp;diff=3918"/>
		<updated>2008-04-07T21:14:21Z</updated>

		<summary type="html">&lt;p&gt;FredericB: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Here is the list of the (active) members and their skills==&lt;br /&gt;
&lt;br /&gt;
This list is maintained by the users themself.&lt;br /&gt;
&lt;br /&gt;
*0: Novice&lt;br /&gt;
*1: Notions. At least one successfull experiment&lt;br /&gt;
*2: Confirmed&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; summary=&amp;quot;Signal connections&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#efefef;&amp;quot;&lt;br /&gt;
! &#039;&#039;&#039;Name / IRC Nickname&#039;&#039;&#039; || &#039;&#039;&#039;Linux Apps&#039;&#039;&#039;|| &#039;&#039;&#039;Linux Drivers&#039;&#039;&#039;|| &#039;&#039;&#039;FPGA&#039;&#039;&#039; || &#039;&#039;&#039;Board Design&#039;&#039;&#039; || &#039;&#039;&#039;Projet/Domain&#039;&#039;&#039;&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:Salocin68|Nicolas Colombain / Salocin]] || 1 || 1 || 1 || 2 || domotics&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:JulienB|Julien Boibessot / Artemys]] || 2 || 2 || 0 || 1 || multimedia&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:JeanBaptisteM|Jean-Baptiste Mayer / JiBee]] || 2 || 1 || 1 || 1 || robotics&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:NicolasA|Nicolas Aguirre]] || 2 || 0 || 1 || 1 || multimedia&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:BenoitC|Benoît Canet]] || 2 || 0 || 0 || 0 || multimedia&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:SonZerro|Sonzerro]] || 0 || 0 || 1 || 2 || domotics&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:HenriG|Henri Geist]] || 1 || 1 || 0 || 1 || robotics&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:BorredonB|Bernard Borredon]] || 2 || 1 || 0 || 1 || domotics&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:ThomasB|Thomas Bores]] || 2 || 0 || 0 || 1 || Entertainment&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:FabriceM|Fabrice Mousset / KroMignon]] || 1 || 1 || 2 || 1 || Domotics &amp;amp; multimedia&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:AmineH|Amine EL HEDADI]] || 2 || 2 || 0 || 0 || domotics &amp;amp; robotics&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:PhilippeM|Philippe Monteil]] || 2 || 0 || 0 || 0 || multimedia&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:CedricZ|Cédric Zmyj]] || 0 || 0 || 0 || 0 || domotics &amp;amp; robotics&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:JeanMichelN|Jean Michel Naimo / jeanmi12 ]] || 2 || 1 || 1 || 1 || Domotics &amp;amp; entertainment&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:OlivierC|Olivier Coutanceau]] || 1 || 0 || 0 || 0 || multimedia&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:ArnaudC|Arnaud COFFINET]] || 0 || 0 || 1 || 2 || multimedia &amp;amp; domotics&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:SylvainP|Sylvain PARRINO]] || 2 || 1 || 0 || 0 || robotics&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:AurelienH|Aurélien HIRON]] || 2 || 0 || 0 || 1 || robotics&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:GuillaumeT|Guillaume TRANNOY]] || 0 || 0 || 0 || 2 || domotics &amp;amp; robotics&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:JulienN|Julien NICOLAS / jujun]] || 2 || 1 || 0 || 1 || multimedia &amp;amp; network&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:StephaneF|Stéphane Falck]] || 0 || 0 || 0 || 0 || multimedia &amp;amp; robotics &amp;amp; domotics&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:GillesD|Gilles DUSSIN/ Sellig]] || 1 || 0 || 1 || 1 || robotics&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:MaximeL|Maxime Liron]] || 0 || 0 || 0 || 0 || domotics, robotics &amp;amp; multimedia&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:NicolasC|Nicolas CHARLERY/ realniko]] || 2 || 0 || 0 || 0 || electronic&lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:BenoitJ|Benoit JESTER]] || 0 || 0 || 0 || 0 || robotics &lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:FabienM|Fabien MARTEAU/ FabM]] || 1 || 1 || 1 || 1 || robotics,domotics &lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:XavierA|Xavier AZNAR]] || 1 || 1 || 0 || 0 || environment, entertainment, domotic &lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:AlbericA|Albéric AUBLANC / PoueT]] || 2 || 0 || 1 || 0 || domotics &amp;amp; multimedia, robotics, entertainment, &lt;br /&gt;
|----------------&lt;br /&gt;
|[[User:FredericB| Frédéric Blain / creber]] || 2 || 1 || 0 || 0 || system, domotics&lt;br /&gt;
|----------------&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [[Members | Geographical position of the members]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Association]]&lt;/div&gt;</summary>
		<author><name>FredericB</name></author>
	</entry>
	<entry>
		<id>http://wikilegacy.armadeus.com/index.php?title=User:FredericB&amp;diff=3917</id>
		<title>User:FredericB</title>
		<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=User:FredericB&amp;diff=3917"/>
		<updated>2008-04-07T16:51:57Z</updated>

		<summary type="html">&lt;p&gt;FredericB: Page Creation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Salut,&lt;br /&gt;
&lt;br /&gt;
Je suis Frédéric Blain, 25 ans, habitant en région parisienne. &amp;lt;br /&amp;gt;&lt;br /&gt;
Je travail dans le domaine de l&#039;informatique embarqué depuis peu et je me suis inscrit à l&#039;association&lt;br /&gt;
principalement dans un but pédagogique. Ainsi, je souhaite me familiariser avec Linux en embarqué &lt;br /&gt;
et jouer avec les diverses possibilités offertes par la carte (I/O, touchscreen, ...)&lt;br /&gt;
&lt;br /&gt;
Sur [[ArmadeusWiki:Community_Portal | IRC]], vous pouvez me contacter sous le pseudonyme creber.&lt;/div&gt;</summary>
		<author><name>FredericB</name></author>
	</entry>
	<entry>
		<id>http://wikilegacy.armadeus.com/index.php?title=Talk:Adeos&amp;diff=3915</id>
		<title>Talk:Adeos</title>
		<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=Talk:Adeos&amp;diff=3915"/>
		<updated>2008-04-07T11:30:33Z</updated>

		<summary type="html">&lt;p&gt;FredericB: Reply to JulienB&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Merci FredericB pour avoir créé cette page !&amp;lt;br&amp;gt;&lt;br /&gt;
Si tu veux que les patches kernel s&#039;applique automatiquement, tu peux aussi les mettre dans:&lt;br /&gt;
 buildroot/target/device/armadeus/linux/kernel-patches/2.6.24.3/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Salut Julien&amp;lt;br /&amp;gt;&lt;br /&gt;
Merci pour l&#039;info ! &amp;lt;br /&amp;gt;&lt;br /&gt;
Pour le moment je travaille sur l&#039;integration de xenomai sur l&#039;apf.&amp;lt;br /&amp;gt;&lt;br /&gt;
Mon but est de comprendre comment tout cela fonctionne (Je débute complétement sur le sujet)&lt;br /&gt;
et de documenter le tout sur le wiki. &amp;lt;br /&amp;gt;&lt;br /&gt;
Une fois que je serais arrivé à un résultat concluant, on pourra peut etre essayer&lt;br /&gt;
d&#039;intégrer Adeos + Xenomai dans le projet Armadeus (Avec une option dans make menuconfig)&lt;br /&gt;
(Il est probable que je demande ton aide pour ca d&#039;ailleur)&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>FredericB</name></author>
	</entry>
	<entry>
		<id>http://wikilegacy.armadeus.com/index.php?title=Adeos&amp;diff=3911</id>
		<title>Adeos</title>
		<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=Adeos&amp;diff=3911"/>
		<updated>2008-04-07T06:36:03Z</updated>

		<summary type="html">&lt;p&gt;FredericB: Grammar correction&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;font-size: 2em; font-weight:bold;&amp;quot;&amp;gt; How to install Adeos on your board &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
==Get Adeos==&lt;br /&gt;
&lt;br /&gt;
First create a working directory&lt;br /&gt;
 $ cd armadeus&lt;br /&gt;
 $ mkdir patches/adeos&lt;br /&gt;
 $ cd patches/adeos&lt;br /&gt;
&lt;br /&gt;
Adeos is provided as a linux kernel patch. Thus, you have to carefully select a patch matching the kernel version running on the board. &amp;lt;br /&amp;gt;&lt;br /&gt;
On April 2008, the status was the following :&lt;br /&gt;
* Adeos patches was provided for the kernels&lt;br /&gt;
** 2.6.24&lt;br /&gt;
** 2.6.20&lt;br /&gt;
** 2.6.19&lt;br /&gt;
* Kernels ported for the board:&lt;br /&gt;
** 2.6.24&lt;br /&gt;
** 2.6.23&lt;br /&gt;
** 2.6.23.18&lt;br /&gt;
&lt;br /&gt;
The latest kernel matching is the 2.6.24.&lt;br /&gt;
So you have to make sure this kernel will be run on the board. &amp;lt;br /&amp;gt;&lt;br /&gt;
Then download the adeos patch from [http://download.gna.org/adeos/patches/v2.6/arm/ this page].&lt;br /&gt;
&lt;br /&gt;
For instance :&lt;br /&gt;
 $ wget http://download.gna.org/adeos/patches/v2.6/arm/adeos-ipipe-2.6.24-arm-1.9-01.patch&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Install Adeos==&lt;br /&gt;
&lt;br /&gt;
Go to the linux kernel directory&lt;br /&gt;
&lt;br /&gt;
 $ cd ../../..&lt;br /&gt;
 $ cd armadeus/buildroot/build_arm/linux-2.6.XX.YY&lt;br /&gt;
&lt;br /&gt;
And apply the patch with the &#039;&#039;-p1&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
 $ patch -p1 &amp;lt; ../../../patches/adeos/adeos-ipipe-2.6.XX-arm-1.9-01.patch&lt;br /&gt;
&lt;br /&gt;
Now, let&#039;s see if everything went fine. Run the command:&lt;br /&gt;
 $ find . -name &#039;*.rej&#039;&lt;br /&gt;
If you get any results, it means that some errors occurred while trying to patch. In a such case,&lt;br /&gt;
you will have to apply the changes manually. &amp;lt;br /&amp;gt;&lt;br /&gt;
These pages can help you to do the job:&lt;br /&gt;
* [http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO-6.html   http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO-6.html]&lt;br /&gt;
* [http://www.tuxfinder.com/french/HOWTOhtml/Kernel-HOWTO-5.html   http://www.tuxfinder.com/french/HOWTOhtml/Kernel-HOWTO-5.html] (&#039;&#039;French&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Configure Adeos==&lt;br /&gt;
&lt;br /&gt;
Adeos is now installed, let&#039;s configure it a bit.&lt;br /&gt;
&lt;br /&gt;
In the kernel directory, run the command&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
And select the following options&lt;br /&gt;
&lt;br /&gt;
 Kernel Features ---&amp;gt;&lt;br /&gt;
     [*] Interrupt Pipeline&lt;br /&gt;
     (4)   Max domains&lt;br /&gt;
     [ ]   Maintain code compatibility with older releases  &lt;br /&gt;
&lt;br /&gt;
Optionally, you can also enable ipipe debugging&lt;br /&gt;
&lt;br /&gt;
  Kernel hacking  ---&amp;gt;&lt;br /&gt;
     [*] I-pipe debugging&lt;br /&gt;
     [*]   Check for illicit cross-domain calls (NEW)&lt;br /&gt;
     [*]   Latency tracing&lt;br /&gt;
     [*]     Enable tracing on boot (NEW)&lt;br /&gt;
     [*]     Instrument function entries (NEW)&lt;br /&gt;
     [*]     Trace IRQs-off times (NEW)&lt;br /&gt;
     (14)    Depth of trace log (14 =&amp;gt; 16Kpoints, 15 =&amp;gt; 32Kpoints) (NEW)&lt;br /&gt;
     [*]     Use vmalloc&#039;ed trace buffer (NEW)&lt;br /&gt;
     [*]     Enable panic back traces (NEW)       &lt;br /&gt;
&lt;br /&gt;
Well, it&#039;s now time for compilation !&lt;br /&gt;
&lt;br /&gt;
 $ cd ../../../..&lt;br /&gt;
 $ cd armadeus&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Then check that your kernel size is lower than 1.5 Mb&lt;br /&gt;
 $ ls -lh buildroot/binaries/armadeus/linux-kernel-2.6.XX.Y-arm.bin&lt;br /&gt;
 -rw-r--r-- 1 creber users 1.4M 2008-04-05 23:29 buildroot/binaries/armadeus/linux-kernel-2.6.XX.Y-arm.bin&lt;br /&gt;
&lt;br /&gt;
If the test is OK, you&#039;re to [[Target_Software_Installation | transfer ]] the kernel to the board.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Tets==&lt;br /&gt;
&lt;br /&gt;
To validate your Adeos installation, boot the target an run the command &lt;br /&gt;
&lt;br /&gt;
 dmesg | grep I-pipe&lt;br /&gt;
&lt;br /&gt;
You should get an output similar to :&lt;br /&gt;
&lt;br /&gt;
 I-pipe 1.9-01: pipeline enabled.&lt;br /&gt;
 I-pipe: Domain Xenomai registered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* A page describing how to use the ipipe tracer option. [http://www.xenomai.org/index.php/I-pipe:Tracer   http://www.xenomai.org/index.php/I-pipe:Tracer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Real-Time]]&lt;/div&gt;</summary>
		<author><name>FredericB</name></author>
	</entry>
	<entry>
		<id>http://wikilegacy.armadeus.com/index.php?title=Adeos&amp;diff=3910</id>
		<title>Adeos</title>
		<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=Adeos&amp;diff=3910"/>
		<updated>2008-04-06T22:45:36Z</updated>

		<summary type="html">&lt;p&gt;FredericB: Adding Testing section + minor changes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;font-size: 2em; font-weight:bold;&amp;quot;&amp;gt; How to install Adeos on your board &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
==Get Adeos==&lt;br /&gt;
&lt;br /&gt;
First create a working directory&lt;br /&gt;
 $ cd armadeus&lt;br /&gt;
 $ mkdir patches/adeos&lt;br /&gt;
 $ cd patches/adeos&lt;br /&gt;
&lt;br /&gt;
Adeos is provided as a linux kernel patch. Thus, you have to carefully select a patch matching the kernel version running on the board. &amp;lt;br /&amp;gt;&lt;br /&gt;
On April 2008, the status was the following :&lt;br /&gt;
* Adeos patches was provided for the kernels&lt;br /&gt;
** 2.6.24&lt;br /&gt;
** 2.6.20&lt;br /&gt;
** 2.6.19&lt;br /&gt;
* Kernels ported for the board:&lt;br /&gt;
** 2.6.24&lt;br /&gt;
** 2.6.23&lt;br /&gt;
** 2.6.23.18&lt;br /&gt;
&lt;br /&gt;
The latest kernel matching is the 2.6.24.&lt;br /&gt;
So you have to make sure this kernel will be run on the board. &amp;lt;br /&amp;gt;&lt;br /&gt;
Then download the adeos patch from [http://download.gna.org/adeos/patches/v2.6/arm/ this page].&lt;br /&gt;
&lt;br /&gt;
For instance :&lt;br /&gt;
 $ wget http://download.gna.org/adeos/patches/v2.6/arm/adeos-ipipe-2.6.24-arm-1.9-01.patch&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Install Adeos==&lt;br /&gt;
&lt;br /&gt;
Go to the linux kernel directory&lt;br /&gt;
&lt;br /&gt;
 $ cd ../../..&lt;br /&gt;
 $ cd armadeus/buildroot/build_arm/linux-2.6.XX.YY&lt;br /&gt;
&lt;br /&gt;
And apply the patch with the &#039;&#039;-p1&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
 $ patch -p1 &amp;lt; ../../../patches/adeos/adeos-ipipe-2.6.XX-arm-1.9-01.patch&lt;br /&gt;
&lt;br /&gt;
Now, let&#039;s see if everything went fine. Run the command:&lt;br /&gt;
 $ find . -name &#039;*.rej&#039;&lt;br /&gt;
If you get any results, it means that some errors occurred while trying to patch. In a such case,&lt;br /&gt;
you will have to apply the changes manually. &amp;lt;br /&amp;gt;&lt;br /&gt;
These pages can help you to do the job:&lt;br /&gt;
* [http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO-6.html   http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO-6.html]&lt;br /&gt;
* [http://www.tuxfinder.com/french/HOWTOhtml/Kernel-HOWTO-5.html   http://www.tuxfinder.com/french/HOWTOhtml/Kernel-HOWTO-5.html] (&#039;&#039;French&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Configure Adeos==&lt;br /&gt;
&lt;br /&gt;
Adeos is now installed, let&#039;s configure it a bit.&lt;br /&gt;
&lt;br /&gt;
In the kernel directory, run the command&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
And select the following options&lt;br /&gt;
&lt;br /&gt;
 Kernel Features ---&amp;gt;&lt;br /&gt;
     [*] Interrupt Pipeline&lt;br /&gt;
     (4)   Max domains&lt;br /&gt;
     [ ]   Maintain code compatibility with older releases  &lt;br /&gt;
&lt;br /&gt;
Optionally, you can also enable ipipe debugging&lt;br /&gt;
&lt;br /&gt;
  Kernel hacking  ---&amp;gt;&lt;br /&gt;
     [*] I-pipe debugging&lt;br /&gt;
     [*]   Check for illicit cross-domain calls (NEW)&lt;br /&gt;
     [*]   Latency tracing&lt;br /&gt;
     [*]     Enable tracing on boot (NEW)&lt;br /&gt;
     [*]     Instrument function entries (NEW)&lt;br /&gt;
     [*]     Trace IRQs-off times (NEW)&lt;br /&gt;
     (14)    Depth of trace log (14 =&amp;gt; 16Kpoints, 15 =&amp;gt; 32Kpoints) (NEW)&lt;br /&gt;
     [*]     Use vmalloc&#039;ed trace buffer (NEW)&lt;br /&gt;
     [*]     Enable panic back traces (NEW)       &lt;br /&gt;
&lt;br /&gt;
Well, it&#039;s now time for compilation !&lt;br /&gt;
&lt;br /&gt;
 $ cd ../../../..&lt;br /&gt;
 $ cd armadeus&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Then check that your kernel size is lower than 1.5 Mb&lt;br /&gt;
 $ ls -lh buildroot/binaries/armadeus/linux-kernel-2.6.XX.Y-arm.bin&lt;br /&gt;
 -rw-r--r-- 1 creber users 1.4M 2008-04-05 23:29 buildroot/binaries/armadeus/linux-kernel-2.6.XX.Y-arm.bin&lt;br /&gt;
&lt;br /&gt;
If the test is OK, you&#039;re to [[Target_Software_Installation | transfer ]] the kernel to the board.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Tets==&lt;br /&gt;
&lt;br /&gt;
To validate your Adeos installation, boot the on target an run the command &lt;br /&gt;
&lt;br /&gt;
 dmesg | grep I-pipe&lt;br /&gt;
&lt;br /&gt;
You should get an output similar to :&lt;br /&gt;
&lt;br /&gt;
 I-pipe 1.9-01: pipeline enabled.&lt;br /&gt;
 I-pipe: Domain Xenomai registered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* A page describing how to use the ipipe tracer option. [http://www.xenomai.org/index.php/I-pipe:Tracer   http://www.xenomai.org/index.php/I-pipe:Tracer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Real-Time]]&lt;/div&gt;</summary>
		<author><name>FredericB</name></author>
	</entry>
	<entry>
		<id>http://wikilegacy.armadeus.com/index.php?title=Setup&amp;diff=3903</id>
		<title>Setup</title>
		<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=Setup&amp;diff=3903"/>
		<updated>2008-04-06T00:20:21Z</updated>

		<summary type="html">&lt;p&gt;FredericB: Adding Adeos entry&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;On this page, you will find all the usefull informations you need to configure your Armadeus board for optimum usage.&lt;br /&gt;
&lt;br /&gt;
==First StartUp==&lt;br /&gt;
Just got your Armadeus board and want to start playing with it ? So follow this quick list to setup your environment accordingly: &amp;lt;br&amp;gt;&lt;br /&gt;
*1. Connect your APF to your custom development board or to your DevLight ( This will be further refered to &amp;quot;the Target&amp;quot;) ---&amp;gt;&amp;gt; [[Image:Apf_on_devlight.png]] &amp;lt;br&amp;gt;&lt;br /&gt;
*2. Connect your PC (= the Host) to your development system with a null-modem RS232 cable &amp;lt;br&amp;gt;&lt;br /&gt;
*3. Connect the power supply on your system (&#039;&#039;&#039;+5Vdc on a Devlight. + is in the middle of the connector, - on the side&#039;&#039;&#039;) &amp;lt;br&amp;gt;&lt;br /&gt;
*4. [[Communicate | Establish the communication between your Host and your APF]] &amp;lt;br&amp;gt;&lt;br /&gt;
*5. Verify your APF by starting Linux: In U-Boot console, type &amp;quot;boot&amp;quot;. Several informations will be displayed on your terminal like on this [[Linux start screenshot | screenshot ]] &amp;lt;br&amp;gt;&lt;br /&gt;
*6. If Linux has successfully started, you can proceed with the toolchain installation. See Basics below &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Basics==&lt;br /&gt;
* [[Toolchain]]: How to install the development environment for the Armadeus boards&lt;br /&gt;
* [[Communicate]]: How to communicate with your board from the Host&lt;br /&gt;
* [[Target Software Installation]]: How to install U-Boot, Linux and your Rootfs on your board&lt;br /&gt;
&lt;br /&gt;
==Intermediate==&lt;br /&gt;
* [[Network Configuration]]: how to configure Host and Target network (NFS, TFTP)&lt;br /&gt;
* [[Serial Transfer]]: how to transfer files between your Host and your Armadeus board with the RS232 link (if you don&#039;t have Ethernet)&lt;br /&gt;
* [[MultiMediaCard]]: how to use MMC/SD cards on Linux with your Armadeus board&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt; TO BE REMOVED FROM THIS PAGE:&amp;lt;/strong&amp;gt;&lt;br /&gt;
* [[FrameBuffer]]: how to configure and use the framebuffer for new LCDs&lt;br /&gt;
* [[BackLight| How to control the backlight of you graphical LCD (if it supports it)]]&lt;br /&gt;
* [[GPIO Driver]]: how to configure the GPIO driver&lt;br /&gt;
* [[Boa]]: How install and configure the boa Web server on your board&lt;br /&gt;
* [[USB Gadget]]: how to configure your Armadeus board to use it as a USB device (aka Gadget in Linux language)&lt;br /&gt;
* [[DAC|Digital to Analog Convertion]]: how to configure and use the DAC on your board&lt;br /&gt;
* [[ADC max1027|Analog to Digital Converter]]: how to install and use the on board ADC (max1027)&lt;br /&gt;
* [[PWM]]: how to use the i.MX integrated PWM&lt;br /&gt;
* [[RTC]]: how to use an external Real Time Clock (Maxim DS1374)&lt;br /&gt;
* [[Watchdog]]: how to configure and use the i.MX integrated Watchdog&lt;br /&gt;
* [[TV Output]]: How to use the SVideo output of the APF9328DevFull&lt;br /&gt;
* [[USB Host]]: How to use the ISP176x USB Host controller of the APF9328DevFull&lt;br /&gt;
* [[TSC2102 Linux driver| TSC2102 Linux driver details ]]: How to configure and use the touchscreen controller&lt;br /&gt;
* [[Adeos]]: How to install Adeos on your board&lt;br /&gt;
&lt;br /&gt;
==Advanced==&lt;br /&gt;
* [[BootLoader]]: (U-Boot useful tips)&lt;br /&gt;
* [[BootStrap]]: Install U-Boot from scratch or recover your U-Boot if it was corrupted&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:FrenchFlag.png]][[Configuration| Cette page en Français]]&lt;/div&gt;</summary>
		<author><name>FredericB</name></author>
	</entry>
	<entry>
		<id>http://wikilegacy.armadeus.com/index.php?title=Adeos&amp;diff=3902</id>
		<title>Adeos</title>
		<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=Adeos&amp;diff=3902"/>
		<updated>2008-04-06T00:16:24Z</updated>

		<summary type="html">&lt;p&gt;FredericB: Page creation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;font-size: 2em; font-weight:bold;&amp;quot;&amp;gt; How install Adeos on your board &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
==Get Adeos==&lt;br /&gt;
&lt;br /&gt;
First create a working directory&lt;br /&gt;
 $ cd armadeus&lt;br /&gt;
 $ mkdir patches/adeos&lt;br /&gt;
 $ cd patches/adeos&lt;br /&gt;
&lt;br /&gt;
Adeos is provided as a linux kernel patch. Thus, you have to carefully select a patch matching the kernel version running on the board. &amp;lt;br /&amp;gt;&lt;br /&gt;
On April 2008, the status was the following :&lt;br /&gt;
* Adeos patches was provided for the kernels&lt;br /&gt;
** 2.6.24&lt;br /&gt;
** 2.6.20&lt;br /&gt;
** 2.6.19&lt;br /&gt;
* Kernels ported for the board:&lt;br /&gt;
** 2.6.24&lt;br /&gt;
** 2.6.23&lt;br /&gt;
** 2.6.23.18&lt;br /&gt;
&lt;br /&gt;
The latest kernel matching is the 2.6.24.&lt;br /&gt;
So you have to make sure this kernel will be run on the board. &amp;lt;br /&amp;gt;&lt;br /&gt;
Then download the adeos patch from [http://download.gna.org/adeos/patches/v2.6/arm/ this page].&lt;br /&gt;
&lt;br /&gt;
For instance :&lt;br /&gt;
 $ wget http://download.gna.org/adeos/patches/v2.6/arm/adeos-ipipe-2.6.24-arm-1.9-01.patch&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Install Adeos==&lt;br /&gt;
&lt;br /&gt;
Go to the linux kernel directory&lt;br /&gt;
&lt;br /&gt;
 $ cd ../../..&lt;br /&gt;
 $ cd armadeus/buildroot/build_arm/linux-2.6.XX.YY&lt;br /&gt;
&lt;br /&gt;
And apply the patch with the &#039;&#039;-p1&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
 $ patch -p1 &amp;lt; ../../../patches/adeos/adeos-ipipe-2.6.XX-arm-1.9-01.patch&lt;br /&gt;
&lt;br /&gt;
Now, let&#039;s see if everything went fine. Run the command:&lt;br /&gt;
 $ find . -name &#039;*.rej&#039;&lt;br /&gt;
If you get any results, it means that some errors occured while trying to patch. In a such case,&lt;br /&gt;
you will have to apply the changes manually. &amp;lt;br /&amp;gt;&lt;br /&gt;
These pages can help you:&lt;br /&gt;
* [http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO-6.html   http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO-6.html]&lt;br /&gt;
* [http://www.tuxfinder.com/french/HOWTOhtml/Kernel-HOWTO-5.html   http://www.tuxfinder.com/french/HOWTOhtml/Kernel-HOWTO-5.html] (&#039;&#039;French&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Configure Adeos==&lt;br /&gt;
&lt;br /&gt;
Adeos is now install, let&#039;s configure it a bit.&lt;br /&gt;
&lt;br /&gt;
In the kernel directory, run the command&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
And select the following options&lt;br /&gt;
&lt;br /&gt;
 Kernel Features ---&amp;gt;&lt;br /&gt;
     [*] Interrupt Pipeline&lt;br /&gt;
     (4)   Max domains&lt;br /&gt;
     [ ]   Maintain code compatibility with older releases  &lt;br /&gt;
&lt;br /&gt;
Optionally, you can also enable ipipe debugging&lt;br /&gt;
&lt;br /&gt;
  Kernel hacking  ---&amp;gt;&lt;br /&gt;
     [*] I-pipe debugging&lt;br /&gt;
     [*]   Check for illicit cross-domain calls (NEW)&lt;br /&gt;
     [*]   Latency tracing&lt;br /&gt;
     [*]     Enable tracing on boot (NEW)&lt;br /&gt;
     [*]     Instrument function entries (NEW)&lt;br /&gt;
     [*]     Trace IRQs-off times (NEW)&lt;br /&gt;
     (14)    Depth of trace log (14 =&amp;gt; 16Kpoints, 15 =&amp;gt; 32Kpoints) (NEW)&lt;br /&gt;
     [*]     Use vmalloc&#039;ed trace buffer (NEW)&lt;br /&gt;
     [*]     Enable panic back traces (NEW)       &lt;br /&gt;
&lt;br /&gt;
Well, it&#039;s now time for compilation !&lt;br /&gt;
&lt;br /&gt;
 $ cd ../../../..&lt;br /&gt;
 $ cd armadeus&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Then check that your kernel size is lower than 1.5 Mb&lt;br /&gt;
 $ ls -lh buildroot/binaries/armadeus/linux-kernel-2.6.XX.Y-arm.bin&lt;br /&gt;
 -rw-r--r-- 1 creber users 1.4M 2008-04-05 23:29 buildroot/binaries/armadeus/linux-kernel-2.6.XX.Y-arm.bin&lt;br /&gt;
&lt;br /&gt;
And [[Target_Software_Installation | Transfer ]] the kernel to the board.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* A page describing how to use the ipipe tracer option. [http://www.xenomai.org/index.php/I-pipe:Tracer   http://www.xenomai.org/index.php/I-pipe:Tracer]&lt;/div&gt;</summary>
		<author><name>FredericB</name></author>
	</entry>
	<entry>
		<id>http://wikilegacy.armadeus.com/index.php?title=Boa&amp;diff=3850</id>
		<title>Boa</title>
		<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=Boa&amp;diff=3850"/>
		<updated>2008-03-31T21:14:47Z</updated>

		<summary type="html">&lt;p&gt;FredericB: Reflect the new location for boa in &amp;quot;make menuconfig&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;font-size: 2em; font-weight:bold;&amp;quot;&amp;gt; How install and configure the boa Web server on your board &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:boa.png|right]]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
 $ cd armadeus&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
* Select: &#039;&#039;Package Selection for the Target -&amp;gt; Networking -&amp;gt; Boa&#039;&#039;&lt;br /&gt;
* Save the configuration&lt;br /&gt;
&lt;br /&gt;
Then we can create the binaries and the default filesystem. This will be usefull&lt;br /&gt;
later to perform the configuration :&lt;br /&gt;
&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
==Configure==&lt;br /&gt;
&lt;br /&gt;
=== Generalities ===&lt;br /&gt;
&lt;br /&gt;
To apply a permanent configuration, be sure to not change anything on the board filesystem. &amp;lt;br /&amp;gt;&lt;br /&gt;
That would be erased the next time you flash the fs. Instead, do all changes on the filesystem&lt;br /&gt;
located on the host, i.e. on &#039;&#039;buildroot/project_build_arm/armadeus/root/&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The boa configuration file is located in &#039;&#039;/etc/boa/boa.conf&#039;&#039; on the card &amp;lt;br /&amp;gt;&lt;br /&gt;
This means that to permanently change the configuration, you need to edit the file&lt;br /&gt;
&#039;&#039;buildroot/project_build_arm/armadeus/root/etc/boa/boa.conf&#039;&#039; &#039;&#039;&#039;on the host&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Create a Dummy page ===&lt;br /&gt;
&lt;br /&gt;
By default, DocumentRoot is set to /var/www, so let&#039;s add a dummy file here to test&lt;br /&gt;
our configuration :&lt;br /&gt;
&lt;br /&gt;
 $ mkdir buildroot/project_build_arm/armadeus/root/var/www&lt;br /&gt;
 $ vi buildroot/project_build_arm/armadeus/root/var/www/index.html&lt;br /&gt;
&lt;br /&gt;
And fill the file with :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;html&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;&lt;br /&gt;
   &amp;lt;title&amp;gt; Welcome on the Armadeus Board &amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;body&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;h1&amp;gt; Welcome on the Armadeus Board &amp;lt;/h1&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  &amp;lt;/body&amp;gt;&lt;br /&gt;
 &amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enable hostname resolution ===&lt;br /&gt;
&lt;br /&gt;
Boa has to be able to resolve the hostname to work, so let&#039;s do :&lt;br /&gt;
&lt;br /&gt;
 $ echo &amp;quot;127.0.0.1 `cat buildroot/project_build_arm/armadeus/root/etc/hostname`&amp;quot; &amp;gt;&amp;gt; buildroot/project_build_arm/armadeus/root/etc/hosts&lt;br /&gt;
&lt;br /&gt;
=== Create the access log directory ===&lt;br /&gt;
&lt;br /&gt;
By default, boa logs will be stored in  /var/log/boa/ on the card.&lt;br /&gt;
If you did not change this setting, you will need to perform the following :&lt;br /&gt;
&lt;br /&gt;
 $ls -l buildroot/project_build_arm/armadeus/root/var/log/&lt;br /&gt;
&lt;br /&gt;
If this is a link to /tmp, then &lt;br /&gt;
&lt;br /&gt;
 $ rm -f buildroot/project_build_arm/armadeus/root/var/log/ &amp;amp;&amp;amp; mkdir buildroot/project_build_arm/armadeus/root/var/log/&lt;br /&gt;
&lt;br /&gt;
Then, create the boa directory :&lt;br /&gt;
 $ mkdir buildroot/project_build_arm/armadeus/root/var/log/boa&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
Why shoud I delete the symbolink link ? &amp;lt;br /&amp;gt;&lt;br /&gt;
This is because during the filesystem creation, mkfs.jffs2 will keep the link from &#039;&#039;/var/log&#039;&#039; to &#039;&#039;/tmp&#039;&#039; on the board.&lt;br /&gt;
Thus, once on the board, you will have :&lt;br /&gt;
&lt;br /&gt;
 # ls -l /var/log&lt;br /&gt;
 lrwxrwxrwx    1 root     root            4 Apr 15  2007 /var/log -&amp;gt; /tmp&lt;br /&gt;
&lt;br /&gt;
With a such behavior, even if you fill the directory &#039;&#039;buildroot/project_build_arm/armadeus/root/var/log/&#039;&#039; on your host&lt;br /&gt;
(which actually fill /tmp on your host), nothing will be saved once the filesystem will be flashed on your board.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test the result ==&lt;br /&gt;
&lt;br /&gt;
Create the final rootfs :&lt;br /&gt;
&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Then [[Target_Software_Installation | update the rootfs]] on your board. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And start boa&lt;br /&gt;
&lt;br /&gt;
 $ boa&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access to your web page, use a browser:&lt;br /&gt;
 http://&#039;&#039;&amp;lt;your IP Address&amp;gt;&#039;&#039;/&lt;br /&gt;
&lt;br /&gt;
You sould see the page ! &amp;lt;br /&amp;gt;&lt;br /&gt;
If not, check the file &#039;&#039;/var/log/boa/error_log&#039;&#039; on your board&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Working with cgi ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First, check the boa.conf file. &amp;lt;br /&amp;gt;&lt;br /&gt;
Once more, you should use the one located on your host before changing anything.&lt;br /&gt;
&lt;br /&gt;
 $ vi buildroot/project_build_arm/armadeus/root/etc/boa/boa.conf&lt;br /&gt;
&lt;br /&gt;
Be sure to have an uncommented line like this :&lt;br /&gt;
&lt;br /&gt;
 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now; let&#039;s write a dummy cgi :&lt;br /&gt;
&lt;br /&gt;
 $ mkdir buildroot/project_build_arm/armadeus/root/usr/lib/cgi-bin&lt;br /&gt;
 $ vi buildroot/project_build_arm/armadeus/root/usr/lib/cgi-bin/get_ipconfig.sh&lt;br /&gt;
&lt;br /&gt;
And add the following :&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 echo -e &amp;quot;Content-type: text/html\r\n\r\n&amp;quot;;&lt;br /&gt;
 echo -e `/sbin/ifconfig  eth0 | grep &#039;inet addr&#039;`;&lt;br /&gt;
&lt;br /&gt;
The script have to be executable: &lt;br /&gt;
&lt;br /&gt;
 $ chmod a+x buildroot/project_build_arm/armadeus/root/usr/lib/cgi-bin/get_ipconfig.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then change your index.html page to add a link to the cgi:&lt;br /&gt;
&lt;br /&gt;
 $ vi buildroot/project_build_arm/armadeus/root/var/www/index.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;html&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;&lt;br /&gt;
   &amp;lt;title&amp;gt; Welcome on the Armadeus Board &amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;body&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;h1&amp;gt; Welcome on the Armadeus Board &amp;lt;/h1&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;a href=http://&amp;lt;Your IP Address&amp;gt;/cgi-bin/get_ipconfig.sh&amp;gt; Get the board ip config &amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;/body&amp;gt;&lt;br /&gt;
 &amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create the new root fs :&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Finally, [[Target_Software_Installation | Transfer the rootfs]] to the board &amp;amp; flash it.&lt;br /&gt;
&lt;br /&gt;
You can now access to the new web page and click on the cgi link !&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.boa.org The Boa Web page]&lt;/div&gt;</summary>
		<author><name>FredericB</name></author>
	</entry>
	<entry>
		<id>http://wikilegacy.armadeus.com/index.php?title=Communicate_with_your_board_from_a_Linux_Host_(Basics)&amp;diff=3838</id>
		<title>Communicate with your board from a Linux Host (Basics)</title>
		<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=Communicate_with_your_board_from_a_Linux_Host_(Basics)&amp;diff=3838"/>
		<updated>2008-03-31T08:24:57Z</updated>

		<summary type="html">&lt;p&gt;FredericB: Adding USB &amp;lt;-&amp;gt; Serial converter troubleshooting section (for the issue with ttybrl)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==RS232 configuration==&lt;br /&gt;
We suggest you to use &#039;&#039;&#039;Kermit&#039;&#039;&#039; as Terminal emulator for RS232 connection. Minicom was sadly reported to have problems when communicating with U-Boot (ZModem data transfer).&lt;br /&gt;
If you just need a simple serial console and not to transfer data then &#039;&#039;&#039;GTKTerm&#039;&#039;&#039; is the perfect choice ! (package gtkterm in Ubuntu)&lt;br /&gt;
&lt;br /&gt;
===Kermit installation===  &lt;br /&gt;
* On *Ubuntu / Debian:&lt;br /&gt;
 # apt-get install ckermit&lt;br /&gt;
or use Synaptic graphical package manager.&lt;br /&gt;
&lt;br /&gt;
* On Fedora:&lt;br /&gt;
 # rpm -q ckermit&lt;br /&gt;
&lt;br /&gt;
===Kermit configuration===  &lt;br /&gt;
* Edit/Create .kermrc file in your $HOME directory and put in it:&lt;br /&gt;
 set line /dev/ttyS0&lt;br /&gt;
 set speed 115200&lt;br /&gt;
 set carrier-watch off&lt;br /&gt;
 set handshake none&lt;br /&gt;
 set flow-control none&lt;br /&gt;
 robust&lt;br /&gt;
 set file type bin&lt;br /&gt;
 set file name lit&lt;br /&gt;
 set rec pack 1000&lt;br /&gt;
 set send pack 1000&lt;br /&gt;
 set window 5&lt;br /&gt;
 set transmit linefeed on&lt;br /&gt;
* In this example, we assume that your serial port is ttyS0 (first serial port). Change this to correct value if necessary.&lt;br /&gt;
* If you use an &#039;&#039;USB &amp;lt;-&amp;gt; Serial&#039;&#039; converter then serial port would surely be named like that: ttyUSB0&lt;br /&gt;
** If &#039;&#039;USB &amp;lt;-&amp;gt; Serial&#039;&#039; converter doesn&#039;t seem to work, run the &#039;&#039;demsg&#039;&#039; command. You should read [http://ubuntuforums.org/archive/index.php/t-392791.html this thread] if you see some disconnection data like this :&lt;br /&gt;
 [ 2445.568000] usb 1-1.4: new full speed USB device using uhci_hcd and address 22&lt;br /&gt;
 ...&lt;br /&gt;
 [ 2446.964000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0&lt;br /&gt;
 [ 2446.964000] ftdi_sio 1-1.4:1.0: device disconnected&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
* If you get an error message such:&lt;br /&gt;
 $ kermit -c&lt;br /&gt;
  /dev/ttyS0 &lt;br /&gt;
  ?SET SPEED has no effect without prior SET LINE &lt;br /&gt;
check that you have read/write rights on /dev/ttyS0 (ie your serial port)&lt;br /&gt;
&lt;br /&gt;
===Kermit usage===  &lt;br /&gt;
* To launch it:&lt;br /&gt;
 $ kermit -c&lt;br /&gt;
* To switch from terminal mode to command mode:&lt;br /&gt;
 CTRL + \ then c&lt;br /&gt;
* To switch from command mode to terminal mode:&lt;br /&gt;
 C-Kermit&amp;gt;c then ENTER&lt;br /&gt;
&lt;br /&gt;
==TFTP server==&lt;br /&gt;
In order to send your image files (U-Boot, Linux, RootFS or Firmware) with higher speed to your Armadeus board, you can use the Ethernet link and a TFTP server.&lt;br /&gt;
Once the server started, the files located in the server shared directory (&#039;&#039;/tftpboot&#039;&#039; by default) will be accessible from the U-Boot TFTP client.&lt;br /&gt;
&lt;br /&gt;
===TFTP server installation===  &lt;br /&gt;
* On *Ubuntu / Debian:&lt;br /&gt;
 # sudo apt-get install tftpd xinetd&lt;br /&gt;
or use Synaptic&amp;lt;br&amp;gt;&lt;br /&gt;
* On Fedora:&lt;br /&gt;
 # rpm -q tftpd xinetd&lt;br /&gt;
&lt;br /&gt;
* Then create the directory that will contain all the files that the server will export (you have to be root to do that):&lt;br /&gt;
 # mkdir /tftpboot&lt;br /&gt;
 # chmod 777 /tftpboot&lt;br /&gt;
&lt;br /&gt;
===Server configuration===  &lt;br /&gt;
* Edit or create the configuration file &#039;&#039;/etc/xinetd.d/tftp&#039;&#039; and modify/add it the following lines:&lt;br /&gt;
 # default: off&lt;br /&gt;
 # description: The tftp server serves files using the trivial file transfer&lt;br /&gt;
 #       protocol.  The tftp protocol is often used to boot diskless&lt;br /&gt;
 #       workstations, download configuration files to network-aware printers,&lt;br /&gt;
 #       and to start the installation process for some operating systems.&lt;br /&gt;
 service tftp&lt;br /&gt;
 {&lt;br /&gt;
        socket_type             = dgram&lt;br /&gt;
        protocol                = udp&lt;br /&gt;
        wait                    = yes&lt;br /&gt;
        user                    = root&lt;br /&gt;
        server                  = /usr/sbin/in.tftpd&lt;br /&gt;
        server_args             = -s /tftpboot&lt;br /&gt;
 #       disable                 = yes&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
* Restart xinetd service:&lt;br /&gt;
 # killall -HUP xinetd&lt;br /&gt;
* Put some files in &#039;&#039;/tftpboot&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.columbia.edu/kermit/ Kermit Homepage]&lt;br /&gt;
* [http://www.jls-info.com/julien/linux/ GTKTerm Homepage]&lt;/div&gt;</summary>
		<author><name>FredericB</name></author>
	</entry>
	<entry>
		<id>http://wikilegacy.armadeus.com/index.php?title=Boa&amp;diff=2356</id>
		<title>Boa</title>
		<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=Boa&amp;diff=2356"/>
		<updated>2007-04-19T20:07:58Z</updated>

		<summary type="html">&lt;p&gt;FredericB: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;font-size: 2em; font-weight:bold;&amp;quot;&amp;gt; How install and configure the boa Web server on your board &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
 $ cd armadeus&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
* Select: &#039;&#039;Package Selection for the Target -&amp;gt; Other stuffs -&amp;gt; Boa&#039;&#039;&lt;br /&gt;
* Save the configuration&lt;br /&gt;
&lt;br /&gt;
Then we can create the binaries and the default filesystem. This will be usefull&lt;br /&gt;
later to perform the configuration :&lt;br /&gt;
&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
==Configure==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Generalities ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To apply a permanent configuration, be sure to not change anything on the board filesystem. &amp;lt;br /&amp;gt;&lt;br /&gt;
That would be erased the next time you flash the fs. Instead, do all changes on the filesystem&lt;br /&gt;
located on the host, i.e. on &#039;&#039;buildroot/build_arm_nofpu/root/&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The boa configuration file is located in &#039;&#039;/etc/boa/boa.conf&#039;&#039; on the card &amp;lt;br /&amp;gt;&lt;br /&gt;
This means that to permanently change the configuration, you need to edit the file&lt;br /&gt;
&#039;&#039;buildroot/build_arm_nofpu/root/etc/boa/boa.conf&#039;&#039; &#039;&#039;&#039;on the host&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a Dummy page ===&lt;br /&gt;
&lt;br /&gt;
By default, DocumentRoot is set to /var/www, so let&#039;s add a dummy file here to test&lt;br /&gt;
our configuration :&lt;br /&gt;
&lt;br /&gt;
 $ mkdir buildroot/build_arm_nofpu/root/var/www&lt;br /&gt;
 $ vi buildroot/build_arm_nofpu/root/var/www/index.html&lt;br /&gt;
&lt;br /&gt;
And fill the file with :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;html&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;&lt;br /&gt;
   &amp;lt;title&amp;gt; Welcome on the Armadeus Board &amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;body&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;h1&amp;gt; Welcome on the Armadeus Board &amp;lt;/h1&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  &amp;lt;/body&amp;gt;&lt;br /&gt;
 &amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enable hostname resolution ===&lt;br /&gt;
&lt;br /&gt;
Boa has to be able to resolve the hostname to work, so let&#039;s do :&lt;br /&gt;
&lt;br /&gt;
 $ echo &amp;quot;127.0.0.1 `cat buildroot/build_arm_nofpu/root/etc/hostname`&amp;quot; &amp;gt;&amp;gt; buildroot/build_arm_nofpu/root/etc/hosts&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create the access log directory ===&lt;br /&gt;
&lt;br /&gt;
By default, boa logs will be stored in  /var/log/boa/ on the card.&lt;br /&gt;
If you did not change this setting, you will need to perform the following :&lt;br /&gt;
&lt;br /&gt;
 $ls -l buildroot/build_arm_nofpu/root/var/log/&lt;br /&gt;
&lt;br /&gt;
If this is a link to /tmp, then &lt;br /&gt;
&lt;br /&gt;
 $ rm -f buildroot/build_arm_nofpu/root/var/log/ &amp;amp;&amp;amp; mkdir buildroot/build_arm_nofpu/root/var/log/&lt;br /&gt;
&lt;br /&gt;
Then, create the boa directory :&lt;br /&gt;
 $ mkdir buildroot/build_arm_nofpu/root/var/log/boa&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
Why shoud I delete the symbolink link ? &amp;lt;br /&amp;gt;&lt;br /&gt;
This is because during the filesystem creation, mkfs.jffs2 will keep the link from &#039;&#039;/var/log&#039;&#039; to &#039;&#039;/tmp&#039;&#039; on the board.&lt;br /&gt;
Thus, once on the board, you will have :&lt;br /&gt;
&lt;br /&gt;
 # ls -l /var/log&lt;br /&gt;
 lrwxrwxrwx    1 root     root            4 Apr 15  2007 /var/log -&amp;gt; /tmp&lt;br /&gt;
&lt;br /&gt;
With a such behavior, even if you fill the directory &#039;&#039;buildroot/build_arm_nofpu/root/var/log/&#039;&#039; on your host&lt;br /&gt;
(which actually fill /tmp on your host), nothing will be saved once the filesystem will be flashed on your board.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test the result ==&lt;br /&gt;
&lt;br /&gt;
Create the final rootfs :&lt;br /&gt;
&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Then [[Target_Software_Installation | update the rootfs]] on your board. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And start boa&lt;br /&gt;
&lt;br /&gt;
 $ boa&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access to your web page, use a browser:&lt;br /&gt;
 http://&#039;&#039;&amp;lt;your IP Address&amp;gt;&#039;&#039;/&lt;br /&gt;
&lt;br /&gt;
You sould see the page ! &amp;lt;br /&amp;gt;&lt;br /&gt;
If not, check the file &#039;&#039;/var/log/boa/error_log&#039;&#039; on your board&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Working with cgi ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First, check the boa.conf file. &amp;lt;br /&amp;gt;&lt;br /&gt;
Once more, you should use the one located on your host before changing anything.&lt;br /&gt;
&lt;br /&gt;
 $ vi buildroot/build_arm_nofpu/root/etc/boa/boa.conf&lt;br /&gt;
&lt;br /&gt;
Be sure to have an uncommented line like this :&lt;br /&gt;
&lt;br /&gt;
 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now; let&#039;s write a dummy cgi :&lt;br /&gt;
&lt;br /&gt;
 $ mkdir buildroot/build_arm_nofpu/root/usr/lib/cgi-bin&lt;br /&gt;
 $ vi buildroot/build_arm_nofpu/root/usr/lib/cgi-bin/get_ipconfig.sh&lt;br /&gt;
&lt;br /&gt;
And add the following :&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 echo -e &amp;quot;Content-type: text/html\r\n\r\n&amp;quot;;&lt;br /&gt;
 echo -e `/sbin/ifconfig  eth0 | grep &#039;inet addr&#039;`;&lt;br /&gt;
&lt;br /&gt;
The script have to be executable: &lt;br /&gt;
&lt;br /&gt;
 $ chmod a+x buildroot/build_arm_nofpu/root/usr/lib/cgi-bin/get_ipconfig.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then change your index.html page to add a link to the cgi:&lt;br /&gt;
&lt;br /&gt;
 $ vi buildroot/build_arm_nofpu/root/var/www/index.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;html&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;&lt;br /&gt;
   &amp;lt;title&amp;gt; Welcome on the Armadeus Board &amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;body&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;h1&amp;gt; Welcome on the Armadeus Board &amp;lt;/h1&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;a href=http://&amp;lt;Your IP Address&amp;gt;/cgi-bin/get_ipconfig.sh&amp;gt; Get the board ip config &amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;/body&amp;gt;&lt;br /&gt;
 &amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create the new root fs :&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Finally, [[Target_Software_Installation | Transfer the rootfs]] to the board &amp;amp; flash it.&lt;br /&gt;
&lt;br /&gt;
You can now access to the new web page and click on the cgi link !&lt;/div&gt;</summary>
		<author><name>FredericB</name></author>
	</entry>
	<entry>
		<id>http://wikilegacy.armadeus.com/index.php?title=Setup&amp;diff=2355</id>
		<title>Setup</title>
		<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=Setup&amp;diff=2355"/>
		<updated>2007-04-19T20:07:34Z</updated>

		<summary type="html">&lt;p&gt;FredericB: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;On this page, you will find all the usefull informations you need to configure your Armadeus board for optimum usage.&lt;br /&gt;
&lt;br /&gt;
==First StartUp==&lt;br /&gt;
Just got your Armadeus board and want to start play with it ? Then follow this quick list to setup your envt accordingly: &amp;lt;br&amp;gt;&lt;br /&gt;
*1. Connect your APF to your development board or to a Devlight ---&amp;gt;&amp;gt; [[Image:Apf_on_devlight.png]] &amp;lt;br&amp;gt;&lt;br /&gt;
*2. Connect the Host (your PC) to your development system with a crossover RS232 cable &amp;lt;br&amp;gt;&lt;br /&gt;
*3. Power up the system (&#039;&#039;&#039;+5Vdc on a Devlight + is in the middle of the connector&#039;&#039;&#039;) &amp;lt;br&amp;gt;&lt;br /&gt;
*4. Establish the communication between your Host and your APF: See [[Communicate]] &amp;lt;br&amp;gt;&lt;br /&gt;
*5. Verify your APF by starting Linux: In uBoot, type &amp;quot;boot&amp;quot;. Several informations will be displayed on your console like on the screenshot [[Linux start screenshot]] &amp;lt;br&amp;gt;&lt;br /&gt;
*6. If Linux has successfully started, you can proceed with the toolchain installation. See Basics below &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Basics==&lt;br /&gt;
* [[Toolchain]]: How to install the development environment for the Armadeus boards&lt;br /&gt;
* [[Communicate]]: How to communicate with the Armadeus boards from the Host&lt;br /&gt;
* [[Target Software Installation]]: How to install, uBoot, Linux and your RootFS on the Armadeus boards&lt;br /&gt;
&lt;br /&gt;
==Packages and Modules==&lt;br /&gt;
* [[FrameBuffer]]: how to configure and use the framebuffer for new LCDs&lt;br /&gt;
* [[GPIO Driver]]: how to configure the GPIO driver&lt;br /&gt;
* [[Network Configuration]]: how to configure Host and Target network (NFS, TFTP)&lt;br /&gt;
* [[Boa]]: How install and configure the boa Web server on your board&lt;br /&gt;
* [[Serial Transfer]]: how to transfer files between your Host and your Armadeus board with the RS232 link (if you don&#039;t have Ethernet)&lt;br /&gt;
* [[USB Gadget]]: how to configure your Armadeus board to use it as a USB device (aka Gadget in Linux language)&lt;br /&gt;
* [[MultiMediaCard]]: how to use MMC/SD cards on Linux with your Armadeus board&lt;br /&gt;
* [[DAC|Digital to Analog Convertion]]: how to configure and use the DAC on your board&lt;br /&gt;
* [[FPGA loader]]: how to upload a new firmware from Linux&lt;br /&gt;
* [[ADC max1027|Analog to Digital Converter]]: how to install and use the on board ADC (max1027)&lt;br /&gt;
* [[PWM]]: how to use the i.MX integrated PWM&lt;br /&gt;
* [[RTC]]: how to use an external Real Time Clock (Maxim DS1374)&lt;br /&gt;
* [[Watchdog]]: how to configure and use the i.MX integrated Watchdog&lt;br /&gt;
&lt;br /&gt;
==Advanced==&lt;br /&gt;
* [[BootLoader]]: (U-Boot useful tips)&lt;br /&gt;
* [[BootStrap]]: communicate and test your board when no software is installed on it&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:FrenchFlag.png]][[Configuration| Cette page en Français]]&lt;/div&gt;</summary>
		<author><name>FredericB</name></author>
	</entry>
	<entry>
		<id>http://wikilegacy.armadeus.com/index.php?title=Boa&amp;diff=2354</id>
		<title>Boa</title>
		<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=Boa&amp;diff=2354"/>
		<updated>2007-04-19T20:05:15Z</updated>

		<summary type="html">&lt;p&gt;FredericB: corrections for a better rendering&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;font-size: 2em; font-weight:bold;&amp;quot;&amp;gt; How install and setup boa on your board &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
 $ cd armadeus&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
* Select: &#039;&#039;Package Selection for the Target -&amp;gt; Other stuffs -&amp;gt; Boa&#039;&#039;&lt;br /&gt;
* Save the configuration&lt;br /&gt;
&lt;br /&gt;
Then we can create the binaries and the default filesystem. This will be usefull&lt;br /&gt;
later to perform the configuration :&lt;br /&gt;
&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
==Configure==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Generalities ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To apply a permanent configuration, be sure to not change anything on the board filesystem. &amp;lt;br /&amp;gt;&lt;br /&gt;
That would be erased the next time you flash the fs. Instead, do all changes on the filesystem&lt;br /&gt;
located on the host, i.e. on &#039;&#039;buildroot/build_arm_nofpu/root/&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The boa configuration file is located in &#039;&#039;/etc/boa/boa.conf&#039;&#039; on the card &amp;lt;br /&amp;gt;&lt;br /&gt;
This means that to permanently change the configuration, you need to edit the file&lt;br /&gt;
&#039;&#039;buildroot/build_arm_nofpu/root/etc/boa/boa.conf&#039;&#039; &#039;&#039;&#039;on the host&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a Dummy page ===&lt;br /&gt;
&lt;br /&gt;
By default, DocumentRoot is set to /var/www, so let&#039;s add a dummy file here to test&lt;br /&gt;
our configuration :&lt;br /&gt;
&lt;br /&gt;
 $ mkdir buildroot/build_arm_nofpu/root/var/www&lt;br /&gt;
 $ vi buildroot/build_arm_nofpu/root/var/www/index.html&lt;br /&gt;
&lt;br /&gt;
And fill the file with :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;html&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;&lt;br /&gt;
   &amp;lt;title&amp;gt; Welcome on the Armadeus Board &amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;body&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;h1&amp;gt; Welcome on the Armadeus Board &amp;lt;/h1&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  &amp;lt;/body&amp;gt;&lt;br /&gt;
 &amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enable hostname resolution ===&lt;br /&gt;
&lt;br /&gt;
Boa has to be able to resolve the hostname to work, so let&#039;s do :&lt;br /&gt;
&lt;br /&gt;
 $ echo &amp;quot;127.0.0.1 `cat buildroot/build_arm_nofpu/root/etc/hostname`&amp;quot; &amp;gt;&amp;gt; buildroot/build_arm_nofpu/root/etc/hosts&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create the access log directory ===&lt;br /&gt;
&lt;br /&gt;
By default, boa logs will be stored in  /var/log/boa/ on the card.&lt;br /&gt;
If you did not change this setting, you will need to perform the following :&lt;br /&gt;
&lt;br /&gt;
 $ls -l buildroot/build_arm_nofpu/root/var/log/&lt;br /&gt;
&lt;br /&gt;
If this is a link to /tmp, then &lt;br /&gt;
&lt;br /&gt;
 $ rm -f buildroot/build_arm_nofpu/root/var/log/ &amp;amp;&amp;amp; mkdir buildroot/build_arm_nofpu/root/var/log/&lt;br /&gt;
&lt;br /&gt;
Then, create the boa directory :&lt;br /&gt;
 $ mkdir buildroot/build_arm_nofpu/root/var/log/boa&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
Why shoud I delete the symbolink link ? &amp;lt;br /&amp;gt;&lt;br /&gt;
This is because during the filesystem creation, mkfs.jffs2 will keep the link from &#039;&#039;/var/log&#039;&#039; to &#039;&#039;/tmp&#039;&#039; on the board.&lt;br /&gt;
Thus, once on the board, you will have :&lt;br /&gt;
&lt;br /&gt;
 # ls -l /var/log&lt;br /&gt;
 lrwxrwxrwx    1 root     root            4 Apr 15  2007 /var/log -&amp;gt; /tmp&lt;br /&gt;
&lt;br /&gt;
With a such behavior, even if you fill the directory &#039;&#039;buildroot/build_arm_nofpu/root/var/log/&#039;&#039; on your host&lt;br /&gt;
(which actually fill /tmp on your host), nothing will be saved once the filesystem will be flashed on your board.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test the result ==&lt;br /&gt;
&lt;br /&gt;
Create the final rootfs :&lt;br /&gt;
&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Then [[Target_Software_Installation | update the rootfs]] on your board. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And start boa&lt;br /&gt;
&lt;br /&gt;
 $ boa&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access to your web page, use a browser:&lt;br /&gt;
 http://&#039;&#039;&amp;lt;your IP Address&amp;gt;&#039;&#039;/&lt;br /&gt;
&lt;br /&gt;
You sould see the page ! &amp;lt;br /&amp;gt;&lt;br /&gt;
If not, check the file &#039;&#039;/var/log/boa/error_log&#039;&#039; on your board&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Working with cgi ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First, check the boa.conf file. &amp;lt;br /&amp;gt;&lt;br /&gt;
Once more, you should use the one located on your host before changing anything.&lt;br /&gt;
&lt;br /&gt;
 $ vi buildroot/build_arm_nofpu/root/etc/boa/boa.conf&lt;br /&gt;
&lt;br /&gt;
Be sure to have an uncommented line like this :&lt;br /&gt;
&lt;br /&gt;
 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now; let&#039;s write a dummy cgi :&lt;br /&gt;
&lt;br /&gt;
 $ mkdir buildroot/build_arm_nofpu/root/usr/lib/cgi-bin&lt;br /&gt;
 $ vi buildroot/build_arm_nofpu/root/usr/lib/cgi-bin/get_ipconfig.sh&lt;br /&gt;
&lt;br /&gt;
And add the following :&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 echo -e &amp;quot;Content-type: text/html\r\n\r\n&amp;quot;;&lt;br /&gt;
 echo -e `/sbin/ifconfig  eth0 | grep &#039;inet addr&#039;`;&lt;br /&gt;
&lt;br /&gt;
The script have to be executable: &lt;br /&gt;
&lt;br /&gt;
 $ chmod a+x buildroot/build_arm_nofpu/root/usr/lib/cgi-bin/get_ipconfig.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then change your index.html page to add a link to the cgi:&lt;br /&gt;
&lt;br /&gt;
 $ vi buildroot/build_arm_nofpu/root/var/www/index.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;html&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;&lt;br /&gt;
   &amp;lt;title&amp;gt; Welcome on the Armadeus Board &amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;body&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;h1&amp;gt; Welcome on the Armadeus Board &amp;lt;/h1&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;a href=http://&amp;lt;Your IP Address&amp;gt;/cgi-bin/get_ipconfig.sh&amp;gt; Get the board ip config &amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;/body&amp;gt;&lt;br /&gt;
 &amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create the new root fs :&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Finally, [[Target_Software_Installation | Transfer the rootfs]] to the board &amp;amp; flash it.&lt;br /&gt;
&lt;br /&gt;
You can now access to the new web page and click on the cgi link !&lt;/div&gt;</summary>
		<author><name>FredericB</name></author>
	</entry>
	<entry>
		<id>http://wikilegacy.armadeus.com/index.php?title=Boa&amp;diff=2353</id>
		<title>Boa</title>
		<link rel="alternate" type="text/html" href="http://wikilegacy.armadeus.com/index.php?title=Boa&amp;diff=2353"/>
		<updated>2007-04-19T19:59:54Z</updated>

		<summary type="html">&lt;p&gt;FredericB: Page creation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;font-size: 2em; font-weight:bold;&amp;quot;&amp;gt; How install and setup boa on your board &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
 $ cd armadeus&lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
* Select: &#039;&#039;Package Selection for the Target -&amp;gt; Other stuffs -&amp;gt; Boa&#039;&#039;&lt;br /&gt;
* Save the configuration&lt;br /&gt;
&lt;br /&gt;
Then we can create the binaries and the default filesystem. This will be usefull&lt;br /&gt;
later to perform the configuration :&lt;br /&gt;
&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
==Configure==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Generalities ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To apply a permanent configuration, be sure to not change anything on the board filesystem. &amp;lt;br /&amp;gt;&lt;br /&gt;
That would be erased the next time you flash the fs. Instead, do all changes on the filesystem&lt;br /&gt;
located on the host, i.e. on &#039;&#039;buildroot/build_arm_nofpu/root/&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The boa configuration file is located in &#039;&#039;/etc/boa/boa.conf&#039;&#039; on the card &amp;lt;br /&amp;gt;&lt;br /&gt;
This means that to permanently change the configuration, you need to edit the file&lt;br /&gt;
&#039;&#039;vi buildroot/build_arm_nofpu/root/etc/boa/boa.conf&#039;&#039; &#039;&#039;&#039;on the host&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a Dummy page ===&lt;br /&gt;
&lt;br /&gt;
By default, DocumentRoot is set to /var/www, so let&#039;s add a dummy file here to test&lt;br /&gt;
our configuration :&lt;br /&gt;
&lt;br /&gt;
 $ mkdir buildroot/build_arm_nofpu/root/var/www&lt;br /&gt;
 $ vi buildroot/build_arm_nofpu/root/var/www/index.html&lt;br /&gt;
&lt;br /&gt;
And fill the file with :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;html&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;&lt;br /&gt;
   &amp;lt;title&amp;gt; Welcome on the Armadeus Board &amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;body&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;h1&amp;gt; Welcome on the Armadeus Board &amp;lt;/h1&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  &amp;lt;/body&amp;gt;&lt;br /&gt;
 &amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enable hostname resolution ===&lt;br /&gt;
&lt;br /&gt;
Boa has to be able to resolve the hostname to work, so let&#039;s do :&lt;br /&gt;
&lt;br /&gt;
 $ echo &amp;quot;127.0.0.1 `cat buildroot/build_arm_nofpu/root/etc/hostname`&amp;quot; &amp;gt;&amp;gt; buildroot/build_arm_nofpu/root/etc/hosts&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create the access log directory ===&lt;br /&gt;
&lt;br /&gt;
By default, boa logs will be stored in  /var/log/boa/ on the card.&lt;br /&gt;
If you did not change this setting, you will need to perform the following :&lt;br /&gt;
&lt;br /&gt;
 $ls -l buildroot/build_arm_nofpu/root/var/log/&lt;br /&gt;
&lt;br /&gt;
If this is a link to /tmp, then &lt;br /&gt;
&lt;br /&gt;
 $ rm -f buildroot/build_arm_nofpu/root/var/log/ &amp;amp;&amp;amp; mkdir buildroot/build_arm_nofpu/root/var/log/&lt;br /&gt;
&lt;br /&gt;
Then, create the boa directory :&lt;br /&gt;
 $ mkdir buildroot/build_arm_nofpu/root/var/log/boa&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
Why delete the symbolink link ?&lt;br /&gt;
This is because during the filesystem creation, mkfs.jffs2 will keep the link from &#039;&#039;/var/log&#039;&#039; to &#039;&#039;/tmp&#039;&#039; on the board.&lt;br /&gt;
Thus, once on the board, you will have :&lt;br /&gt;
&lt;br /&gt;
 # ls -l /var/log&lt;br /&gt;
 lrwxrwxrwx    1 root     root            4 Apr 15  2007 /var/log -&amp;gt; /tmp&lt;br /&gt;
&lt;br /&gt;
With a such behavior, even if you fill the directory &#039;&#039;buildroot/build_arm_nofpu/root/var/log/&#039;&#039; on your host&lt;br /&gt;
(which actually fill /tmp on your host), nothing will be saved once the filesystem will be flashed on your board.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Test the result ==&lt;br /&gt;
&lt;br /&gt;
Create the final rootfs :&lt;br /&gt;
&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Then [[Target_Software_Installation | update the rootfs]] on your board. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And start boa&lt;br /&gt;
&lt;br /&gt;
 $boa&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access to your web page, use a browser:&lt;br /&gt;
 http://&#039;&#039;&amp;lt;your IP Address&amp;gt;&#039;&#039;/&lt;br /&gt;
&lt;br /&gt;
You sould see the page ! &amp;lt;br /&amp;gt;&lt;br /&gt;
If not, check the file &#039;&#039;/var/log/boa/error_log&#039;&#039; on your board&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Working with cgi ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First, check the boa.conf file. &amp;lt;br /&amp;gt;&lt;br /&gt;
Once more, you should use the one located on your host before changing anything.&lt;br /&gt;
&lt;br /&gt;
 $ vi buildroot/build_arm_nofpu/root/etc/boa/boa.conf&lt;br /&gt;
&lt;br /&gt;
Be sure to have an uncommented line like this :&lt;br /&gt;
&lt;br /&gt;
 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now; let&#039;s write a dummy cgi :&lt;br /&gt;
&lt;br /&gt;
 $ mkdir buildroot/build_arm_nofpu/root/usr/lib/cgi-bin&lt;br /&gt;
 $ vi buildroot/build_arm_nofpu/root/usr/lib/cgi-bin/get_ipconfig.sh&lt;br /&gt;
&lt;br /&gt;
And add the following :&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 echo -e &amp;quot;Content-type: text/html\r\n\r\n&amp;quot;;&lt;br /&gt;
 echo -e `/sbin/ifconfig  eth0 | grep &#039;inet addr&#039;`;&lt;br /&gt;
&lt;br /&gt;
The script have to be executable: &lt;br /&gt;
&lt;br /&gt;
 $ chmod a+x buildroot/build_arm_nofpu/root/usr/lib/cgi-bin/get_ipconfig.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then change your index.html page to add a link to the cgi:&lt;br /&gt;
&lt;br /&gt;
 $ vi buildroot/build_arm_nofpu/root/var/www/index.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;html&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;&lt;br /&gt;
   &amp;lt;title&amp;gt; Welcome on the Armadeus Board &amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;body&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;h1&amp;gt; Welcome on the Armadeus Board &amp;lt;/h1&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;a href=http://&amp;lt;Your IP Address&amp;gt;/cgi-bin/get_ipconfig.sh&amp;gt; Get the board ip config &amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
    &amp;lt;/body&amp;gt;&lt;br /&gt;
 &amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create the new root fs :&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Finally, [[Target_Software_Installation | Transfer the rootfs]] to the board &amp;amp; flash it.&lt;br /&gt;
&lt;br /&gt;
You can now access to the new web page and click on the cgi link !&lt;/div&gt;</summary>
		<author><name>FredericB</name></author>
	</entry>
</feed>