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
  Why projects like PinePhone matter – feedback and encouragement Gary2003 3 2,622 Yesterday, 01:27 PM
Last Post: Gary2003
  Pinephone Pro Neural Processing Unit biketool 1 3,033 09-01-2025, 02:05 AM
Last Post: biketool
  Want to buy second hand PinePhone 3G version rudi.timmermans 2 2,534 08-31-2025, 07:18 AM
Last Post: Fish
  Pinephone Pro not in store? bubulux20c 1 948 08-08-2025, 02:12 AM
Last Post: P. Siera
  PinePhone Pro EU no warranty P. Siera 0 710 07-21-2025, 12:08 AM
Last Post: P. Siera
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 14 12,817 07-18-2025, 04:24 PM
Last Post: dchang0
  Pinephone visibly losing power while plugged in Hiraghm 2 1,540 05-23-2025, 12:30 PM
Last Post: Kevin Kofler
  contact sales pinephone janjansen1312 2 1,868 03-17-2025, 07:29 PM
Last Post: tllim
  PinePhone Pro P. Siera 4 3,402 03-14-2025, 07:00 PM
Last Post: Kevin Kofler
  [Article] PR Test Bot for PinePhone (Avaota-A1 SBC / Apache NuttX RTOS) lupyuen 0 1,269 03-08-2025, 02:43 PM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)