<div dir="ltr">Dear all,<div><br></div><div>I am trying to run RTEMS 5 kernel in the Gem5 simulator by following the information <a href="https://devel.rtems.org/wiki/Developer/Simulators/gem5" target="_blank">here</a>. After I build the BSP for realview_pbx_a9_qemu, I run it in Gem5 using the command in the link.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">./build/ARM/gem5.opt configs/example/fs.py --machine-type=RealView_PBX --kernel=/path/to/rtems/src/b-realview/arm-rtems5/c/realview_pbx_a9_qemu/testsuites/samples/ticker.exe --bare-metal</blockquote><div><br></div><div> but Gem5 complained about an invalid machine type</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">fs.py: 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')</blockquote><div><br></div><div>Then I changed to RealView, I got another error</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">AttributeError: object 'RealView' has no attribute 'bootmem'</blockquote><div><br></div><div>Has anyone successfully run RTEMS 5 in the Gem5 simulator yet? Can you share how to do it?</div><div><br></div><div>I am using Gem5 on the develop branch.</div><div><br></div><div>Best regards,</div><div>Duc Anh</div></div>