[PATCH] sim-scripts/qemu-malta.in: New file
Hesham Almatary
Hesham.Almatary at cl.cam.ac.uk
Fri May 25 12:04:10 UTC 2018
---
sim-scripts/Makefile | 5 ++++-
sim-scripts/qemu-malta.in | 41 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+), 1 deletion(-)
create mode 100644 sim-scripts/qemu-malta.in
diff --git a/sim-scripts/Makefile b/sim-scripts/Makefile
index 5a8a5d2..2ef4a1f 100644
--- a/sim-scripts/Makefile
+++ b/sim-scripts/Makefile
@@ -7,7 +7,7 @@ SKYEYE_SCRIPTS=ant5206 bf537Stamp-skyeye csb337 csb350 csb360 edb7312 \
TSIM_SCRIPTS=erc32-tsim leon2-tsim leon3-tsim
QEMU_SCRIPTS=pc386 qemuppc qemu-gumstix qemu-leon2 qemu-lm32_evr qemu-or1k \
uC5282 lm3s6965 realview_pbx_a9_qemu realview_pbx_a9_qemu_smp \
- xilinx_zynq_a9_qemu
+ xilinx_zynq_a9_qemu qemu-malta
GENERATED_SCRIPTS=\
${GDBSIM_SCRIPTS} $(GDBSIM_SCRIPTS:%=%-gdb) \
@@ -54,6 +54,9 @@ uC5282: gdb-sim-run.in uC5282.in
lm3s6965: gdb-sim-run.in lm3s6965.in
./mkrun no ARM arm lm3s6965
+qemu-malta: gdb-sim-run.in qemu-malta.in
+ ./mkrun no MIPS mips qemu-malta
+
realview_pbx_a9_qemu: gdb-sim-run.in realview_pbx_a9_qemu.in
./mkrun no ARM arm realview_pbx_a9_qemu
diff --git a/sim-scripts/qemu-malta.in b/sim-scripts/qemu-malta.in
new file mode 100644
index 0000000..3ba88c2
--- /dev/null
+++ b/sim-scripts/qemu-malta.in
@@ -0,0 +1,41 @@
+#
+# MIPS Malta BSP QEMU Support
+#
+
+bspUsesGDBSimulator="no"
+# bspGeneratesGDBCommands="yes"
+# bspSupportsGDBServerMode="yes"
+runBSP=NOT_OVERRIDDEN
+if [ ! -r ${runBSP} ] ; then
+ runBSP=qemu-system-mips
+fi
+bspNeedsDos2Unix="yes"
+
+runARGS()
+{
+ if [ ${coverage} = yes ] ; then
+ COVERAGE_ARG="--exec-trace ${1}.cov"
+ fi
+
+ echo "-serial mon:stdio -serial /dev/null -net none -nographic -kernel ${1}"
+}
+
+checkBSPFaults()
+{
+ return 0
+}
+
+bspLimit()
+{
+ testname=$1
+ case ${testname} in
+ *stackchk*)limit=5 ;;
+ *fatal*) limit=1 ;;
+ *minimum*) limit=1 ;;
+ *psxtime*) limit=270 ;;
+ *) limit=60 ;;
+ esac
+ echo ${limit}
+}
+
+bspGeneratesDeviceTree="no"
--
2.7.4
More information about the devel
mailing list