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 boot. Richy_T 4 101 05-06-2024, 08:32 AM
Last Post: Richy_T
  PinePhone - boot from microSD laserpyramid 9 854 05-03-2024, 10:09 AM
Last Post: laserpyramid
  pinephone virtual keyboard aular 4 431 04-10-2024, 03:45 PM
Last Post: aular
  PinePhone Doesn't Boot LED Doesn't Show Any Signs When Charging dorkydev 1 290 04-02-2024, 11:50 AM
Last Post: Kevin Kofler
  Are you using the Pinephone as your daily driver? jro 157 110,874 02-18-2024, 11:33 PM
Last Post: aular
  2020 PinePhone Manjaro CE EU for sale, name your price astrojuanlu 7 1,927 02-14-2024, 04:51 PM
Last Post: astrojuanlu
  pinephone is not bootble for the box. ijij 1 667 01-19-2024, 01:29 PM
Last Post: fxc
  Multiple issues with the Pinephone MTXP 12 2,520 12-28-2023, 07:55 AM
Last Post: MTXP
  pinephone repair shop shengchieh 0 545 12-26-2023, 02:42 PM
Last Post: shengchieh
  sudo nano file saving pinephone beta edition CharlesGnarley 4 1,792 12-22-2023, 03:44 PM
Last Post: Kevin Kofler

Forum Jump:


Users browsing this thread: 1 Guest(s)