Jump to content

QEMU aarch64 (qemu-aarch64): Difference between revisions

From postmarketOS Wiki
JLIT99 (talk | contribs)
No edit summary
Decatf (talk | contribs)
3D acceleration usage notes
Line 40: Line 40:


Using the <code>--display=gtk</code> parameter is recommended. In the GTK interface, click on ''View / Show Tabs'' to display all available outputs as tabs next to each other. Check the <code>serial0</code> output for what it is actually doing as the boot will probably take a few minutes, unless you have a very fast PC.
Using the <code>--display=gtk</code> parameter is recommended. In the GTK interface, click on ''View / Show Tabs'' to display all available outputs as tabs next to each other. Check the <code>serial0</code> output for what it is actually doing as the boot will probably take a few minutes, unless you have a very fast PC.
Enable 3D acceleration (virglrenderer) with the <code>gl=on</code> display option. <br>Example: <code>--display=gtk,gl=on</code> or <code>--display=sdl,gl=on</code>


== What works ==
== What works ==

Revision as of 22:53, 8 February 2019

Qemu aarch64
Manufacturer Qemu
Name aarch64
Codename qemu-aarch64
Hardware
Architecture aarch64
postmarketOS
Category testing
Pre-built images no
Mainline yes
Features
Internal storage
No data
SD card
No data
Screen
Works
Multimedia
3D Acceleration
Works
Audio
No data
Camera Flash
No data
Connectivity
NFC
No data
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


Note CPU emulation is slow! Consider using qemu-amd64 instead if x86_64 is your native architecture.

Contributors

  • MartijnBraam
  • ollieparanoid

Usage

$ pmbootstrap init  # Choose device "qemu-aarch64"
$ pmbootstrap install --no-fde
$ pmbootstrap qemu --image-size=2G --display=gtk --arch=aarch64

Using the --display=gtk parameter is recommended. In the GTK interface, click on View / Show Tabs to display all available outputs as tabs next to each other. Check the serial0 output for what it is actually doing as the boot will probably take a few minutes, unless you have a very fast PC.

Enable 3D acceleration (virglrenderer) with the gl=on display option.
Example: --display=gtk,gl=on or --display=sdl,gl=on

What works

  • Serial output
  • SSH
  • Graphical output via dri (as configured in device-qemu-aarch64 for weston)

What does not work

  • Keyboard and mouse
  • Writing to framebuffer seems to be broken (splash screen doesn't work)

See also