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

4.11
Last change on this file since aeb8e90 was aeb8e90, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 10, 2009 at 3:03:10 PM

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

  • Makefile: Fix dependencies on tsim scripts.
  • edb7312.in: Disable instruction limit until tuned. Only do coverage on 1 MB of RAM. Code is smaller than that and it is faster.
  • gdb-sim-run.in: Clean up killing simulator to hopefully avoid zero length coverage files.
  • rtl22xx.in: Attempt to add coverage and shutdown device support.
  • smdk2410.in: Add coverage and shutdown device support.
  • tsim-support: Tune time limits.
  • 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
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
47shutdown_device: addr=0xb0000000, max_ins=0
48EOF
49#shutdown_device: addr=0xb0000000, max_ins=${limit}0000000
50if [ ${coverage} = yes ] ; then
51  echo "code_coverage: state=on, filename=${2}.cov, start=0x81000000, end=0x81100000"
52fi
53}
Note: See TracBrowser for help on using the repository browser.