pinephone oses and qemu emulation
hi guys

Since i dont own pinephone (im waiting for it) I would like to start coding/compiling some stuff that ill use later on phone in my free time on my laptop. Do we have some information / Howto / tutors how to setup proper environment in qemu to run pinephone oses in virtualisation?

Btw im using ubuntu/debian as my os of choice.

Thank for all pro tips In this topic

Wysłane z mojego CLT-L29 przy użyciu Tapatalka
You can use pmbootstrap to generate a postmarketOS chroot. During pmbootstrap init tell it to use Qemu as the target device (if you pick an arch that matches the host arch you can probably use kvm so it will run at the speed of your host, running it in an interpreter/JIT feels a little closer to the real pinephone speed on my Ryzen 5 sans the complete lack of hardware graphics acceleration.)

After pmbootstrap install just run pmbootstrap qemu --display=gtk to start the VM.

The reality is though that you can develop your app just like you would for any other Linux based OS. The only thing you have to do is keep in mind that phosh users tend to scale it by 2x and don't like multiple windows.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Article: NuttX RTOS for PinePhone: Blinking the LEDs lupyuen 0 50 09-21-2022, 02:48 AM
Last Post: lupyuen
  Article: NuttX RTOS for PinePhone: UART Driver lupyuen 0 77 09-09-2022, 10:35 PM
Last Post: lupyuen
  Article: NuttX RTOS on PinePhone: Fixing the Interrupts lupyuen 0 117 08-31-2022, 07:58 PM
Last Post: lupyuen
  Trouble building (& using) pinephone-keyboard tools 64_Tesseract 6 650 08-28-2022, 09:42 PM
Last Post: 64_Tesseract
  Article: PinePhone boots Apache NuttX RTOS lupyuen 0 111 08-27-2022, 05:31 AM
Last Post: lupyuen
  Pinephone: OpenGL support? orbital 2 587 08-25-2022, 04:09 PM
Last Post: vortex
  Article: Apache NuttX RTOS on PinePhone lupyuen 0 114 08-24-2022, 06:15 PM
Last Post: lupyuen
  Issues with PinePhone Pro Glenn 1 290 07-28-2022, 11:56 AM
Last Post: Airdale
  Latest firmware for PinePhone modem! Subsentient 104 85,384 07-20-2022, 05:32 AM
Last Post: zetabeta
  Article: Build a PinePhone App with Zig and zgt lupyuen 2 442 06-26-2022, 02:20 AM
Last Post: lupyuen

Forum Jump:

Users browsing this thread: 1 Guest(s)