fs_bigLITTLE: patch gem5 like a pro without checkout

This commit is contained in:
Ciro Santilli
2018-06-18 10:44:35 +01:00
parent 0a30aa70dd
commit 8902235edb

View File

@@ -5516,7 +5516,7 @@ arch=aarch64
# Generate a checkpoint after Linux boots.
# The boot takes a while, be patient young Padawan.
printf 'm5 exit' > data/readfile
./run -a "$arch" -g -F 'm5 checkpoint;m5 readfile > a.sh;sh a.sh'
./run -a "$arch" -g -F '/5 checkpoint;m5 readfile > a.sh;sh a.sh'
# Restore the checkpoint, and run the benchmark with parameter 1.000.
# We skip the boot completely, saving time!
@@ -6522,7 +6522,6 @@ The `-X-b` option enables the alternative `configs/example/arm/fs_bigLITTLE.py`
First apply:
....
cd gem5/gem5
echo '
diff --git a/configs/example/arm/fs_bigLITTLE.py b/configs/example/arm/fs_bigLITTLE.py
index 7d66c03a6..d71e714fe 100644
@@ -6537,7 +6536,7 @@ index 7d66c03a6..d71e714fe 100644
"rw",
"init=%s" % options.kernel_init,
"vmalloc=768MB",
' | patch -p1
' | patch -d gem5/gem5 -p1
....
then: