source: rtems-testing/sim-scripts/realview_pbx_a9_qemu.in @ a11b7a3

4.11
Last change on this file since a11b7a3 was 00042b5, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 13, 2013 at 12:56:41 PM

realview_pbx_a9_qemu: Add network support

  • Property mode set to 100644
File size: 922 bytes
Line 
1#
2#  arm/realview_pbx_a9_qemu Qemu Support
3#
4
5bspSupportsNIC="yes"
6bspUsesGDBSimulator="no"
7# bspGeneratesGDBCommands="yes"
8# bspSupportsGDBServerMode="yes"
9runBSP=NOT_OVERRIDDEN
10if [ ! -r ${runBSP} ] ; then
11  runBSP=qemu-system-arm
12fi
13bspNeedsDos2Unix="yes"
14
15runARGS()
16{
17  if [ ${coverage} = yes ] ; then
18    COVERAGE_ARG="-trace ${1}.cov"
19  fi
20
21  if [ ${enable_network} = yes ] ; then
22    NETWORK_ARG="-net nic,model=smc91c111,macaddr=0e:b0:ba:5e:ba:11"
23    if [ x${tap_network_interface} != x ] ; then
24      NETWORK_ARG="${NETWORK_ARG} -net tap,ifname=${tap_network_interface},script=no,downscript=no"
25    fi
26  else
27    NETWORK_ARG="-net none"
28  fi
29
30  echo "-no-reboot -nographic -M realview-pbx-a9 -m 256M ${COVERAGE_ARG} ${NETWORK_ARG} -kernel ${1}"
31}
32
33checkBSPFaults()
34{
35  return 0
36}
37
38bspLimit()
39{
40  testname=$1
41  case ${testname} in
42    *)         limit=180 ;;
43  esac
44  echo ${limit}
45}
46
47bspGeneratesDeviceTree="no"
Note: See TracBrowser for help on using the repository browser.