Difference between revisions of "Nvidia Jetson TX1 and TX2"
(→Jailhouse support) |
(→ERIKA3 on Jailhouse) |
||
Line 23: | Line 23: | ||
== ERIKA3 on Jailhouse == | == ERIKA3 on Jailhouse == | ||
− | Once | + | Once Jailhouse has been successfully installed on the platform, you have to set-up the RT-Druid development environment and the compile the ERIKA3 RTOS. |
Given the processing performance of the TX1 platform, as well as the availability of a real OS like Linux, we aim at doing a native compilation rather than a cross-compilation. | Given the processing performance of the TX1 platform, as well as the availability of a real OS like Linux, we aim at doing a native compilation rather than a cross-compilation. | ||
Line 30: | Line 30: | ||
The [[Remote projects on RT-Druid]] page explains how to set-up the RT-Druid package for such an environment.<br> | The [[Remote projects on RT-Druid]] page explains how to set-up the RT-Druid package for such an environment.<br> | ||
− | + | ||
+ | == Simple example == | ||
+ | |||
+ | We now illustrate how a simple example of two tasks printing a message on the serial interface can be run on the Nvidia TX1 platform. | ||
+ | |||
+ | # | ||
+ | |||
[[Category:Boards]] | [[Category:Boards]] |
Revision as of 16:09, 1 March 2018
Introduction
The ERIKA3 RTOS can be run as a guest OS of the Jailhouse hypervisor on the Nvidia Tegra Jetson TX1 board.
Such support has been developed in the context of the HERCULES European project.
It has been also shown through a [https://www.youtube.com/watch?v=skIcAkXfNWQ&t=3s YouTube video).
This section explains how to build and install Jailhouse on the TX1 target and how to create an ERIKA3 guest (AKA Jailhouse inmate).
Platform setup
Use Nvidia Jetpack 3.1 to flash the Linux distribution by Nvidia onto the TX1 platform.
JetPack is a tool that runs on an Ubuntu host machine and installs Linux on the TX1 platform.
Note that the host machine and the platform must be connected through an OTG USB cable.
Jailhouse support
For installing Jailhouse on the TX1 platform, please refer to the README available on the Jailhouse tree on our GitHub. It also provides information about serial port and static IP configuration.
Note that the information is provided for the default Linux kernel provided by Nvidia (not Vanilla). You can refer to the original project page in case you run a Vanilla Linux kernel.
ERIKA3 on Jailhouse
Once Jailhouse has been successfully installed on the platform, you have to set-up the RT-Druid development environment and the compile the ERIKA3 RTOS.
Given the processing performance of the TX1 platform, as well as the availability of a real OS like Linux, we aim at doing a native compilation rather than a cross-compilation. Unfortunately, the Eclipse IDE requires an x86 platform with a fair amount of resources (in terms of both processing and memory). We therefore need to set-up a host-target environment, where the x86 host runs the Eclipse IDE (with the RT-Druid plugin for code generation) and the TX1 target performs the final step of compilation.
The Remote projects on RT-Druid page explains how to set-up the RT-Druid package for such an environment.
Simple example
We now illustrate how a simple example of two tasks printing a message on the serial interface can be run on the Nvidia TX1 platform.