Official Debian images for the Pinebook Pro!
#1
Debian recently added support for the Pinebook Pro and RockPro64, adding to their existing support for the original Pinebook, Rock64, and Pine64 Plus! I haven't gotten the chance to try these yet but these are presumably based on the mainline kernel, given that Debian Unstable is now using Linux 5.5 with all the necessary patches for the RK3399 backported and Mesa 20.0.4. 

Images are being built everyday over at https://d-i.debian.org/daily-images/arm6...rd-images/ where the readme has instructions for how to combine the device-specific partition table and u-boot with the device-independent partition.img.gz that contains the installer such that you can make a bootable SD card with them both.

After being booted, the installer "runs completely in the system's RAM and does not need to load anything from the SD card anymore, so you can delete all existing partitions and use the full card for installing Debian. It is recommended to use the 'guided partitioning' option in the installer to create a proper partition layout on the SD card."

Given that these images purely contain the installer, you'll definitely need an internet connection for it to retrieve the rest of the packages and install a full system. I also believe these don't contain any non-free firmware, so you may need to install over ethernet and then add the non-free repo and install any required firmware afterwards. I'm very interested to see what's currently functional and if there's any unexpected snags or hangups, and I'll definitely update this post with what I figure out after receiving my Pinebook Pro and trying to install this image on it! :)
  Reply
#2
(04-26-2020, 02:11 PM)tortwigginum Wrote: Debian recently added support for the Pinebook Pro and RockPro64, adding to their existing support for the original Pinebook, Rock64, and Pine64 Plus! I haven't gotten the chance to try these yet but these are presumably based on the mainline kernel, given that Debian Unstable is now using Linux 5.5 with all the necessary patches for the RK3399 backported and Mesa 20.0.4. 

Images are being built everyday over at https://d-i.debian.org/daily-images/arm6...rd-images/ where the readme has instructions for how to combine the device-specific partition table and u-boot with the device-independent partition.img.gz that contains the installer such that you can make a bootable SD card with them both.

After being booted, the installer "runs completely in the system's RAM and does not need to load anything from the SD card anymore, so you can delete all existing partitions and use the full card for installing Debian. It is recommended to use the 'guided partitioning' option in the installer to create a proper partition layout on the SD card."

Given that these images purely contain the installer, you'll definitely need an internet connection for it to retrieve the rest of the packages and install a full system. I also believe these don't contain any non-free firmware, so you may need to install over ethernet and then add the non-free repo and install any required firmware afterwards. I'm very interested to see what's currently functional and if there's any unexpected snags or hangups, and I'll definitely update this post with what I figure out after receiving my Pinebook Pro and trying to install this image on it! Smile

I wasn't 100% sure from your posting what Debian version is used for these daily images. I loop-back mounted the partition image and found Debian 11 with Kernel 5.5.
  Reply
#3
How to update from the Unofficial Installer? Which packages should I install?
PBP ISO / Debian Bullseye (unofficial installer)
  Reply
#4
(04-27-2020, 10:58 AM)wasgurd Wrote: How to update from the Unofficial Installer? Which packages should I install?

After installation, there should be no difference, should there?

If you really want to get the same experience as with the official installer, you probably want to remove Daniel's kernel repro. Then you will then run the 5.5 kernel, though. If I understand tortwigginum, then Debian backported some Pinebook Pro specific patches to their 5.5 kernel. We need a volunteer to try out this kernel Big Grin
  Reply
#5
Hi folks,

I just tried the installer on my PBP (installing to eMMC) and would like to share my experience with you:

