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

4.11
Last change on this file since a11b7a3 was 1273785, checked in by Joel Sherrill <joel.sherrill@…>, on May 15, 2012 at 9:03:18 PM

rtems-testing - Remove CVS Ids (scripted)

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