Discussion:
[gem5-users] Device Tree Blob(dtb) file to use with aarch64
Kleovoulos Kalaitzidis
2018-10-17 12:15:54 UTC
Permalink
Hello,
I want to simulate gem5 full-system with armv8 and to do that I have downloaded the latest ARM full-system (aarch-system-20180409).
Since I am heading for armv8, I got to use the image for aarch64-ubuntu and then the kernel vmlinux.vexpress_emm64 together wth
binary boot_emm.arm64. What I am not sure is which dtb file I should combine with them in order to have a correct system simulation.
For machine-type VExpress_EMM64 the FSConfig.py file has as default the "vexpress.aarch64.20140821.dtb" so I thought I will find the
equivalent in the folder of 2018. I do not see something matching exactly and I did not find a lot of documentation so I would be grateful
if somebody can help.

Thank you in advace,
Kind regards
--
Kleovoulos Kalaitzidis
Doctorant - Équipe PACAP

Centre de recherche INRIA Rennes - Bretagne Atlantique
Bâtiment 12E, Bureau E321, Campus de Beaulieu,
35042 Rennes Cedex, France
Ciro Santilli
2018-10-17 12:36:12 UTC
Permalink
I recommend that you compile the dtbs present in the source tree
yourself and point gem5 to them.

This works on master:

build/ARM/gem5.opt \
configs/example/fs.py \
--disk-image rootfs.ext2 \
--kernel vmlinux \
system/arm/dt/armv8_gem5_v1_1cpu.dtb \
--machine-type VExpress_GEM5_V1

M5 still needed to pick up the bootloader.
On Wed, Oct 17, 2018 at 1:16 PM Kleovoulos Kalaitzidis
Post by Kleovoulos Kalaitzidis
Hello,
I want to simulate gem5 full-system with armv8 and to do that I have downloaded the latest ARM full-system (aarch-system-20180409).
Since I am heading for armv8, I got to use the image for aarch64-ubuntu and then the kernel vmlinux.vexpress_emm64 together wth
binary boot_emm.arm64. What I am not sure is which dtb file I should combine with them in order to have a correct system simulation.
For machine-type VExpress_EMM64 the FSConfig.py file has as default the "vexpress.aarch64.20140821.dtb" so I thought I will find the
equivalent in the folder of 2018. I do not see something matching exactly and I did not find a lot of documentation so I would be grateful
if somebody can help.
Thank you in advace,
Kind regards
--
Kleovoulos Kalaitzidis
Doctorant - Équipe PACAP
Centre de recherche INRIA Rennes - Bretagne Atlantique
Bâtiment 12E, Bureau E321, Campus de Beaulieu,
35042 Rennes Cedex, France
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Loading...