Kernel panic booting fresh install image on rockpi 4a with sata pentahat on newer Kernels .. last working 6.6.56

  • DietPi version | 9.14.2 .. but the behaviour was first discovered in autumn 2024 after some kernel updates
  • Distro version | bookworm
  • Kernel version | Linux DietPi 6.12.34-current-rockchip64 #1 SMP PREEMPT Thu Jun 19 13:32:38 UTC 2025 aarch64 GNU/Linux
  • Architecture | aem64
  • SBC model | ROCK 4 (aarch64)
  • Power supply used | 5V 3A via USB-C or 12V via Pentahat
  • SD card used | SanDisk ultra
  • Software title | Linux Kernel
  • Can this issue be replicated on a fresh installation of DietPi? yes

Steps

Dietpi System running flawlessly on a rockpi 4a with sata pentahat since 2021.
Issue was first discoverd in autumn 2024 after a dietpi upgrade (not sure which version)
which also fetched/upgraded new kernel images / dtbs via apt.
The system was not able to boot, no hdmi output.
Upon disconnecting the Sata-Pentahat board via the flex cable, it was able to boot through.
Mitigation was to boot an earlier dietpi backup and mark all kernel related updates via apt to hold.
Now i finally connected a serial console to dig into the issue and at least submit a bootlog until kernel panic.
To check into it, i tried to boot a fresh installimage from the website, just downloaded 10 minutes ago, same behaviour, no difference if emmc or sdcard.
what kernel is working:
Linux XXXXXX 6.6.56-current-rockchip64 #1 SMP PREEMPT Thu Oct 10 10:50:06 UTC 2024 aarch64 GNU/Linux

edit: this is probably an issue with armbian/kernel. will try to replicate the issue with a vanilla armbian image.
edit2: booting current armbian image also yields kernel panic, see reply for console log

Expected

Boot without kernel panic.

Actual

kernelpanic before hdmi is initialized, so nothing it seen at all. only via serial console we see the kernel panic.

Extra

full serial console log until panic

U-Boot TPL 2022.07-armbian-2022.07-Se092-Pfa03-H8c72-V70f2-Bda0a-R448a (Sep 28 2024 - 02:33:46)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2022.07-armbian-2022.07-Se092-Pfa03-H8c72-V70f2-Bda0a-R448a (Sep 28 2024 - 02:33:46 +0000)
Trying to boot from SPI
Trying to boot from MMC2
Card did not respond to voltage select! : -110
spl: mmc init failed with error: -95
Trying to boot from MMC1
NOTICE:  BL31: v1.3(release):845ee93
NOTICE:  BL31: Built : 15:51:11, Jul 22 2020
NOTICE:  BL31: Rockchip release version: v1.1
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    If lpddr4 need support multi frequency,
INFO:    please update loader!
INFO:    Current ctl index[0] freq=400MHz
INFO:    Current ctl index[1] freq=800MHz
INFO:    plat_rockchip_pmu_init(1196): pd status 3e
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9

U-Boot 2022.07-armbian-2022.07-Se092-Pfa03-H8c72-V70f2-Bda0a-R448a (Sep 28 2024 - 02:33:46 +0000)

