Ignore:
Timestamp:
Sep 11, 2009, 10:42:00 PM (10 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, master
Children:
a1e516f
Parents:
507d382
Message:

2009-09-11 Till Straumann <Till.Straumann@…>

  • psim-top.in, psim-bottom: Added support for options -d (print device tree and exit), -h (usage info) and -n (enable NIC support).
  • psim-gdb-bottom: Added support for options -s (force sysv IPC), -h (usage info) and -n (enable NIC support). Allow user to override GDB variable from environment.
  • psim-shared: cat NIC properties into device file if the user had specified '-n'.
  • runtest-top.in: removed unsupported options -o, -d from usage info.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/psim/tools/psim-bottom

    r507d382 r5a6d25fc  
    88limit="0"
    99use_sysv_ipc="auto"
     10device_tree_only=""
     11enable_if_sim=""
    1012
    1113## TODO: may want command line ability to turn on some psim tracing
    12 while getopts vsl: OPT
     14while getopts vhsdnl: OPT
    1315do
    1416    case "$OPT" in
    1517        v) verbose="yes";;
    16         l) limit="$OPTARG";;
    17         s) use_sysv_ipc="yes";;
    18         *) fatal;;
     18        h) echo "$USAGE"; exit 0;;
     19        l) limit="$OPTARG";;
     20        s) use_sysv_ipc="yes";;
     21        d) device_tree_only="yes";;
     22        n) enable_if_sim="yes";;
     23        *) fatal;;
    1924    esac
    2025done
     
    2833fi
    2934
     35if [ X${device_tree_only} = Xyes ] ; then
     36        gen_device_tree ${1} > "`basename ${1} .exe`".device
     37        exit $?
     38fi
     39
    3040if [ X${RUN} = X ] ; then
    3141  RUN=${rtemsTarget}-run
Note: See TracChangeset for help on using the changeset viewer.