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
  DietPi OS for Pinebook MichaIng 3 5,085 03-11-2024, 05:02 PM
Last Post: oxoocoffee
  Slarm64 on Pinebook [Slackware Arm - 64 bit] KRT 46 59,225 09-26-2023, 03:18 PM
Last Post: mara
  Broke pinebook GUI, what to do, fix or install new? acruhl 2 739 07-13-2023, 05:43 PM
Last Post: acruhl
  Orignal PineBook jwp1000 1 583 07-10-2023, 07:44 AM
Last Post: tophneal
  Pinebook no longer boots rjtanner 12 3,129 04-13-2023, 01:09 PM
Last Post: tophneal
  Write image to eMMC - Pinebook 11.6" irongarment 4 3,612 01-04-2022, 09:22 PM
Last Post: irongarment
  E: The repository 'http://pinebook.kde.org.uk bionic Release' no longer has a Release pixelpaperyarn 3 5,054 05-07-2021, 10:20 AM
Last Post: tophneal
  pinebook.kde.org.uk no longer has release file?? supermassive 1 3,692 01-20-2021, 11:18 AM
Last Post: tophneal
Question Ran apt update on my Pinebook.. ford442 0 2,719 12-25-2020, 04:40 PM
Last Post: ford442
Information Manjaro ARM for Pinebook erchache2000 88 110,275 11-29-2020, 04:36 PM
Last Post: Mr.Fermer

Forum Jump:


Users browsing this thread: 1 Guest(s)