Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: More info on usbtablet

...

"$QEMU_VIRGL_PATH" \
-kernel bzImage \
-drive "file=genivi-dev-platform-qemux86-64.ext4,format=raw" \
-enable-kvm \
-device virtio-vga,virgl=on \
-usbdevice device nec-usb-xhci \
-device usb-tablet \
-net nic \
-net user,hostfwd=tcp::5555-:22 \
-cpu core2duo \
-no-reboot \
-soundhw ac97 \
-m 1024 \
-display sdl,gl=on \
--append "vga=0 uvesafb.mode_option=640x480-32 root=/dev/hda rw mem=512M oprofile.timer=1"

...

  • Using -drive + format instead of "-hda" avoids a warning about unspecified format
  • To avoid issues with mouse input  - the argument "-usbdevice tablet" had to be added.  The new version of this is -device usb-tabletThe old was -usbdevice tablet.
    When using  -device usb-tablet you must also preceed it with the USB controller: -device nec-usb-xhci for USB3.

    From version 2.10, there is a warning saying to prefer "-device usbtablet" instead but that did not work.  The old deprecated flag still works, only with a warningusb-tablet".
  • When running later image features like Chromium browser you should increase memory, for example:  -m 2048

Once the system loads, you can verify that the hardware acceleration is working by ssh'ing to the machine and checking the kernel messages :

...