summaryrefslogtreecommitdiff
path: root/sim-scripts
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-11-04 19:29:41 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-11-04 19:29:41 +0000
commitfb7bd20500b7799a195605ed0732eb42fbebb908 (patch)
tree5b5ee4883128d8667016448b2c6a2b9037b8780c /sim-scripts
parent5b46ab3ec8528d2deb4e4aec8002c2205eb6c0f6 (diff)
2011-11-04 Joel Sherrill <joel.sherrilL@OARcorp.com>
* pc386.in: Use CPU supported by older qemu. * uC5282.in: Use trace argument supported by newer qemu.
Diffstat (limited to 'sim-scripts')
-rw-r--r--sim-scripts/ChangeLog5
-rw-r--r--sim-scripts/pc386.in4
-rw-r--r--sim-scripts/uC5282.in2
3 files changed, 9 insertions, 2 deletions
diff --git a/sim-scripts/ChangeLog b/sim-scripts/ChangeLog
index 128739e..c1dec57 100644
--- a/sim-scripts/ChangeLog
+++ b/sim-scripts/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-04 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ * pc386.in: Use CPU supported by older qemu.
+ * uC5282.in: Use trace argument supported by newer qemu.
+
2011-09-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* lm3s6965.in.: New file.
diff --git a/sim-scripts/pc386.in b/sim-scripts/pc386.in
index 29c05d6..ca4519d 100644
--- a/sim-scripts/pc386.in
+++ b/sim-scripts/pc386.in
@@ -59,7 +59,9 @@ runARGS()
# -cpu 486
# can also redirect to file with file:log/"`basename ${1} .exe`
SERIAL_ARG="stdio"
- echo "-m 512 -boot a -cpu core2duo \
+# core2duo with newer qemu for smp support
+# 486 or pentium for older qemu
+ echo "-m 512 -boot a -cpu 486 \
-fda ${fd0Image} -hda fat:${hd0Dir} ${COVERAGE_ARG} \
-monitor null -nographic -serial ${SERIAL_ARG} --no-reboot"
}
diff --git a/sim-scripts/uC5282.in b/sim-scripts/uC5282.in
index 31b2dc1..4bd20f5 100644
--- a/sim-scripts/uC5282.in
+++ b/sim-scripts/uC5282.in
@@ -20,7 +20,7 @@ runARGS()
{
if [ ${coverage} = yes ] ; then
rm -f trace ${1}.tra
- COVERAGE_ARG="-trace ${1}.tra"
+ COVERAGE_ARG="-exec-trace ${1}.tra"
fi
echo "-M uc5282 -nographic ${COVERAGE_ARG} -kernel ${1}"