Open main menu

DAVE Developer's Wiki β

Changes

How to update NELK

3,243 bytes added, 09:29, 16 November 2020
no edit summary
{{InfoBoxTop}}
{{AppliesToNaonFamily}}
{{Applies_To_DVDK}}
{{InfoBoxBottom}}
{{ImportantMessage|text=We assume that the DVDK provided with a previous kit version is already installed on the system}}
= Installation Steps Updating git repositories =
Starting with NELK 4.0.0, the following source trees are clones of '''DAVE Embedded Systems''' public git repositories:  {{ImportantMessage|textclass=The update package consists "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 compressed archive placeholder that must be replaced with the actual sdk version (eg: sdk-5.05.02.00). == RSA key generation == Please follow the procedure reported below to generate the RSA ssh key: * select your username (nelkad 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" -xf username@myhost.com</pre>* this command creates the files <code>~/.ssh/username@myhost.ycom</code> ('''private key''') and <code>~/.xssh/username@myhost.tarcom.bz2pub</code> ('''public key''')* edit your <code>~/. It can be downloaded from [httpssh/config</code> adding the following lines<pre>Host git.dave.eu User git Hostname git.dave.eu PreferredAuthentications publickey IdentityFile ~/.ssh/username@myhost.com</wwwpre> 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-naon@dave.eu support-naon@dave.eu]* [mailto:support-maya@dave.eu support-maya@dave.eu]* [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 fetch</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-cpuDAA/sw/linux/sdk/sdk-module5.05.02.00/board-am387xsupport/linux-dm814xomap3.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">nelk@nelk-desktop:/home/shared/devel/dave/naon-DAA/sw/linux/sdk/sdk-5.05.02.html#developmentkits DAVE website] 00/board-support/linux-omap3.git$ git merge origin/naon</pre> or it can be found 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 NELK distribution upgrade package = {{ImportantMessage|text=The update package consists in a compressed archive (SD card or USB pen drivenelk-x.y.x.tar.bz2). Please send your request to the email support address}}
# Start the DVDK virtual machine
8,226
edits