Open main menu

DAVE Developer's Wiki β

Changes

Diva Embedded Linux Kit (DIVELK)

4,208 bytes added, 14:55, 4 June 2014
m
DIVELK software components
|05.06.00.00
|}
 
 
==== DIVELK microSD Layout ====
 
The microSD provided with DIVELK is used to store:
* A bootable partition (mmcblk0p1, vfat) containing:
** binary images (MLO, u-boot and kernel images)
** DIVELK documentation
** DIVELK DVDK virtual machine image
* DIVELK root file system partition (mmcblk0p2, ext3)
 
 
DIVELK contains all the required software and documentation to start developing Linux application on the Diva platform. In particular, DIVELK provides a Virtualbox virtual machine with two emulated disks:
 
* Boot disk with pre-installed Ubuntu Linux 12.04.2 LTS and pre-configured basic Linux services (TFTP, NFS, ...)
* Secondary disk containing source code and tools:
** Bootloader (u-boot) source tree cloned from '''DAVE Embedded Systems''' public git repository
** Linux kernel source tree cloned from '''DAVE Embedded Systems''' public git repository
** Pre-installed AM335x EZSDK with setup scripts, makefiles, example applications, ...
** Toolchain
 
Please note that DIVELK u-boot and kernel source trees are derived from the official trees released by TI; these trees have been customized to add support for the Diva SOM.
 
For further information on EZSDK, please refer to [http://processors.wiki.ti.com/index.php/Sitara_SDK_5.06.00_Release_Notes Sitara SDK release notes].
 
=== DIVELK Updates ===
 
{{ImportantMessage|text=It's recommended to use the latest available DIVELK version. Please refer to [[Software_Manual_(Diva)#Release notes | Release notes]] for further information.}}
 
==== Updating git repositories ====
 
In DIVELK, the following source trees are clones of '''DAVE Embedded Systems''' public git repositories:
 
{| class="wikitable"
|-
!| Component
!GIT Remote
!DIVELK Installation Directory
|-
|Linux
|git@git.dave.eu:dave/diva/linux-am33x.git
|/home/dvdk/delk/linux-am33x.git
|-
|U-Boot
|git@git.dave.eu:dave/diva/u-boot-am33x.git
|/home/dvdk/delk/u-boot-am33x.git
|-
|}
 
This means that these components can be kept in sync and up to date with '''DAVE Embedded Systems''' repositories.
 
==== RSA key generation ====
 
Please follow the procedure reported below to generate the RSA ssh key:
 
* select your username (ad es. username@myhost.com)
* start the DVDK and login into the virtual machine
* start a shell session
* enter the .ssh subdirectory into your home directory: <code>cd ~/.ssh/</code>
* launch the following command: <br><pre>ssh-keygen -t rsa -C "username@myhost.com"</pre>
* this command creates the files <code>~/.ssh/username@myhost.com</code> ('''private key''') and <code>~/.ssh/username@myhost.com.pub</code> ('''public key''')
* edit your <code>~/.ssh/config</code> adding the following lines:
 
<pre>
Host git.dave.eu
User git
Hostname git.dave.eu
PreferredAuthentications publickey
IdentityFile ~/.ssh/username@myhost.com.pub
</pre>
 
Please send the public key file to one of the following email support addresses (depending on which SOM is included in your kit version)
 
* [mailto:support-diva@dave.eu support-diva@dave.eu]
 
with the request for the creation of a new public git account associated to your username. The support team will enable the account and send you a confirmation as soon as possible.
 
==== Synchronizing the repository ====
 
When the account is enabled, you can synchronize a source tree entering the repository directory and launching the <code>git fetch</code> command, like in the following example:
 
<pre class="workstation-terminal">
dvdk@dvdk-vm:~$ cd /home/dvdk/delk/linux-am33x.git/
dvdk@dvdk-vm:/home/dvdk/delk/linux-am33x.git$ git fetch origin
</pre>
 
Please note that <code>git fetch</code> doesn't merge the commits on the current branch. To do that, you should run
 
<pre class="workstation-terminal">
git merge origin/diva
</pre>
 
or replace the ''fetch-merge'' process with a single <code>git pull</code> command. Please note that the recommended method is the ''fetch-merge'' process. For further information on Git, please refer to [http://git-scm.com/documentation Git Documentation].
 
== Release notes ==
 
=== DIVELK 1.0.0 ===
 
* Release date: May 2013
* Status: planned
* EZSDK version: 05.06.00.00
* Supported carrier boards: DivaEVB-Lite, Dacu
 
==== Notes ====
 
* First official release
==Related Documents ==