Version 1 (modified by Gedare Bloom, on May 19, 2017 at 4:21:25 PM) (diff)

New page.


RTEMS can run in the open source cycle-accurate processor simulator gem5. The primary use of gem5 is to support architecture research. The following RTEMS BSPs work:

  • SPARC - sparc64/usiii
  • ARM - arm/realview_pbx_a9_qemu

Getting Started

You'll need to build gem5. Follow the getting started directions 1-4.


Download from 5 the ARM Full-System Files and put the 'binaries' and 'disks' into /dist/m5/system (by default). Read the gem5 documentation if you need to put the files somewhere else.

If you succeeded at running scons build/ARM/gem5.opt (or similar), and you have configured and compiled RTEMS for the realview_pbx_a9_qemu BSP, you can run applications using a command such as: ` build/ARM/gem5.opt configs/example/ --kernel=${HOME}/work/rtems/builds/b-realview/arm-rtems4.12/c/realview_pbx_a9_qemu/testsuites/samples/ticker/ticker.exe --mem-size=256MB --bare-metal --machine-type=RealView_PBX --dtb-filename=None --enable-security-extensions `


Read through this blog post, although a bit dated, it contains useful information for getting started with SPARC. Replace SPARC_FS with SPARC.