source: rtems-testing/sim-scripts/rtl22xx.in @ fa32e19

4.11
Last change on this file since fa32e19 was fa32e19, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 23, 2009 at 10:44:54 PM

2009-03-23 Joel Sherrill <joel.sherrill@…>

  • rtl22xx.in: Add coverage enable to rtl22xx.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1#
2#  ARM/RTL22xx Support
3#
4#  $Id$
5#
6
7##INSERT SKYEYE SUPPORT HERE
8
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=rtl22xx.conf
34
35### Generate the PSIM device tree based upon the type of application being run
36bspGenerateDeviceTree()
37{
38cat <<EOF
39cpu: arm7tdmi
40mach: lpc2210
41uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
42mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
43mem_bank: map=M, type=RW, addr=0x81000000, size=0x00080000
44mem_bank: map=M, type=RW, addr=0x40000000, size=0x00400000
45mem_bank: map=I, type=RW, addr=0xE0000000, size=0xFFFFFFF
46mem_bank: map=I, type=RW, addr=0xF0000000, size=0xFFFFFFF
47EOF
48if [ ${coverage} = yes ] ; then
49  echo "code_coverage: state=on, filename=${2}.cov, start=0x81000000, end=0x81080000"
50fi
51}
Note: See TracBrowser for help on using the repository browser.