summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sim-scripts/.cvsignore8
-rw-r--r--sim-scripts/ChangeLog7
-rw-r--r--sim-scripts/Makefile27
-rw-r--r--sim-scripts/ant5206.in45
-rw-r--r--sim-scripts/bf537Stamp.in43
-rw-r--r--sim-scripts/csb337.in50
-rw-r--r--sim-scripts/csb350.in45
-rw-r--r--sim-scripts/csb360.in43
-rw-r--r--sim-scripts/ezkit533.in43
-rw-r--r--sim-scripts/rtl22xx.in48
-rw-r--r--sim-scripts/smdk2410.in46
11 files changed, 404 insertions, 1 deletions
diff --git a/sim-scripts/.cvsignore b/sim-scripts/.cvsignore
index 2700fb4..ba1bd67 100644
--- a/sim-scripts/.cvsignore
+++ b/sim-scripts/.cvsignore
@@ -1,4 +1,10 @@
+ant5206
+bf537Stamp
+csb337
+csb350
+csb360
edb7312
+ezkit533
h8sim
h8sim-gdb
jmr3904
@@ -9,6 +15,8 @@ m32rsim
m32rsim-gdb
psim
psim-gdb
+rtl22xx
+smdk2410
simsh
simsh-gdb
sis
diff --git a/sim-scripts/ChangeLog b/sim-scripts/ChangeLog
index 6504866..c650837 100644
--- a/sim-scripts/ChangeLog
+++ b/sim-scripts/ChangeLog
@@ -1,5 +1,12 @@
2009-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * .cvsignore, Makefile: Add rest of Skyeye configurations whether
+ they work completely at this point or not.
+ * ant5206.in, bf537Stamp.in, csb337.in, csb350.in, csb360.in,
+ ezkit533.in, rtl22xx.in, smdk2410.in: New files.
+
+2009-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* Makefile, edb7312.in, gdb-sim-run.in, gdb-sim.in, h8sim.in,
jmr3904.in, m32csim.in, m32rsim.in, psim.in, simsh.in, sis.in,
skyeye-support: Find run or gdb along PATH. Check for multiple RTEMS
diff --git a/sim-scripts/Makefile b/sim-scripts/Makefile
index 2ede5b0..eeda4ae 100644
--- a/sim-scripts/Makefile
+++ b/sim-scripts/Makefile
@@ -6,7 +6,8 @@ INSTALL_DIR=../bin
GENERATED_SCRIPTS=h8sim h8sim-gdb jmr3904 jmr3904-gdb \
m32csim m32csim-gdb m32rsim m32rsim-gdb psim psim-gdb \
sis sis-gdb simsh simsh-gdb
-SKYEYE_SCRIPTS=edb7312
+SKYEYE_SCRIPTS=ant5206 bf537Stamp csb337 csb350 csb360 edb7312 ezkit533 \
+ rtl22xx smdk2410
COMPILED_PROGRAMS=usleep
all: prep ${GENERATED_SCRIPTS} ${SKYEYE_SCRIPTS} ${COMPILED_PROGRAMS} install
@@ -18,9 +19,33 @@ usleep: usleep.c
$(CC) -o $@ $<
### Skyeye Simulator BSPs
+ant5206: gdb-sim-run.in ant5206.in
+ ./mkrun no M68K-Coldfire m68k ant5206
+
+csb337: gdb-sim-run.in csb337.in
+ ./mkrun no ARM arm csb337
+
+csb350: gdb-sim-run.in csb350.in
+ ./mkrun no MIPS mips csb350
+
+csb360: gdb-sim-run.in csb360.in
+ ./mkrun no M68K-Coldfire m68k csb360
+
+bf537Stamp: gdb-sim-run.in bf537Stamp.in
+ ./mkrun no Blackfin bfin bf537Stamp
+
edb7312: gdb-sim-run.in edb7312.in
./mkrun no ARM arm edb7312
+rtl22xx: gdb-sim-run.in rtl22xx.in
+ ./mkrun no ARM arm rtl22xx
+
+smdk2410: gdb-sim-run.in smdk2410.in
+ ./mkrun no ARM arm smdk2410
+
+ezkit533: gdb-sim-run.in ezkit533.in
+ ./mkrun no Blackfin bfin ezkit533
+
### GDB Simulator BSPs
h8sim h8sim-gdb: gdb-sim-run.in gdb-sim.in h8sim.in
./mkrun yes H8300 h8300 h8sim
diff --git a/sim-scripts/ant5206.in b/sim-scripts/ant5206.in
new file mode 100644
index 0000000..abba759
--- /dev/null
+++ b/sim-scripts/ant5206.in
@@ -0,0 +1,45 @@
+#
+# M68K-Coldfire/ant5206 Support
+#
+# $Id$
+#
+
+##INSERT SKYEYE SUPPORT HERE
+
+runARGS()
+{
+ echo "-c ${bspTreeFile} -e ${1}"
+}
+
+checkBSPFaults()
+{
+ bspExited_ARM
+ return $?
+}
+
+bspLimit()
+{
+ testname=$1
+ case ${tname} in
+ *stackchk*)limit=5 ;;
+ *fatal*) limit=1 ;;
+ *psxtime*) limit=180 ;;
+ *) limit=60 ;;
+ esac
+ return ${limit}
+}
+
+bspGeneratesDeviceTree="yes"
+bspTreeFile=ant5206.conf
+
+### Generate the PSIM device tree based upon the type of application being run
+bspGenerateDeviceTree()
+{
+cat <<EOF
+cpu: coldfire
+mach: mcf5206
+mem_bank: map=M, type=RW, addr=0x20100000, size=0x00F00000
+mem_bank: map=M, type=RW, addr=0x00200000, size=0x0004000
+uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
+EOF
+}
diff --git a/sim-scripts/bf537Stamp.in b/sim-scripts/bf537Stamp.in
new file mode 100644
index 0000000..0853a7e
--- /dev/null
+++ b/sim-scripts/bf537Stamp.in
@@ -0,0 +1,43 @@
+#
+# Blackfin/bf537Stamp Support
+#
+# $Id$
+#
+
+##INSERT SKYEYE SUPPORT HERE
+
+runARGS()
+{
+ echo "-c ${bspTreeFile} -e ${1}"
+}
+
+checkBSPFaults()
+{
+ bspExited_ARM
+ return $?
+}
+
+bspLimit()
+{
+ testname=$1
+ case ${tname} in
+ *stackchk*)limit=5 ;;
+ *fatal*) limit=1 ;;
+ *psxtime*) limit=180 ;;
+ *) limit=60 ;;
+ esac
+ return ${limit}
+}
+
+bspGeneratesDeviceTree="yes"
+bspTreeFile=bf537Stamp.conf
+
+### Generate the PSIM device tree based upon the type of application being run
+bspGenerateDeviceTree()
+{
+cat <<EOF
+arch:blackfin
+mach:bf537
+uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
+EOF
+}
diff --git a/sim-scripts/csb337.in b/sim-scripts/csb337.in
new file mode 100644
index 0000000..22c1acd
--- /dev/null
+++ b/sim-scripts/csb337.in
@@ -0,0 +1,50 @@
+#
+# ARM/CSB337 Support
+#
+# NOTE: 20 Jan 2009: Does not work on skyeye 1.2.5
+#
+# $Id$
+#
+
+##INSERT SKYEYE SUPPORT HERE
+
+runARGS()
+{
+ echo "-c ${bspTreeFile} -e ${1}"
+}
+
+checkBSPFaults()
+{
+ bspExited_ARM
+ return $?
+}
+
+bspLimit()
+{
+ testname=$1
+ case ${tname} in
+ *stackchk*)limit=5 ;;
+ *fatal*) limit=1 ;;
+ *psxtime*) limit=180 ;;
+ *) limit=60 ;;
+ esac
+ return ${limit}
+}
+
+bspGeneratesDeviceTree="yes"
+bspTreeFile=csb337.conf
+
+### Generate the PSIM device tree based upon the type of application being run
+bspGenerateDeviceTree()
+{
+cat <<EOF
+cpu: arm920t
+mach: at91rm92
+mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
+mem_bank: map=M, type=R, addr=0x00100000, size=0x00010000
+mem_bank: map=M, type=RW, addr=0x00200000,size=0x00100000
+mem_bank: map=M, type=RW, addr=0x20000000,size=0x01000000
+mem_bank: map=I, type=RW, addr=0xfffa0000, size=0x00060000
+uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
+EOF
+}
diff --git a/sim-scripts/csb350.in b/sim-scripts/csb350.in
new file mode 100644
index 0000000..8e3d9c2
--- /dev/null
+++ b/sim-scripts/csb350.in
@@ -0,0 +1,45 @@
+#
+# MIPS/CSB350 Support
+#
+# $Id$
+#
+
+##INSERT SKYEYE SUPPORT HERE
+
+runARGS()
+{
+ echo "-c ${bspTreeFile} -e ${1}"
+}
+
+checkBSPFaults()
+{
+ bspExited_ARM
+ return $?
+}
+
+bspLimit()
+{
+ testname=$1
+ case ${tname} in
+ *stackchk*)limit=5 ;;
+ *fatal*) limit=1 ;;
+ *psxtime*) limit=180 ;;
+ *) limit=60 ;;
+ esac
+ return ${limit}
+}
+
+bspGeneratesDeviceTree="yes"
+bspTreeFile=csb350.conf
+
+### Generate the PSIM device tree based upon the type of application being run
+bspGenerateDeviceTree()
+{
+cat <<EOF
+cpu: mips
+mach: au1100
+mem_bank: map=M, type=RW, addr=0x20100000, size=0x00F00000
+mem_bank: map=M, type=RW, addr=0x00200000, size=0x0004000
+uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
+EOF
+}
diff --git a/sim-scripts/csb360.in b/sim-scripts/csb360.in
new file mode 100644
index 0000000..a6b3235
--- /dev/null
+++ b/sim-scripts/csb360.in
@@ -0,0 +1,43 @@
+#
+# M68K-Coldfire/CSB360 Support
+#
+# $Id$
+#
+
+##INSERT SKYEYE SUPPORT HERE
+
+runARGS()
+{
+ echo "-c ${bspTreeFile} -e ${1}"
+}
+
+checkBSPFaults()
+{
+ bspExited_ARM
+ return $?
+}
+
+bspLimit()
+{
+ testname=$1
+ case ${tname} in
+ *stackchk*)limit=5 ;;
+ *fatal*) limit=1 ;;
+ *psxtime*) limit=180 ;;
+ *) limit=60 ;;
+ esac
+ return ${limit}
+}
+
+bspGeneratesDeviceTree="yes"
+bspTreeFile=csb360.conf
+
+### Generate the PSIM device tree based upon the type of application being run
+bspGenerateDeviceTree()
+{
+cat <<EOF
+arch:coldfire
+mach:mcf5272
+uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
+EOF
+}
diff --git a/sim-scripts/ezkit533.in b/sim-scripts/ezkit533.in
new file mode 100644
index 0000000..371c556
--- /dev/null
+++ b/sim-scripts/ezkit533.in
@@ -0,0 +1,43 @@
+#
+# Blackfin/ezkit533 Support
+#
+# $Id$
+#
+
+##INSERT SKYEYE SUPPORT HERE
+
+runARGS()
+{
+ echo "-c ${bspTreeFile} -e ${1}"
+}
+
+checkBSPFaults()
+{
+ bspExited_ARM
+ return $?
+}
+
+bspLimit()
+{
+ testname=$1
+ case ${tname} in
+ *stackchk*)limit=5 ;;
+ *fatal*) limit=1 ;;
+ *psxtime*) limit=180 ;;
+ *) limit=60 ;;
+ esac
+ return ${limit}
+}
+
+bspGeneratesDeviceTree="yes"
+bspTreeFile=ezkit533.conf
+
+### Generate the PSIM device tree based upon the type of application being run
+bspGenerateDeviceTree()
+{
+cat <<EOF
+arch:blackfin
+mach:bf533
+uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
+EOF
+}
diff --git a/sim-scripts/rtl22xx.in b/sim-scripts/rtl22xx.in
new file mode 100644
index 0000000..148ddc1
--- /dev/null
+++ b/sim-scripts/rtl22xx.in
@@ -0,0 +1,48 @@
+#
+# ARM/RTL22xx Support
+#
+# $Id$
+#
+
+##INSERT SKYEYE SUPPORT HERE
+
+runARGS()
+{
+ echo "-c ${bspTreeFile} -e ${1}"
+}
+
+checkBSPFaults()
+{
+ bspExited_ARM
+ return $?
+}
+
+bspLimit()
+{
+ testname=$1
+ case ${tname} in
+ *stackchk*)limit=5 ;;
+ *fatal*) limit=1 ;;
+ *psxtime*) limit=180 ;;
+ *) limit=60 ;;
+ esac
+ return ${limit}
+}
+
+bspGeneratesDeviceTree="yes"
+bspTreeFile=rtl22xx.conf
+
+### Generate the PSIM device tree based upon the type of application being run
+bspGenerateDeviceTree()
+{
+cat <<EOF
+cpu: arm7tdmi
+mach: lpc2210
+uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
+mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
+mem_bank: map=M, type=RW, addr=0x81000000, size=0x00080000
+mem_bank: map=M, type=RW, addr=0x40000000, size=0x00400000
+mem_bank: map=I, type=RW, addr=0xE0000000, size=0xFFFFFFF
+mem_bank: map=I, type=RW, addr=0xF0000000, size=0xFFFFFFF
+EOF
+}
diff --git a/sim-scripts/smdk2410.in b/sim-scripts/smdk2410.in
new file mode 100644
index 0000000..e5572a8
--- /dev/null
+++ b/sim-scripts/smdk2410.in
@@ -0,0 +1,46 @@
+#
+# ARM/SMDK2410 Support
+#
+# $Id$
+#
+
+##INSERT SKYEYE SUPPORT HERE
+
+runARGS()
+{
+ echo "-c ${bspTreeFile} -e ${1}"
+}
+
+checkBSPFaults()
+{
+ bspExited_ARM
+ return $?
+}
+
+bspLimit()
+{
+ testname=$1
+ case ${tname} in
+ *stackchk*)limit=5 ;;
+ *fatal*) limit=1 ;;
+ *psxtime*) limit=180 ;;
+ *) limit=60 ;;
+ esac
+ return ${limit}
+}
+
+bspGeneratesDeviceTree="yes"
+bspTreeFile=edb7312.conf
+
+### Generate the PSIM device tree based upon the type of application being run
+bspGenerateDeviceTree()
+{
+cat <<EOF
+cpu: arm920t
+mach: s3c2410x
+mem_bank: map=M, type=RW, addr=0x00000000, size=0x10000000
+mem_bank: map=M, type=RW, addr=0x30000000, size=0x04000000
+mem_bank: map=I, type=RW, addr=0x48000000, size=0x20000000
+uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
+EOF
+}