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

4.11
Last change on this file since 7199b76 was a00ab66, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 12, 2009 at 9:16:23 PM

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

  • ant5206.in, avrtest.in, bf537Stamp.in, csb337.in, csb350.in, csb360.in, ezkit533.in, gdb-sim-run.in, gdbarmsim.in, gumstix.in, h8sim.in, jmr3904.in, lm32_evr.in, m32csim.in, m32rsim.in, pc386.in, psim.in, qemu-gumstix.in, qemu-leon2.in, qemuppc.in, rtl22xx.in, simsh.in, sis.in, skyeye-support, smdk2410.in, tsim-support, uC5282.in: Add running minimum to pick up path where there are no Classic API Initialization Tasks. Minimum has IDLE task as first application task.
  • 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    *minimum*) limit=1 ;;
22    *psxtime*) limit=180 ;;
23    *)         limit=60 ;;
24  esac
25  echo ${limit}
26}
27
28bspGeneratesDeviceTree="yes"
29bspTreeFile=rtl22xx.conf
30
31### Generate the PSIM device tree based upon the type of application being run
32bspGenerateDeviceTree()
33{
34cat <<EOF
35cpu: arm7tdmi
36mach: lpc2210
37uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
38mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
39mem_bank: map=M, type=RW, addr=0x81000000, size=0x00080000
40mem_bank: map=M, type=RW, addr=0x40000000, size=0x00400000
41mem_bank: map=I, type=RW, addr=0xE0000000, size=0xFFFFFFF
42mem_bank: map=I, type=RW, addr=0xF0000000, size=0xFFFFFFF
43shutdown_device: addr=0xb0000000, max_ins=0
44EOF
45#shutdown_device: addr=0xb0000000, max_ins=${limit}0000000
46if [ ${coverage} = yes ] ; then
47  echo "code_coverage: state=on, filename=${2}.cov, start=0x81000000, end=0x81100000"
48fi
49}
Note: See TracBrowser for help on using the repository browser.