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


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 5,035 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  Install deepin OS on pinebook pro wangyukunshan 4 636 08-07-2023, 01:12 PM
Last Post: myself600
  Unable to install Debian Bullseye because of missing wifi firmware Pino64 7 2,664 07-15-2023, 02:58 PM
Last Post: u974615
  Blank screen after Armbian 20.04 install to emmc? psychoacoustic 3 2,768 04-01-2023, 03:22 PM
Last Post: TRS-80
  unsuccessful re-install of OS for PineBookPro Valiance 3 740 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 861 12-09-2022, 12:43 PM
Last Post: as365n4
  Unsuccessful using danielt's unofficial Debian installer on the PBP joeDoe 2 1,826 12-09-2022, 05:04 AM
Last Post: ndp
  Tow Boot install help Paulie420 7 2,538 11-24-2022, 10:24 AM
Last Post: myself600
  How can I install Debian? ImmyChan 1 1,392 10-19-2022, 03:09 AM
Last Post: alpopa
  when i close my laptop lid the screen doesn't turn on? (debian bullseye based) computerc 3 1,310 09-23-2022, 08:37 PM
Last Post: computerc

Forum Jump:


Users browsing this thread: 1 Guest(s)