source: rtems-testing/sim-scripts/qemu-lm32_evr.in @ 9f356d1

4.11
Last change on this file since 9f356d1 was ef308ab, checked in by Joel Sherrill <joel.sherrill@…>, on May 10, 2010 at 8:31:15 PM

2010-05-10 Joel Sherrill <joel.sherrilL@…>

  • gdb-sim-run.in: Use 50 millisecond per period.
  • pc386.in: Switch from 486 to qemu32 CPU model.
  • qemu-lm32_evr.in: Increase time limits on some tests.
  • Property mode set to 100644
File size: 966 bytes
Line 
1#
2#  lm32/lm32_evr Qemu Support
3#
4#  $Id$
5#
6
7bspUsesGDBSimulator="no"
8# bspGeneratesGDBCommands="yes"
9# bspSupportsGDBServerMode="yes"
10
11if [ -r ${HOME}/qemu-coverage/install/bin/qemu-system-lm32 ] ; then
12  runBSP=${HOME}/qemu-coverage/install/bin/qemu-system-lm32
13else
14  runBSP=qemu-system-lm32
15fi
16
17bspNeedsDos2Unix="yes"
18
19# qemu-system-lm32 -M lm32-evr -trace ticker.trace -kernel ~/ticker.exe
20runARGS()
21{
22  if [ ${coverage} = yes ] ; then
23     rm -f trace ${1}.tra
24     COVERAGE_ARG="-trace ${1}.tra"
25  fi
26
27  echo "-M lm32-evr -nographic ${COVERAGE_ARG} -global lm32,sys.enabled=1 -kernel ${1}"
28}
29
30checkBSPFaults()
31{
32  return 0
33}
34
35bspLimit()
36{
37  tname=$1
38  case ${tname} in
39    *stackchk*)limit=5 ;;
40    *fatal*)   limit=1 ;;
41    *minimum*) limit=1 ;;
42    *sp20*)    limit=180 ;;  # 2 min 32 seconds on Joel's laptop
43    *psxtime*) limit=390 ;;  # 6 min  2 seconds on Joel's laptop
44    *)         limit=60 ;;
45  esac
46  echo ${limit}
47}
48
49bspGeneratesDeviceTree="no"
Note: See TracBrowser for help on using the repository browser.