
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://armadeus.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=JeanClaudeZu</id>
		<title>ArmadeusWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://armadeus.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=JeanClaudeZu"/>
		<link rel="alternate" type="text/html" href="http://armadeus.org/wiki/index.php?title=Special:Contributions/JeanClaudeZu"/>
		<updated>2026-04-07T18:35:41Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>http://armadeus.org/wiki/index.php?title=LinuxInstall&amp;diff=4797</id>
		<title>LinuxInstall</title>
		<link rel="alternate" type="text/html" href="http://armadeus.org/wiki/index.php?title=LinuxInstall&amp;diff=4797"/>
				<updated>2008-10-22T20:31:48Z</updated>
		
		<summary type="html">&lt;p&gt;JeanClaudeZu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''How-To install Armadeus Software Development Kit (SDK) on Linux systems.'''&lt;br /&gt;
&lt;br /&gt;
The installation was successfully tested on the following distributions:&lt;br /&gt;
* Debian Sarge &amp;amp; Etch&lt;br /&gt;
* Fedora Core 3 &amp;amp; 4&lt;br /&gt;
* SuSE 10.1&lt;br /&gt;
* Ubuntu Dapper Drake (6.04)&lt;br /&gt;
* Kubuntu &amp;amp; Xubuntu Edgy Eft (6.10)&lt;br /&gt;
* KUbuntu Gusty Gibbon (7.10)&lt;br /&gt;
* KUbuntu Hardy Heron (8.04)&lt;br /&gt;
* Mandriva 2006&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Prerequisites for Linux installation==&lt;br /&gt;
&lt;br /&gt;
Depending on your distribution, some additional packages are required. For Debian based system, you can use the following command to get them:&lt;br /&gt;
 $ sudo apt-get install autoconf automake bison flex g++ gettext libncurses5-dev liblzo1 liblzo-dev liblzo2-2 liblzo2-dev \&lt;br /&gt;
                patch subversion texinfo wget zlib1g-dev libacl1 libacl1-dev libtool&lt;br /&gt;
&lt;br /&gt;
Then, open a shell and follow this procedure:&lt;br /&gt;
&lt;br /&gt;
==Get Armadeus software==&lt;br /&gt;
* If you are a &amp;quot;carefull&amp;quot; user:&lt;br /&gt;
then download the latest stable installation tarball from SourceForge: http://sourceforge.net/projects/armadeus and detar it wherever you want.&lt;br /&gt;
 $ tar xjvf armadeusArchiveName.tar.bz2&lt;br /&gt;
* If you are a hacker or a registered developper, check out the required files from the SVN repository:&lt;br /&gt;
 $ svn co https://armadeus.svn.sourceforge.net/svnroot/armadeus/trunk armadeus&lt;br /&gt;
A directory named ''armadeus/'' will be created on your hard-disk and will contain all the files you need.&lt;br /&gt;
&lt;br /&gt;
'''Remarks''': &lt;br /&gt;
* '''Do not use spaces''' in the directory name !&lt;br /&gt;
* SVN write/commit accesses are limited to the integrators ([[User:JulienB]], [[User:Salocin68]], [[User:Jorasse]])&lt;br /&gt;
&lt;br /&gt;
==Configure SDK options==&lt;br /&gt;
 $ cd armadeus/&lt;br /&gt;
 $ make menuconfig  (or just make the first time).&lt;br /&gt;
This will launch Buildroot configuration. [[Image:Menuconfig.jpg]]&amp;lt;br&amp;gt;&lt;br /&gt;
If you are not familiar with Buildroot here are some tips:&lt;br /&gt;
* you can move the highlighted item with the &amp;quot;up&amp;quot;/&amp;quot;down&amp;quot; arrow keys&lt;br /&gt;
* with the &amp;quot;left&amp;quot;/&amp;quot;right&amp;quot; arrow keys you can choose between &amp;quot;Select&amp;quot;, &amp;quot;Exit&amp;quot; or &amp;quot;Help&amp;quot; buttons&lt;br /&gt;
* &amp;quot;space&amp;quot;/&amp;quot;enter&amp;quot;:&lt;br /&gt;
** selects the currently highlighted item if you are on the &amp;quot;Select&amp;quot; button&lt;br /&gt;
** go back in previous menu if you are on &amp;quot;Exit&amp;quot; button&lt;br /&gt;
** show you some Help for current item if you are on &amp;quot;Help&amp;quot; button&lt;br /&gt;
* for more Help about Buildroot commands, select &amp;quot;Help&amp;quot; in the main configuration screen&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In ''Target options  ---&amp;gt; Armadeus Device Support'' menu, select your Armadeus board (apf/apm9328), the RAM size (16/32MB) and so on... '''Default values should be fine if you have an APF9328 with 8Mbytes FLASH'''&lt;br /&gt;
* You may decrease the compilation time by increasing the number of parallel jobs running simultaneously on your system (the result is not guaranteed). This option is located in ''Build Options ---&amp;gt; (1) Number of jobs to run simultaneously'' menu.&lt;br /&gt;
* The toolchain is built automatically. During this procedure, several files are downloaded from Internet. The downloaded files are put by default in the ''armadeus/downloads/'' directory. '''If you have several views or plan to build the toolchain several times, we advise you to put all the downloaded files in ''/local/downloads'' (for example). This is done by configuring Buildroot to use this directory for all your views: ''Build options  ---&amp;gt; Download dir''.''' &amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Build_config_menu_download.png]]&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Build_config_download.png]]&lt;br /&gt;
&lt;br /&gt;
We advise you too to burn a CD-Rom with all the files in ''downloads/'' in case you want to install the development tools on several systems.&lt;br /&gt;
&lt;br /&gt;
* Exit the configuration tool and save your configuration&lt;br /&gt;
&lt;br /&gt;
==Launch build==&lt;br /&gt;
 $ make&lt;br /&gt;
The toolchain is built automatically. During this procedure, several files are downloaded from Internet. Please wait for a while.... it takes at least one hour for the first run!&amp;lt;br&amp;gt;&lt;br /&gt;
The downloaded files are put by default in the ''armadeus/downloads/'' directory. '''If you have several views we advise you to put all the downloaded files in ''/local/armadeus/downloads'' (for example) by configuring Buildroot to use this directory for all your views: ''Build options  ---&amp;gt; Download dir''.''' &amp;lt;br&amp;gt;&lt;br /&gt;
We advise you too to burn a CD-Rom with all the files in ''downloads/'' in case you want to install the development tools on several systems.&lt;br /&gt;
&lt;br /&gt;
==Enjoy the result==&lt;br /&gt;
The generated binary files can be found in the subdirectory ''buildroot/binaries/armadeus/'':&lt;br /&gt;
&lt;br /&gt;
* '''u-boot.brec''' (BRecord image that can be used with the bootstrap, if U-Boot is not installed or not working, see [[BootLoader]] page)&lt;br /&gt;
* '''u-boot.bin''' (U-Boot image file for use with U-Boot itself, see [[BootLoader#Update_U-Boot | updating U-Boot]])&lt;br /&gt;
* '''linux-kernel-2.6.xx-arm.bin''' (Linux image to use with U-Boot, see [[Target_Software_Installation#Linux_kernel_installation | InstallLinux]])&lt;br /&gt;
* '''rootfs.arm.jffs2''' (FileSystem/RootFS image to use with U-Boot, see [[Target_Software_Installation#Linux_rootfs_installation | RootFS flashing]])&lt;br /&gt;
* '''rootfs.arm.tar''' (for an NFS/MMC RootFS, see RootNFS? &amp;amp; [[MultiMediaCard#Booting_from_MMC.2FSD | Booting from a MMC/SD]])&lt;br /&gt;
&lt;br /&gt;
==To keep your copy up-to-date with the armadeus SVN repository==&lt;br /&gt;
 $ svn update&lt;br /&gt;
This will update your working directory to the latest release.&lt;br /&gt;
&lt;br /&gt;
Note: if &amp;quot;svn update&amp;quot; fails because a directory or a file already exists, then do:&lt;br /&gt;
 $ rm -rf &amp;lt;this-directory/file&amp;gt;&lt;br /&gt;
 $ svn update&lt;br /&gt;
&lt;br /&gt;
You can do a:&lt;br /&gt;
 $ make defconfig&lt;br /&gt;
to have the latest features automatically activated and a &lt;br /&gt;
 $ make menuconfig&lt;br /&gt;
to set again your personnal parameters (SDRAM size...).&lt;br /&gt;
&lt;br /&gt;
You have to do a '''make''' to rebuild binary files and then upload the binary files to your target.&lt;br /&gt;
&lt;br /&gt;
Note: if definitively everything goes wrong while it worked before the last update.&lt;br /&gt;
You can apply the following procedure (all your modifications in buildroot will be lost):&lt;br /&gt;
 $ rm -rf buildroot/&lt;br /&gt;
 $ rm Makefile&lt;br /&gt;
 $ svn update&lt;br /&gt;
 $ make&lt;br /&gt;
 $ make&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:FrenchFlag.png]][[Fr:Compilateur croisé| Cette page en français]]&lt;/div&gt;</summary>
		<author><name>JeanClaudeZu</name></author>	</entry>

	</feed>