Difference between revisions of "Nvidia Jetson TX1 and TX2"
(→ERIKA3 on Jailhouse) |
(→ERIKA3 on Jailhouse) |
||
Line 29: | Line 29: | ||
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. | 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. | + | The [[Remote projects on RT-Druid]] page explains how to set-up the RT-Druid package for such an environment.<br> |
− | + | Then, the [[ERIKA on the Jailhouse hypervisor]] page explains how ERIKA3 can be compiled natively on the platform. | |
[[Category:Boards]] | [[Category:Boards]] |
Revision as of 15:36, 23 February 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 that Jailhouse has been successfully installed on the platform, we 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.
Then, the ERIKA on the Jailhouse hypervisor page explains how ERIKA3 can be compiled natively on the platform.