Installation at the Helmholtz-Zentrum Berlin

At the Helmholtz-Zentrum Berlin we have the following conventions:

  • check out rtems-from-scratch at /opt/csr/rtems/rtems-from-scratch

  • Set INSTALLTOP to /opt/csr/rtems, see also setup.sh.

This means that:

  • The cross compiler toolchain is installed at /opt/csr/rtems/crosstools/RTEMSVERSION

  • A locally build gcc, if needed, is installed at /opt/csr/rtems/gcc

  • A locally build Python 2, if needed, is installed at /opt/csr/rtems/python2

Here are command lines how to run the scripts. Note that your current working directory must be the one where rtems-from-scratch was downloaded.

Setup INSTALLTOP:

bin/setup.sh /opt/csr/rtems

If gcc needs to be built:

bin/build-gcc.sh

If Python 2 needs to be build:

bin/build-python2.sh

Build crosstools for RTEMS version ‘NN’:

bin/build-crosstools.sh CONFIG-RTEMS-NN

Building the RTEMS kernel for RTEMS version ‘NN’:

bin/build-kernel.sh CONFIG-RTEMS-NN