Uploaded image for project: 'GENIVI Baseline'
  1. GENIVI Baseline
  2. BASE-58

vexpressa9 runqemu doesn't start due to missing PCI device

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • High
    • None
    • None
    • meta-ivi
    • None

    Description

      Trying to run runqemu for vexpressa9 fails due to missing PCI devices for the virtio-net-devices. There are some bsp configurations in meta-ivi-bsp that are specific to vexpressa9 that are the likely culprits. 

      https://github.com/GENIVI/meta-ivi/blob/dfcd22f03472ae35992dfeae41374d4b7dad0b27/meta-ivi-bsp/conf/machine/vexpressa9.conf#L28

      That line contains the configuration that causes the issue:

       

      osan@giana:~/Projects/bit/vexpressa9/build$ ../meta-ivi/scripts/runqemu -i pulsar -m vexpressa9
      runqemu - INFO - Continuing with the following parameters:
      KERNEL: [/home/osan/Projects/bit/vexpressa9/build/tmp/deploy/images/vexpressa9/zImage--4.10.17+git0+1d9a820018_c1d8c4408b-r0-vexpressa9-20180212133419.bin]
      DTB: [/home/osan/Projects/bit/vexpressa9/build/tmp/deploy/images/vexpressa9/vexpress-v2p-ca9.dtb]
      MACHINE: [vexpressa9]
      FSTYPE: [ext4]
      ROOTFS: [/home/osan/Projects/bit/vexpressa9/build/tmp/deploy/images/vexpressa9/pulsar-image-vexpressa9-20180214085203.rootfs.ext4]
      CONFFILE: [/home/osan/Projects/bit/vexpressa9/build/tmp/deploy/images/vexpressa9/pulsar-image-vexpressa9.qemuboot.conf]
      runqemu - INFO - Setting up tap interface under sudo
      [sudo] password for osan: 
      runqemu - INFO - Network configuration: 192.168.7.2::192.168.7.1:255.255.255.0
      runqemu - INFO - Running /home/osan/Projects/bit/vexpressa9/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-arm -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device virtio-net-device,netdev=net0,mac=@MAC@ -drive id=disk0,file=/home/osan/Projects/bit/vexpressa9/build/tmp/deploy/images/vexpressa9/pulsar-image-vexpressa9-20180214085203.rootfs.ext4,if=none,format=raw -device virtio-blk-device,drive=disk0 -show-cursor -machine vexpress-a9 -m 512 -serial mon:vc -serial null -kernel /home/osan/Projects/bit/vexpressa9/build/tmp/deploy/images/vexpressa9/zImage--4.10.17+git0+1d9a820018_c1d8c4408b-r0-vexpressa9-20180212133419.bin -append 'root=/dev/vda rw highres=off mem=512M ip=192.168.7.2::192.168.7.1:255.255.255.0 console=ttyAMA0,115200 ' -dtb /home/osan/Projects/bit/vexpressa9/build/tmp/deploy/images/vexpressa9/vexpress-v2p-ca9.dtb
      runqemu - ERROR - Failed to run qemu: qemu-system-arm: -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02: No 'PCI' bus found for device 'virtio-net-pci'
      Cleanup
      Set 'tap0' nonpersistent
      runqemu - INFO - Releasing lockfile for tap device 'tap0'
      

       

       

      Attachments

        Activity

          People

            tolkien.joh Yong-iL Joh [X] (Inactive)
            Oscar Andreasson Oscar Andreasson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: