- 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]