Changes

Jump to: navigation, search

How to update NELK

325 bytes added, 15:00, 30 November 2012
m
Installation Steps
{{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 the NELK distribution (SD card or USB pen drive)}}
* # Start the DVDK virtual machine* # '''Take a snapshot of the current VM state'''. This creates a sort of "backup" which can be used to restore the previous installation. We '''recommend''' to take the snapshot because to do the update you need to remove the previous SDK (unless you have extended the disk space - see [[VirtualBox Extending Disk Size]])<br><br>[[File: Vm-take-snapshot.png|600px]]<br><br>* # Fetch the nelk-x.y.x.tar.bz2 file. You have several options, including the following options:#** download downloading it from inside the virtual machine (with a browser or file downloader);#** share sharing the file from a shared folder on the host machine using the "Shared Folder" feature (you need to have the Virtual Guest extension installed, see [[VirtualBox Shared folders]]);#** share sharing the file from a shared folder on the local network (you need to have a working network configuration, see [[VirtualBox Network Configuration]];* # Open a terminal emulator* # Enter the '''sdk''' directory: <code>cd /home/shared/devel/dave/naon-DAA/sw/linux/sdk</code>* # Remove the symbolic link to the root file system: <code>rm rfs/nelk</code># Check the available disk space: <code>df -m</code>#* Unless if you have enough space more than 3 GB available on (check the <code>/dev/sda1</code> line), you can proceed to the next step without removing the VM disk (previous sdk version#* if you should have extended it following less than 3 GB available, you can follow the [[VirtualBox Extending Disk Size]] guide)to free some space and continue the procedure to the next step; otherwise, you must remove the previous sdk directory: <code>rm -fr sdk-x.xx.xx.xx</code>* # Un-compress the archive: <code>sudo tar xvjf <path-to-update-archive>nelk-x.y.z.tar.bz2</code>. Include in the command the actual path to the nelk-x.y.x.tar.bz2 archive according on how you fetched it
The new components ('''sdk-x.xx.xx.xx''' directory, '''rfs/nelk-x.xx.xx.xx''' root file system and '''rfs/nelk''' symbolic link) will be installed into the <code>/home/shared/devel/dave/naon-DAA/sw/linux/sdk</code> directory.

Navigation menu