Official Debian support
#63
I know Debian Thopson's script creates GPT partition scheme and EFI partition. In my tests custom 5.7 kernel (provided by the script) works fine, however Debian official kernel (+ its configuration in /boot/extlinux/extlinux.conf updated by u-boot-update) does not have DP output. Have I to manually add some kernel arguments? In this case any kernel update will result in missing video output, because new configuration will be generated automatically. Unfortunately, I have no UART cable to see if I have /dev/fb0 device.

Debian Stretch by mrfixit uses MBR partition scheme with FAT32 boot partition. In my attempts I use MBR partition scheme with boot partition ext4 and root btrfs. I install u-boot manually and this may be the reason for failure. There are just too many choices, from which rather few are working. So I try and guess.

My plan is the following (inspired by https://codeberg.org/txt.file/blog/src/b...-debian.md):
1. Prepare Debian Stretch by mrfixit on SD card and use it as live media.
2. Boot from SD and partition eMMC as MBR with the partitions:
#1 (starts at sector 32768) Ext4 512 MB for /boot (I plan to use btrfs for root and u-boot doesn't support it (?))
#2 4G swap
#3 btrfs, all the rest for / (I use NVMe for data)
3. Download from packages.debian.org the package u-boot-rockchip, unarchive it with dpkg -x, update ./usr/bin/u-boot-install-rockchip to point to local u-boot firmware (by changing /usr to ../), then run ./u-boot-install-rockchip /dev/mmcblk2.
4. Download Debian Installer from https://d-i.debian.org/daily-images/arm6...rd-images/ and prepare it as zcat firmware.pinebook-pro-rk3399.img.gz partition.img.gz > netinstall.img. After that write the netinst.img to USB stick.
5. Shutdown Pinebook Pro, eject SD, put USB to USB-3 port (USB-2 is necessary for ethernet, because WiFi is not working during installation (?)) and boot the Pinebook Pro. This image does not always boot. I am not sure if Pinebook Pro loads u-boot from eMMC or from USB stick.
6. Follow installation instructions. Do not repartition the eMMC, do not reformat the partitions, just put mount points. Do not install any bootloader.
7. Just before exiting the installer, enter the command line and execute the following (just copy / paste from document):
mount --rbind /dev /target/dev
mount --rbind /proc /target/proc
mount --rbind /sys /target/sys
chroot /target
wget -O /etc/kernel/postinst.d/zz-sync-dtb https://salsa.debian.org/debian/u-boot-m...z-sync-dtb
chmod u+x,g+x,o+x /etc/kernel/postinst.d/zz-sync-dtb
/etc/kernel/postinst.d/zz-sync-dtb $(uname -r)
apt --install-recommends --install-suggests install u-boot-menu
u-boot-update # this copies ftd to /boot and creates /boot/extlinux/extlinux.conf

After that finish the installation, shutdown the Pinebook Pro and eject USB stick. When starting, Pinebook Pro either does not start or does not have DP output. I have not detected the pattern, because with each new try I do something differently. No success until now.
  Reply


Messages In This Thread
Official Debian support - by moonwalkers - 06-05-2021, 01:45 PM
RE: Official Debian support - by thequailman - 06-06-2021, 12:27 PM
RE: Official Debian support - by moonwalkers - 06-06-2021, 07:00 PM
RE: Official Debian support - by thequailman - 06-07-2021, 06:32 AM
RE: Official Debian support - by moonwalkers - 06-07-2021, 08:16 AM
RE: Official Debian support - by thequailman - 06-07-2021, 08:29 AM
RE: Official Debian support - by sepp - 06-10-2021, 09:37 AM
RE: Official Debian support - by moonwalkers - 06-10-2021, 06:14 PM
RE: Official Debian support - by sepp - 06-11-2021, 12:32 AM
RE: Official Debian support - by hjalfi - 06-07-2021, 03:15 AM
RE: Official Debian support - by moonwalkers - 06-07-2021, 09:13 AM
RE: Official Debian support - by thequailman - 06-07-2021, 11:16 AM
RE: Official Debian support - by moonwalkers - 06-07-2021, 07:01 PM
RE: Official Debian support - by alpopa - 06-12-2021, 06:16 AM
RE: Official Debian support - by moonwalkers - 06-12-2021, 08:29 AM
RE: Official Debian support - by alpopa - 06-12-2021, 11:38 AM
RE: Official Debian support - by thequailman - 06-13-2021, 06:53 PM
RE: Official Debian support - by sepp - 06-12-2021, 12:20 PM
RE: Official Debian support - by sepp - 06-22-2021, 11:27 AM
RE: Official Debian support - by sepp - 06-24-2021, 12:03 AM
RE: Official Debian support - by thequailman - 06-25-2021, 02:14 PM
RE: Official Debian support - by moonwalkers - 06-25-2021, 02:48 PM
RE: Official Debian support - by sepp - 06-26-2021, 02:17 AM
RE: Official Debian support - by moonwalkers - 06-26-2021, 01:22 PM
RE: Official Debian support - by thequailman - 06-27-2021, 07:50 PM
RE: Official Debian support - by alpopa - 06-28-2021, 05:56 AM
RE: Official Debian support - by moonwalkers - 06-28-2021, 08:42 AM
RE: Official Debian support - by sepp - 06-29-2021, 11:31 PM
RE: Official Debian support - by moonwalkers - 06-30-2021, 08:20 AM
RE: Official Debian support - by thequailman - 06-28-2021, 07:17 AM
RE: Official Debian support - by sepp - 06-29-2021, 02:11 AM
RE: Official Debian support - by alpopa - 07-05-2021, 06:42 AM
RE: Official Debian support - by sepp - 07-06-2021, 01:47 AM
RE: Official Debian support - by moonwalkers - 07-01-2021, 09:58 AM
RE: Official Debian support - by sepp - 07-03-2021, 01:02 PM
RE: Official Debian support - by moonwalkers - 07-04-2021, 10:54 AM
RE: Official Debian support - by sepp - 07-09-2021, 06:02 AM
RE: Official Debian support - by moonwalkers - 07-09-2021, 08:56 AM
RE: Official Debian support - by sepp - 07-09-2021, 09:09 AM
RE: Official Debian support - by moonwalkers - 07-09-2021, 12:28 PM
RE: Official Debian support - by sepp - 07-10-2021, 03:20 AM
RE: Official Debian support - by sepp - 07-10-2021, 06:23 AM
RE: Official Debian support - by moonwalkers - 07-10-2021, 07:59 AM
RE: Official Debian support - by sepp - 07-22-2021, 08:19 AM
RE: Official Debian support - by moonwalkers - 08-02-2021, 08:13 AM
RE: Official Debian support - by thequailman - 08-02-2021, 08:35 AM
RE: Official Debian support - by moonwalkers - 08-02-2021, 02:05 PM
RE: Official Debian support - by bcnaz - 08-02-2021, 07:05 PM
RE: Official Debian support - by moonwalkers - 08-02-2021, 09:52 PM
RE: Official Debian support - by bcnaz - 08-03-2021, 02:04 AM
RE: Official Debian support - by brzegorz - 08-20-2021, 02:44 PM
RE: Official Debian support - by bcnaz - 08-20-2021, 07:49 PM
RE: Official Debian support - by sepp - 08-21-2021, 12:25 PM
RE: Official Debian support - by Humid Stylus - 08-28-2021, 12:35 AM
RE: Official Debian support - by alpopa - 08-28-2021, 01:31 PM
RE: Official Debian support - by Humid Stylus - 10-26-2021, 05:31 AM
RE: Official Debian support - by alpopa - 10-03-2021, 03:47 AM
RE: Official Debian support - by vajak - 10-03-2021, 12:14 PM
RE: Official Debian support - by bcnaz - 10-03-2021, 07:42 PM
RE: Official Debian support - by vajak - 10-04-2021, 05:49 PM
RE: Official Debian support - by alpopa - 10-28-2021, 09:17 AM
RE: Official Debian support - by malyessarah71 - 11-08-2021, 11:44 AM
RE: Official Debian support - by alpopa - 11-19-2021, 09:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian on Pinebook Pro u974615 7 835 03-31-2024, 10:11 AM
Last Post: u974615
  install debian on pbp jsch 7 3,979 11-22-2023, 04:22 PM
Last Post: TRS-80
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 7,268 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  Unable to install Debian Bullseye because of missing wifi firmware Pino64 7 3,972 07-15-2023, 02:58 PM
Last Post: u974615
  Armbian is [edit: no longer] dropping support for Pinebook Pro TRS-80 4 4,096 12-23-2022, 12:01 AM
Last Post: TRS-80
Question Debian (Vanilla) no output on display after Kernel update (6.0.8-1) as365n4 1 1,253 12-09-2022, 12:43 PM
Last Post: as365n4
  Unsuccessful using danielt's unofficial Debian installer on the PBP joeDoe 2 2,301 12-09-2022, 05:04 AM
Last Post: ndp
  Armbian VPU decoding support coming soon LivingLinux 0 787 11-13-2022, 02:32 PM
Last Post: LivingLinux
  How can I install Debian? ImmyChan 1 2,004 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,858 09-23-2022, 08:37 PM
Last Post: computerc

Forum Jump:


Users browsing this thread: 2 Guest(s)