Orion O6 Linux 6.6.89-3-sky1 boot with DTB

I was able to build the kernel ( GitHub - radxa-pkg/edk2-cix: EDK2 for CIX platform · GitHub ) with the tag: 6.6.89-3 and boot up successfully with ACPI. However it fails with DTB boot:


[ 0.000000] [pid:0,cpu0,swapper/0]sched_clock: 61 bits at 1000MHz, resolution 1ns, wraps every 4398046511103ns
[ 0.010463] [pid:0,cpu0,swapper/0]Console: colour dummy device 80x25
[ 0.016887] [pid:0,cpu0,swapper/0]printk: console [tty1] enabled
[ 0.022958] [pid:0,cpu0,swapper/0]printk: bootconsole [pl11] disabled
NOTICE: Send CMD: 0x82000002
NOTICE: Send CMD: 0x82000002

Would you please check the following .conf difference and let me know how to enable DTB boot? I also tried 6.6.89-6 version but failed in both ACPI and DTB boot. Thanks.

radxa@RadxaOrionO6:~$ echo “===== NEW -3 ACPI =====”

sudo cat /boot/efi/loader/entries/RadxaOS-6.6.89-3-sky1-new-acpi.conf

echo

echo “===== NEW -3 DTB =====”

sudo cat /boot/efi/loader/entries/RadxaOS-6.6.89-3-sky1-new-dtb.conf

===== NEW -3 ACPI =====

title Debian GNU/Linux 12 (bookworm) - NEW VERSION 3

version 6.6.89-3-sky1

sort-key debian

options root=UUID=ce95976e-7c04-4b82-8251-c780b6b3fac1 console=ttyAMA0,115200n8 earlycon=pl011,0x040d0000 acpi=force loglevel=8 ignore_loglevel rw earlycon consoleblank=0 console=tty1 coherent_pool=2M irqchip.gicv3_pseudo_nmi=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 kasan=off

linux /RadxaOS/6.6.89-3-sky1/linux-new

initrd /RadxaOS/6.6.89-3-sky1/initrd.img-6.6.89-3-sky1

===== NEW -3 DTB =====

title Debian GNU/Linux 12 (bookworm) - NEW VERSION 3 DTB!

version 6.6.89-3-sky1

sort-key debian

options root=UUID=ce95976e-7c04-4b82-8251-c780b6b3fac1 console=ttyAMA0,115200n8 earlycon=pl011,0x040d0000 acpi=off loglevel=8 ignore_loglevel rw earlycon consoleblank=0 console=tty1 coherent_pool=2M irqchip.gicv3_pseudo_nmi=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 kasan=off

linux /RadxaOS/6.6.89-3-sky1/linux-new

initrd /RadxaOS/6.6.89-3-sky1/initrd.img-6.6.89-3-sky1

devicetree /RadxaOS/6.6.89-3-sky1/sky1-orion-o6-new.dtb

To close the loop, the following boot entry/parameter works on Orion O6 board with DTB boot:

linux      /RadxaOS/6.6.89-3-sky1-ddr/linux
initrd     /RadxaOS/6.6.89-3-sky1-ddr/initrd.img-6.6.89-3-sky1-ddr
devicetree /RadxaOS/6.6.89-3-sky1-ddr/sky1-orion-o6.dtb
options    root=UUID=ce95976e-7c04-4b82-8251-c780b6b3fac1 rootwait console=ttyAMA0,115200n8 earlycon=pl011,0x040d0000 acpi=off loglevel=4 rw earlycon consoleblank=0 console=tty1 coherent_pool=2M irqchip.gicv3_pseudo_nmi=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 kasan=off

Any particular reason at this point why you’d rather stay on 6.x ?

7.x is now stable enough, open source, and focused by CIX.

Ubuntu has it on its concept image (no need for you to build it manually), Armbian has it too (though not sure if it’s already on mainline, but I’m currently using 7.1 on edge).

The only requirement is to have a recent enough bios version.

Ah, I did not know that Armbian has a image for orion o6 board.
I just checked, is it the Cix-ACPI image ?
Can you give us a few words on what is working and not working ?

Hi LaurentD,

Yes it’s this one. Interesting patch was there. But looking here it seems it still hasn’t made it to stable branch.

To get it you have to build your own armbian image using their script.

I did it in early august month and it has worked for me since.

Had laggy behavior in ubuntu, this is what triggered me to try armbian.

From my experience :

  • HDMI still doesn’t bring audio/sound (#dummy plug)
  • Fullscreen video glitches are fixed
  • The generated image doesn’t need to be tweaked with any specific kernel option (I’m referring to original trixie image crashing when putting the cpu in sleep/lowpower state)

Anyway, it’s stable enough to keep running for nearly 2 months now, and it’s more fluid for video & browser streaming.

Only downside is being on the edge-branch : I’m a little scared of future updates :smiley: .

Thank you,
I also found that ubuntu was laggy but I am not sure why. I am experiencing these three bugs now on my debian 13 install so I am glad some of them are fixed.
About the fullscreen glitches, there is now an official chrome arm64 build that is not affected and streaming works perfectly with it. No need of any hack to watch netflix.