SoC: Rockchip rk3399
Reset cause: POR
Model: Radxa ROCK Pi 4B
DRAM:  3.9 GiB
PMIC:  RK808
Core:  285 devices, 31 uclasses, devicetree: separate
MMC:   mmcATfe310000: 2, mmcATfe320000: 1, mmcATfe330000: 0
Loading Environment from SPIFlash... SF: Detected XT25F32B with page size 256 Bytes, erase size 4 KiB, total 4 MiB
*** Warning - bad CRC, using default environment
In:    serial
Out:   serial
Err:   serial
Model: Radxa ROCK Pi 4B
Net:   eth0: ethernetATfe300000
Hit any key to stop autoboot:  0
starting USB...
Bus usbATfe380000: USB EHCI 1.00
Bus usbATfe3c0000: USB EHCI 1.00
Bus usbATfe800000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus usbATfe900000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usbATfe380000 for devices... 1 USB Device(s) found
scanning bus usbATfe3c0000 for devices... 1 USB Device(s) found
scanning bus usbATfe800000 for devices... 1 USB Device(s) found
scanning bus usbATfe900000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Device 0: unknown device
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
3222 bytes read in 4 ms (786.1 KiB/s)
## Executing script at 00500000
338 bytes read in 4 ms (82 KiB/s)
83374 bytes read in 18 ms (4.4 MiB/s)
38277632 bytes read in 1621 ms (22.5 MiB/s)
14939069 bytes read in 636 ms (22.4 MiB/s)
Moving Image from 0x2080000 to 0x2200000, end=4760000
## Flattened Device Tree blob at 01f00000
Booting using the fdt blob at 0x1f00000
Loading Ramdisk to f10cc000, end f1f0b3bd ... OK
Loading Device Tree to 00000000f10b4000, end 00000000f10cb5ad ... OK
Starting kernel ...
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.12.34-current-rockchip64 (buildATarmbian) (aarch64-linux-gnu-gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #1 SMP PREEMPT Thu Jun 19 13:32:38 UTC 2025
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: Radxa ROCK Pi 4B
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] NODE_DATA(0) allocated [mem 0xf77d0c80-0xf77d33ff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] cma: Reserved 128 MiB at 0x00000000e9000000 on node -1
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 34 pages/cpu s99480 r8192 d31592 u139264
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: root=UUID=a25c2666-f6dc-4b46-971a-27d2907fd447 rootfstype=ext4 rootwait console=ttyS2,1500000 console=tty1 consoleblank=0 coherent_pool=2M partuuid=d0c4dd8e-01 net.ifnames=0
[    0.000000] Unknown kernel command line parameters "partuuid=d0c4dd8e-01", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Fallback order for Node 0: 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1015296
[    0.000000] Policy zone: DMA
[    0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 3MB
[    0.000000] software IO TLB: area num 8.
[    0.000000] software IO TLB: mapped [mem 0x00000000f2e00000-0x00000000f3200000] (4MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=6.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] RCU Tasks: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=6.
[    0.000000] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=6.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GIC: enabling workaround for GICv3: Insecure RK3399 integration
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: Broken GIC integration, pNMI forbidden
[    0.000000] GICv3: GICD_CTRL.DS=0, SCR_EL3.FIQ=1
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITSAT0x00000000fee20000: allocated 65536 Devices AT580000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table AT0x0000000000530000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table AT0x0000000000540000
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpuAT0[0] /cpus/cpuAT1[1] /cpus/cpuAT2[2] /cpus/cpuAT3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpuAT100[4] /cpus/cpuAT101[5] }
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001503] Console: colour dummy device 80x25
[    0.001524] printk: legacy console [tty1] enabled
[    0.002873] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.002924] pid_max: default: 32768 minimum: 301
[    0.003075] LSM: initializing lsm=capability,yama,apparmor
[    0.003199] Yama: becoming mindful.
[    0.003661] AppArmor: AppArmor initialized
[    0.003844] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.003905] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.008571] rcu: Hierarchical SRCU implementation.
[    0.008621] rcu:     Max phase no-delay instances is 1000.
[    0.009084] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.010673] EFI services will not be available.
[    0.011284] smp: Bringing up secondary CPUs ...
[    0.012435] Detected VIPT I-cache on CPU1
[    0.012550] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.012586] GICv3: CPU1: using allocated LPI pending table AT0x0000000000550000
[    0.012652] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.013818] Detected VIPT I-cache on CPU2
[    0.013909] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.013941] GICv3: CPU2: using allocated LPI pending table AT0x0000000000560000
[    0.013989] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.015099] Detected VIPT I-cache on CPU3
[    0.015189] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.015219] GICv3: CPU3: using allocated LPI pending table AT0x0000000000570000
[    0.015265] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.016495] CPU features: detected: Spectre-v2
[    0.016511] CPU features: detected: Spectre-v3a
[    0.016518] CPU features: detected: Spectre-v4
[    0.016526] CPU features: detected: Spectre-BHB
[    0.016535] CPU features: detected: ARM erratum 1742098
[    0.016544] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.016551] Detected PIPT I-cache on CPU4
[    0.016646] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.016674] GICv3: CPU4: using allocated LPI pending table AT0x0000000000600000
[    0.016719] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.017848] Detected PIPT I-cache on CPU5
[    0.017931] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.017957] GICv3: CPU5: using allocated LPI pending table AT0x0000000000610000
[    0.017995] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.018169] smp: Brought up 1 node, 6 CPUs
[    0.018640] SMP: Total of 6 processors activated.
[    0.018664] CPU: All CPU(s) started at EL2
[    0.018716] CPU features: detected: 32-bit EL0 Support
[    0.018741] CPU features: detected: 32-bit EL1 Support
[    0.018768] CPU features: detected: CRC32 instructions
[    0.018885] alternatives: applying system-wide alternatives
[    0.021832] Memo
[    1.829197] dw_wdt ff848000.watchdog: No valid TOPs array specified
[    1.832025] sdhci: Secure Digital Host Controller Interface driver
[    1.832678] sdhci: Copyright(c) Pierre Ossman
[    1.833114] Synopsys Designware Multimedia Card Interface Driver
[    1.834789] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.835364] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    1.835831] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    1.836035] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    1.836054] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    1.836735] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    1.837333] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 50,32 bit host data width,256 deep fifo
[    1.837546] hid: raw HID events driver (C) Jiri Kosina
[    1.837682] usbcore: registered new interface driver usbhid
[    1.837689] usbhid: USB HID core driver
[    1.837815] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    1.839321] rockchip-dfi ff630000.dfi: dfi initialized, dram type: 0x7, channels: 2
[    1.839396] mmc0: CQHCI version 5.10
[    1.839809] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 51,32 bit host data width,256 deep fifo
[    1.843507] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[    1.844130] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 (0,8000003f) counters available
[    1.845770] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 (0,8000003f) counters available
[    1.848755] NET: Registered PF_INET6 protocol family
[    1.856501] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.868293] mmc0: SDHCI controller on fe330000.mmc [fe330000.mmc] using ADMA
[    1.916060] Segment Routing with IPv6
[    1.916527] In-situ OAM (IOAM) with IPv6
[    1.917056] NET: Registered PF_PACKET protocol family
[    1.917545] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.919341] 8021q: 802.1Q VLAN Support v1.8
[    1.919797] Key type dns_resolver registered
[    1.931784] registered taskstats version 1
[    1.932658] Loading compiled-in X.509 certificates
[    1.952513] mmc0: Command Queue Engine enabled
[    1.952912] zswap: loaded using pool zstd/zbud
[    1.952969] mmc0: new HS400 Enhanced strobe MMC card at address 0001
[    1.954068] Demotion targets for Node 0: null
[    1.955559] Key type .fscrypt registered
[    1.955930] Key type fscrypt-provisioning registered
[    1.955984] mmcblk0: mmc0:0001 SPeMMC 29.0 GiB
[    1.959363]  mmcblk0: p1
[    1.959512] Btrfs loaded, zoned=yes, fsverity=yes
[    1.960175] mmcblk0boot0: mmc0:0001 SPeMMC 4.00 MiB
[    1.960278] Key type encrypted registered
[    1.961038] AppArmor: AppArmor sha256 policy hashing enabled
[    1.962338] mmcblk0boot1: mmc0:0001 SPeMMC 4.00 MiB
[    1.965310] mmcblk0rpmb: mmc0:0001 SPeMMC 4.00 MiB, chardev (243:0)
[    2.004686] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    2.007352] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    2.007377] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    2.007442] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    2.009320] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    2.009900] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 50,32 bit host data width,256 deep fifo
[    2.019636] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.020168] xhci-hcd xhci-hcd.0.auto: new

 USB bus registered, assigned bus number 1
