summaryrefslogtreecommitdiff
path: root/sim-scripts/gumstix.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-06-04 22:24:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-06-04 22:24:54 +0000
commitbc4341a239e46e734671c5d370e523b4251c8751 (patch)
tree1ef6cc3d6fbedb216a6801914385579f770d0cbe /sim-scripts/gumstix.in
parent786fa0d327c1d401df3f7ff049b073f113638572 (diff)
2009-06-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile: Add Gumstix on Skyeye script. * gumstix.in: New file.
Diffstat (limited to 'sim-scripts/gumstix.in')
-rw-r--r--sim-scripts/gumstix.in49
1 files changed, 49 insertions, 0 deletions
diff --git a/sim-scripts/gumstix.in b/sim-scripts/gumstix.in
new file mode 100644
index 0000000..6abd99e
--- /dev/null
+++ b/sim-scripts/gumstix.in
@@ -0,0 +1,49 @@
+#
+# ARM/Gumstix 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: pxa25x
+mach: pxa_lubbock
+mem_bank: map=M, type=RW, addr=0x5c000000, size=0x100000
+mem_bank: map=M, type=RW, addr=0xA0000000, size=0x4000000
+mem_bank: map=I, type=RW, addr=0xB0000000, size=0x100000
+mem_bank: map=I, type=RW, addr=0x40000000, size=0x4C000000
+EOF
+if [ ${coverage} = yes ] ; then
+ echo "code_coverage: state=on, filename=${2}.cov, start=0x81000000, end=0x81080000"
+fi
+}