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

4.11
Last change on this file since 016b70c was 016b70c, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 21, 2009 at 8:32:38 PM

2009-08-21 Joel Sherrill <joel.sherrill@…>

  • ant5206.in, avrtest.in, bf537Stamp.in, csb337.in, csb350.in, csb360.in, ezkit533.in, gdb-sim-run.in, gumstix.in, h8sim.in, jmr3904.in, m32csim.in, m32rsim.in, psim.in, qemu-rtems.in, rtl22xx.in, simsh.in, sis.in, skyeye-support, smdk2410.in, tsim-support: echo rather than return time limit since the return code is only 0-255 and we need limits longer than 255 seconds.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1#
2#  ARM/RTL22xx Support
3#
4#  $Id$
5#
6
7##INSERT SKYEYE SUPPORT HERE
8
9checkBSPFaults()
10{
11  bspExited_ARM
12  return $?
13}
14
15bspLimit()
16{
17  testname=$1
18  case ${testname} in
19    *stackchk*)limit=5 ;;
20    *fatal*)   limit=1 ;;
21    *psxtime*) limit=180 ;;
22    *)         limit=60 ;;
23  esac
24  echo ${limit}
25}
26
27bspGeneratesDeviceTree="yes"
28bspTreeFile=rtl22xx.conf
29
30### Generate the PSIM device tree based upon the type of application being run
31bspGenerateDeviceTree()
32{
33cat <<EOF
34cpu: arm7tdmi
35mach: lpc2210
36uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
37mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
38mem_bank: map=M, type=RW, addr=0x81000000, size=0x00080000
39mem_bank: map=M, type=RW, addr=0x40000000, size=0x00400000
40mem_bank: map=I, type=RW, addr=0xE0000000, size=0xFFFFFFF
41mem_bank: map=I, type=RW, addr=0xF0000000, size=0xFFFFFFF
42shutdown_device: addr=0xb0000000, max_ins=0
43EOF
44#shutdown_device: addr=0xb0000000, max_ins=${limit}0000000
45if [ ${coverage} = yes ] ; then
46  echo "code_coverage: state=on, filename=${2}.cov, start=0x81000000, end=0x81100000"
47fi
48}
Note: See TracBrowser for help on using the repository browser.