util: Update run_gem5_fs.sh script with AArch64 platform

The example script is using VExpress_EMM, which is a deprecated platform
and it is referring to an AArch32 kernel. With this patch we
use the VExpress_GEM5_Foundation platform instead and point
to a AArch64 kernel

Change-Id: I961d5d5de71bc284c7492ee7b04088148909ca1b
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/66856
Maintainer: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Matthias Jung <jungma@eit.uni-kl.de>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Giacomo Travaglini
2022-12-20 08:43:59 +00:00
parent a533cb246c
commit 7238df7859
2 changed files with 6 additions and 7 deletions

View File

@@ -145,10 +145,9 @@ C++-configured gem5 using normal gem5
> ../../build/ARM/gem5.opt ../../configs/example/fs.py \
--tlm-memory=transactor --cpu-type=TimingSimpleCPU --num-cpu=1 \
--mem-type=SimpleMemory --mem-size=512MB --mem-channels=1 --caches \
--l2cache --machine-type=VExpress_EMM \
--dtb-filename=vexpress.aarch32.ll_20131205.0-gem5.1cpu.dtb \
--kernel=vmlinux.aarch32.ll_20131205.0-gem5 \
--disk-image=linux-aarch32-ael.img
--l2cache --machine-type=VExpress_GEM5_Foundation \
--kernel=vmlinux.arm64 \
--disk-image=ubuntu-18.04-arm64-docker.img
The message "fatal: Can't find port handler type 'tlm_slave'" is okay.
The configuration will be stored in the m5out/ directory

View File

@@ -42,9 +42,9 @@ echo -e "\n${BGre}Create gem5 Configuration${RCol}\n"
--mem-size=512MB \
--mem-channels=1 \
--caches --l2cache \
--machine-type=VExpress_EMM \
--dtb-filename=vexpress.aarch32.ll_20131205.0-gem5.1cpu.dtb \
--kernel=vmlinux.aarch32.ll_20131205.0-gem5
--machine-type=VExpress_GEM5_Foundation \
--kernel=vmlinux.arm64 \
--disk-image=ubuntu-18.04-arm64-docker.img
echo -e "\n${BGre}Run gem5 ${RCol}\n"