Open main menu

DAVE Developer's Wiki β

Changes

Software Manual (Diva)

42 bytes added, 15:40, 2 October 2014
m
no edit summary
|Linux
|git@git.dave.eu:dave/diva/linux-am33x.git
|/home/dvdk/delkdivelk/linux-am33x.git
|-
|U-Boot
|git@git.dave.eu:dave/diva/u-boot-am33x.git
|/home/dvdk/delkdivelk/u-boot-am33x.git
|-
|Yocto BSP
<pre class="workstation-terminal">
dvdk@dvdk-vm:~$ cd /home/dvdk/delkdivelk/linux-am33x.git/dvdk@dvdk-vm:/home/dvdk/delkdivelk/linux-am33x.git$ git fetch origin
</pre>
Once the virtual machine is ready, the actual development kit can be found into the directory <code>/home/dvdk/divelk</code>: <br><br>[[File:Divelk-dvdk-divelk-content.png|600px]]<br><br>
The delk divelk directory contains the following subdirectories:
* gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux: the cross-toolchain. GNU Compiler Collection (GCC) version is 4.7.3
DIVELK root file systems are stored into the following directories:
* /home/dvdk/delkdivelk/rfs/arago-base* /home/dvdk/delkdivelk/rfs/tisdk
== Building the software components with Yocto ==
=== Build/configure Linux kernel ===
Enter the Linux sources directory (''~/diva/delkdivelk/linux-am33x.git'') and run the following commands:
<pre>
dvdk@dvdk-vm:~/diva/delkdivelk/linux-am33x.git$ make diva_defconfigdvdk@dvdk-vm:~/diva/delkdivelk/linux-am33x.git$ make uImage
</pre>
<pre>
dvdk@dvdk-vm:~/diva/delkdivelk/linux-am33x.git$ sudo cp arch/arm/boot/uImage /srv/tftp/divelk/
</pre>
=== Build/configure U-Boot only ===
Enter the U-Boot sources directory (''~/diva/delkdivelk/u-boot-am33x.git'') and run the following commands:
<pre>
dvdk@dvdk-vm:~/diva/delkdivelk/u-boot-am33x.git$ make diva_spibootdvdk@dvdk-vm:~/diva/delkdivelk/u-boot-am33x.git$ make
</pre>
<pre>
dvdk@dvdk-vm:~/diva/delkdivelk/linux-am33x.git$ sudo cp MLO u-boot.img /srv/tftp/divelk/
</pre>
U-Boot 2012.10-00110-ge8fd044-dirty (May 13 2013 - 14:01:25) [delkdivelk-0.9.1-rc1]
I2C: ready
== Running QT applications ==
The root file system provided with the DIVELK (/home/dvdk/delkdivelk/rfs/tisdk on the DVDK virtual machine) contains a pre-built version (4.8.0) of the QT libraries:
<pre>
dvdk@dvdk-vm:~/delkdivelk/rfs/tisdk/usr/lib$ ll libQ*
....
....
...
...
dvdk@dvdk-vm:~/delkdivelk/rfs/tisdk/usr/lib
</pre>
The root file system also provides a lot of pre-built demos and examples (with the related source code and project files), contained in the following directories:
* /home/dvdk/delkdivelk/rfs/tisdk/usr/bin/qtopia/demos* /home/dvdk/delkdivelk/rfs/tisdk/usr/bin/qtopia/examples
The Matrix-Gui application (http://processors.wiki.ti.com/index.php/Matrix_Users_Guide) that launched automatically after DIVELK startup is based on QT and can directly show some demos (simply touching the QT icon). Moreover, additional examples can be launched, for example the "calculator" QML demo: