gem5 startup script: revisited fs.py to get rid of ARM linux images

In former versions, the aforementioned image was 'required' to run
gem5 although it wasn't actually used at all. With the new python
script fail_fs.py, it suffices to start gem5 on a target foo.elf by
simply typing $ ../scripts/run-gem5.sh path/to/target/foo.elf

Change-Id: I7f48460e50d48d55fe22f2381e2ae8aec8510233
This commit is contained in:
Adrian Böckenkamp
2013-08-14 17:33:00 +02:00
committed by Gerrit Code Review
parent c0121b1a9b
commit 5e238cc3f9
2 changed files with 191 additions and 0 deletions

6
scripts/run-gem5.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
#
# - needs to be called from within your build directory (i.e., $FAIL/build/)
# - expects 1 argument: path to experiment target (any location is possible)
../simulators/gem5/build/ARM/gem5.debug ../simulators/gem5/configs/example/fail_fs.py --kernel "$1"