[    2.021049] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000808002000010
[    2.021940] xhci-hcd xhci-hcd.0.auto: irq 58, io mem 0xfe800000
[    2.022681] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.023189] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    2.023884] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    2.024711] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[    2.025464] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.026115] usb usb1: Product: xHCI Host Controller
[    2.026559] usb usb1: Manufacturer: Linux 6.12.34-current-rockchip64 xhci-hcd
[    2.027200] usb usb1: SerialNumber: xhci-hcd.0.auto
[    2.028491] hub 1-0:1.0: USB hub found
[    2.028882] hub 1-0:1.0: 1 port detected
[    2.029703] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.030581] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.12
[    2.031330] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.031981] usb usb2: Product: xHCI Host Controller
[    2.032459] usb usb2: Manufacturer: Linux 6.12.34-current-rockchip64 xhci-hcd
[    2.033101] usb usb2: SerialNumber: xhci-hcd.0.auto
[    2.034180] hub 2-0:1.0: USB hub found
[    2.034564] hub 2-0:1.0: 1 port detected
[    2.035848] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    2.037244] mmc1: new high speed SDXC card at address e624
[    2.039213] mmcblk1: mmc1:e624 SN128 119 GiB
[    2.041133] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.041664] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    2.042504] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000808002000010
[    2.043401] xhci-hcd xhci-hcd.1.auto: irq 59, io mem 0xfe900000
[    2.043642]  mmcblk1: p1 p2
[    2.044130] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.044752] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    2.045448] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    2.046251] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[    2.047000] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.047651] usb usb3: Product: xHCI Host Controller
[    2.048095] usb usb3: Manufacturer: Linux 6.12.34-current-rockchip64 xhci-hcd
[    2.048790] usb usb3: SerialNumber: xhci-hcd.1.auto
[    2.049903] hub 3-0:1.0: USB hub found
[    2.050290] hub 3-0:1.0: 1 port detected
[    2.051081] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.051959] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.12
[    2.052780] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.053436] usb usb4: Product: xHCI Host Controller
[    2.053880] usb usb4: Manufacturer: Linux 6.12.34-current-rockchip64 xhci-hcd
[    2.054519] usb usb4: SerialNumber: xhci-hcd.1.auto
[    2.055599] hub 4-0:1.0: USB hub found
[    2.055984] hub 4-0:1.0: 1 port detected
[    2.060387] ehci-platform fe380000.usb: EHCI Host Controller
[    2.060519] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    2.060938] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 5
[    2.060982] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 6
[    2.061041] ehci-platform fe3c0000.usb: EHCI Host Controller
[    2.061074] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 7
[    2.061268] ehci-platform fe3c0000.usb: irq 62, io mem 0xfe3c0000
[    2.061675] ehci-platform fe380000.usb: irq 60, io mem 0xfe380000
[    2.062432] ohci-platform fe3a0000.usb: irq 63, io mem 0xfe3a0000
[    2.065251] rk808-regulator rk808-regulator.3.auto: max buck steps per change: 8
[    2.076249] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    2.077285] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[    2.078054] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.078722] usb usb7: Product: EHCI Host Controller
[    2.079178] usb usb7: Manufacturer: Linux 6.12.34-current-rockchip64 ehci_hcd
[    2.079833] usb usb7: SerialNumber: fe3c0000.usb
[    2.079988] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    2.081288] hub 7-0:1.0: USB hub found
[    2.081706] hub 7-0:1.0: 1 port detected
[    2.082265] rockchip-pcie f8000000.pcie: host bridge /pcieATf8000000 ranges:
[    2.082692] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 8
[    2.082946] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    2.083299] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    2.083345] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    2.083363] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    2.083412] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 50,32 bit host data width,256 deep fifo
[    2.083705] dwmmc_rockchip fe310000.mmc: allocated mmc-pwrseq
[    2.083729] ohci-platform fe3e0000.usb: irq 73, io mem 0xfe3e0000
[    2.084452] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    2.085083] mmc_host mmc2: card is non-removable.
[    2.088252] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    2.090085] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[    2.090837] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.091489] usb usb5: Product: EHCI Host Controller
[    2.091933] usb usb5: Manufacturer: Linux 6.12.34-current-rockchip64 ehci_hcd
[    2.092606] usb usb5: SerialNumber: fe380000.usb
[    2.093754] hub 5-0:1.0: USB hub found
[    2.094141] hub 5-0:1.0: 1 port detected
[    2.100403] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    2.128667] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12
[    2.129495] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.130167] usb usb6: Product: Generic Platform OHCI controller
[    2.130
[    2.140807] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12
[    2.141572] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.142227] usb usb8: Product: Generic Platform OHCI controller
[    2.142763] usb usb8: Manufacturer: Linux 6.12.34-current-rockchip64 ohci_hcd
[    2.143404] usb usb8: SerialNumber: fe3e0000.usb
[    2.144691] hub 8-0:1.0: USB hub found
[    2.145082] hub 8-0:1.0: 1 port detected
[    2.156630] mmc_host mmc2: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[    2.217335] mmc_host mmc2: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[    2.284555] mmc_host mmc2: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[    2.348797] rockchip-pcie f8000000.pcie: wait 1500 ms (from device tree) before bus scan
[    2.359853] mmc2: Failed to initialize a non-removable card
[    2.588607] usb 6-1: new low-speed USB device number 2 using ohci-platform
[    2.816821] usb 6-1: New USB device found, idVendor=046a, idProduct=0011, bcdDevice= 1.00
[    2.817625] usb 6-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.834285] input: HID 046a:0011 as /devices/platform/fe3a0000.usb/usb6/6-1/6-1:1.0/0003:046A:0011.0001/input/input0
[    2.890208] hid-generic 0003:046A:0011.0001: input,hidraw0: USB HID v1.11 Keyboard [HID 046a:0011] on usb-fe3a0000.usb-1/input0
[    3.873385] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
[    3.874009] pci_bus 0000:00: root bus resource [bus 00-1f]
[    3.874513] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff]
[    3.875138] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff])
[    3.876034] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400 PCIe Root Port
[    3.876832] pci 0000:00:00.0: PCI bridge to [bus 00]
[    3.877298] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    3.878000] pci 0000:00:00.0: supports D1
[    3.878369] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    3.884382] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.885227] SError Interrupt on CPU4, code 0x00000000bf000002 -- SError
[    3.885241] CPU: 4 UID: 0 PID: 63 Comm: kworker/u26:3 Not tainted 6.12.34-current-rockchip64 #1
[    3.885254] Hardware name: Radxa ROCK Pi 4B (DT)
[    3.885261] Workqueue: events_unbound deferred_probe_work_func
[    3.885287] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    3.885298] pc : rockchip_pcie_rd_conf+0x17c/0x200
[    3.885311] lr : rockchip_pcie_rd_conf+0x170/0x200
[    3.885319] sp : ffff8000830e37c0
[    3.885324] x29: ffff8000830e37c0 x28: ffff800082383088 x27: 0000000000000000
[    3.885341] x26: 0000000000000001 x25: 0000000000000000 x24: ffff80008251f030
[    3.885355] x23: 0000000000000000 x22: ffff8000830e3894 x21: ffff8000830e37f4
[    3.885369] x20: 0000000000000000 x19: 0000000000000004 x18: ffffffffffffffff
[    3.885382] x17: 6572202c295d3030 x16: 2d3030207375625b x15: ffff8000830e3680
[    3.885396] x14: ffff00000ad17a1c x13: ffff00000ad17290 x12: 00000000000e93c3
[    3.885410] x11: ffff00000ad1d818 x10: 0000000000000000 x9 : 00000000000005b4
[    3.885425] x8 : 000000003d4d554e x7 : ffff00000ad1d380 x6 : ffff00000ad1d800
[    3.885438] x5 : ffff00000ad1e000 x4 : ffff800089000000 x3 : 0000000000c00008
[    3.885452] x2 : 000000000080000a x1 : ffff800089c00008 x0 : ffff800089c0000c
**[    3.885468] Kernel panic - not syncing: Asynchronous SError Interrupt**
[    3.885474] CPU: 4 UID: 0 PID: 63 Comm: kworker/u26:3 Not tainted 6.12.34-current-rockchip64 #1
[    3.885485] Hardware name: Radxa ROCK Pi 4B (DT)
[    3.885490] Workqueue: events_unbound deferred_probe_work_func
[    3.885505] Call trace:
[    3.885509]  dump_backtrace+0x94/0x114
[    3.885521]  show_stack+0x18/0x24
[    3.885530]  dump_stack_lvl+0x34/0x8c
[    3.885542]  dump_stack+0x18/0x24
[    3.885552]  panic+0x39c/0x3fc
[    3.885565]  nmi_panic+0x40/0x8c
[    3.885576]  arm64_serror_panic+0x64/0x70
[    3.885585]  do_serror+0x3c/0x70
[    3.885594]  el1h_64_error_handler+0x30/0x48
[    3.885607]  el1h_64_error+0x64/0x68
[    3.885616]  rockchip_pcie_rd_conf+0x17c/0x200
[    3.885624]  pci_bus_read_config_dword+0x80/0xe4
[    3.885637]  pci_bus_generic_read_dev_vendor_id+0x30/0x190
[    3.885650]  pci_scan_single_device+0xac/0x110
[    3.885661]  pci_scan_slot+0x6c/0x204
[    3.885673]  pci_scan_child_bus_extend+0x44/0x2cc
[    3.885685]  pci_scan_bridge_extend+0x2bc/0x5f8
[    3.885697]  pci_scan_child_bus_extend+0x1b8/0x2cc
[    3.885709]  pci_scan_root_bus_bridge+0x64/0xd8
[    3.885721]  pci_host_probe+0x30/0xe0
[    3.885733]  rockchip_pcie_probe+0x438/0x5f4
[    3.885742]  platform_probe+0x68/0xc8
[    3.885749]  really_probe+0xc0/0x390
[    3.885762]  __driver_probe_device+0x7c/0x15c
[    3.885776]  driver_probe_device+0x3c/0x10c
[    3.885788]  __device_attach_driver+0xbc/0x158
[    3.885801]  bus_for_each_drv+0x88/0xe8
[    3.885812]  __device_attach+0xa0/0x1b4
[    3.885825]  device_initial_probe+0x14/0x20
[    3.885838]  bus_probe_device+0xac/0xb0
[    3.885850]  deferred_probe_work_func+0x9c/0xec
[    3.885862]  process_one_work+0x16c/0x3e4
[    3.885870]  worker_thread+0x2d0/0x3d8
[    3.885878]  kthread+0x10c/0x110
[    3.885891]  ret_from_fork+0x10/0x20
[    3.885903] SMP: stopping secondary CPUs
[    3.886067] Kernel Offset: disabled
[    3.886070] CPU features: 0x08,00002083,c0200000,4200421b
[    3.886078] Memory Limit: none
[    3.912760] ---[ end Kernel panic - not syncing: Asynchronous SError Interrupt ]---

