source: rtems-testing/sim-scripts/smdk2410.in @ 3a7a4df

4.11
Last change on this file since 3a7a4df 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.2 KB
Line 
1#
2#  ARM/SMDK2410 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    *intrcrit*) limit=120 ;;
22    *psxfile01*) limit=90 ;;
23    *psxsignal02*) limit=240 ;;
24    *psxstat*) limit=120 ;;
25    *psxtime*) limit=600 ;;
26    *sp01*)    limit=180 ;;
27    *sp12*)    limit=180 ;;
28    *sp24*)    limit=150 ;;
29    *sp39*)    limit=330 ;;  # run was 4m45s
30    *)         limit=60 ;;
31  esac
32  echo ${limit}
33}
34
35bspGeneratesDeviceTree="yes"
36bspTreeFile=edb7312.conf
37
38### Generate the PSIM device tree based upon the type of application being run
39bspGenerateDeviceTree()
40{
41cat <<EOF
42cpu: arm920t
43mach: s3c2410x
44mem_bank: map=M, type=RW, addr=0x00000000, size=0x10000000
45mem_bank: map=M, type=RW, addr=0x30000000, size=0x04000000
46mem_bank: map=I, type=RW, addr=0x48000000, size=0x20000000
47uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
48shutdown_device: addr=0xb0000000, max_ins=0
49EOF
50#shutdown_device: addr=0xb0000000, max_ins=${limit}0000000
51
52if [ ${coverage} = yes ] ; then
53  # enable 1 MB of RAM to be analyzed.
54  echo "code_coverage: state=on, filename=${2}.cov, start=0x30000000, end=0x30100000"
55fi
56}
Note: See TracBrowser for help on using the repository browser.