Installation at the Helmholtz-Zentrum Berlin

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

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

  • INSTALLTOP is always /opt/csr/lib/rtems

This means that:

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

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

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

Here are command lines how to run the scripts

If gcc needs to be built:

bin/build-gcc.sh /opt/csr/lib/rtems

If Python 2 needs to be build:

bin/build-python2.sh /opt/csr/lib/rtems

Crosstools for RTEMS version ‘NN’:

bin/build-crosstools.sh /opt/csr/lib/rtems CONFIG-RTEMS-NN

Building the RTEMS kernel for RTEMS version ‘NN’:

bin/build-kernel.sh /opt/csr/lib/rtems CONFIG-RTEMS-NN