Port of jRate to MaRTE OS (running in a barebone machine)
Here you can find more information about the port of jRate to run in MaRTE OS in a barebone machine.

jRate is an open-source implementation of the RTSJ (Real-Time Specification for Java). It is an extension to the GNU Compiler for Java (GCJ), providing functions necessary for the execution of RTSJ-compliant applications. jRate is an ahead-of-time middleware, that is, the RTSJ application is not interpreted by a Virtual Machine (VM). Instead, the application is compiled into native code. More information and download options for jRate can be found at jRate.

MaRTE OS (Minimal Real-Time Operating System for Embedded Applications) is an open-source real-time kernel for embedded applications. Its implementation extends the Minimal Real-Time POSIX.13 subset with CPU-time clocks. More information and download options for MaRTE OS can be found at MaRTE OS.

Besides running in a barebone PC, MaRTE OS can also run as a library under a Linux distribution. In this mode, the application uses the features of MaRTES OS and also the features found in the underlying Linux system. Based on this version, Mario Aldea Rivas, provided a patch for jRate, which enables its execution in MaRTE OS (running on top of Linux). This can be found at the MaRTE OS web-page.
Based on this port, we defined a new port that enables jRate applications to run under MaRTE OS. In order to install this version, the following steps have to be followed:
  1. Install Ada GAP (version 1.0.1) -- add the bin folder to your PATH
  2. Create a folder jRate that will hold the whole environment inside it
  3. Install MaRTE OS version 1.57 (library version) in the folder marte-lib, inside the main folder (jRate/marte-lib)
  4. Install MaRTE OS version 1.57 (barebone machine) in the folder marte-os, inside the main folder (jRate/marte-os)
  5. Download the following file patch-jrate-marte-1.57_0.1.tgz and extract (tar -zxvf) on the main folder (jRate). This will apply a patch to MaRTE OS (both library and barebone versions). After that you need to edit some files, see the README.txt file inside it
  6. Download the file containing the port jrate-marte-0.0.2-07_03_08.tgz and extract (tar -zxvf) on the main folder (jRate). This will create the following folders: GNU (includes the sources of GCC 3.3.1 patched for jRate and the port), jRate (source files for jRate version 0.3.4-3.3.2, also patched for the port), jRate-gcc (after compilation, this will contain the library files of jRate) and bin (scripts used to compile applications, and also the system). See the README-JRATE-MARTE.txt file for more information.
This version of jRate has been tested on a Slackware 11.0 Linux Distribution with Kernel 2.6.17.13 and the following software installed, GCC 3.3.1 (GCC BASE, GCC G++ and GCC JAVA) and LIBTOOL 1.4.3. If you encounter any problems installing or using the software, please contact me: osantos@cs.york.ac.uk .

Last update 30/01/2008.