###############################################################################################


[my WORKING BOOT in comparison via eMMC and connected SATA Pentahat (all sata and usb drives disconnected)]


β–’β–’β–’β–’β–’β–’β–’β–’
U-Boot TPL 2022.07-armbian-2022.07-Se092-Pfa03-H8c72-V70f2-Bda0a-R448a (Sep 28 2024 - 02:33:46)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...
U-Boot SPL 2022.07-armbian-2022.07-Se092-Pfa03-H8c72-V70f2-Bda0a-R448a (Sep 28 2024 - 02:33:46 +0000)
Trying to boot from SPI
Trying to boot from MMC2
Card did not respond to voltage select! : -110
spl: mmc init failed with error: -95
Trying to boot from MMC1
NOTICE:  BL31: v1.3(release):845ee93
NOTICE:  BL31: Built : 15:51:11, Jul 22 2020
NOTICE:  BL31: Rockchip release version: v1.1
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    If lpddr4 need support multi frequency,
INFO:    please update loader!
INFO:    Current ctl index[0] freq=400MHz
INFO:    Current ctl index[1] freq=800MHz
INFO:    plat_rockchip_pmu_init(1196): pd status 3e
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9
U-Boot 2022.07-armbian-2022.07-Se092-Pfa03-H8c72-V70f2-Bda0a-R448a (Sep 28 2024 - 02:33:46 +0000)
SoC: Rockchip rk3399
Reset cause: POR
Model: Radxa ROCK Pi 4B
DRAM:  3.9 GiB
PMIC:  RK808
Core:  285 devices, 31 uclasses, devicetree: separate
MMC:   mmcATfe310000: 2, mmcATfe320000: 1, mmcATfe330000: 0
Loading Environment from SPIFlash... SF: Detected XT25F32B with page size 256 Bytes, erase size 4 KiB, total 4 MiB
*** Warning - bad CRC, using default environment
In:    serial
Out:   serial
Err:   serial
Model: Radxa ROCK Pi 4B
Net:   eth0: ethernet-at-fe300000

