PINE64
Boot Order in Pinebook Pro - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Boot Order in Pinebook Pro (/showthread.php?tid=18877)

Pages: 1 2


RE: Boot Order in Pinebook Pro - KC9UDX - 03-21-2025

(03-21-2025, 03:27 AM)rosaryspirit Wrote: That makes sense—keeping a solid U-Boot on eMMC gives flexibility without messing with SPI flash. I’ll check out the NetBSD one. Does it support booting from USB and NVMe smoothly?

At some point they upgraded the U-Boot that comes with NetBSD; so the modern one works even better. But I'm not sure about USB and NVMe support. I expect it works but I haven't tried either.


RE: Boot Order in Pinebook Pro - DrYak - 03-28-2025

(11-23-2023, 07:37 AM)KC9UDX Wrote: I would avoid the SPI flash.

Nowadays (2025), there's the solution of flashing RK2AW on the SPI alongside U-boot

Megi made pre-bootloader/menu that will check if there are bootloaders on the SD card or on the eMMC and those will take precedence, other wise it has 2 backup copies of U-Boot next to it.

So you can flash that on the SPI, and if something goes wrong in the U-Boot you flashed, or if you merely need a different U-Boot for a different OS, you can simply pop a SD card with it and it will boot.

See here for a package containing rk2aw, opensource U-boot, and U-boot with Rockchip's binary memory initialisation:
https://xff.cz/kernels/bootloaders/ (new item: https://xnux.eu/log/091.html )


RE: Boot Order in Pinebook Pro - finmark - 05-25-2026

(03-21-2025, 03:27 AM)rosaryspirit Wrote:
(11-23-2023, 07:37 AM)KC9UDX Wrote: I would avoid the SPI flash.  Having a good U-Boot on the eMMC works.  It won't let you boot multiple operating systems on the same media, but it will let you boot from any device.  You easily flash a good U-Boot over the Manjaru one without affecting Manjaru itself.

The one that I use which comes with NetBSD (and can probably be sourced other ways) doesn't have a "menu" but it does have a command interpreter that you can invoke by pressing a key when prompted.

See this: https://youtube.com/shorts/jVab9bcjM_I
That makes sense—keeping a solid U-Boot on eMMC gives flexibility without messing with SPI flash. I’ll check out the NetBSD one. Does it support booting from USB and NVMe smoothly?

Thanks for sharing. I saw this video. its very helpful for me.


RE: Boot Order in Pinebook Pro - benjaminnelson - 11-10-2026

The rk2aw approach on SPI is interesting because it keeps recovery local without depending on a single U-Boot image, which is the weak point if a bad flash locks things up. For USB and NVMe, I would not assume the NetBSD U-Boot covers both just because it boots eMMC and SD reliably; device trees and storage controller support can differ between builds. Testing from a spare SD card first seems the safest way to confirm, since a failed boot there costs nothing compared with reflashing eMMC.


RE: Boot Order in Pinebook Pro - noahclark - 11-10-2026

The point about avoiding eMMC reflashes is the practical one for me: a spare SD card as a first test keeps a bad U-Boot from costing you a working install. On USB and NVMe, I would not assume any build covers both just because it handles SD and eMMC; storage controller and device tree support vary by build, so check what the package actually enables before trusting it at boot. The SPI recovery layer does seem to reduce the risk of a single bad image, though it is still another thing to keep updated.