I have not done anything new, both boards were put into service about 1.5 years ago or so probably about the first time I show up on the forums. Definitely not over or even near five years I hope but time does fly by.
Okay thanks, so either only very old bootloaders are affected, or it it affects certain SD cards only.
@usr_9 @Cosmo2 if you are open for another test:
cd /tmp
wget https://dietpi.com/downloads/binaries/testing/linux-u-boot-rock64-current.deb https://dietpi.com/downloads/binaries/testing/linux-{dtb,image}-current-rockchip64.deb
dpkg -i linux-u-boot-rock64-current.deb linux-{dtb,image}-current-rockchip64.deb
/boot/dietpi/func/dietpi-set_hardware flash-uboot-mmc
reboot
I’'l give it try tomorrow. Have to reconnect the HDMI and the UART to the Rock64.
Had my UART cable handy so I decided to give this a try. Here’s a summary of my steps and results:
-
Flashed “DietPi_ROCK64-ARMv8-Bookworm.img.xz” to SD card.
-
Booted up ROCK64, ran through initial setup and update/upgrade. Rebooted fine.
-
Ran through ROCK64 specific steps from POST 14 (ROCK(Pro)64 won't boot with Linux 6.12 - #14 by MichaIng). Result: Reboots fine into Linux DietPi 6.6.56-current-rockchip64 #1 SMP PREEMPT Thu Oct 10 10:50:06 UTC 2024 aarch64 GNU/Linux.
-
Proceeded to go through steps from POST 22 (ROCK(Pro)64 won't boot with Linux 6.12 - #22 by MichaIng). Result: ROCK64 does not boot.
root@DietPi:/tmp# wget https://dietpi.com/downloads/binaries/testing/linux-u-boot-rock64-current.deb https://dietpi.com/downloads/binaries/testing/linux-{dtb,image}-current-rockchip64.deb
--2025-06-11 17:04:14-- https://dietpi.com/downloads/binaries/testing/linux-u-boot-rock64-current.deb
Resolving dietpi.com (dietpi.com)... 172.67.193.183, 104.21.12.65, 2606:4700:3034::ac43:c1b7, ...
Connecting to dietpi.com (dietpi.com)|172.67.193.183|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 321636 (314K) [application/vnd.debian.binary-package]
Saving to: ‘linux-u-boot-rock64-current.deb’
linux-u-boot-rock64-current.deb 100%[==========================================================>] 314.10K 1.32MB/s in 0.2s
2025-06-11 17:04:15 (1.32 MB/s) - ‘linux-u-boot-rock64-current.deb’ saved [321636/321636]
--2025-06-11 17:04:15-- https://dietpi.com/downloads/binaries/testing/linux-dtb-current-rockchip64.deb
Reusing existing connection to dietpi.com:443.
HTTP request sent, awaiting response... 200 OK
Length: 769892 (752K) [application/vnd.debian.binary-package]
Saving to: ‘linux-dtb-current-rockchip64.deb’
linux-dtb-current-rockchip64.deb 100%[==========================================================>] 751.85K 1.84MB/s in 0.4s
2025-06-11 17:04:15 (1.84 MB/s) - ‘linux-dtb-current-rockchip64.deb’ saved [769892/769892]
--2025-06-11 17:04:15-- https://dietpi.com/downloads/binaries/testing/linux-image-current-rockchip64.deb
Reusing existing connection to dietpi.com:443.
HTTP request sent, awaiting response... 200 OK
Length: 48667600 (46M) [application/vnd.debian.binary-package]
Saving to: ‘linux-image-current-rockchip64.deb’
linux-image-current-rockchip64.d 100%[==========================================================>] 46.41M 26.7MB/s in 1.7s
2025-06-11 17:04:17 (26.7 MB/s) - ‘linux-image-current-rockchip64.deb’ saved [48667600/48667600]
FINISHED --2025-06-11 17:04:17--
Total wall clock time: 3.3s
Downloaded: 3 files, 47M in 2.4s (20.0 MB/s)
root@DietPi:/tmp# dpkg -i linux-u-boot-rock64-current.deb linux-{dtb,image}-current-rockchip64.deb
(Reading database ... 17645 files and directories currently installed.)
Preparing to unpack linux-u-boot-rock64-current.deb ...
Unpacking linux-u-boot-rock64-current (25.08.0-trunk-dietpi1) over (25.08.0-trunk-dietpi1) ...
Preparing to unpack linux-dtb-current-rockchip64.deb ...
Armbian 'linux-dtb-current-rockchip64' for '6.12.32-current-rockchip64': 'preinst' starting.
Armbian 'linux-dtb-current-rockchip64' for '6.12.32-current-rockchip64': 'preinst' finishing.
Unpacking linux-dtb-current-rockchip64 (25.08.0-trunk-dietpi1) over (24.11.0-trunk-dietpi1) ...
Preparing to unpack linux-image-current-rockchip64.deb ...
Armbian 'linux-image-current-rockchip64' for '6.6.56-current-rockchip64': 'prerm' starting.
Armbian 'linux-image-current-rockchip64' for '6.6.56-current-rockchip64': 'prerm' finishing.
Armbian 'linux-image-current-rockchip64' for '6.12.32-current-rockchip64': 'preinst' starting.
Armbian 'linux-image-current-rockchip64' for '6.12.32-current-rockchip64': 'preinst' finishing.
Unpacking linux-image-current-rockchip64 (25.08.0-trunk-dietpi1) over (24.11.0-trunk-dietpi1) ...
Armbian 'linux-image-current-rockchip64' for '6.6.56-current-rockchip64': 'postrm' starting.
Removing obsolete initramfs images
Armbian 'linux-image-current-rockchip64' for '6.6.56-current-rockchip64': 'postrm' finishing.
Setting up linux-u-boot-rock64-current (25.08.0-trunk-dietpi1) ...
Armbian 'uboot-rock64-current' for '2022.07-Se092-P9a7e-H7573-V54ab-Bb703-R448a': 'postinst' starting.
Armbian 'uboot-rock64-current' for '2022.07-Se092-P9a7e-H7573-V54ab-Bb703-R448a': 'postinst' finishing.
Setting up linux-dtb-current-rockchip64 (25.08.0-trunk-dietpi1) ...
Armbian 'linux-dtb-current-rockchip64' for '6.12.32-current-rockchip64': 'postinst' starting.
Armbian: DTB: symlinking /boot/dtb to /boot/dtb-6.12.32-current-rockchip64...
'dtb' -> 'dtb-6.12.32-current-rockchip64'
Armbian 'linux-dtb-current-rockchip64' for '6.12.32-current-rockchip64': 'postinst' finishing.
Setting up linux-image-current-rockchip64 (25.08.0-trunk-dietpi1) ...
Armbian 'linux-image-current-rockchip64' for '6.12.32-current-rockchip64': 'postinst' starting.
Removing obsolete initramfs images
removed '/boot/initrd.img-6.6.56-current-rockchip64'
removed '/boot/uInitrd-6.6.56-current-rockchip64'
update-initramfs: Generating /boot/initrd.img-6.12.32-current-rockchip64
update-initramfs: Converting to U-Boot format
Image Name: uInitrd
Created: Wed Jun 11 17:06:43 2025
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 14952544 Bytes = 14602.09 KiB = 14.26 MiB
Load Address: 00000000
Entry Point: 00000000
'/boot/uInitrd' -> 'uInitrd-6.12.32-current-rockchip64'
Armbian: update last-installed kernel symlink to 'Image'...
'/boot/Image' -> 'vmlinuz-6.12.32-current-rockchip64'
Armbian: Debian compat: linux-update-symlinks install 6.12.32-current-rockchip64 /boot/vmlinuz-6.12.32-current-rockchip64
Armbian 'linux-image-current-rockchip64' for '6.12.32-current-rockchip64': 'postinst' finishing.
root@DietPi:/tmp# /boot/dietpi/func/dietpi-set_hardware flash-uboot-mmc
DietPi-Set_hardware
─────────────────────────────────────────────────────
Mode: flash-uboot-mmc ()
208+1 records in
208+1 records out
106926 bytes (107 kB, 104 KiB) copied, 0.00311763 s, 34.3 MB/s
1640+1 records in
1640+1 records out
839824 bytes (840 kB, 820 KiB) copied, 0.168907 s, 5.0 MB/s
[ OK ] flash-uboot-mmc /dev/mmcblk0 | Completed
- Connect UART cable to pins 6, 8, and 10 of ROCK64. Output during boot is as follows:
Welcome to minicom 2.8
OPTIONS: I18n
Port /dev/ttyUSB0, 10:22:05
Press CTRL-A Z for help on special keys
@DDR version 1.13 20180428
ID:0x805 Y
In
LPDDR3
786MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=32 Size=1024MB
ddrconfig:1
OUT
U-Boot SPL 2017.09-rockchip-ayufan-1065-g95f6152134 (Apr 06 2020 - 08:10:17)
board_init_sdmmc_pwr_en
setup_ddr_param 1
booted from SPI flash
Trying to boot from SPI
NOTICE: BL31: v1.3(debug):9d3f591
NOTICE: BL31: Built : 14:39:02, Jan 17 2018
NOTICE: BL31:Rockchip release version: v1.3
INFO: ARM GICv2 driver initialized
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 1
INFO: plat_rockchip_pmu_init: pd status 0xe
INFO: BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s dK
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 2017.09-rockchip-ayufan-1065-g95f6152134 (Apr 06 2020 - 08:10:39 +0000)
Model: Pine64 Rock64
DRAM: 1022 MiB
MMC: rksdmmc@ff520000: 0, rksdmmc@ff500000: 1
SF: Detected gd25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment
In: serial@ff130000
Out: serial@ff130000
Err: serial@ff130000
Model: Pine64 Rock64
misc_init_r
cpuid=55524b5030393030370000000002220b
serial=334f3f8136648e5
Net: eth0: ethernet@ff540000
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
mmc_init: -95, time 10
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
2711 bytes read in 18 ms (146.5 KiB/s)
## Executing script at 00500000
312 bytes read in 23 ms (12.7 KiB/s)
38007296 bytes read in 1774 ms (20.4 MiB/s)
14952608 bytes read in 706 ms (20.2 MiB/s)
54353 bytes read in 258 ms (205.1 KiB/s)
## Loading init Ramdisk from Legacy Image at 04000000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 14952544 Bytes = 14.3 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 3d0bf000, end 3df01860 ... OK
Loading Device Tree to 000000003d0ae000, end 000000003d0be450 ... OK
Starting kernel ...
DietPi version | 9.13.2
Distro version | bookworm
Kernel version | Linux DietPi 6.6.56-current-rockchip64 #1 SMP PREEMPT Thu Oct 10 10:50:06 UTC 2024 aarch64 GNU/Linux
Architecture | arm64
SBC model | ROCK64 (aarch64) ROCK64_V2.0 2017-0713 1GB
Power supply used | Generic 5v 3A
SD card used | SanDisk High Endurance 32gb
Thanks for testing
U-Boot SPL 2017.09-rockchip-ayufan-1065-g95f6152134 (Apr 06 2020 - 08:10:17)
...
booted from SPI flash
So the culprit is indeed a very old bootloader on the SPI flash. I was not aware the ROCK64 has one, and it seems it loads the SPI bootloader even if there is one on the SD card or eMMC, like the Odroid HC4 does as well. There is no switch or jumper to force it loading the bootloader from MMC, is it? The Odroid HC4 has a little button for that at the bottom of the PCB.
The problem is that the Armbian config for the ROCK64 does not include an SPI U-Boot image. There is a config key to enable it, but that would be the case already if it worked. I mean I can just do a test build, and we see whether it works.
Is the SPI storage visible from the system?
ls -l /dev/mtd0 /dev/mtdblock0
root@DietPi:~# ls -l /dev/mtd0 /dev/mtdblock0
crw------- 1 root root 90, 0 Jun 16 15:25 /dev/mtd0
brw-rw---- 1 root disk 31, 0 Jun 16 15:25 /dev/mtdblock0
If I remember correctly this bootloader was flashed to enable booting from USB.
There is no jumper I can see, there is a recovery button, though not sure if it’s any help in this case.
This is what I get on mine:
dietpi@DietPi:~$ sudo ls -l /dev/mtd0 /dev/mtdblock0
ls: cannot access '/dev/mtd0': No such file or directory
ls: cannot access '/dev/mtdblock0': No such file or directory
The only jumper is to enable/disable the optional onboard eMMC, it is right behind the power button.
Mine is revision v3
Hmm, revision 3 has the SPI flash as well: https://files.pine64.org/doc/rock64/ROCK64_Schematic_v3.0_20181105.pdf
Maybe it changed enough so that kernel cannot expose it on revision 3 for some reason. Or Linux 6.12 lost support to expose it (which would not cause any issue).
I’ll create a U-Boot patch.
Since in theory it is possible that that U-Boot SPI image is broken, but functional enough for the hardware to try booting with it, then failing at some point, I checked back whether there is any method to disable the SPI flash. Otherwise it could be permanently unbootable when failing at a bad stage, which I cannot believe is how anyone designs hardware, especially not PINE64. And luckily there is, using e.g. a jumper to shortcut pins 23 and 25:
- Recovery from bad SPI flash image (for ROCKPro64, but same for ROCK64)
- ayufan-rock64-linux-build/recipes/flash-spi.md at 92987cd699548e5d3fb8e5077ee53dd383d40642 · nuumio/ayufan-rock64-linux-build · GitHub
@qtang if you have a jumper, you can do this already now. Of course USB boot does not work in this case. So indeed best would be we manage to provide a compatible SPI bootloader.
… bootloader build done, looks good. So test:
cd /tmp
wget https://dietpi.com/downloads/binaries/testing/linux-u-boot-rock64-current.deb
dpkg -i linux-u-boot-rock64-current.deb
source /usr/lib/u-boot/platform_install.sh
write_uboot_platform_mtd "$DIR" /dev/mtdblock0
@bin4ry can you also try whether shortcutting pins 23 and 25 (23 to GND) solves boot with new kernel for you? Currently not sure whether you otherwise flashed the SPI bootloader already, or whether also the new one does not work with Linux 6.12 for some reason, or whether it is a dedicated issue. But this is at least something to test quicky with a jumper at hand.
Same Problem here with my NanoPi NEO3. I updated it yesterday after being on holiday some tome from 9.11 to 9.13. → No boot.
When using a clean install on a new SD card it boots and installs correctly, reboots and finishes install and when I reboot it is dead.
Not even pingable.
Are there any logs written which I can send? The SD cards are fine and readable with a cardreader.
I was able to flash the bootloader without issues. Here’s a log of commands for reference:
root@DietPi:~# uname -a
Linux DietPi 6.6.56-current-rockchip64 #1 SMP PREEMPT Thu Oct 10 10:50:06 UTC 2024 aarch64 GNU/Linux
root@DietPi:~# cd /tmp
root@DietPi:/tmp# wget https://dietpi.com/downloads/binaries/testing/linux-u-boot-rock64-current.deb
--2025-06-22 16:32:24-- https://dietpi.com/downloads/binaries/testing/linux-u-boot-rock64-current.deb
Resolving dietpi.com (dietpi.com)... 172.67.193.183, 104.21.12.65, 2606:4700:3034::ac43:c1b7, ...
Connecting to dietpi.com (dietpi.com)|172.67.193.183|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 323764 (316K) [application/vnd.debian.binary-package]
Saving to: ‘linux-u-boot-rock64-current.deb’
linux-u-boot-rock64-current.deb 100%[==========================================================>] 316.18K 1.02MB/s in 0.3s
2025-06-22 16:32:25 (1.02 MB/s) - ‘linux-u-boot-rock64-current.deb’ saved [323764/323764]
root@DietPi:/tmp# dpkg -i linux-u-boot-rock64-current.deb
(Reading database ... 17643 files and directories currently installed.)
Preparing to unpack linux-u-boot-rock64-current.deb ...
Unpacking linux-u-boot-rock64-current (25.08.0-trunk-dietpi2) over (24.11.0-trunk-dietpi1) ...
Setting up linux-u-boot-rock64-current (25.08.0-trunk-dietpi2) ...
Armbian 'uboot-rock64-current' for '2022.07-Se092-P3fcd-H7573-Vbbef-Bb703-R448a': 'postinst' starting.
Armbian 'uboot-rock64-current' for '2022.07-Se092-P3fcd-H7573-Vbbef-Bb703-R448a': 'postinst' finishing.
root@DietPi:/tmp# source /usr/lib/u-boot/platform_install.sh
root@DietPi:/tmp# write_uboot_platform_mtd "$DIR" /dev/mtdblock0
Had to break up the posts due to character limit.
Here’s what the UART output of the new bootloader looks like:
Welcome to minicom 2.8
OPTIONS: I18n
Port /dev/ttyUSB0, 09:44:08
Press CTRL-A Z for help on special keys
U-Boot TPL 2022.07-armbian-2022.07-Se092-Pa6d7-H8c72-Vedc0-Bda0a-R448a (Sep 28 2024 - 02:44:41)
LPDDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS=1 Die BW=16 Size=1024MB
Trying to boot from BOOTROM
Returning to boot ROM...
U-Boot SPL 2022.07-armbian-2022.07-Se092-Pa6d7-H8c72-Vedc0-Bda0a-R448a (Sep 28 2024 - 02:44:41 +0000)
Trying to boot from MMC1
NOTICE: BL31: lts-v2.8.8(release):armbian
NOTICE: BL31: Built : 02:44:19, Sep 28 2024
NOTICE: BL31:Rockchip release version: v1.2
INFO: ARM GICv2 driver initialized
INFO: plat_rockchip_pmu_init: pd status 0xe
INFO: BL31: Initializing runtime services
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-Pa6d7-H8c72-Vedc0-Bda0a-R448a (Sep 28 2024 - 02:44:41 +0000)
Model: Pine64 Rock64
DRAM: 1022 MiB
PMIC: RK8050 (on=0x40, off=0x01)
Core: 229 devices, 25 uclasses, devicetree: separate
MMC: mmc@ff500000: 1, mmc@ff520000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial@ff130000
Out: serial@ff130000
Err: serial@ff130000
Model: Pine64 Rock64
Net: eth0: ethernet@ff540000
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
2711 bytes read in 5 ms (529.3 KiB/s)
## Executing script at 00500000
285 bytes read in 4 ms (69.3 KiB/s)
30095872 bytes read in 1307 ms (22 MiB/s)
12960247 bytes read in 596 ms (20.7 MiB/s)
53582 bytes read in 17 ms (3 MiB/s)
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: 12960183 Bytes = 12.4 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 3d2c4000, end 3df201b7 ... OK
Loading Device Tree to 000000003d2b3000, end 000000003d2c314d ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.6.56-current-rockchip64 (build@armbian) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP PREEMPT Thu Oct 10 10:50:06 UTC 24
[ 0.000000] KASLR disabled due to lack of seed
[ 0.000000] Machine model: Pine64 Rock64
[ 0.000000] efi: UEFI not found.
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x000000003fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x3fdb4980-0x3fdb6fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000200000-0x000000003fffffff]
[ 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-0x000000003fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000003fffffff]
[ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[ 0.000000] cma: Reserved 128 MiB at 0x0000000035200000 on node -1
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 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.2
[ 0.000000] percpu: Embedded 31 pages/cpu s88296 r8192 d30488 u126976
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: root=UUID=ee756c49-c203-458b-b63f-5c4ec726d905 rootfstype=ext4 rootwait console=ttyS2,1500000 console=tty1 consoleblank=0 coherent_pool=2M net.ifnames=0
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] Fallback order for Node 0: 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 257544
[ 0.000000] Policy zone: DMA
[ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 0MB
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x000000003ea80000-0x000000003eb80000] (1MB)
[ 0.000000] Memory: 850856K/1046528K available (16960K kernel code, 2318K rwdata, 5248K rodata, 4736K init, 604K bss, 64600K reserved, 131072K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] trace event string verifier disabled
[ 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=4.
[ 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=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 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.000841] Console: colour dummy device 80x25
[ 0.000860] printk: console [tty1] enabled
[ 0.001877] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.001928] pid_max: default: 32768 minimum: 301
[ 0.002072] LSM: initializing lsm=capability,yama,apparmor,integrity
[ 0.002145] Yama: becoming mindful.
[ 0.002296] AppArmor: AppArmor initialized
[ 0.002463] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.002509] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.005649] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.005849] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.006248] rcu: Hierarchical SRCU implementation.
[ 0.006277] rcu: Max phase no-delay instances is 1000.
[ 0.009577] EFI services will not be available.
[ 0.010158] smp: Bringing up secondary CPUs ...
[ 0.011142] Detected VIPT I-cache on CPU1
[ 0.011284] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.012511] Detected VIPT I-cache on CPU2
[ 0.012653] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.013775] Detected VIPT I-cache on CPU3
[ 0.013915] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.014082] smp: Brought up 1 node, 4 CPUs
[ 0.014213] SMP: Total of 4 processors activated.
[ 0.014238] CPU features: detected: 32-bit EL0 Support
[ 0.014260] CPU features: detected: 32-bit EL1 Support
[ 0.014286] CPU features: detected: CRC32 instructions
[ 0.014431] CPU: All CPU(s) started at EL2
[ 0.014491] alternatives: applying system-wide alternatives
[ 0.017178] devtmpfs: initialized
[ 0.031872] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.032001] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.037785] pinctrl core: initialized pinctrl subsystem
[ 0.038594] DMI not present or invalid.
[ 0.039708] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.041954] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[ 0.043033] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.044282] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.044424] audit: initializing netlink subsys (disabled)
[ 0.044799] audit: type=2000 audit(0.044:1): state=initialized audit_enabled=0 res=1
[ 0.045954] thermal_sys: Registered thermal governor 'fair_share'
[ 0.045968] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.045998] thermal_sys: Registered thermal governor 'step_wise'
[ 0.046023] thermal_sys: Registered thermal governor 'user_space'
[ 0.046139] cpuidle: using governor menu
[ 0.046541] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.046739] ASID allocator initialised with 65536 entries
[ 0.048282] Serial: AMBA PL011 UART driver
[ 0.059647] platform ff370000.vop: Fixed dependency cycle(s) with /hdmi@ff3c0000
[ 0.059818] platform ff3c0000.hdmi: Fixed dependency cycle(s) with /vop@ff370000
[ 0.071960] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.072545] rockchip-gpio ff210000.gpio: probed /pinctrl/gpio@ff210000
[ 0.073214] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.073672] rockchip-gpio ff220000.gpio: probed /pinctrl/gpio@ff220000
[ 0.074287] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.074727] rockchip-gpio ff230000.gpio: probed /pinctrl/gpio@ff230000
[ 0.075248] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.075660] rockchip-gpio ff240000.gpio: probed /pinctrl/gpio@ff240000
[ 0.079935] Modules: 25248 pages in range for non-PLT usage
[ 0.079958] Modules: 516768 pages in range for PLT usage
[ 0.081292] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.081357] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.081385] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.081411] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.081437] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.081462] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.081491] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.081516] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.083502] cryptd: max_cpu_qlen set to 1000
[ 0.152553] raid6: neonx8 gen() 1068 MB/s
[ 0.220652] raid6: neonx4 gen() 1097 MB/s
[ 0.288755] raid6: neonx2 gen() 1040 MB/s
[ 0.356870] raid6: neonx1 gen() 888 MB/s
[ 0.424987] raid6: int64x8 gen() 683 MB/s
[ 0.493070] raid6: int64x4 gen() 800 MB/s
[ 0.561182] raid6: int64x2 gen() 696 MB/s
[ 0.629324] raid6: int64x1 gen() 515 MB/s
[ 0.629350] raid6: using algorithm neonx4 gen() 1097 MB/s
[ 0.697387] raid6: .... xor() 778 MB/s, rmw enabled
[ 0.697412] raid6: using neon recovery algorithm
[ 0.698510] iommu: Default domain type: Translated
[ 0.698558] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.699288] SCSI subsystem initialized
[ 0.700009] usbcore: registered new interface driver usbfs
[ 0.700086] usbcore: registered new interface driver hub
[ 0.700172] usbcore: registered new device driver usb
[ 0.700866] pps_core: LinuxPPS API ver. 1 registered
[ 0.700898] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.700958] PTP clock support registered
[ 0.701284] EDAC MC: Ver: 3.0.0
[ 0.702214] scmi_core: SCMI protocol bus registered
[ 0.704037] NetLabel: Initializing
[ 0.704077] NetLabel: domain hash size = 128
[ 0.704098] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.704231] NetLabel: unlabeled traffic allowed by default
[ 0.704517] vgaarb: loaded
[ 0.705210] clocksource: Switched to clocksource arch_sys_counter
[ 0.708578] VFS: Disk quotas dquot_6.6.0
[ 0.708683] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.709667] AppArmor: AppArmor Filesystem Enabled
[ 0.722142] NET: Registered PF_INET protocol family
[ 0.722414] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.724750] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 0.724895] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.724961] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.725159] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[ 0.725575] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.725786] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.725874] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.726203] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.726274] NET: Registered PF_XDP protocol family
[ 0.726312] PCI: CLS 0 bytes, default 64
[ 0.726690] Trying to unpack rootfs image as initramfs...
[ 0.729592] kvm [1]: IPA Size Limit: 40 bits
[ 0.731828] kvm [1]: vgic interrupt IRQ9
[ 0.731925] kvm [1]: Hyp mode initialized successfully
[ 0.735335] Initialise system trusted keyrings
[ 0.735467] Key type blacklist registered
[ 0.735893] workingset: timestamp_bits=44 max_order=18 bucket_order=0
[ 0.736024] zbud: loaded
[ 0.737030] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.737871] fuse: init (API version 7.39)
[ 0.740526] integrity: Platform Keyring initialized
[ 0.805061] xor: measuring software checksum speed
[ 0.807764] 8regs : 1237 MB/sec
[ 0.810438] 32regs : 1247 MB/sec
[ 0.813329] arm64_neon : 1150 MB/sec
[ 0.813365] xor: using function: 32regs (1247 MB/sec)
[ 0.813401] Key type asymmetric registered
[ 0.813425] Asymmetric key parser 'x509' registered
[ 0.813600] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 0.813964] io scheduler mq-deadline registered
[ 0.814000] io scheduler kyber registered
[ 0.814085] io scheduler bfq registered
[ 0.824735] dma-pl330 ff1f0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 0.824801] dma-pl330 ff1f0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 0.827528] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.834223] printk: console [ttyS2] disabled
[ 0.834896] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 21, base_baud = 1500000) is a 16550A
[ 0.835041] printk: console [ttyS2] enabled
[ 0.934037] Serial: AMBA driver
[ 0.938627] rockchip-vop ff370000.vop: Adding to iommu group 2
[ 0.956457] loop: module loaded
[ 0.963719] spi-nor spi0.0: gd25q128 (16384 Kbytes)
[ 1.829922] Freeing initrd memory: 12656K
[ 1.853173] tun: Universal TUN/TAP device driver, 1.6
[ 1.854850] thunder_xcv, ver 1.0
[ 1.855216] thunder_bgx, ver 1.0
[ 1.855559] nicpf, ver 1.0
[ 1.856405] e1000e: Intel(R) PRO/1000 Network Driver
[ 1.856865] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 1.857496] igb: Intel(R) Gigabit Ethernet Network Driver
[ 1.857997] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 1.858545] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 1.859118] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 1.859848] sky2: driver version 1.30
[ 1.862574] dwc2 ff580000.usb: supply vusb_d not found, using dummy regulator
[ 1.863457] dwc2 ff580000.usb: supply vusb_a not found, using dummy regulator
[ 1.876998] dwc2 ff580000.usb: DWC OTG Controller
[ 1.877529] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
[ 1.878215] dwc2 ff580000.usb: irq 28, io mem 0xff580000
[ 1.879139] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[ 1.879909] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.880574] usb usb1: Product: DWC OTG Controller
[ 1.881012] usb usb1: Manufacturer: Linux 6.6.56-current-rockchip64 dwc2_hsotg
[ 1.881704] usb usb1: SerialNumber: ff580000.usb
[ 1.883031] hub 1-0:1.0: USB hub found
[ 1.883465] hub 1-0:1.0: 1 port detected
[ 1.886205] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 1.886758] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 1.887650] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000008002000010
[ 1.888120] ehci-platform ff5c0000.usb: EHCI Host Controller
[ 1.888142] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[ 1.888172] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
[ 1.888319] ohci-platform ff5d0000.usb: irq 30, io mem 0xff5d0000
[ 1.888555] xhci-hcd xhci-hcd.0.auto: irq 27, io mem 0xff600000
[ 1.889046] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 4
[ 1.890105] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 1.890542] ehci-platform ff5c0000.usb: irq 29, io mem 0xff5c0000
[ 1.890953] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[ 1.893960] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 1.894940] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[ 1.895709] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.896374] usb usb2: Product: xHCI Host Controller
[ 1.896827] usb usb2: Manufacturer: Linux 6.6.56-current-rockchip64 xhci-hcd
[ 1.897511] usb usb2: SerialNumber: xhci-hcd.0.auto
[ 1.898840] hub 2-0:1.0: USB hub found
[ 1.899277] hub 2-0:1.0: 1 port detected
[ 1.900368] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.901488] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[ 1.902259] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.902925] usb usb5: Product: xHCI Host Controller
[ 1.903379] usb usb5: Manufacturer: Linux 6.6.56-current-rockchip64 xhci-hcd
[ 1.904023] usb usb5: SerialNumber: xhci-hcd.0.auto
[ 1.905244] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[ 1.905392] hub 5-0:1.0: USB hub found
[ 1.906263] hub 5-0:1.0: 1 port detected
[ 1.907409] usbcore: registered new interface driver usb-storage
[ 1.907475] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[ 1.908727] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.909430] usb usb4: Product: EHCI Host Controller
[ 1.909893] usb usb4: Manufacturer: Linux 6.6.56-current-rockchip64 ehci_hcd
[ 1.909971] mousedev: PS/2 mouse device common for all mice
[ 1.910540] usb usb4: SerialNumber: ff5c0000.usb
[ 1.911799] i2c_dev: i2c /dev entries driver
[ 1.912299] hub 4-0:1.0: USB hub found
[ 1.912740] hub 4-0:1.0: 1 port detected
[ 1.913791] i2c 1-0018: Fixed dependency cycle(s) with /i2c@ff160000/pmic@18/regulators/DCDC_REG4
[ 1.922868] rk808-regulator rk808-regulator.2.auto: there is no dvs0 gpio
[ 1.923543] rk808-regulator rk808-regulator.2.auto: there is no dvs1 gpio
[ 1.924170] rk808-regulator rk808-regulator.2.auto: max buck steps per change: 8
[ 1.949633] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.06
[ 1.950420] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.951085] usb usb3: Product: Generic Platform OHCI controller
[ 1.951631] usb usb3: Manufacturer: Linux 6.6.56-current-rockchip64 ohci_hcd
[ 1.951848] rk808-rtc rk808-rtc.4.auto: registered as rtc0
[ 1.952276] usb usb3: SerialNumber: ff5d0000.usb
[ 1.954014] hub 3-0:1.0: USB hub found
[ 1.954055] rk808-rtc rk808-rtc.4.auto: setting system clock to 2016-01-21T08:50:14 UTC (1453366214)
[ 1.954433] hub 3-0:1.0: 1 port detected
[ 1.957268] input: rk805 pwrkey as /devices/platform/ff160000.i2c/i2c-1/1-0018/rk805-pwrkey.6.auto/input/input0
[ 1.962881] dw_wdt ff1a0000.watchdog: No valid TOPs array specified
[ 1.966599] sdhci: Secure Digital Host Controller Interface driver
[ 1.967189] sdhci: Copyright(c) Pierre Ossman
[ 1.967642] Synopsys Designware Multimedia Card Interface Driver
[ 1.968917] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.969884] dwmmc_rockchip ff520000.mmc: IDMAC supports 32-bit address mode.
[ 1.970583] dwmmc_rockchip ff520000.mmc: Using internal DMA controller.
[ 1.971213] dwmmc_rockchip ff520000.mmc: Version ID is 270a
[ 1.971812] dwmmc_rockchip ff520000.mmc: DW MMC controller at irq 43,32 bit host data width,256 deep fifo
[ 1.974165] mmc_host mmc1: card is non-removable.
[ 1.975080] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.976330] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 1.977128] hid: raw HID events driver (C) Jiri Kosina
[ 1.977965] usbcore: registered new interface driver usbhid
[ 1.978493] usbhid: USB HID core driver
[ 1.982411] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 1.985679] drop_monitor: Initializing network drop monitor service
[ 1.986707] NET: Registered PF_INET6 protocol family
[ 1.989322] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 2.049353] mmc_host mmc1: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[ 2.057916] Segment Routing with IPv6
[ 2.058380] In-situ OAM (IOAM) with IPv6
[ 2.058897] NET: Registered PF_PACKET protocol family
[ 2.059832] 8021q: 802.1Q VLAN Support v1.8
[ 2.060333] Key type dns_resolver registered
[ 2.077028] registered taskstats version 1
[ 2.077723] Loading compiled-in X.509 certificates
[ 2.081066] zswap: loaded using pool zstd/zbud
[ 2.102053] Key type .fscrypt registered
[ 2.102449] Key type fscrypt-provisioning registered
[ 2.105475] mmc_host mmc1: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[ 2.106813] Btrfs loaded, zoned=yes, fsverity=yes
[ 2.107527] Key type encrypted registered
[ 2.107919] AppArmor: AppArmor sha1 policy hashing enabled
[ 2.140853] rockchip-drm display-subsystem: bound ff370000.vop (ops 0xffff8000811d6b00)
[ 2.141749] dwhdmi-rockchip ff3c0000.hdmi: supply avdd-0v9 not found, using dummy regulator
[ 2.142742] dwhdmi-rockchip ff3c0000.hdmi: supply avdd-1v8 not found, using dummy regulator
[ 2.143891] dwhdmi-rockchip ff3c0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (inno_dw_hdmi_phy2)
[ 2.146519] dwhdmi-rockchip ff3c0000.hdmi: registered DesignWare HDMI I2C bus driver
[ 2.147772] rockchip-drm display-subsystem: bound ff3c0000.hdmi (ops 0xffff8000811dad40)
[ 2.149844] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[ 2.169325] mmc_host mmc1: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[ 2.240907] mmc1: Failed to initialize a non-removable card
[ 2.366861] Console: switching to colour frame buffer device 240x67
[ 2.412888] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[ 2.415549] WCN: marlin_init entry!
[ 2.416359] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode.
[ 2.416663] of_cfs_init
[ 2.417339] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[ 2.417612] of_cfs_init: OK
[ 2.417746] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[ 2.418091] clk: Disabling unused clocks
[ 2.418611] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq 50,32 bit host data width,256 deep fifo
[ 2.433359] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 2.449928] Freeing unused kernel memory: 4736K
[ 2.450669] Run /init as init process
[ 2.511563] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 2.512865] mmc0: new high speed SDHC card at address aaaa
[ 2.515134] mmcblk0: mmc0:aaaa SH32G 29.7 GiB
[ 2.519771] mmcblk0: p1
[ 3.192372] gpio-syscon ff100000.syscon:gpio: can't read the data register offset!
[ 3.376046] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[ 3.377157] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[ 3.378443] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[ 3.379551] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input).
[ 3.380407] rk_gmac-dwmac ff540000.ethernet: TX delay(0x24).
[ 3.381092] rk_gmac-dwmac ff540000.ethernet: RX delay(0x18).
[ 3.387091] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no).
[ 3.389663] rk_gmac-dwmac ff540000.ethernet: clock input from PHY
[ 3.401537] rk_gmac-dwmac ff540000.ethernet: init for RGMII
[ 3.411744] rk_gmac-dwmac ff540000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[ 3.412634] rk_gmac-dwmac ff540000.ethernet: DWMAC1000
[ 3.413315] rk_gmac-dwmac ff540000.ethernet: DMA HW capability register supported
[ 3.414206] rk_gmac-dwmac ff540000.ethernet: RX Checksum Offload Engine supported
[ 3.415084] rk_gmac-dwmac ff540000.ethernet: COE Type 2
[ 3.415707] rk_gmac-dwmac ff540000.ethernet: Wake-Up On Lan supported
[ 3.425553] rk_gmac-dwmac ff540000.ethernet: Normal descriptors
[ 3.426354] rk_gmac-dwmac ff540000.ethernet: Ring mode enabled
[ 3.447730] rk_gmac-dwmac ff540000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 3.612001] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[ 3.625330] RTL8211F Gigabit Ethernet stmmac-0:01: attached PHY driver (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[ 4.438734] EXT4-fs (mmcblk0p1): mounted filesystem ee756c49-c203-458b-b63f-5c4ec726d905 ro with ordered data mode. Quota mode: none.
[ 5.365841] systemd[1]: System time before build time, advancing clock.
[ 5.467212] systemd[1]: Inserted module 'autofs4'
[ 5.578036] systemd[1]: systemd 252.38-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +)
[ 5.603333] systemd[1]: Detected architecture arm64.
[ 5.651341] systemd[1]: Hostname set to <DietPi>.
[ 5.765851] systemd[1]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
[ 5.943937] dw-apb-uart ff130000.serial: forbid DMA for kernel console
[ 6.699301] systemd[1]: Queued start job for default target graphical.target.
[ 6.780551] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[ 6.806311] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[ 6.827352] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[ 6.846493] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[ 6.866067] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[ 6.887261] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[ 6.907446] systemd[1]: Expecting device dev-ttyS2.device - /dev/ttyS2...
[ 6.927259] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[ 6.947448] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[ 6.968425] systemd[1]: Reached target paths.target - Path Units.
[ 6.989418] systemd[1]: Reached target remote-fs.target - Remote File Systems.
[ 7.010574] systemd[1]: Reached target slices.target - Slice Units.
[ 7.032143] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[ 7.055809] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[ 7.078907] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[ 7.106007] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[ 7.130584] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[ 7.156497] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[ 7.183174] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[ 7.208346] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[ 7.232847] systemd[1]: Reached target sockets.target - Socket Units.
[ 7.317777] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
[ 7.353849] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[ 7.386626] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[ 7.418646] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[ 7.453246] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock...
[ 7.487154] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
[ 7.542801] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[ 7.583268] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[ 7.622172] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[ 7.658246] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[ 7.693293] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[ 7.710445] device-mapper: uevent: version 1.0.3
[ 7.711360] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[ 7.750771] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[ 7.775468] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[ 7.804015] systemd[1]: Starting systemd-journald.service - Journal Service...
[ 7.866364] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[ 7.912599] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[ 7.958229] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[ 8.023683] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
[ 8.059182] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[ 8.091273] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[ 8.103440] EXT4-fs (mmcblk0p1): re-mounted ee756c49-c203-458b-b63f-5c4ec726d905 r/w. Quota mode: none.
[ 8.152173] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[ 8.203586] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock.
[ 8.256633] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[ 8.311284] systemd[1]: Started systemd-journald.service - Journal Service.
[ 8.584499] Adding 1098748k swap on /var/swap. Priority:-2 extents:4 across:2122748k SS
[ 8.845310] rockchip-pm-domain ff100000.syscon:power-controller: failed to get ack on domain 'hevc', val=0x88220
Debian GNU/Linux 12 DietPi ttyS2
DietPi login:
After the successful bootloader updated, I tried updating to the 6.12.34 kernel and was successful.
root@DietPi:/tmp# uname -a
Linux DietPi 6.6.56-current-rockchip64 #1 SMP PREEMPT Thu Oct 10 10:50:06 UTC 2024 aarch64 GNU/Linux
root@DietPi:/tmp# wget https://dietpi.com/downloads/binaries/testing/linux-u-boot-rock64-current.deb https://dietpi.com/downloads/binaries/testing/linux-{dtb,image}-current-rockchip64.deb
--2025-06-22 17:21:28-- https://dietpi.com/downloads/binaries/testing/linux-u-boot-rock64-current.deb
Resolving dietpi.com (dietpi.com)... 172.67.193.183, 104.21.12.65, 2606:4700:3034::ac43:c1b7, ...
Connecting to dietpi.com (dietpi.com)|172.67.193.183|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 323764 (316K) [application/vnd.debian.binary-package]
Saving to: ‘linux-u-boot-rock64-current.deb’
linux-u-boot-rock64-current.deb 100%[==========================================================>] 316.18K --.-KB/s in 0.03s
2025-06-22 17:21:29 (11.9 MB/s) - ‘linux-u-boot-rock64-current.deb’ saved [323764/323764]
--2025-06-22 17:21:29-- https://dietpi.com/downloads/binaries/testing/linux-dtb-current-rockchip64.deb
Reusing existing connection to dietpi.com:443.
HTTP request sent, awaiting response... 200 OK
Length: 774024 (756K) [application/vnd.debian.binary-package]
Saving to: ‘linux-dtb-current-rockchip64.deb’
linux-dtb-current-rockchip64.deb 100%[==========================================================>] 755.88K --.-KB/s in 0.1s
2025-06-22 17:21:29 (5.27 MB/s) - ‘linux-dtb-current-rockchip64.deb’ saved [774024/774024]
--2025-06-22 17:21:29-- https://dietpi.com/downloads/binaries/testing/linux-image-current-rockchip64.deb
Reusing existing connection to dietpi.com:443.
HTTP request sent, awaiting response... 200 OK
Length: 48660088 (46M) [application/vnd.debian.binary-package]
Saving to: ‘linux-image-current-rockchip64.deb’
linux-image-current-rockchip64.d 100%[==========================================================>] 46.41M 36.9MB/s in 1.3s
2025-06-22 17:21:30 (36.9 MB/s) - ‘linux-image-current-rockchip64.deb’ saved [48660088/48660088]
FINISHED --2025-06-22 17:21:30--
Total wall clock time: 2.2s
Downloaded: 3 files, 47M in 1.4s (33.3 MB/s)
root@DietPi:/tmp# dpkg -i linux-u-boot-rock64-current.deb linux-{dtb,image}-current-rockchip64.deb
(Reading database ... 17650 files and directories currently installed.)
Preparing to unpack linux-u-boot-rock64-current.deb ...
Unpacking linux-u-boot-rock64-current (25.08.0-trunk-dietpi2) over (25.08.0-trunk-dietpi2) ...
Preparing to unpack linux-dtb-current-rockchip64.deb ...
Armbian 'linux-dtb-current-rockchip64' for '6.12.34-current-rockchip64': 'preinst' starting.
Armbian 'linux-dtb-current-rockchip64' for '6.12.34-current-rockchip64': 'preinst' finishing.
Unpacking linux-dtb-current-rockchip64 (25.08.0-trunk-dietpi2) over (24.11.0-trunk-dietpi1) ...
Preparing to unpack linux-image-current-rockchip64.deb ...
Armbian 'linux-image-current-rockchip64' for '6.6.56-current-rockchip64': 'prerm' starting.
Armbian 'linux-image-current-rockchip64' for '6.6.56-current-rockchip64': 'prerm' finishing.
Armbian 'linux-image-current-rockchip64' for '6.12.34-current-rockchip64': 'preinst' starting.
Armbian 'linux-image-current-rockchip64' for '6.12.34-current-rockchip64': 'preinst' finishing.
Unpacking linux-image-current-rockchip64 (25.08.0-trunk-dietpi2) over (24.11.0-trunk-dietpi1) ...
Armbian 'linux-image-current-rockchip64' for '6.6.56-current-rockchip64': 'postrm' starting.
Removing obsolete initramfs images
Armbian 'linux-image-current-rockchip64' for '6.6.56-current-rockchip64': 'postrm' finishing.
Setting up linux-u-boot-rock64-current (25.08.0-trunk-dietpi2) ...
Armbian 'uboot-rock64-current' for '2022.07-Se092-P3fcd-H7573-Vbbef-Bb703-R448a': 'postinst' starting.
Armbian 'uboot-rock64-current' for '2022.07-Se092-P3fcd-H7573-Vbbef-Bb703-R448a': 'postinst' finishing.
Setting up linux-dtb-current-rockchip64 (25.08.0-trunk-dietpi2) ...
Armbian 'linux-dtb-current-rockchip64' for '6.12.34-current-rockchip64': 'postinst' starting.
Armbian: DTB: symlinking /boot/dtb to /boot/dtb-6.12.34-current-rockchip64...
'dtb' -> 'dtb-6.12.34-current-rockchip64'
Armbian 'linux-dtb-current-rockchip64' for '6.12.34-current-rockchip64': 'postinst' finishing.
Setting up linux-image-current-rockchip64 (25.08.0-trunk-dietpi2) ...
Armbian 'linux-image-current-rockchip64' for '6.12.34-current-rockchip64': 'postinst' starting.
Removing obsolete initramfs images
removed '/boot/initrd.img-6.6.56-current-rockchip64'
removed '/boot/uInitrd-6.6.56-current-rockchip64'
update-initramfs: Generating /boot/initrd.img-6.12.34-current-rockchip64
update-initramfs: Converting to U-Boot format
Image Name: uInitrd
Created: Sun Jun 22 17:23:29 2025
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 14940036 Bytes = 14589.88 KiB = 14.25 MiB
Load Address: 00000000
Entry Point: 00000000
'/boot/uInitrd' -> 'uInitrd-6.12.34-current-rockchip64'
Armbian: update last-installed kernel symlink to 'Image'...
'/boot/Image' -> 'vmlinuz-6.12.34-current-rockchip64'
Armbian: Debian compat: linux-update-symlinks install 6.12.34-current-rockchip64 /boot/vmlinuz-6.12.34-current-rockchip64
Armbian 'linux-image-current-rockchip64' for '6.12.34-current-rockchip64': 'postinst' finishing.
root@DietPi:/tmp# /boot/dietpi/func/dietpi-set_hardware flash-uboot-mmc
DietPi-Set_hardware
─────────────────────────────────────────────────────
Mode: flash-uboot-mmc ()
208+1 records in
208+1 records out
106934 bytes (107 kB, 104 KiB) copied, 0.0024185 s, 44.2 MB/s
1640+1 records in
1640+1 records out
839832 bytes (840 kB, 820 KiB) copied, 0.186619 s, 4.5 MB/s
[ OK ] flash-uboot-mmc /dev/mmcblk0 | Completed
root@DietPi:/tmp# reboot
root@DietPi:~# uname -a
Linux DietPi 6.12.34-current-rockchip64 #1 SMP PREEMPT Thu Jun 19 13:32:38 UTC 2025 aarch64 GNU/Linux
Awesome, that was easier than I thought. I will add this step as patch to the DietPi update release today and unlock the new kernel upgrade.
@hueppinr the NanoPi NEO3 has no SPI storage, also our image ships with latest U-Boot build and Linux 6.12 already. So you issue is a different once. Please open a new topic, and share serial console logs, of you have a UART adapter at hand. There was a kernel upgrade v6.12.25 => v6.12.33, I’ll check on my NEO3 whether it causes issues there as well.
EDIT: Works fine on my NEO3
root@DietPi:~# uname -a
Linux DietPi 6.12.33-current-rockchip64 #1 SMP PREEMPT Tue Jun 10 11:13:00 UTC 2025 aarch64 GNU/Linux
root@DietPi:~# cat /proc/device-tree/model
FriendlyElec NanoPi NEO3
Hi all,
Just tested this today.
A clean install of build linked under the RockPro64 section, in the downloads page doesn’t boot at all.
However, an older build from archive does boot — but once it applies the current patches (v9.14.2), it fails to boot afterwards.
OK but I have both a rock64 and rockpro64 and have just been updating like normal for years now and I am fine, both my boxes boot, restart, power off and on and fine with latest kernel and???
Did you try my earlier suggestion? The issue is most likely an outdated bootloader on your SPI flash:
Also please try again to flash the SPI bootloader via dietpi-config
, and verify that it did not throw an error (check output on console after exiting dietpi-config
). Otherwise, I’d need serial console output to know what is wrong.
I don’t have any jumper cables at the moment — I tried using a paperclip, but it didn’t really work. Is there a way I could flash an older build and, once I log in via SSH, interrupt the DietPi update/patch process? That way I could try updating the SPI bootloader first before anything else runs.
You said you have an older image from archive. Just hit CTRL+C anytime during the first run setup, at best right after login, and in case cancel from the prompt. dietpi-config
cannot be called before at least the initial DietPi update has finished, hence:
source /usr/lib/u-boot/platform_install.sh
# To show output of the function, which is for whatever reason usually hidden, including errors
eval "$(declare -f write_uboot_platform_mtd | sed -e 's| > /dev/null 2>&1||g' -e 's|status=none|status=progress|g' -e 's/^[[:blank:]]*dd /dd oflag=direct conv=notrunc status=progress /')"
write_uboot_platform_mtd "$DIR" /dev/mtdblock0
I followed your suggestion — booted successfully an older version, I then went into dietpi-config to update the MMC bootloader. The process completed without any errors. Here’s what I got:
[ SUB1 ] DietPi-Set_hardware > flash-u-boot-mmc (/dev/sda)
294+1 records in
294+1 records out
9664512 bytes (9.7 MB, 9.2 MiB) copied, 0.0144258 s, 670 MB/s
[ OK ] flash-u-boot-mmc /dev/sda | Completed
After that, I ran dietpi-update, but unfortunately the device no longer boots afterward
I’m booting from USB — not sure if that affects anything in this context?
The MMC bootloader is not used when booting from USB. Relevant is only the SPI bootloader. Hence the suggested commands. Did you run those as well, and there was no error either?
Otherwise, yeah not ruled out that something broke USB boot. But it is somewhat strange, sind the kernel update caused the issue for you, not a bootloader update. Whether booting from USB or SD card should only make a difference in the bootloader stage, while for the kernel to load, booting from USB obviously succeeded already. So it then can only be something in USB device initialization or USB related driver/code. But USB ports seem to work normal when booting from SD card (?).