Open main menu

DAVE Developer's Wiki β

Changes

How to update NELK

725 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 '''DAVEEmbedded Systems'''s public git repositories:
!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
|}
This means that these components can be kept in sync and up to date with '''DAVE Embedded Systems''' repositories.
This means * N.B. '''sdk-x.xx.xx.xx''' is just a placeholder that these components can must be kept in sync and up to date replaced with DAVE's repositoriesthe 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 =
8,226
edits