summaryrefslogtreecommitdiff
path: root/sim-scripts/gumstix.in
blob: 955150bfa85c702d65ecc575b009933a09f7d8e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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=0xA0000000, end=0xA4000000
fi
}