source: rtems-testing/sim-scripts/gumstix.in @ 7199b76

4.11
Last change on this file since 7199b76 was a00ab66, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 12, 2009 at 9:16:23 PM

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

  • ant5206.in, avrtest.in, bf537Stamp.in, csb337.in, csb350.in, csb360.in, ezkit533.in, gdb-sim-run.in, gdbarmsim.in, gumstix.in, h8sim.in, jmr3904.in, lm32_evr.in, m32csim.in, m32rsim.in, pc386.in, psim.in, qemu-gumstix.in, qemu-leon2.in, qemuppc.in, rtl22xx.in, simsh.in, sis.in, skyeye-support, smdk2410.in, tsim-support, uC5282.in: Add running minimum to pick up path where there are no Classic API Initialization Tasks. Minimum has IDLE task as first application task.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1#
2#  ARM/Gumstix Support
3#
4#  $Id$
5#
6
7##INSERT SKYEYE SUPPORT HERE
8
9bspSupportsDisplayAdapter="yes"
10bspSupportsNIC="yes"
11
12checkBSPFaults()
13{
14  bspExited_ARM
15  return $?
16}
17
18bspLimit()
19{
20  testname=$1
21  case ${testname} in
22    *stackchk*)limit=5 ;;
23    *fatal*)   limit=1 ;;
24    *minimum*) limit=1 ;;
25    *psxtime*) limit=180 ;;
26    *cpuuse*)  limit=180 ;;
27    *sp04*)    limit=360 ;;
28    *sp19*)    limit=180 ;;
29    *sp20*)    limit=180 ;;
30    *)         limit=60 ;;
31  esac
32  echo ${limit}
33}
34
35bspGeneratesDeviceTree="yes"
36bspTreeFile=gumstix.conf
37
38### Generate the PSIM device tree based upon the type of application being run
39bspGenerateDeviceTree()
40{
41cat <<EOF
42cpu: pxa25x
43mach: pxa_lubbock
44mem_bank: map=M, type=RW, addr=0x5c000000, size=0x100000
45mem_bank: map=M, type=RW, addr=0xA0000000, size=0x4000000
46mem_bank: map=I, type=RW, addr=0xB0000000, size=0x100000
47mem_bank: map=I, type=RW, addr=0x40000000, size=0x4C000000
48#shutdown_device: addr=0xb0000000, max_ins=${limit}0000000
49shutdown_device: addr=0xb0000000, max_ins=0
50EOF
51
52if [ ${enable_display_adapter} = "yes" ] ; then
53  echo "lcd:state=on,type=pxa,mod=gtk"
54fi
55
56if [ ${enable_network} = "yes" ] ; then
57cat <<EOF
58net: base=0x40000600, size=0xff, int=16, type=rtl8019, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
59EOF
60fi
61
62if [ ${coverage} = yes ] ; then
63  # Only do coverage on first megabyte of code space
64  echo "code_coverage: state=on, filename=${2}.cov, start=0xA0000000, end=0xA0100000"
65fi
66}
Note: See TracBrowser for help on using the repository browser.