install debian on pbp
#1
Hello

I would like to create a how-to file. If there is a usb-ethernet adapter available, then the steps could look like this:

source files
bullseye
Code:
wget http://http.us.debian.org/debian/dists/bullseye/main/installer-arm64/current/images/netboot/SD-card-images/firmware.pinebook-pro-rk3399.img.gz
wget http://http.us.debian.org/debian/dists/bullseye/main/installer-arm64/current/images/netboot/SD-card-images/partition.img.gz


bookworm
Code:
wget http://http.us.debian.org/debian/dists/bookworm/main/installer-arm64/current/images/netboot/SD-card-images/firmware.pinebook-pro-rk3399.img.gz
wget http://http.us.debian.org/debian/dists/bookworm/main/installer-arm64/current/images/netboot/SD-card-images/partition.img.gz

create img file
Code:
zcat firmware.pinebook-pro-rk3399.img.gz partition.img.gz  > complete_pbp_image.img

write installer on micro-SD
identify device name of micro-SD
Code:
lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
...
sdd      8:48   1   7.4G  0 disk
└─sdd1   8:49   1 130.5M  0 part

write to micro-SD
Code:
sudo dd if=complete_pbp_image.img of=/dev/sdd bs=4k status=progress oflag=sync

boot pbp from micro-SD
boot and install on eMMC

firmware
add non-free
Code:
sudo sed --in-place -e 's/ main$/ main non-free/' /etc/apt/sources.list

install
Code:
sudo apt-get update
sudo apt-get install firmware-brcm80211 firmware-misc-nonfree raspi-firmware
  • firmware-brcm80211 holds some wifi firmware -- is this required?
  • raspi-firmware holds brcmfmac43456-sdio.bin
  • firmware-misc-nonfree holds rockchip firmware


If no usb-ethernet adapter is available, what are the necessary steps?
Would it suffice to download them, copy them to an usb stick and mount the latter on pbp?
  Reply
#2
I've been just chroot-ing in and installing additional packages.
  Reply
#3
As an aside, the raspi-firmware package causes all sorts of errors in `apt` once it is installed - I've been skipping these firmware installs and simply copying firmware I found in a Kali Linux support thread to the correct location, which appears to get WiFi & bluetooth functioning perfect!

https://gitlab.com/kalilinux/build-scrip...1069959116
  Reply
#4
(06-19-2022, 02:29 AM)jsch Wrote: Hello

I would like to create a how-to file. If there is a usb-ethernet adapter available, then the steps could look like this:

source files
bullseye
Code:
wget http://http.us.debian.org/debian/dists/bullseye/main/installer-arm64/current/images/netboot/SD-card-images/firmware.pinebook-pro-rk3399.img.gz
wget http://http.us.debian.org/debian/dists/bullseye/main/installer-arm64/current/images/netboot/SD-card-images/partition.img.gz


bookworm
Code:
wget http://http.us.debian.org/debian/dists/bookworm/main/installer-arm64/current/images/netboot/SD-card-images/firmware.pinebook-pro-rk3399.img.gz
wget http://http.us.debian.org/debian/dists/bookworm/main/installer-arm64/current/images/netboot/SD-card-images/partition.img.gz

create img file
Code:
zcat firmware.pinebook-pro-rk3399.img.gz partition.img.gz  > complete_pbp_image.img

write installer on micro-SD
identify device name of micro-SD
Code:
lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
...
sdd      8:48   1   7.4G  0 disk
└─sdd1   8:49   1 130.5M  0 part

write to micro-SD
Code:
sudo dd if=complete_pbp_image.img of=/dev/sdd bs=4k status=progress oflag=sync

boot pbp from micro-SD
boot and install on eMMC

firmware
add non-free
Code:
sudo sed --in-place -e 's/ main$/ main non-free/' /etc/apt/sources.list

install
Code:
sudo apt-get update
sudo apt-get install firmware-brcm80211 firmware-misc-nonfree raspi-firmware
  • firmware-brcm80211 holds some wifi firmware -- is this required?
  • raspi-firmware holds brcmfmac43456-sdio.bin
  • firmware-misc-nonfree holds rockchip firmware


If no usb-ethernet adapter is available, what are the necessary steps?
Would it suffice to download them, copy them to an usb stick and mount the latter on pbp

Cool: I just ordered mine Pro, in the meanwhile I am playing with Manjaro xfce in my Linux Box: By the moment I prefer Debian. I will follow your post here to install Debian once my Pro will arrive.
  Reply
#5
Thank you so much for writing this. It really helped.

I have found, though, that installing 'firmware-misc-nonfree' breaks suspend on my Pinebook Pro. Have you noticed that? Suspend works fine without installing it and everything else seems to be working fine without it as well.
  Reply
#6
Thank you so much for writing this. It really helped with my installation.

I did find, however, that installing 'firmware-misc-nonfree' broke suspend on my Pinebook Pro. After installing the package, it seemed like the PBP could go to sleep but wouldn't wake up and I'd have to do a hard shutdown to recover. Have you noticed that?

Without installing the package, everything appears to work as expected including suspend/wake.
  Reply
#7
It says here https://wiki.pine64.org/wiki/Pinebook_Pr...ses#Debian
"Installer currently doesn't install a functional bootloader, leaving the installed system in an unbootable state until it's manually added"

is this still true?
  Reply
#8
Armbian is a lot easier, and takes care of a lot of kernel patching and other issues which are particular to specific hardware.  They are far ahead of upstream Debian, at least on SBCs, which is their raison d'être, after all
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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian on Pinebook Pro u974615 8 444 03-22-2024, 03:57 PM
Last Post: u974615
  Attempting to install Void Linux, boots into a black screen 9a3eedi 0 208 02-18-2024, 08:54 AM
Last Post: 9a3eedi
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 7,030 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  Install deepin OS on pinebook pro wangyukunshan 4 1,426 08-07-2023, 01:12 PM
Last Post: myself600
  Unable to install Debian Bullseye because of missing wifi firmware Pino64 7 3,828 07-15-2023, 02:58 PM
Last Post: u974615
  Blank screen after Armbian 20.04 install to emmc? psychoacoustic 3 3,343 04-01-2023, 03:22 PM
Last Post: TRS-80
  unsuccessful re-install of OS for PineBookPro Valiance 3 1,203 02-14-2023, 12:49 PM
Last Post: Valiance
Question Debian (Vanilla) no output on display after Kernel update (6.0.8-1) as365n4 1 1,200 12-09-2022, 12:43 PM
Last Post: as365n4
  Unsuccessful using danielt's unofficial Debian installer on the PBP joeDoe 2 2,240 12-09-2022, 05:04 AM
Last Post: ndp
  Tow Boot install help Paulie420 7 3,574 11-24-2022, 10:24 AM
Last Post: myself600

Forum Jump:


Users browsing this thread: 2 Guest(s)