source: rtems-testing/sim-scripts/csb350.in

Last change on this file 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: 659 bytes
Line 
1#
2#  MIPS/CSB350 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
26bspTreeFile=csb350.conf
27
28### Generate the PSIM device tree based upon the type of application being run
29bspGenerateDeviceTree()
30{
31cat <<EOF
32cpu: mips
33mach: au1100
34mem_bank: map=M, type=RW, addr=0x20100000, size=0x00F00000
35mem_bank: map=M, type=RW, addr=0x00200000, size=0x0004000
36uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
37EOF
38}
Note: See TracBrowser for help on using the repository browser.