PinePhone Build Environment
#1
Question 
I am interested in setting up a build environment for pinephone. I plan on using Manjaro/Arch. I'm thinking it would be nice to be able to build packages either from AUR or just source on a faster CPU.

I'm not sure the best way to set this up. I was thinking qemu but i have had no luck getting qemu-system-aarch64 to boot anything. Obviously i'm doing something wrong. What's a good guide on running say Arch arm using qemu?

I've tried just issuing this command

sudo qemu-system-aarch64 -machine virt -machine type=virt -m 2048 -cpu cortex-a57 Manjaro-ARM-plasma-mobile-pinephone-alpha2.img

is there another machine/type/cpu i should specify. All i get is a black screen with a qemu prompt. Maybe i need to specify other devices? Maybe i need to extract the image somehow and specify the kernel separately?

The other thing i thought of was using a chroot but that would not work since the host and target do not share the same architecture correct?

any help/kick in the right direction would be appreciated.


Messages In This Thread
PinePhone Build Environment - by grondinm - 01-21-2020, 12:21 PM
RE: PinePhone Build Environment - by MartijnBraam - 01-21-2020, 05:34 PM
RE: PinePhone Build Environment - by grondinm - 01-25-2020, 06:45 PM
RE: PinePhone Build Environment - by MartijnBraam - 01-28-2020, 04:29 PM
RE: PinePhone Build Environment - by sagaracharya - 09-30-2020, 02:59 AM
RE: PinePhone Build Environment - by wibble - 09-30-2020, 12:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone visibly losing power while plugged in Hiraghm 2 740 05-23-2025, 12:30 PM
Last Post: Kevin Kofler
  Pinephone Pro Neural Processing Unit biketool 0 716 03-26-2025, 11:01 AM
Last Post: biketool
  contact sales pinephone janjansen1312 2 1,096 03-17-2025, 07:29 PM
Last Post: tllim
  PinePhone Pro P. Siera 4 2,503 03-14-2025, 07:00 PM
Last Post: Kevin Kofler
  [Article] PR Test Bot for PinePhone (Avaota-A1 SBC / Apache NuttX RTOS) lupyuen 0 711 03-08-2025, 02:43 PM
Last Post: lupyuen
Star Selling my Pinephone Pro Explorer Edition zheyon 0 1,172 01-31-2025, 02:27 PM
Last Post: zheyon
  PinePhone earpiece too quiet Waffelo 3 1,495 01-01-2025, 09:41 PM
Last Post: Kevin Kofler
Question WhatsApp & Pinephone - What are the alternatives for collaborative comms? danimations 15 22,560 12-27-2024, 03:02 AM
Last Post: biketool
  eSIM on PinePhone just_a_q 9 7,998 12-25-2024, 04:16 AM
Last Post: zetabeta
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 13 10,606 12-05-2024, 04:38 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)