Skip to content
/ gem5 Public
forked from gem5/gem5

Commit

Permalink
util: Use dist_bigLITTLE as an example dist-gem5 node
Browse files Browse the repository at this point in the history
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 <[email protected]>
Change-Id: I82fd5d232b6fd9a1962d0896a1d9462caad7ebed
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/62513
Reviewed-by: Richard Cooper <[email protected]>
Reviewed-by: Jason Lowe-Power <[email protected]>
Reviewed-by: Andreas Sandberg <[email protected]>
Tested-by: kokoro <[email protected]>
Maintainer: Jason Lowe-Power <[email protected]>
  • Loading branch information
giactra committed Sep 1, 2022
1 parent 566cdd8 commit e0af8bc
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions util/dist/test/test-2nodes-AArch64.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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

0 comments on commit e0af8bc

Please sign in to comment.