mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
GEM5 aarch64
This commit is contained in:
4
run
4
run
@@ -65,7 +65,7 @@ M5_PATH='$(pwd)/gem5/gem5-system' \
|
||||
--kernel='${outdir}/build/linux-custom/vmlinux' \
|
||||
--root-device=/dev/sda \
|
||||
"
|
||||
elif [ "$arch" = arm ]; then
|
||||
elif [ "$arch" = arm ] || [ "$arch" = aarch64 ]; then
|
||||
cmd="\
|
||||
M5_PATH='$(pwd)/gem5/gem5-system' \
|
||||
$debug_vm \
|
||||
@@ -73,7 +73,7 @@ $debug_vm \
|
||||
'${gem5_dir}/configs/example/fs.py' \
|
||||
--command-line='earlyprintk=pl011,0x1c090000 console=ttyAMA0 lpj=19988480 rw loglevel=8 mem=512MB root=/dev/sda $extra_append' \
|
||||
--disk-image='${outdir}/images/rootfs.ext2' \
|
||||
--dtb-file='${gem5_dir}/system/arm/dt/armv7_gem5_v1_1cpu.dtb' \
|
||||
--dtb-file='${gem5_dir}/system/arm/dt/$([ "$arch" = arm ] && echo armv7_gem5_v1_1cpu || echo armv8_gem5_v1_1cpu).dtb' \
|
||||
--kernel='${outdir}/build/linux-custom/vmlinux' \
|
||||
--machine-type=VExpress_GEM5_V1 \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user