[truncated due to post size limit]

continued working bootlog

β–’β–’β–’β–’β–’β–’β–’β–’
U-Boot TPL 2022.07-armbian-2022.07-Se092-Pfa03-H8c72-V70f2-Bda0a-R448a (Sep 28 2024 - 02:33:46)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2022.07-armbian-2022.07-Se092-Pfa03-H8c72-V70f2-Bda0a-R448a (Sep 28 2024 - 02:33:46 +0000)
Trying to boot from SPI
Trying to boot from MMC2
Card did not respond to voltage select! : -110
spl: mmc init failed with error: -95
Trying to boot from MMC1
NOTICE:  BL31: v1.3(release):845ee93
NOTICE:  BL31: Built : 15:51:11, Jul 22 2020
NOTICE:  BL31: Rockchip release version: v1.1
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    If lpddr4 need support multi frequency,
INFO:    please update loader!
INFO:    Current ctl index[0] freq=400MHz
INFO:    Current ctl index[1] freq=800MHz
INFO:    plat_rockchip_pmu_init(1196): pd status 3e
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2022.07-armbian-2022.07-Se092-Pfa03-H8c72-V70f2-Bda0a-R448a (Sep 28 2024 - 02:33:46 +0000)

SoC: Rockchip rk3399
Reset cause: POR
Model: Radxa ROCK Pi 4B
DRAM:  3.9 GiB
PMIC:  RK808
Core:  285 devices, 31 uclasses, devicetree: separate
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, mmc@fe330000: 0
Loading Environment from SPIFlash... SF: Detected XT25F32B with page size 256 Bytes, erase size 4 KiB, total 4 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Radxa ROCK Pi 4B
Net:   eth0: ethernet@fe300000
Hit any key to stop autoboot:  0
starting USB...
Bus usb@fe380000: USB EHCI 1.00
Bus usb@fe3c0000: USB EHCI 1.00
Bus usb@fe800000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus usb@fe900000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fe380000 for devices... 1 USB Device(s) found
scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found
scanning bus usb@fe800000 for devices... 1 USB Device(s) found
scanning bus usb@fe900000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
Card did not respond to voltage select! : -110
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3185 bytes read in 16 ms (194.3 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 0
294 bytes read in 13 ms (21.5 KiB/s)
13704191 bytes read in 1338 ms (9.8 MiB/s)
30095872 bytes read in 2868 ms (10 MiB/s)
81775 bytes read in 56 ms (1.4 MiB/s)
747 bytes read in 25 ms (28.3 KiB/s)
Applying user provided DT overlay rockpi-penta.dtbo
2825 bytes read in 46 ms (59.6 KiB/s)
Applying kernel provided DT fixup script (rockchip-fixup.scr)
## Executing script at 09000000
Moving Image from 0x2080000 to 0x2200000, end=3f60000
## Loading init Ramdisk from Legacy Image at 06000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    13704127 Bytes = 13.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Ramdisk to f11f9000, end f1f0abbf ... OK
   Loading Device Tree to 00000000f117c000, end 00000000f11f8fff ... OK

Starting kernel ...

Loading, please wait...
Starting version 247.3-7+deb11u6
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1: clean, 212225/1815168 files, 3097181/7589592 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Debian GNU/Linux 11 (bullseye)!

[  OK  ] Created slice system-getty.slice.
[  OK  ] Created slice system-modprobe.slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target Slices.
[  OK  ] Reached target Swap.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
         Mounting Huge Pages File System...
         Mounting POSIX Message Queue File System...
         Mounting Kernel Debug File System...
         Mounting Kernel Trace File System...
         Starting Restore / save the current clock...
         Starting Set the console keyboard layout...
         Starting Create list of st…odes for the current kernel...
         Starting Load Kernel Module configfs...
         Starting Load Kernel Module drm...
         Starting Load Kernel Module fuse...
         Starting Journal Service...
         Starting Load Kernel Modules...
         Starting Remount Root and Kernel File Systems...
         Starting Coldplug All udev Devices...
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Trace File System.
[  OK  ] Finished Restore / save the current clock.
[  OK  ] Finished Create list of st… nodes for the current kernel.
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting Load/Save Random Seed...
         Starting Apply Kernel Variables...
         Starting Create System Users...
[  OK  ] Finished Set the console keyboard layout.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Journal Service.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Set up automount mnt-XXX.automount.
[  OK  ] Set up automount mnt-XXX.automount.
[  OK  ] Set up automount mnt-XXX.automount.
[  OK  ] Set up automount mnt-XXX.automount.
[  OK  ] Set up automount mnt-XXX.automount.
[  OK  ] Set up automount mnt-XXX.automount.
[  OK  ] Set up automount mnt-usb-nvme.automount.
         Mounting /tmp...
         Mounting /var/log...
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Mounted /tmp.
[  OK  ] Mounted /var/log.
[  OK  ] Reached target Local File Systems.
         Starting Set console font and keymap...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Finished Set console font and keymap.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] Started Rule-based Manager for Device Events and Files.
         Starting Helper to synchronize boot up for ifupdown...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Run certbot twice daily.
