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.
Cheers,
TRS-80

What is Free Software and why is it so important for society?

Protocols, not Platforms

For the most Linux-y experience on your Linux phone, try SXMO!

I am (nominally) the Armbian Maintainer for PineBook Pro (although severely lacking in time these days).
  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
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 39 7,618 10-15-2024, 01:12 PM
Last Post: anonymous
  atinout binaries for mobian/debian? NeutralGrey 3 1,161 08-07-2024, 04:27 AM
Last Post: baptx
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 1 712 06-25-2024, 10:38 AM
Last Post: mikehenson
  Waydroid install instructions end up attempting to use wrong URLS to aquire .debs chainingsolid 1 892 04-26-2024, 04:56 PM
Last Post: zetabeta
  Phoch Trixie weekly install seems nice reTestability 0 821 03-10-2024, 08:47 AM
Last Post: reTestability
  unofficial kali linux for pinephone help needed pinesmell 5 4,896 01-08-2024, 02:50 PM
Last Post: ERPlegend
  mobian installed to eMMC - how to install tow-boot grump_fiddle_reinstall 6 3,713 11-22-2023, 11:46 AM
Last Post: aLoop100o
  apt trying to install a package version not in the repo chainingsolid 1 1,114 11-12-2023, 03:54 AM
Last Post: evilbunny
  Problem with updates: Repository 'Debian bookworm' changed its 'non-free component' Anna 7 4,953 08-31-2023, 12:38 PM
Last Post: vusra
  Axolotl on PinePhone / Mobian arno_nuehm 219 193,956 03-26-2023, 01:49 AM
Last Post: shulamy

Forum Jump:


Users browsing this thread: 1 Guest(s)