Stock Debian on original Pinebook
#1
In case anyone is still using their original Pinebook - I pulled mine out of storage couple days ago and installed Debian Sid on it. Everything is working fine so far, except Bluetooth, sound, and deep sleep. The only special thing I had to do is build kernel module separately for WiFi.

I used https://d-i.debian.org/daily-images/arm6...rd-images/ to create a Debian installer SD card. Generally installer worked, but letting it do it's own thing hands-off resulted in a system that's not bootable without an SD card. To make it bootable 16MiB free space is required in the beginning of the eMMC (I didn't try using SPI flash). So I partitioned eMMC manually, creating a single ext4 partition that starts at 16MiB mark and takes all of eMMC - I didn't want the hassle with any special partitioning. After that I went through the installation, and in the end installed u-boot-sunxi and ran `u-boot-install-sunxi64 /dev/mmcblk0` (make sure you got the right device number) to install u-boot. One thing to note though is I used u-boot-sunxi from experimental - it seems the version in Unstable is not yet able to boot from ext4 partitions. After that the system boots fine on its own, but doesn't have any WiFi. To get WiFi working I cloned https://github.com/Icenowy/rtl8723cs, installed basic build dependencies (build-essential, linux-headers-arm64), cd to the folder, `make && sudo make install && sudo modprobe 8723cs`. After that I installed the rest of the packages and got a full working system. For KDE Plasma QML not to glitch all the time I had to set QT_XCB_FORCE_SOFTWARE_OPENGL to 1 (I added `QT_XCB_FORCE_SOFTWARE_OPENGL=1` line to /etc/environment).
This message was created with 100% recycled electrons
  Reply
#2
Nice! The concatenated installer image booted for me on my 1080P Pinebook. I got online using USB tethering to an Android phone. I also had to partition manually: only a single ext4 partition worked, with the 16MB free at the beginning for u-boot, like you said. The partition table had to be MBR, not GPT.

After installation, before rebooting, chrooted into the target eMMC partition and installed u-boot from the u-boot-sunxi package (version 2022.01+dfsg-1):
TARGET=/usr/lib/u-boot/pinebook u-boot-install-sunxi64 /dev/mmcblk1

I added sections to the wiki pages for Original Pinebook and 1080P Pinebook Software Releases to list this installation option, linking to this thread:
- https://wiki.pine64.org/wiki/Pinebook_So..._Installer
- https://wiki.pine64.org/wiki/1080P_Pineb..._Installer

I wasn't able to build the rtl8723cs driver, as it depends on ipx.h which is no longer in Linux:
https://lkml.kernel.org/netdev/202108131...baidu.com/
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Slarm64 on Pinebook [Slackware Arm - 64 bit] KRT 36 27,788 04-09-2022, 01:44 AM
Last Post: mara
  Write image to eMMC - Pinebook 11.6" irongarment 4 893 01-04-2022, 09:22 PM
Last Post: irongarment
  DietPi OS for Pinebook MichaIng 2 2,771 10-22-2021, 02:00 PM
Last Post: MichaIng
  E: The repository 'http://pinebook.kde.org.uk bionic Release' no longer has a Release pixelpaperyarn 3 2,715 05-07-2021, 10:20 AM
Last Post: tophneal
  pinebook.kde.org.uk no longer has release file?? supermassive 1 2,141 01-20-2021, 11:18 AM
Last Post: tophneal
Question Ran apt update on my Pinebook.. ford442 0 1,647 12-25-2020, 04:40 PM
Last Post: ford442
Information Manjaro ARM for Pinebook erchache2000 88 71,198 11-29-2020, 04:36 PM
Last Post: Mr.Fermer
  Pinebook is going the way of Betamax? trigger 10 10,359 11-01-2020, 02:02 PM
Last Post: leperotero
  Pinebook Pro (i3 WM): Confirm Shutdown on Power Button etothepii 3 4,450 08-14-2020, 06:03 AM
Last Post: loblik
  Manjaro sway profile for pinebook e-minguez 3 2,814 07-21-2020, 03:25 PM
Last Post: jezek

Forum Jump:


Users browsing this thread: 1 Guest(s)