util: Use dist_bigLITTLE as an example dist-gem5 node
This is one of the steps towards deprecating fs.py usage With the patch we are updating the commandline and default kernel + disk image to reflect a more modern version [1] [1]: https://www.gem5.org/documentation/general_docs/\ fullsystem/guest_binaries Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Change-Id: I82fd5d232b6fd9a1962d0896a1d9462caad7ebed Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/62513 Reviewed-by: Richard Cooper <richard.cooper@arm.com> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Tested-by: kokoro <noreply+kokoro@google.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com>
This commit is contained in:
39
util/dist/test/test-2nodes-AArch64.sh
vendored
Normal file → Executable file
39
util/dist/test/test-2nodes-AArch64.sh
vendored
Normal file → Executable file
@@ -1,7 +1,7 @@
|
||||
#! /bin/bash
|
||||
|
||||
#
|
||||
# Copyright (c) 2015 ARM Limited
|
||||
# Copyright (c) 2015, 2022 Arm Limited
|
||||
# All rights reserved
|
||||
#
|
||||
# The license below extends only to copyright in the software and shall
|
||||
@@ -44,11 +44,10 @@
|
||||
|
||||
GEM5_DIR=$(pwd)/$(dirname $0)/../../..
|
||||
|
||||
IMG=$M5_PATH/disks/aarch64-ubuntu-trusty-headless.img
|
||||
VMLINUX=$M5_PATH/binaries/vmlinux.aarch64.20140821
|
||||
DTB=$M5_PATH/binaries/vexpress.aarch64.20140821.dtb
|
||||
IMG=$M5_PATH/disks/ubuntu-18.04-arm64-docker.img
|
||||
VMLINUX=$M5_PATH/binaries/vmlinux.arm64
|
||||
|
||||
FS_CONFIG=$GEM5_DIR/configs/example/fs.py
|
||||
FS_CONFIG=$GEM5_DIR/configs/example/arm/dist_bigLITTLE.py
|
||||
SW_CONFIG=$GEM5_DIR/configs/dist/sw.py
|
||||
GEM5_EXE=$GEM5_DIR/build/ARM/gem5.opt
|
||||
|
||||
@@ -60,19 +59,19 @@ DEBUG_FLAGS="--debug-flags=DistEthernet"
|
||||
|
||||
NNODES=2
|
||||
|
||||
$GEM5_DIST_SH -n $NNODES \
|
||||
-x $GEM5_EXE \
|
||||
-s $SW_CONFIG \
|
||||
-f $FS_CONFIG \
|
||||
--m5-args \
|
||||
$DEBUG_FLAGS \
|
||||
--fs-args \
|
||||
--cpu-type=atomic \
|
||||
--num-cpus=1 \
|
||||
--machine-type=VExpress_EMM64 \
|
||||
--disk-image=$IMG \
|
||||
--kernel=$VMLINUX \
|
||||
--dtb-filename=$DTB \
|
||||
--script=$BOOT_SCRIPT \
|
||||
--cf-args \
|
||||
$GEM5_DIST_SH -n $NNODES \
|
||||
-x $GEM5_EXE \
|
||||
-s $SW_CONFIG \
|
||||
-f $FS_CONFIG \
|
||||
--m5-args \
|
||||
$DEBUG_FLAGS \
|
||||
--fs-args \
|
||||
--cpu-type=atomic \
|
||||
--little-cpus=1 \
|
||||
--big-cpus=1 \
|
||||
--machine-type=VExpress_GEM5_Foundation \
|
||||
--disk=$IMG \
|
||||
--kernel=$VMLINUX \
|
||||
--bootscript=$BOOT_SCRIPT \
|
||||
--cf-args \
|
||||
$CHKPT_RESTORE
|
||||
|
||||
Reference in New Issue
Block a user