Changeset 66dcbe8 in rtems-testing


Ignore:
Timestamp:
Jan 20, 2009, 5:31:31 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
3e4b04d
Parents:
c5c5775
Message:

2009-01-20 Joel Sherrill <joel.sherrill@…>

  • .cvsignore, Makefile, README, gdb-sim-run.in: Add first cut at ERC32. Need to test on machine with TSIM license.
  • erc32.in: New file.
Location:
sim-scripts
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • sim-scripts/.cvsignore

    rc5c5775 r66dcbe8  
    55csb360
    66edb7312
     7erc32
    78ezkit533
    89h8sim
  • sim-scripts/ChangeLog

    rc5c5775 r66dcbe8  
     12009-01-20      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * .cvsignore, Makefile, README, gdb-sim-run.in: Add first cut at ERC32.
     4        Need to test on machine with TSIM license.
     5        * erc32.in: New file.
     6
    172009-01-20      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • sim-scripts/Makefile

    rc5c5775 r66dcbe8  
    44
    55INSTALL_DIR=../bin
    6 GENERATED_SCRIPTS=h8sim h8sim-gdb jmr3904 jmr3904-gdb \
     6GDBSIM_SCRIPTS=h8sim h8sim-gdb jmr3904 jmr3904-gdb \
    77  m32csim m32csim-gdb m32rsim m32rsim-gdb psim psim-gdb \
    88  sis sis-gdb simsh simsh-gdb
    99SKYEYE_SCRIPTS=ant5206 bf537Stamp csb337 csb350 csb360 edb7312 ezkit533 \
    1010  rtl22xx smdk2410
     11TSIM_SCRIPTS=erc32
     12GENERATED_SCRIPTS=${GDBSIM_SCRIPTS} ${SKYEYE_SCRIPTS} ${TSIM_SCRIPTS}
    1113COMPILED_PROGRAMS=usleep
    1214
    13 all: prep ${GENERATED_SCRIPTS} ${SKYEYE_SCRIPTS} ${COMPILED_PROGRAMS} install
     15all: prep ${GENERATED_SCRIPTS} ${COMPILED_PROGRAMS} install
    1416
    1517prep:
     
    4749        ./mkrun no Blackfin bfin ezkit533
    4850
     51### TSIM Simulator BSPs
     52erc32: gdb-sim-run.in erc32.in
     53        ./mkrun no SPARC sparc erc32
     54
    4955### GDB Simulator BSPs
    5056h8sim h8sim-gdb: gdb-sim-run.in gdb-sim.in h8sim.in
     
    7076
    7177clean:
    72         rm -f ${GENERATED_SCRIPTS} ${COMPILED_PROGRAMS} ${SKYEYE_SCRIPTS}
     78        rm -f ${GENERATED_SCRIPTS} ${COMPILED_PROGRAMS}
    7379
    7480install:
    75         for i in ${COMPILED_PROGRAMS} ${SKYEYE_SCRIPTS}; do \
    76           cp $${i} ${INSTALL_DIR} ; \
    77         done
    78         for i in ${GENERATED_SCRIPTS} ; do \
     81        for i in ${GENERATED_SCRIPTS} ${COMPILED_PROGRAMS} ; do \
    7982          cp $${i} ${INSTALL_DIR}/$${i} ; \
    8083          chmod +x ${INSTALL_DIR}/$${i} ; \
  • sim-scripts/README

    rc5c5775 r66dcbe8  
    77and detect programs which have faulted.
    88
     9NOTES:
     10
     11[1] The script name is intended to match the name of the BSP it will run
     12    executables for.  But there are a few scripts which can run multiple BSPs:
     13        simsh -
     14        h8sim - h8sim, h8sxsim
     15
     16[2] The BSPs ant5206, csb350, and csb360 do not run yet on Skyeye.  This
     17    is a known Skyeye issue being addressed.
     18
     19[3] The bf537Stamp and ezkit533 patches to Skyeye.  This is expected to
     20    be resolved eventually.
     21
  • sim-scripts/gdb-sim-run.in

    rc5c5775 r66dcbe8  
    216216    *)       testtype="single" ;;
    217217  esac
    218 
    219   ## Some BSPs must generate device trees to provide to the simulator
     218  # calculate the limit in case it is used by the simulator script
     219  if [ ${limit} = "not_set" ] ; then
     220    bspLimit ${toRun}
     221    limit=$?
     222  fi
     223
     224  ## Some BSPs must generate device trees or scripts to provide to the simulator
    220225  if [ ${bspGeneratesDeviceTree} = "yes" ] ; then
    221     bspGenerateDeviceTree ${baseToRun} >${bspTreeFile}
     226    bspGenerateDeviceTree ${baseToRun} ${toRun} >${bspTreeFile}
    222227    if [ ${generate_tree_and_exit} = "yes" ] ; then
    223228      echo "Device tree generated and in ${bspTreeFile}"
     
    231236  fi
    232237
    233   if [ ${limit} = "not_set" ] ; then
    234     bspLimit ${toRun}
    235     limit=$?
    236   fi
    237238  if [ ${testtype} = "fatal" -a ${bspRunFatal} = "no" ] ; then
    238239    warn "Skipping fatal error test ${toRun}"
Note: See TracChangeset for help on using the changeset viewer.