Changeset b94baa0 in rtems-testing


Ignore:
Timestamp:
Aug 21, 2009, 8:50:31 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
f401c11
Parents:
016b70c
Message:

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.
Location:
sim-scripts
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sim-scripts/ChangeLog

    r016b70c rb94baa0  
     12009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * gdb-sim-run.in, gdb-sim.in, gumstix.in: Make graphics and network
     4        interfaces potentially available on all simulator scripts. Add
     5        configuration for network to gumstix.
     6
    172009-08-21      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • sim-scripts/gdb-sim-run.in

    r016b70c rb94baa0  
    2929        -C         -- cat test output if not interactive (default=no)
    3030        -g         -- generate device tree and exit (default=no)
     31        -D         -- enable use of display adapter (default=no)
     32        -N         -- enable use of network adapter (default=no)
    3133        -G         -- put simulator in GDB server mode (default=no)
    3234        -i         -- interactive (default=no time limit)
     
    8385generate_tree_and_exit="no"
    8486logdir="log"
    85 
    86 while getopts "vcCgGil:L:s" OPT
     87enable_display_adapter="no"
     88enable_network="no"
     89
     90while getopts "vcCgGil:L:DsN" OPT
    8791do
    8892 case "$OPT" in
     
    9094   c) coverage="yes";;
    9195   C) doCatOutput="yes";;
     96   D) enable_display_adapter="yes";;
    9297   g) generate_tree_and_exit="yes" ;;
    9398   G) gdb_server_mode="yes" ;;
     99   N) enable_network="yes" ;;
    94100   i) interactive="yes";;
    95101   l) defaultLimit="$OPTARG";;
     
    125131bspSimTrustedToExit="no"
    126132bspSupportsGDBServerMode="no"
     133bspSupportsDisplayAdapter="no"
     134bspSupportsNIC="no"
    127135
    128136for v in 4.10 4.9 4.8 4.7 ""
     
    148156if [ ${bspSupportsSystemVIPC} = "no" -a ${use_sysv_ipc} = "yes"  ]; then
    149157  echo "Simulator does not support System V IPC."
     158  exit 1
     159fi
     160
     161if [ ${bspSupportsNIC} = "no" -a ${enable_network} = "yes"  ]; then
     162  echo "Simulator does not support a Network Interface Controller."
     163  exit 1
     164fi
     165if [ ${bspSupportsDisplayAdapter} = "no" -a \
     166     ${enable_display_adapter} = "yes"  ]; then
     167  echo "Simulator does not support Graphics Display Adapter."
    150168  exit 1
    151169fi
  • sim-scripts/gdb-sim.in

    r016b70c rb94baa0  
    9494bspGeneratesGDBCommands="no"
    9595bspGeneratesDeviceTree="no"
     96bspSupportsLCD="no"
     97bspSupportsTCPIP="no"
    9698
    9799###################################################################
  • sim-scripts/gumstix.in

    r016b70c rb94baa0  
    66
    77##INSERT SKYEYE SUPPORT HERE
     8
     9bspSupportsDisplayAdapter="yes"
     10bspSupportsNIC="yes"
    811
    912checkBSPFaults()
     
    4447#shutdown_device: addr=0xb0000000, max_ins=${limit}0000000
    4548shutdown_device: addr=0xb0000000, max_ins=0
    46 lcd:state=on,type=pxa,mod=gtk
    4749EOF
     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
    4861if [ ${coverage} = yes ] ; then
    4962  # Only do coverage on first megabyte of code space
Note: See TracChangeset for help on using the changeset viewer.