[  OK  ] Started Daily exim4-base housekeeping.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting DietPi-RAMlog...
         Starting Initialize hardware monitoring sensors...
[  OK  ] Started Start entropy gathering daemon (rngd).
         Starting Self Monitoring a…g Technology (SMART) Daemon...
         Starting User Login Management...
[  OK  ] Finished Initialize hardware monitoring sensors.
[  OK  ] Started Self Monitoring an…ing Technology (SMART) Daemon.
[  OK  ] Finished DietPi-RAMlog.
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[  OK  ] Started User Login Management.
[  OK  ] Reached target Sound Card.
         Starting DietPi-PreBoot...
[   11.865292] DietPi-PreBoot[414]:  DietPi-CPU_set
[   11.876694] DietPi-PreBoot[414]: ─────────────────────────────────────────────────────
[   11.878903] DietPi-PreBoot[414]:  Mode: Applying CPU governor settings: schedutil
[   11.939434] DietPi-PreBoot[414]: [ INFO ] DietPi-CPU_set | Setting CPU frequency limits : Max = 1800 MHz | Min = 600 MHz
[   11.952869] DietPi-PreBoot[414]: [  OK  ] DietPi-CPU_set | Applied CPU governor settings: schedutil
[  OK  ] Finished DietPi-PreBoot.
[  OK  ] Reached target Network (Pre).
         Starting ifup for eth0...
         Starting Raise network interfaces...
