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

4.11
Last change on this file since a11b7a3 was eb1fcfb, checked in by Cynthia Rempel <cynthia@…>, on Sep 21, 2013 at 8:23:31 PM

skyeye simulators: Refactor out setting bspGeneratesDeviceTree

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