Best/easiest way to install minimal Debian on PinePhone?
#1
Hi,

My goal is to use the PinePhone as a very minimal webserver. I can (and have) accomplish this on Mobian, but I'd like to try on an even more lean distro.

I don't even need the touchscreen or modem or wifi to work, as long as I can use a USB keyboard or SSH and Ethernet (I have the USB-C dock thing).

What's the best way to install Debian on the PinePhone?

I tried installing Debian from their site with the right architecture -- it involved concatenating one image to another before flashing, but I could never get it to work.

Should I just install Mobian and strip out the desktop packages?

Thoughts? Thanks.
  Reply
#2
this interests me too because I want to develop a new GUI, I will try this

https://archlinuxarm.org/platforms/armv8...ner/pine64
  Reply
#3
(07-15-2021, 11:04 AM)mouffa Wrote: this interests me too because I want to develop a new GUI, I will try this

https://archlinuxarm.org/platforms/armv8...ner/pine64

Thanks for the suggestion and link, mouffa. I'm trying that and it is working well so far (the screen is always on, though there's probably a way to fix that)

I would prefer Debian so I think I may also try Armbian, which looks like it may also work: https://www.armbian.com/pine64/ (and looks like by default it doesn't turn on the PinePhone's screen?)

But thank you again
  Reply
#4
(07-14-2021, 08:05 PM)mcgee Wrote: Hi,

My goal is to use the PinePhone as a very minimal webserver. I can (and have) accomplish this on Mobian, but I'd like to try on an even more lean distro.

I don't even need the touchscreen or modem or wifi to work, as long as I can use a USB keyboard or SSH and Ethernet (I have the USB-C dock thing).

What's the best way to install Debian on the PinePhone?

I tried installing Debian from their site with the right architecture -- it involved concatenating one image to another before flashing, but I could never get it to work.

Should I just install Mobian and strip out the desktop packages?

Thoughts? Thanks.

Barebone arch -> https://github.com/dreemurrs-embedded/Pi...h/releases
  Reply
#5
on any distribution you can turn off the screen and the back-light by writing to the appropriate driver files in the /sys filesystem

I just tried the barebone from the link and works perfectly, it recognizes the dock so you can connect ethernet, mouse, keyboard, monitor etc, you just flash it in the SD and it's ready
  Reply
#6
(07-15-2021, 11:27 PM)mcgee Wrote: I would prefer Debian so I think I may also try Armbian, which looks like it may also work: https://www.armbian.com/pine64/

My guess would be that the hardware is just different enough to cause problems.  Small or large problems?  Not sure...

Looking at the list of Supported Devices for Pine64 (mfr), I do not see the PinePhone.  And a quick search did not turn up a forum post where anyone seems to be working on this, either (but you could start one Wink ).

Good thing is, Armbian is actually a build system.  However, you are into uncharted territory here.  So I would strongly encourage you to start a thread, hang out in IRC (#armbian on libera.chat), and share what you learn.  You may even get some help.

I would also study what Mobian are doing, as they are also a Debian based distribution.

Good luck, let us know how it goes.
  Reply
#7
I would argue that for a webserver debian is probably overkill. You could probably get away with grabbing busybox and megi's kernel tree and building an OS yourself or using pmbootstrap if you want something easy.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Mobian pinephone -- "Stalled" (best way to describe it) fred_mobian 1 15 30 minutes ago
Last Post: Zebulon Walton
  Axolotl on PinePhone / Mobian arno_nuehm 116 33,215 09-17-2021, 02:36 AM
Last Post: arno_nuehm
  gnome podcasts on debian repo, dino-mobile user641 3 210 09-11-2021, 12:04 AM
Last Post: user641
  Pure Maps GPS on Pinephone Mobian godzillest 3 597 08-03-2021, 03:07 AM
Last Post: mouffa
  Axolotl on Pinephone CarmeloLabadie 1 363 07-26-2021, 12:56 AM
Last Post: kqlnut
  Armbian on the PinePhone Meow 0 286 07-21-2021, 10:42 PM
Last Post: Meow
  Pinephone in Canada using Shaw mobile provider RRman 0 329 06-19-2021, 06:35 PM
Last Post: RRman
  Cannot install spotify, librespot or mopidy Gon 3 817 06-18-2021, 06:53 AM
Last Post: Gon
  Reboot Modem on Pinephone in Mobian eggmatters 5 1,670 06-17-2021, 02:08 PM
Last Post: eggmatters
  How does calls work in debian? temp0rary 4 847 05-31-2021, 10:44 AM
Last Post: temp0rary

Forum Jump:


Users browsing this thread: 1 Guest(s)