Barebox works very well on my RK3588 Pocket Reform and reliably boots my Debian stable system with /boot on eMMC.
I observed that to boot a system from sd-card, /boot on the sd-card has to have bootspec files in /boot/loader/entries/*.conf which are created since reform-tools 1.84. Older system images on sd-card with just boot.scr or extlinux.conf will not get booted by barebox.
Also note, that when booting with barebox, when the flash-kernel hook is run during kernel upgrades, flash-kernel will exit early with the message:
System running in EFI mode, skipping.
This is fine since reform-tools 1.87 which ships its own hook populating /conf/conf.d/default_root in case flash-kernel doesn’t do it. This is also the point where you could try out performing a sudo apt remove flash-kernel. Your system should still work fine afterwards. We are experimenting with a system without flash-kernel in this MR:
[ 3.400631] panel-mnt-pocket-reform fde30000.dsi.0: [display] init in prepare...
[ 10.736624] panel-mnt-pocket-reform fde30000.dsi.0: [display] init in prepare...
the first one does not make the panel work (which I think should), but the second which is triggered by the previous script does.
Tried 5 scenarios:
latest official os image on sdcard
latest official os image on sdcard with the hack
latest official os image on sdcard with hdmi
debian/trixie on emmc
debian/trixie on emmc with the hack
The two scenarios without the hack got consistently a blank screen, the two with the hack got consistently a working panel, and when HDMI was connected to a monitor, both internal panel and hdmi worked.
You can also force the panel work by:
setterm -blank 1, after screen is blanked/resumed panel works (kernel logs “panel … init in prepare …”)
setterm -blank force -term linux </dev/tty1 >/dev/tty1
setterm -blank poke -term linux </dev/tty1 >/dev/tty1
inside a wayland session by enabling and disabling a display, like with wdisplays command.
Dmesg from latest Debian/Sid booting from both u-boot and barebox:
I’m adding to my previous post that my Pocket with display panel v1, with an HDMI monitor attached, boots correctly with both internal panel and HDMI active.