Fix for Armbian not booting on PBP from eMMC
#1
I just finally found a solution for this and wanted to share at a high-level. 

In short: there's something not right about the DTB file from Armbian.  I replaced the Armbian file "/boot/dtb/rockchip/rk3399-pinebook-pro.dtb" with the file "/usr/lib/linux-image-5.<x>.<x>/rockchip/rk3399-pinebook-pro.dtb" from Kali and it boots like a champ after that.

After getting it to boot my 2.4ghz wifi worked but 5ghz did not.  Download the 3 files here to your /usr/lib/firmware/brcm folder: https://gitlab.com/kalilinux/build-scrip...rmware/pbp
  Reply
#2
that worked well thanks. something is wrong with latest armbian dtb for pinebookpro

also the 5GHz did not work out of the box but worked with your fix, quality

thanks
  Reply
#3
Hi,

I've had a lot of issues with booting both the Pinebook Pro and Rockpro64 from eMMC, but *finally* discovered that the problems began when I upgraded to the 5.15 kernel. Downgrading, and pinning, to the 5.10 kernel fixes the problems booting from eMMC and *also* fixes ALL the problems I had with the Pine64 docking station not working! Incidentally, the HDMI on the dock does NOT work if using USB-C PD to power the Pinebook Pro: It only works if I use the 5V barrel connector to power the Pinebook Pro and power the dock from the Pinebook. The VGA display does work when using USB-C PD, though. I changed kernels using "armbian-config" and 'froze' the Armbian 'firmware' settings, but this failed to pin the packages and I broke it again as soon as I did an upgrade so I pinned the packages manually:

cat /etc/apt/preferences
Package: linux-dtb-current-rockchip64
Pin: version 21.08.2
Pin-Priority: 1001

Package: linux-headers-current-rockchip64
Pin: version 21.08.2
Pin-Priority: 1001

Package: linux-image-current-rockchip64
Pin: version 21.08.2
Pin-Priority: 1001


AFAIK, "armbian-config" should do this automatically, but doesn't...

This is the kernel I'm running now:

inux pinebook-pro 5.10.63-rockchip64 #21.08.2 SMP PREEMPT Wed Sep 8 10:57:23 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

Might be worth comparing the dtb's?

Bye,

  Tony.
  Reply
#4
Even if you fix boot, Armbians apt updater is broken big time at the moment. Dev in forums is basically telling ppl to f off.
  Reply
#5
Quote:Dev in forums is basically telling ppl to f off

It is your stupid shopping decision and not devs in forums.
  Reply
#6
(08-24-2022, 02:57 PM)agreenbhm Wrote: the file "/usr/lib/linux-image-5.<x>.<x>/rockchip/rk3399-pinebook-pro.dtb" from Kali

I have been poking around their sources, but so far unable to locate this file. Any help would be greatly appreciated.
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
#7
(03-25-2023, 06:51 AM)TRS-80 Wrote:
(08-24-2022, 02:57 PM)agreenbhm Wrote: the file "/usr/lib/linux-image-5.<x>.<x>/rockchip/rk3399-pinebook-pro.dtb" from Kali

I have been poking around their sources, but so far unable to locate this file.  Any help would be greatly appreciated.

I don't have any specific Kali knowledge, but I have reason to believe there's some similarities between Kali and Debian ... which likely means it's just a compiled upstream dts file, which the kernel package extracts to /usr/lib/linux-image-<kernel-version>-arm64/rockchip/ directory.
  Reply
#8
Thanks for the pointer, @diederik  , however the Kali DTS/DTB ended up being kind of a red herring.

What was more important was getting some sort of bootloader on the SPI.  I used tow-boot, but that's just a lightly skinned u-boot really.  Anyway, the full details can be found in the following thread:

Getting Armbian working on second batch (Mid 2022) PineBook Pro

If anyone still wants to look at the DTB diff, you can follow the link in the 4th paragraph of above post where it says 'In this post, I will continue from where I left off here' (well, I ended up deciding to link it directly from here as well Smile ).
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
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 0 190 11-10-2024, 02:50 PM
Last Post: Sb2024
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,382 12-13-2023, 07:22 PM
Last Post: trillobite
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 929 12-07-2023, 03:11 PM
Last Post: wdt
  USB 3 port not working with Armbian zaius 3 1,804 11-13-2023, 01:54 PM
Last Post: zaius
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 2,542 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Issue with booting Manjaro from encrypted NVMe drive on pbp Cs137 1 1,414 08-18-2023, 01:58 AM
Last Post: juliamenendez
  Audio on Armbian Hobbes42 1 1,319 08-04-2023, 01:18 AM
Last Post: Humid Stylus
  Blank screen after Armbian 20.04 install to emmc? psychoacoustic 3 4,480 04-01-2023, 03:22 PM
Last Post: TRS-80
  Armbian 22.02 release announcement TRS-80 22 17,272 04-01-2023, 03:19 PM
Last Post: TRS-80
  Sound on Armbian Bram 1 1,453 04-01-2023, 03:16 PM
Last Post: TRS-80

Forum Jump:


Users browsing this thread: 1 Guest(s)