Open main menu

DAVE Developer's Wiki β

Changes

Software Manual (Diva)

310 bytes removed, 13:57, 17 May 2013
m
Build system
One of the most useful features of a bootloader during development is the capability to download the Linux kernel from the network. This saves a lot of time because developer doesn't have to program the image in flash every time he/she modifies it. U-Boot implements the TFTP protocol (see the tftp command), so the host system must be configured to enable the TFTP service. Installation and configuration of a tftp server depends on the host Linux distribution.
The default DVDK tftp installation has <code>/srv/tftp</code> as work directory. It is recommended to create a subdirectory dedicated to the image files created with the DIVELK.
==== NFS Server ====
The most common way to setup a system like the one described is through NFS. As for tftp, installation and configuration depends on the host linux distribution.
The default DVDK nfs installation is configured for sharing <code>/home</code> directory and all the subdirectories.
The default nfs installation is configured for sharing <code>/home</code> directory and all the subdirectories.==== Pre-built toolchain ====
==== PreTo start developing software for the Diva platform, users need a proper toolchain, which can be pre-built or built-from-scratch. Building a toolchain from scratch is not a trivial task (though using a recent build system is easier than in the past), so the recommended approach consists in using a pre-built toolchain ====.
To start developing software for DIVELK provides the Diva platform, users need a proper toolchain, which can be pre-built or built-fromarago-scratch2012. Building a 10 toolchain from scratch is not a trivial task (though using a recent build system GCC verion is easier than in the past), so the recommended approach consists in using a pre-built toolchain, like the Sourcery G++ Lite 2009q1-203 for ARM GNU/Linux4. To install it, user should simply download the installer from the http://www5.codesourcery.com/sgpp/lite/arm/portal/release858 web page and run it3).
At the time of this writing several tool chains – free and commercial – are available. The Codesourcery toolchain (Sourcery G++ Lite 2009q1-203 for ARM GNU/Linux (http://www.codesourcery.com/sgpp/lite/arm/portal/release858)) will be the default choice and all the compiling examples will be based on it.
==== Pre-built root file system ====
For more information on the Linux filesystem, please refer to [http://www.freeos.com/articles/3102/ The Linux filesystem explained]
DIVELK provides a pre-built root file system, that can be used during the evaluation/development phase, since it provides a sufficient rich set of packages for working with the Diva platform. However, there are other pre-built file systems that can be used:
* Arago (http://arago-project.org/files/releases/)
* Angstrom/Narcissus (http://www.angstrom-distribution.org/narcissus/)
* Beaglebone (http://www.angstrom-distribution.org/demo/beaglebone/)
 
DIVELK root file systems are stored into the following directories:
* /home/dvdk/delk/rfs/arago-base
* /home/dvdk/delk/rfs/tisdk
== Working with DIVELK ==