Open main menu

DAVE Developer's Wiki β

Changes

How to update NELK

1,446 bytes added, 09:29, 16 November 2020
no edit summary
{{InfoBoxTop}}
{{AppliesToNaonFamily}}
{{Applies_To_DVDK}}
{{InfoBoxBottom}}
= Updating git repositories =
 
Starting with NELK 4.0.0, the following source trees are clones of '''DAVE Embedded Systems''' public git repositories:
 
 
{| class="wikitable"
|-
!| Component
!GIT Remote
!NELK Installation Directory
|-
|EZSDK *
|git@git.dave.eu:dave/naon/sdk-x.xx.xx.xx.git
|/home/shared/devel/dave/naon-DAA/sw/linux/sdk/sdk-x.xx.xx.xx
|-
|Linux
|git@git.dave.eu:dave/naon/linux-omap3.git
|/home/shared/devel/dave/naon-DAA/sw/linux/sdk/sdk-x.xx.xx.xx/board-support/linux-omap3.git
|-
|U-Boot
|git@git.dave.eu:dave/naon/u-boot-omap3-arago.git
|/home/shared/devel/dave/naon-DAA/sw/linux/sdk/sdk-x.xx.xx.xx/board-support/u-boot-omap3-arago.git
|-
|GStreamer
|git@git.dave.eu:dave/naon/gstreamer_ti.git
|/home/shared/devel/dave/naon-DAA/sw/linux/sdk/sdk-x.xx.xx.xx/component-sources/gstreamer_ti
|}
 
This means that these components can be kept in sync and up to date with '''DAVE Embedded Systems''' repositories.
 
* N.B. '''sdk-x.xx.xx.xx''' is just a placeholder that must be replaced with the actual sdk version (eg: sdk-5.05.02.00).
== RSA key generation ==
* 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"-f 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:
Hostname git.dave.eu
PreferredAuthentications publickey
IdentityFile ~/.ssh/username@myhost.com.pub
</pre>
* [mailto:support-dido@dave.eu support-dido@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 pullfetch</code> command, like in the following example:
<pre class="workstation-terminal">
nelk@nelk-desktop:~$ cd /home/shared/devel/dave/naon-DAA/sw/linux/sdk/sdk-5.05.02.00/board-support/linux-omap3.git/
nelk@nelk-desktop:/home/shared/devel/dave/naon-DAA/sw/linux/sdk/sdk-5.05.02.00/board-support/linux-omap3.git$ git pullfetch 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">
nelk@nelk-desktop:/home/shared/devel/dave/naon-DAA/sw/linux/sdk/sdk-5.05.02.00/board-support/linux-omap3.git$ git merge origin/naon
</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].
= Installing the upgrade package =
{{ImportantMessage|text=The update package consists in a compressed archive (nelk-x.y.x.tar.bz2). It can be downloaded from [http://www.dave.eu/dave-cpu-module-am387x-dm814x-naon.html#developmentkits DAVE website] or it can be found on Please send your request to the NELK distribution (SD card or USB pen drive)email support address}}
# Start the DVDK virtual machine
8,226
edits