summaryrefslogtreecommitdiffstats
path: root/sim-scripts/csb337.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-01-20 17:02:49 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-01-20 17:02:49 +0000
commitc5c5775763ddfd3b6d2e8b71d64a3077b62f63a7 (patch)
tree48de8c3c4a8680ed3b4ad18305636eed43153cf6 /sim-scripts/csb337.in
parent2009-01-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-testing-c5c5775763ddfd3b6d2e8b71d64a3077b62f63a7.tar.bz2
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.
Diffstat (limited to 'sim-scripts/csb337.in')
-rw-r--r--sim-scripts/csb337.in50
1 files changed, 50 insertions, 0 deletions
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
+}