Running RTEMS 5 in Gem5 FS simulation

Đức Anh dauto98 at
Mon Apr 5 06:52:09 UTC 2021

Dear all,

I am trying to run RTEMS 5 kernel in the Gem5 simulator by following the
information here <>.
After I build the BSP for realview_pbx_a9_qemu, I run it in Gem5 using the
command in the link.

./build/ARM/gem5.opt configs/example/ --machine-type=RealView_PBX
> --kernel=/path/to/rtems/src/b-realview/arm-rtems5/c/realview_pbx_a9_qemu/testsuites/samples/ticker.exe
> --bare-metal

 but Gem5 complained about an invalid machine type error: option --machine-type: invalid choice: 'RealView_PBX' (choose
> from 'RealView', 'VExpress_EMM', 'VExpress_EMM64', 'VExpress_GEM5_Base',
> 'VExpress_GEM5_Foundation', 'VExpress_GEM5_V1', 'VExpress_GEM5_V1_Base',
> 'VExpress_GEM5_V1_HDLcd', 'VExpress_GEM5_V2', 'VExpress_GEM5_V2_Base',
> 'VExpress_GEM5_V2_HDLcd', 'VExpress_GEM5')

Then I changed to RealView, I got another error

AttributeError: object 'RealView' has no attribute 'bootmem'

Has anyone successfully run RTEMS 5 in the Gem5 simulator yet? Can you
share how to do it?

I am using Gem5 on the develop branch.

Best regards,
Duc Anh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list