Changeset 62157e9 in rtems-testing


Ignore:
Timestamp:
Apr 20, 2010, 9:20:12 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
b212961
Parents:
31d40ac
Message:

2010-04-20 Joel Sherrill <joel.sherrilL@…>

  • .cvsignore, Makefile, bf537Stamp.in, ezkit533.in: Move current scripts to skyeye named ones so the default is to use the new simulator in gdb.
  • bf537Stamp-skyeye.in, ezkit533-skyeye.in: New files.
Location:
sim-scripts
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • sim-scripts/.cvsignore

    r31d40ac r62157e9  
    44bf537Stamp
    55bf537Stamp-gdb
     6bf537Stamp-skyeye
     7bf537Stamp-skyeye-gdb
    68csb337
    79csb337-gdb
     
    1618ezkit533
    1719ezkit533-gdb
     20ezkit533-skyeye
     21ezkit533-skyeye-gdb
    1822gdbarmsim
    1923gdbarmsim-gdb
  • sim-scripts/ChangeLog

    r31d40ac r62157e9  
     12010-04-20      Joel Sherrill <joel.sherrilL@oarcorp.com>
     2
     3        * .cvsignore, Makefile, bf537Stamp.in, ezkit533.in: Move current
     4        scripts to skyeye named ones so the default is to use the new
     5        simulator in gdb.
     6        * bf537Stamp-skyeye.in, ezkit533-skyeye.in: New files.
     7
    182010-04-13      Joel Sherrill <joel.sherrill@oarcorp.com>
    29
  • sim-scripts/Makefile

    r31d40ac r62157e9  
    44
    55INSTALL_DIR=../bin
    6 GDBSIM_SCRIPTS=gdbarmsim h8sim jmr3904 lm32_evr m32csim m32rsim psim sis simsh
    7 SKYEYE_SCRIPTS=ant5206 bf537Stamp csb337 csb350 csb360 edb7312 ezkit533 \
    8   gumstix rtl22xx smdk2410 leon2-skyeye
     6GDBSIM_SCRIPTS=bf537Stamp ezkit533 gdbarmsim h8sim jmr3904 lm32_evr \
     7  m32csim m32rsim psim sis simsh
     8SKYEYE_SCRIPTS=ant5206 bf537Stamp-skyeye csb337 csb350 csb360 edb7312 \
     9  ezkit533-skyeye gumstix rtl22xx smdk2410 leon2-skyeye
    910
    1011TSIM_SCRIPTS=erc32 leon2 leon3
     
    6364        ./mkrun yes M68K-Coldfire m68k csb360
    6465
    65 bf537Stamp: gdb-sim-run.in gdb-sim.in bf537Stamp.in
    66         ./mkrun yes Blackfin bfin bf537Stamp
     66bf537Stamp-skyeye: gdb-sim-run.in gdb-sim.in bf537Stamp-skyeye.in
     67        ./mkrun yes Blackfin bfin bf537Stamp-skyeye
    6768
    6869edb7312: gdb-sim-run.in gdb-sim.in edb7312.in
     
    7879        ./mkrun yes ARM arm smdk2410
    7980
    80 ezkit533: gdb-sim-run.in gdb-sim.in ezkit533.in
    81         ./mkrun yes Blackfin bfin ezkit533
     81ezkit533-skyeye: gdb-sim-run.in gdb-sim.in ezkit533-skyeye.in
     82        ./mkrun yes Blackfin bfin ezkit533-skyeye
    8283
    8384leon2-skyeye: gdb-sim-run.in gdb-sim.in leon2-skyeye.in
     
    9596
    9697### GDB Simulator BSPs
     98bf537Stamp bf537Stamp-gdb: gdb-sim-run.in gdb-sim.in bf537Stamp.in
     99        ./mkrun yes Blackfin bfin bf537Stamp
     100
     101ezkit533 ezkit533-gdb: gdb-sim-run.in gdb-sim.in ezkit533.in
     102        ./mkrun yes Blackfin bfin ezkit533
     103
    97104gdbarmsim gdbarmsim-gdb: gdb-sim-run.in gdb-sim.in gdbarmsim.in
    98105        ./mkrun yes ARM arm gdbarmsim
  • sim-scripts/bf537Stamp.in

    r31d40ac r62157e9  
    11#
    2 #  Blackfin/bf537Stamp Support
     2#  Blackfin BF537 Stamp Support
    33#
    44#  $Id$
    55#
    66
    7 ##INSERT SKYEYE SUPPORT HERE
     7runARGS()
     8{
     9  echo "--env operating --model bf537 ${1}"
     10}
    811
    912checkBSPFaults()
    1013{
    11   bspExited_ARM
    12   return $?
     14  logfile=$1
     15  grep "^Unhandled exception" ${logfile}
     16  exceptionExit=$?
     17  grep "^mips-core: " ${logfile}
     18  badAccessExit=$?
     19  if [ $badAccessExit -eq 0 -o $exceptionExit -eq 0 ] ; then
     20    return 1
     21  fi
     22  return 0
    1323}
    1424
     
    2636}
    2737
    28 bspGeneratesDeviceTree="yes"
    29 bspTreeFile=bf537Stamp.conf
     38bspGeneratesGDBCommands="yes"
    3039
    31 ### Generate the PSIM device tree based upon the type of application being run
    32 bspGenerateDeviceTree()
     40bspGenerateGDBCommands()
    3341{
    3442cat <<EOF
    35 arch:blackfin
    36 mach:bf537
    37 uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
     43target sim --env operating --model bf537
     44load
    3845EOF
    3946}
  • sim-scripts/ezkit533.in

    r31d40ac r62157e9  
    11#
    2 #  Blackfin/ezkit533 Support
     2#  Blackfin ezKit533 Support
    33#
    44#  $Id$
    55#
    66
    7 ##INSERT SKYEYE SUPPORT HERE
     7runARGS()
     8{
     9  echo "--env operating --model bf533 ${1}"
     10}
    811
    912checkBSPFaults()
    1013{
    11   bspExited_ARM
    12   return $?
     14  logfile=$1
     15  grep "^Unhandled exception" ${logfile}
     16  exceptionExit=$?
     17  grep "^mips-core: " ${logfile}
     18  badAccessExit=$?
     19  if [ $badAccessExit -eq 0 -o $exceptionExit -eq 0 ] ; then
     20    return 1
     21  fi
     22  return 0
    1323}
    1424
     
    2636}
    2737
    28 bspGeneratesDeviceTree="yes"
    29 bspTreeFile=ezkit533.conf
     38bspGeneratesGDBCommands="yes"
    3039
    31 ### Generate the PSIM device tree based upon the type of application being run
    32 bspGenerateDeviceTree()
     40bspGenerateGDBCommands()
    3341{
    3442cat <<EOF
    35 arch:blackfin
    36 mach:bf533
    37 uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
     43target sim --env operating --model bf533
     44load
    3845EOF
    3946}
Note: See TracChangeset for help on using the changeset viewer.