Jump to content

QEMU ARM (qemu-vexpress): Difference between revisions

From postmarketOS Wiki
JLIT99 (talk | contribs)
No edit summary
update to gitlab.postmarketos.org
 
(10 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{note|See [[:Category:QEMU]] for usage instructions. This page only contains information specific to the qemu-vexpress port... and it isn't included (anymore) in pmaports. Consider using one of the others instead.}}
{{Infobox device
{{Infobox device
| manufacturer =Qemu
| manufacturer = QEMU
| name = vexpress
| name = vexpress
| codename = qemu-vexpress
| codename = qemu-vexpress
| architecture = armhf
| architecture = armv7
| n-android = ✔
| status_usbnet = -
| status_usbnet = -
| status_flashing = -
| status_flashing = -
Line 23: Line 24:
| status_sms = -
| status_sms = -
| status_calls = -  
| status_calls = -  
| booting = yes
| booting = no
}}
}}
{{note|CPU emulation is slow! Consider using [[Qemu-amd64-(QEMU-for-x86_64)|qemu-amd64]] instead if <code>x86_64</code> is your native architecture.}}


=== Contributors ===
=== Contributors ===
Line 36: Line 35:
<syntaxhighlight lang="shell-session">
<syntaxhighlight lang="shell-session">
$ pmbootstrap init  # Choose device "qemu-vexpress"
$ pmbootstrap init  # Choose device "qemu-vexpress"
$ pmbootstrap install --no-fde
$ pmbootstrap install
$ pmbootstrap qemu --image-size=2G --display=gtk --arch=arm
$ pmbootstrap qemu --image-size=2G --display=gtk --arch=arm
</syntaxhighlight>
</syntaxhighlight>
Line 49: Line 48:
=== What does not work ===
=== What does not work ===
* '''Keyboard and mouse'''
* '''Keyboard and mouse'''
* Qemu 2.0.0 is too old (but it's known to be working with 2.6.50)[https://github.com/postmarketOS/pmbootstrap/pull/1029#issuecomment-353819587]
* QEMU 2.0.0 is too old (but it's known to be working with 2.6.50)[https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/1029#note_85243928]


=== Notes ===
=== Notes ===
Line 64: Line 63:


=== See also ===
=== See also ===
* [[common Qemu notes]]
* [[QEMU]]

Latest revision as of 09:27, 3 November 2024

Note See Category:QEMU for usage instructions. This page only contains information specific to the qemu-vexpress port... and it isn't included (anymore) in pmaports. Consider using one of the others instead.
This device is marked as not booting.
QEMU vexpress
Manufacturer QEMU
Name vexpress
Codename qemu-vexpress
Hardware
Architecture armv7
postmarketOS
Category testing
Pre-built images no
Mainline yes


Contributors

  • MartijnBraam
  • mmaret
  • ollieparanoid

Usage

$ pmbootstrap init  # Choose device "qemu-vexpress"
$ pmbootstrap install
$ pmbootstrap qemu --image-size=2G --display=gtk --arch=arm

Using the --display=gtk parameter is recommended. The default display, SDL, will show two windows (of which one is unused) and you won't be able to look at the serial output. 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.

What works

  • Serial output
  • Storage
  • Network

What does not work

  • Keyboard and mouse
  • QEMU 2.0.0 is too old (but it's known to be working with 2.6.50)[1]

Notes

  • It boots only if you specify a separate -dtb flag, it doesn't use the dtb attached to the kernel (but pmbootstrap calls it right).

Links

Screenshot

  • QEMU unlock screen


  • QEMU running weston

See also