[  OK  ] Finished Raise network interfaces.
[  OK  ] Finished ifup for eth0.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
[  OK  ] Started DietPi-PostBoot.
         Starting LSB: exim Mail Transport Agent...
         Starting Fail2Ban Service...
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
         Starting xrdp session manager...
[  OK  ] Started Fail2Ban Service.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started xrdp session manager.
         Starting xrdp daemon...
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started LSB: exim Mail Transport Agent.
[  OK  ] Started xrdp daemon.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Finished Update UTMP about System Runlevel Changes.

 ─────────────────────────────────────────────────────
 DietPi v9.13.2 : 18:22 - Mon 07/21/25
 ─────────────────────────────────────────────────────
 - LAN IP : XXXXXXXXXXXXXXXX (eth0)

 Please hit <return> to login

β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’

result from Armbian_community_25.8.0-trunk.375_Rockpi-4a_bookworm_current_6.12.38_minimal.img

β–’β–’β–’β–’
U-Boot TPL 2022.07-armbian-2022.07-Se092-Pfa03-H8c72-V70f2-Bda0a-R448a (Sep 28 2024 - 02:33:46)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2022.07-armbian-2022.07-Se092-Pfa03-H8c72-V70f2-Bda0a-R448a (Sep 28 2024 - 02:33:46 +0000)
Trying to boot from SPI
Trying to boot from MMC2
Card did not respond to voltage select! : -110
spl: mmc init failed with error: -95
Trying to boot from MMC1
NOTICE:  BL31: v1.3(release):845ee93
NOTICE:  BL31: Built : 15:51:11, Jul 22 2020
NOTICE:  BL31: Rockchip release version: v1.1
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    If lpddr4 need support multi frequency,
INFO:    please update loader!
INFO:    Current ctl index[0] freq=400MHz
INFO:    Current ctl index[1] freq=800MHz
INFO:    plat_rockchip_pmu_init(1196): pd status 3e
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2022.07-armbian-2022.07-Se092-Pfa03-H8c72-V70f2-Bda0a-R448a (Sep 28 2024 - 02:33:46 +0000)

