There is no work yet to create a port of GDP-ivi9 to Jetson. Feel free to contribute to it.
The purpose of this document is to explain how to quickly setup the hardware and install the GENIVI Demo Platform (GDP) on the NVIDIA Jetson TK1 development board, using Baserock. There are two ways you can go about deploying the GDP image for a Jetson, both will be described here
NVIDIA Jetson TK1
Please refer to this link for detailed hardware specifications.
Deploy from binary image
To deploy the binary image, follow the instructions to Flash a Baserock Development image onto the Jetson at http://wiki.baserock.org/guides/baserock-jetson/, but in Step 2 ("Flashing the Jetson", substitute 'baserock-current-build-system-armv7lhf-jetson' for 'genivi-demo-platform-armv7lhf-jetson'.
git clone https://gitlab.com/jamesthomas/baserock-flashing-tools.git cd baserock-flashing-tools/ curl -k -O http://download.baserock.org/baserock/genivi-demo-platform-armv7lhf-jetson.img.gz gunzip genivi-demo-platform-armv7lhf-jetson.img.gz bash baserock-flash.sh genivi-demo-platform-armv7lhf-jetson.img jetson-tk1
It is recommended that you back-up the .img.gz before imaging, as there are recorded cases of the imaging going wrong and attempting to delete the contents of the image.
Build it yourself
Deploy a development environment to your Jetson
Note that the recommended version of Baserock for the GENIVI Demo Platform is 15.34 (i.e. when instructions specify a 'baserock-current' system, a 'baserock-15.34' system is recommended, instead).
First thing we need to do is flash your Jetson with a Baserock development image, there is a guide and automated script for doing this on the Baserock wiki page http://wiki.baserock.org/guides/baserock-jetson/. It is *highly* recommended you attach an external sata drive to your jetson, if you intend to use this as a development platform as well.
Once you've done that, follow the getting started guide on the Baserock wiki http://wiki.baserock.org/quick-start/ to make sure morph etc is all correctly setup.
If you are using the latest morph (i.e. following instructions from http://wiki.baserock.org/using-latest-morph/), you may want to check out the commit '60c378c55d5d0ef89184b49ae95e445f8de422e3', which is the version of morph that comes with baserock-15.34. You can also copy and paste the following commands:
cd /src git clone--origin=gerrit cd morph git checkout 60c378c55d5d0ef89184b49ae95e445f8de422e3 cd /usr/bin mv morph morph.dist cat >morph <<'EOF' #!/bin/sh morphpath=/src/morph PYTHONPATH="$morphpath" "$morphpath/morph" "$@" EOF chmod +x morph
Once you've done that you're ready to build and deploy the GDP!
Create an image to deploy
First let's checkout the current GDP tag
cd /src git clone git://git.baserock.org/baserock/baserock/definitions gdp cd gdp git checkout GENIVI-K1.0.1
Now we're ready to build
morph build systems/genivi-demo-platform-armv7lhf-jetson.morph
This might take some hours to complete given that the artefacts for this version are not pre-cached.
Once that has finished you're ready to deploy
Deploy the image to your Jetson
You can use the upgrade functionality of morph to deploy your new system directly to the board. The cluster morphology (a definition that includes how to deploy a system) in 'clusters/gdp-jetson-upgrade.morph' will be of use here. Select a sensible version label (e.g. gdp-test-1), you can check which version labels are already used by running:
After that, simply run:
morph deploy --upgrade clusters/gdp-jetson-upgrade.morph self.HOSTNAME=$(hostname) self.VERSION_LABEL=<version label>
Once that has completed, check whether the deployment has completed successfully, by running `system-version-manager list` again. One line should have your specified version label, followed by "(default") e.g.
Reboot your Jetson, and you should reboot into the GENIVI Demo Platform.
A video demonstration is available at https://player.vimeo.com/video/132518058