source: rtems-testing/sim-scripts/edb7312.in @ ae52ee2

4.11
Last change on this file since ae52ee2 was 20873580, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 20, 2009 at 4:22:12 PM

2009-01-20 Joel Sherrill <joel.sherrill@…>

  • Makefile, edb7312.in, gdb-sim-run.in, gdb-sim.in, h8sim.in, jmr3904.in, m32csim.in, m32rsim.in, psim.in, simsh.in, sis.in, skyeye-support: Find run or gdb along PATH. Check for multiple RTEMS versions so there is only one version of the script. Default the simulator name so the BSP specific files do not have to do as much.
  • Property mode set to 100644
File size: 724 bytes
Line 
1#
2#  ARM/EDB7312 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=edb7312.conf
34
35### Generate the PSIM device tree based upon the type of application being run
36bspGenerateDeviceTree()
37{
38cat <<EOF
39cpu: arm720t
40mach: ep7312
41mem_bank: map=I,type=RW, addr=0x80000000, size=0x00100000
42mem_bank: map=M, type=RW, addr=0x00000000, size=0x1000000
43uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
44EOF
45}
Note: See TracBrowser for help on using the repository browser.