SoC: Rockchip rk3399
Reset cause: POR
Model: Radxa ROCK Pi 4B
DRAM:  3.9 GiB
PMIC:  RK808
Core:  285 devices, 31 uclasses, devicetree: separate
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, mmc@fe330000: 0
Loading Environment from SPIFlash... SF: Detected XT25F32B with page size 256 Bytes, erase size 4 KiB, total 4 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Radxa ROCK Pi 4B
Net:   eth0: ethernet@fe300000
Hit any key to stop autoboot:  0
starting USB...
Bus usb@fe380000: USB EHCI 1.00
Bus usb@fe3c0000: USB EHCI 1.00
Bus usb@fe800000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus usb@fe900000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fe380000 for devices... 1 USB Device(s) found
scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found
scanning bus usb@fe800000 for devices... 1 USB Device(s) found
scanning bus usb@fe900000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
3906 bytes read in 5 ms (762.7 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 1:1
169 bytes read in 4 ms (41 KiB/s)
16729239 bytes read in 712 ms (22.4 MiB/s)
38277632 bytes read in 1621 ms (22.5 MiB/s)
82808 bytes read in 15 ms (5.3 MiB/s)
2825 bytes read in 8 ms (344.7 KiB/s)
Applying kernel provided DT fixup script (rockchip-fixup.scr)
## Executing script at 09000000
Trying kaslrseed command... Info: Unknown command can be safely ignored since kaslrseed does not apply to all boards.
Unknown command 'kaslrseed' - try 'help'
Moving Image from 0x2080000 to 0x2200000, end=4760000
## Loading init Ramdisk from Legacy Image at 06000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    16729175 Bytes = 16 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Ramdisk to f0f17000, end f1f0b457 ... OK
   Loading Device Tree to 00000000f0e9a000, end 00000000f0f16fff ... OK

Starting kernel ...

efi_free_pool: illegal free 0x00000000f0f0d040
efi_free_pool: illegal free 0x00000000f0f0a040
[    4.101794] SError Interrupt on CPU4, code 0x00000000bf000002 -- SError
[    4.101808] CPU: 4 UID: 0 PID: 48 Comm: kworker/u26:0 Not tainted 6.12.38-current-rockchip64 #1
[    4.101821] Hardware name: Radxa ROCK Pi 4A (DT)
[    4.101827] Workqueue: events_unbound deferred_probe_work_func
[    4.101853] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    4.101864] pc : rockchip_pcie_rd_conf+0x17c/0x200
[    4.101876] lr : rockchip_pcie_rd_conf+0x170/0x200
[    4.101884] sp : ffff80008285b7c0
[    4.101889] x29: ffff80008285b7c0 x28: ffff800082383088 x27: 0000000000000000
[    4.101907] x26: 0000000000000001 x25: 0000000000000000 x24: ffff80008251f030
[    4.101922] x23: 0000000000000000 x22: ffff80008285b894 x21: ffff80008285b7f4
[    4.101937] x20: 0000000000000000 x19: 0000000000000004 x18: ffffffffffffffff
[    4.101951] x17: 6572202c295d3030 x16: 2d3030207375625b x15: ffff80008285b680
[    4.101965] x14: ffff00000978fa1c x13: ffff00000978f290 x12: 00000000000e92ee
[    4.101979] x11: ffff0000094f8018 x10: 0000000000000000 x9 : 000000000000058f
[    4.101994] x8 : 000000003d4d554e x7 : ffff000005578b80 x6 : ffff0000094f8000
[    4.102008] x5 : ffff0000094f8800 x4 : ffff800089000000 x3 : 0000000000c00008
[    4.102022] x2 : 000000000080000a x1 : ffff800089c00008 x0 : ffff800089c0000c
[    4.102038] Kernel panic - not syncing: Asynchronous SError Interrupt
[    4.102044] CPU: 4 UID: 0 PID: 48 Comm: kworker/u26:0 Not tainted 6.12.38-current-rockchip64 #1
[    4.102056] Hardware name: Radxa ROCK Pi 4A (DT)
[    4.102061] Workqueue: events_unbound deferred_probe_work_func
[    4.102076] Call trace:
[    4.102081]  dump_backtrace+0x94/0x114
[    4.102094]  show_stack+0x18/0x24
[    4.102103]  dump_stack_lvl+0x34/0x8c
[    4.102117]  dump_stack+0x18/0x24
[    4.102127]  panic+0x39c/0x3fc
[    4.102141]  nmi_panic+0x40/0x8c
[    4.102152]  arm64_serror_panic+0x64/0x70
[    4.102163]  do_serror+0x3c/0x70
[    4.102173]  el1h_64_error_handler+0x30/0x48
[    4.102187]  el1h_64_error+0x64/0x68
[    4.102197]  rockchip_pcie_rd_conf+0x17c/0x200
[    4.102206]  pci_bus_read_config_dword+0x80/0xe4
[    4.102218]  pci_bus_generic_read_dev_vendor_id+0x30/0x190
[    4.102233]  pci_scan_single_device+0xac/0x110
[    4.102245]  pci_scan_slot+0x6c/0x204
[    4.102257]  pci_scan_child_bus_extend+0x44/0x2cc
[    4.102270]  pci_scan_bridge_extend+0x2bc/0x5f8
[    4.102283]  pci_scan_child_bus_extend+0x1b8/0x2cc
[    4.102295]  pci_scan_root_bus_bridge+0x64/0xd8
[    4.102309]  pci_host_probe+0x30/0xe0
[    4.102322]  rockchip_pcie_probe+0x438/0x5f4
[    4.102332]  platform_probe+0x68/0xc8
[    4.102341]  really_probe+0xc0/0x390
[    4.102354]  __driver_probe_device+0x7c/0x15c
[    4.102368]  driver_probe_device+0x3c/0x10c
[    4.102381]  __device_attach_driver+0xbc/0x158
[    4.102395]  bus_for_each_drv+0x88/0xe8
[    4.102407]  __device_attach+0xa0/0x1b4
[    4.102420]  device_initial_probe+0x14/0x20
[    4.102434]  bus_probe_device+0xac/0xb0
[    4.102446]  deferred_probe_work_func+0x9c/0xec
[    4.102459]  process_one_work+0x16c/0x3e4
[    4.102469]  worker_thread+0x2d0/0x3d8
[    4.102477]  kthread+0x10c/0x110
[    4.102491]  ret_from_fork+0x10/0x20
[    4.102505] SMP: stopping secondary CPUs
[    4.102667] Kernel Offset: disabled
[    4.102670] CPU features: 0x08,00002083,c0200000,4200421b
[    4.102679] Memory Limit: none
[    4.129336] ---[ end Kernel panic - not syncing: Asynchronous SError Interrupt ]---

Hmm, that’s tricky. The RockPi 4 is β€œonly” community maintained at Armbian. This means it doesn’t have full support there. Theoretically, you could try posting in the Armbian forum and maybe someone there can look into the problem. However, it’s important to use a native Armbian image and avoid any references to DietPi.

Yes thanks for the reply, already posted something on the armbian rock pi 4 support forum, but kept it here also for visibility and hope if somebody catches a detail i might have missed. Will keep updating this post, if anything comes up on the armbian front or i figure something else out.