Running RTEMS 5 in Gem5 FS simulation
Gedare Bloom
gedare at rtems.org
Mon Apr 5 17:07:13 UTC 2021
Hi Duc Anh,
I think I am probably the only person who ever ran this. gem5 has
removed the RealViewPBX platform since 10/2019, see
gem5.git at commit e5914503f747d6e5213d08597a7da4aa95edcf59
Now they only support the RealView vexpress device. I don't know if
the vexpress device can be booted with RTEMS or not, never tried or
looked at it. You might be able to hack back *in* the RealViewPBX
device to add to gem5. I suggest you discuss how to do this in
gem5-users mailing list most likely.
Gedare
On Mon, Apr 5, 2021 at 6:47 AM Đức Anh <dauto98 at gmail.com> wrote:
>
> 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/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
>
>
> but Gem5 complained about an invalid machine type
>
>> 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')
>
>
> 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
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
More information about the users
mailing list