NOEL-ARTYA7-EX-QSG
December 2020, Version 1.2
18
www.cobhamaes.com/gaisler
if failing tests can be explained by general RTEMS issues, RISC-V issues in RTEMS, or because of the NOEL-
V integration.
5.10. Building the tool chain
The host tools can be built using the rtems-source-builder, as described at [RD-4]. A git patch file is included in
the binary distribution which adds additinoal multilibs.
rtems-noel
tools were built using this patch applied
on top of rtems-source-builder. The commit hash is specified in the
README
of the binary tool chain distribution.
An example on how to build the tool chain is provided below.
Example 5.4.
export THE_PREFIX=/opt/my-rtems-noel
export THE_RSB_REPO="git://git.rtems.org/rtems-source-builder.git"
export THE_RSB_COMMIT=5.1
export THE_RSB_PATCHES=/opt/rtems-noel-1.0.4/0001-noel-multilibs-for-gcc-9.3.0.patch
git clone $THE_RSB_REPO rsb
pushd rsb
git checkout -b noel $THE_RSB_COMMIT
git apply $THE_RSB_PATCHES --check
git am $THE_RSB_PATCHES
popd
pushd rsb/rtems
../source-builder/sb-set-builder --prefix=$THE_PREFIX 5/rtems-riscv
popd