source: rtems-testing/sim-scripts/gumstix.in @ b89f143

4.11
Last change on this file since b89f143 was b89f143, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 10, 2009 at 5:07:22 PM

2009-07-10 Joel Sherrill <joel.sherrill@…>

  • gdb-sim.in: Rearrange so check_status defined before used.
  • gumstix.in: Fix typo.
  • Property mode set to 100644
File size: 991 bytes
Line 
1#
2#  ARM/Gumstix Support
3#
4#  $Id$
5#
6
7##INSERT SKYEYE SUPPORT HERE
8bspSimTrustedToExit="yes"
9runARGS()
10{
11  echo "-c ${bspTreeFile} -e ${1}"
12}
13
14checkBSPFaults()
15{
16  bspExited_ARM
17  return $?
18}
19
20bspLimit()
21{
22  testname=$1
23  case ${tname} in
24    *stackchk*)limit=5 ;;
25    *fatal*)   limit=1 ;;
26    *psxtime*) limit=180 ;;
27    *)         limit=60 ;;
28  esac
29  return ${limit}
30}
31
32bspGeneratesDeviceTree="yes"
33bspTreeFile=gumstix.conf
34
35### Generate the PSIM device tree based upon the type of application being run
36bspGenerateDeviceTree()
37{
38cat <<EOF
39cpu: pxa25x
40mach: pxa_lubbock
41mem_bank: map=M, type=RW, addr=0x5c000000, size=0x100000
42mem_bank: map=M, type=RW, addr=0xA0000000, size=0x4000000
43mem_bank: map=I, type=RW, addr=0xB0000000, size=0x100000
44mem_bank: map=I, type=RW, addr=0x40000000, size=0x4C000000
45shutdown_device: addr=0xb0000000, max_ins=${limit}0000000
46EOF
47if [ ${coverage} = yes ] ; then
48  echo "code_coverage: state=on, filename=${2}.cov, start=0xA0000000, end=0xA4000000"
49fi
50}
Note: See TracBrowser for help on using the repository browser.