Difference between revisions of "LinuxInstall"

From ArmadeusWiki
Jump to: navigation, search
(Get Armadeus software)
(Get Armadeus software)
Line 9: Line 9:
  
 
==Get Armadeus software==
 
==Get Armadeus software==
* If you are a registered developper:
+
* If you are an SVN integrator:
 
check out the required files from the SVN repository:
 
check out the required files from the SVN repository:
 
  $ svn co svn://ericjarrige.homelinux.org/armadeus/trunk armadeus  --username <<YOUR USERNAME>>  --password <<YOUR PASS>>
 
  $ svn co svn://ericjarrige.homelinux.org/armadeus/trunk armadeus  --username <<YOUR USERNAME>>  --password <<YOUR PASS>>
Line 15: Line 15:
 
A directory named armadeus/ will be created on your hard-disk and will contain all the files you need.
 
A directory named armadeus/ will be created on your hard-disk and will contain all the files you need.
  
* If you are not a registered developpers:
+
* If you are not a developpers:
 
then download the installation archive from SourceForge: http://sourceforge.net/projects/armadeus and detar it wherever you want.
 
then download the installation archive from SourceForge: http://sourceforge.net/projects/armadeus and detar it wherever you want.
 
  $ tar xjvf armadeusArchiveName
 
  $ tar xjvf armadeusArchiveName

Revision as of 23:14, 17 November 2006

How-To install Armadeus Software Development Kit for Linux

Prerequisites for Linux installation

For Debian distrib some additional packages are required. You can use the following command to get the them:

$ apt-get install wget gettext libncurses5-dev subversion autoconf zlib1g-dev

Open a shell and follow this procedure:

Get Armadeus software

  • If you are an SVN integrator:

check out the required files from the SVN repository:

$ svn co svn://ericjarrige.homelinux.org/armadeus/trunk armadeus  --username <<YOUR USERNAME>>  --password <<YOUR PASS>>

Don't worry, SVN server is located in Switzerland so it may be slow... :-) A directory named armadeus/ will be created on your hard-disk and will contain all the files you need.

  • If you are not a developpers:

then download the installation archive from SourceForge: http://sourceforge.net/projects/armadeus and detar it wherever you want.

$ tar xjvf armadeusArchiveName

Configure Armadeus software

$ cd armadeus/
$ make menuconfig  (or just make the first time).

This will launch buildroot configuration. in Board Support Option menu, select your armadeus board (apf/apm9328), the RAM size (16/32MB) and so on...

  • Exit the configuration tool saving your config

Launch build

$ make

The toolchain is built automatically. During this procedure, several files are downloaded from the web. Please wait for a while.... it takes at least one hour for the first run!

Enjoy the result

The generated binary files can be found in the subdirectory armadeus/software/buildroot:

  • u-boot.brec (can be used with the bootstrap, if U-Boot is not installed or not working, see BootLoader page)
  • u-boot.bin (for download with uboot, see BootLoader "Update u-boot" page)
  • linux-kernel-2.6.xx-arm.bin (for download with uboot, see InstallLinux)
  • rootfs.arm_nfpu.jffs2 (for download with uboot, see InstallFileSystem?)
  • rootfs.arm_nfpu.tar (for an nfsroot, see RootNFS?)

To keep your copy up-to-date within the armadeus tree

$ svn update

This will update your working directory to the latest release.

Note: if "svn update" fails because a directory or a file already exists, then do:

$ rm -rf <this-directory/file>
$ svn update

You can do a:

$ make defconfig

to have the latest features automatically activated and a

$ make menuconfig

to set you again you personnal parameters (SDRAM size...).

You have to do a make to rebuild binary files end then upload the binary files to your target.

Note: if definitively everything goes wrong while it worked before the last update. You can apply the following procedure:

$ rm -rf software/buildroot
$ rm Makefile
$ make
$ make

Enjoy!