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

4.11
Last change on this file since f630cdd was b94baa0, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 21, 2009 at 8:50:31 PM

2009-08-21 Joel Sherrill <joel.sherrill@…>

  • gdb-sim-run.in, gdb-sim.in, gumstix.in: Make graphics and network interfaces potentially available on all simulator scripts. Add configuration for network to gumstix.
  • 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    *psxtime*) limit=180 ;;
25    *cpuuse*)  limit=180 ;;
26    *sp04*)    limit=360 ;;
27    *sp19*)    limit=180 ;;
28    *sp20*)    limit=180 ;;
29    *)         limit=60 ;;
30  esac
31  echo ${limit}
32}
33
34bspGeneratesDeviceTree="yes"
35bspTreeFile=gumstix.conf
36
37### Generate the PSIM device tree based upon the type of application being run
38bspGenerateDeviceTree()
39{
40cat <<EOF
41cpu: pxa25x
42mach: pxa_lubbock
43mem_bank: map=M, type=RW, addr=0x5c000000, size=0x100000
44mem_bank: map=M, type=RW, addr=0xA0000000, size=0x4000000
45mem_bank: map=I, type=RW, addr=0xB0000000, size=0x100000
46mem_bank: map=I, type=RW, addr=0x40000000, size=0x4C000000
47#shutdown_device: addr=0xb0000000, max_ins=${limit}0000000
48shutdown_device: addr=0xb0000000, max_ins=0
49EOF
50
51if [ ${enable_display_adapter} = "yes" ] ; then
52  echo "lcd:state=on,type=pxa,mod=gtk"
53fi
54
55if [ ${enable_network} = "yes" ] ; then
56cat <<EOF
57net: base=0x40000600, size=0xff, int=16, type=rtl8019, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
58EOF
59fi
60
61if [ ${coverage} = yes ] ; then
62  # Only do coverage on first megabyte of code space
63  echo "code_coverage: state=on, filename=${2}.cov, start=0xA0000000, end=0xA0100000"
64fi
65}
Note: See TracBrowser for help on using the repository browser.