Open main menu

DAVE Developer's Wiki β

Changes

Software Manual (Diva)

1,131 bytes added, 14:58, 2 October 2014
m
DIVELK HowTos
# Start working with the development kit
=== Working with DIVELK HowTos ===
==== The build system ==== A build system is a set of source trees, Makefiles, patches, configuration files, tools and scripts that makes it easy to generate all the components of a complete embedded Linux system. A build system, once properly set up, automates the configuration and cross-compilation processes, generating all the required targets (userspace packages (libraries, programs), the kernel, the bootloader and root filesystem images) depending on the configuration. Some well known build systems are the following: * OpenEmbedded (http://wiki.openembedded.net/index.php/Main_Page)* Yocto (https://www.yoctoproject.org/)* Buildroot (http://buildroot.uclibc.org) The Texas Instruments Arago distribution (http://arago-project.org/wiki/index.php/Main_Page) and therefore DIVELK 2.0.0 are based on Yocto. ==== Overview of the installed components ==== Once the virtual machine is ready, the actual development kit can be found into the directory <code>/home/dvdk/delkdivelk</code>: <br><br>[[File:Divelk-dvdk-divelk-content.png|600px]]<br><br>
The delk directory contains the following subdirectories:
* aragogcc-2012linaro-arm-linux-gnueabihf-4.7-2013.1003-20130313_linux: the cross-toolchain. GNU Compiler Collection (GCC) version is 4.57.3
* linux-am33x: the Linux source tree
* u-boot-am33x: the U-Boot source tree
* diva-bsp: the Yocto BSP for DIVA* rfs: DIVELK provides two three root file systems:** aragodiva-base: minimal root file system with basic packages (/home/dvdk/delkdivelk/rfs/aragodiva-base)** tisdkdiva-matrix: full root file system with lots of packagesand demo applications, useful during the development phase (/home/dvdk/delkdivelk/rfs/tisdkdiva-matrix)** diva-qt5: root file system with Qt5 libraries and examples (/home/dvdk/divelk/rfs/diva-qt5)
* env.sh: a bash script containing the following lines:
<pre>
export PATH=~/divadivelk/aragogcc-2012linaro-arm-linux-gnueabihf-4.107-2013.03-20130313_linux/bin:$PATH
export ARCH=arm
export CROSS_COMPILE=arm-arago-linux-gnueabignueabihf-
</pre>
Using the following command, the environment shell variables required during the building procedure are set up:
 
<pre>
source ~/divadivelk/env.sh
</pre>