- no graphical display, you have to use the serial console to install the system; this also means you have to use the limited serial console installer
- to use the built-in wifi, you would need to add the required proprietary firmware during installation as it's not included in Debian by policy. Personally, I didn't want it anyways and used a USB to Gigabit LAN Adapter to install the system.
- guided partitioning seems to leave around 245 MiB before the boot partition which seems fine to me. However, unlike in Daniel Thompson's installer no nice GPT scheme is suggested.
- unfortunately, I forgot to check whether the installer supports f2fs ootb meanwhile (but that's not a pbp-specific matter)
- looks like they do NOT have a packaged version of u-boot yet - at least the installer did not offer me the option to install it.
- the installation media uses extlinux.conf instead of the crufty boot.cmd/boot.scr stuff. This was quite useful even for the installation and allowed me to easily change the serial console speed.

- the console speed of the trusted firmware image is "wrong" as it runs at 115200 baud while the rest runs at 1500000.
- I am not sure but it seems that the system did not properly reboot after installation but hangs at "reboot: Restarting system" (but maybe just due to missing bootloader).

Regarding patches, Debian *does* apply some patches to the kernel. However, I looked in their package source and spotted only this one file with non-main rk3399-related patches. It basically adds the dts file from Manjaro to enable support for the PBP:

https://salsa.debian.org/kernel-team/lin...ook-.patch

The good news is that it's likely this patch will not be needed in the near future anymore since the dts file for the pinebookpro was merged upstream two days ago and will be included in the next official mainline kernel release (version 5.7):

https://git.kernel.org/pub/scm/linux/ker...h=v5.7-rc3

That's it for now. For next run, I plan to redo the installation using a GPT scheme and install the bootloader later on manually in order to finally boot up the installed system.
  Reply
#6
I gave this a second try. This time I used "guided partitioning" and selected the option to setup an encrypted LVM. Everything in the installation went nice and smooth, however, the bootloader was not installed during the setup leaving the installed system in an unbootable state.
  Reply
#7
the pbp dts in 5.7 is NOT the same as in manjaro. it will be a while before using "official debian" makes more sense than danielt's installer. i would, however, build your own kernel as i have documented.
  Reply
#8
I just tried the current stable version using kernel from unstable. Seems to work fine, except that the sdcard reader seems to have issues - but since it does this as well in Manjaro, I assume my daughterboard may be damaged.

Anyways, it works fine from eMMC, but I can't get the display working. I already put the firmware binary in /lib/firmware but this does not seem to help. It seems to me like the KMS is not working. Any idea what can be done here (apart from using a different kernel of course)?
  Reply
#9
(07-09-2020, 06:35 PM)kuleszdl Wrote: I just tried the current stable version using kernel from unstable. Seems to work fine, except that the sdcard reader seems to have issues - but since it does this as well in Manjaro, I assume my daughterboard may be damaged.

Anyways, it works fine from eMMC, but I can't get the display working. I already put the firmware binary in /lib/firmware but this does not seem to help. It seems to me like the KMS is not working. Any idea what can be done here (apart from using a different kernel of course)?
I'm afraid this may be due to the 5.7 kernel build in Debian - when I install 5.7 from Debian Sid repos on my otherwise fully working system I get no display on boot-up either, so I have to revert to 5.7 and device tree built from Manjaro git. Perhaps 5.8 will finally work out of the box.
This message was created with 100% recycled electrons
  Reply
#10
that is unlikely.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Armbian for the Pinebook Pro [WIP] Luke 54 17,748 04-08-2021, 06:29 AM
Last Post: lanefu
  pinebook pro tools xmixahlx 51 24,729 04-05-2021, 09:22 AM
Last Post: mjhammel
  An unofficial Debian Installer for Pinebook Pro danielt 437 174,457 03-25-2021, 04:29 AM
Last Post: ab1jx
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 63 35,896 03-14-2021, 05:26 AM
Last Post: MartijnBraam
Sad Help me w/ my Pinebook Pro setup Lyrixcaz 4 422 03-11-2021, 12:58 PM
Last Post: moonwalkers
  OpenMandriva to release ARM builds for PineBook Pro and Pi ludix 11 1,478 03-02-2021, 07:06 PM
Last Post: BronzeBeard
  Keyboard issue: Debian PineSupporter 8 723 02-01-2021, 09:57 PM
Last Post: PineSupporter
  Pinebook Pro wifi not working seyo-iv 1 343 02-01-2021, 11:00 AM
Last Post: seyo-iv
  slarm64 (unofficial slackware) Pinebook Pro RK3399 (aarch64) mara 25 4,927 01-30-2021, 11:03 AM
Last Post: mara
  FLOSS pinebook pro linux set-up misha64 3 1,375 01-14-2021, 04:05 PM
Last Post: kuleszdl

Forum Jump:


Users browsing this thread: 1 Guest(s)