An unofficial Debian Installer for Pinebook Pro
#1
I've recently spent a little while hacking together a quick 'n dirty Debian installer for the Pinebook Pro.

https://github.com/daniel-thompson/pineb...-installer


It is not a fully fledged installer... just some code that run on the Pinebook Pro itself using an existing Debian (or maybe Ubuntu) distro. It will install an operating system from scratch to an alternative media. Nevertheless it is a "real" installer in that sense that there is no downloadable image, no default password and you get to choose the keyboard layout, locale, timezone and desktop environment for yourself!

It uses upstream Debian packages for everything except the kernel and bootloaders. Actually... on that subject I deserve no credit for the kernel (which is the v5.4 close-to-mainline kernel that @tsys has has been hacking on) or the bootloaders (which are simply the binaries from @Mrfixit2001 's update repo).

So far I have only used it to author SD cards (from a distro running from eMMC) however it has been tested with the eMMC disabled so we can be confident the bootloaders work. That means that, in principle, it is also suitable for installing to eMMC when running from SD card. I've also only tested text mode and the Gnome desktop environment (wayland, panfrost, gnome 3.34).

One interesting feature of this installer is that it is trivial to switch from arm64 (default) and armhf (add ARCH=armhf to the make command line). This allows you to run identical distros with the two different instruction sets... which could make for some interesting benchmarks if someone wants to make them.

Check out the Pine64 wiki for feature status, known issues and workarounds.



2019-12-14: Partial LUKS rootfs support, automatic kernel updates, enable audio DAC by default, faster boot times.

2019-12-31: Rewrite as a shell script, automatic unmounting on error, better co-existance of installs to different media on the same machine (e.g. micro SD and eMMC installs).

2020-01-21: In response to user requests, @e-minguez created a wiki page (above) to share features status, known issues and workarounds. Please contribute and help keep it up to date! Note that if you have a forum login then you already have a wiki login.

2020-02-14: Wow! Over 250 posts about a relatively humble bit of code. To be clear this thread is still the best place to discuss and seek support. There's no need to read all the posts... after reading *this* post perhaps skip to the end and only read the last three pages or so to find out what issues people currently care about most!

2020-03-02: Kernel updated to v5.5 (which will also be delivered to existing installs via apt upgrade), direct installation of buster is supported  (and documented) RELEASE=buster is now an install option, installed some extra firmware to help with BT, update to latest u-boot and made it easier to disable panfrost if needed.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye


Messages In This Thread
An unofficial Debian Installer for Pinebook Pro - by danielt - 12-04-2019, 03:34 AM
First boot - by JaredT66 - 05-19-2020, 09:49 AM
RE: First boot - by carletes - 05-19-2020, 01:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Official Debian support moonwalkers 64 56,459 07-08-2024, 01:40 PM
Last Post: Humid Stylus
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 178 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 1,981 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 2,752 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,625 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 2,805 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 94,385 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 1,908 11-23-2023, 07:37 AM
Last Post: KC9UDX
  install debian on pbp jsch 7 4,578 11-22-2023, 04:22 PM
Last Post: TRS-80
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 8,411 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine

Forum Jump:


Users browsing this thread: 3 Guest(s)