Skip to content

Commit 8902235

Browse files
committed
fs_bigLITTLE: patch gem5 like a pro without checkout
1 parent 0a30aa7 commit 8902235

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5516,7 +5516,7 @@ arch=aarch64
55165516
# Generate a checkpoint after Linux boots.
55175517
# The boot takes a while, be patient young Padawan.
55185518
printf 'm5 exit' > data/readfile
5519-
./run -a "$arch" -g -F 'm5 checkpoint;m5 readfile > a.sh;sh a.sh'
5519+
./run -a "$arch" -g -F '/5 checkpoint;m5 readfile > a.sh;sh a.sh'
55205520
55215521
# Restore the checkpoint, and run the benchmark with parameter 1.000.
55225522
# We skip the boot completely, saving time!
@@ -6522,7 +6522,6 @@ The `-X-b` option enables the alternative `configs/example/arm/fs_bigLITTLE.py`
65226522
First apply:
65236523

65246524
....
6525-
cd gem5/gem5
65266525
echo '
65276526
diff --git a/configs/example/arm/fs_bigLITTLE.py b/configs/example/arm/fs_bigLITTLE.py
65286527
index 7d66c03a6..d71e714fe 100644
@@ -6537,7 +6536,7 @@ index 7d66c03a6..d71e714fe 100644
65376536
"rw",
65386537
"init=%s" % options.kernel_init,
65396538
"vmalloc=768MB",
6540-
' | patch -p1
6539+
' | patch -d gem5/gem5 -p1
65416540
....
65426541

65436542
then:

0 commit comments

Comments
 (0)