summaryrefslogblamecommitdiffstats
path: root/sim-scripts/realview_pbx_a9_qemu.in
blob: f86c0fee324c81ff2437e98113b6aca009b1f44b (plain) (tree)
1
2
3
4
5



                                        
                    














                                  









                                                                                                     
















                           
#
#  arm/realview_pbx_a9_qemu Qemu Support
#

bspSupportsNIC="yes"
bspUsesGDBSimulator="no"
# bspGeneratesGDBCommands="yes"
# bspSupportsGDBServerMode="yes"
runBSP=NOT_OVERRIDDEN
if [ ! -r ${runBSP} ] ; then
  runBSP=qemu-system-arm
fi
bspNeedsDos2Unix="yes"

runARGS()
{
  if [ ${coverage} = yes ] ; then
    COVERAGE_ARG="-trace ${1}.cov"
  fi

  if [ ${enable_network} = yes ] ; then
    NETWORK_ARG="-net nic,model=smc91c111,macaddr=0e:b0:ba:5e:ba:11"
    if [ x${tap_network_interface} != x ] ; then
      NETWORK_ARG="${NETWORK_ARG} -net tap,ifname=${tap_network_interface},script=no,downscript=no"
    fi
  else
    NETWORK_ARG="-net none"
  fi

  echo "-no-reboot -nographic -M realview-pbx-a9 -m 256M ${COVERAGE_ARG} ${NETWORK_ARG} -kernel ${1}"
}

checkBSPFaults()
{
  return 0
}

bspLimit()
{
  testname=$1
  case ${testname} in
    *)         limit=180 ;;
  esac
  echo ${limit}
}

bspGeneratesDeviceTree="no"