I have searched the existing open and closed issues
Required Information
DietPi version | G_DIETPI_VERSION_CORE=10G_DIETPI_VERSION_SUB=8G_DIETPI_VERSION_RC=2G_GITBRANCH='master'G_GITOWNER='MichaIng'
Distro version | bookworm
Kernel version | Linux rockpi 6.18.54-current-rockchip64 #1 SMP PREEMPT Fri Sep 25 14:35:54 UTC 2026 aarch64 GNU/Linux (rolled back; the failing kernel is 6.18.60)
Architecture | arm64
SBC model | ROCK 4 (aarch64): ROCK Pi 4 Plus, board revision v1.73
Power supply used | Stock PSU that shipped with the Nebra hotspot this board came from
SD card used | None; boots from the onboard 32 GB eMMC
Additional Information
Software title | Kernel: linux-image-current-rockchip64 and armbian-firmware
Was the software title installed freshly or updated/migrated? | Updated via apt upgrade, 26.11.0-trunk-dietpi1 → dietpi2
Can this issue be replicated on a fresh installation of DietPi? | Not tested. The fresh Oct 22 Bookworm image (6.18.54) boots fine from microSD. I haven’t upgraded it to dietpi2.
Bug report ID | n/a
Steps to reproduce
ROCK Pi 4 Plus booting from eMMC, running linux-image-current-rockchip64 26.11.0-trunk-dietpi1 (6.18.54)
apt upgrade installs linux-image-current-rockchip64, armbian-firmware and linux-u-boot-rockpi-4b-current 26.11.0-trunk-dietpi2 (6.18.60). The install completes without errors.
reboot
Expected behaviour
The board boots on 6.18.60: blue heartbeat LED, HDMI console, network up.
Actual behaviour
Solid green power LED only. No blue heartbeat LED.
No HDMI output at all.
No network: no ARP reply, and the board doesn’t appear anywhere on the subnet.
A cold power cycle, and removing all USB devices, makes no difference.
Extra details
A fresh DietPi_ROCKPi4-ARMv8-Bookworm.img (Oct 22, 6.18.54) on microSD boots normally with the eMMC still installed. The bootloader on the eMMC seems fine.
Downgrading only the kernel and firmware on the eMMC to dietpi1, from a chroot in the SD system, fixed it. The board runs normally on 6.18.54 again.
The dietpi2 kernel package currently in all/rock4 matches the failing download’s size (Size: 68520240, SHA256: 077dbd1203d900af1902b40696177cd04a4be9741763c0204c87ce59e2d18991). It looks like no rebuild has reached rock4 yet.
I have a USB-serial adapter and can capture a boot log of 6.18.60 if needed.
Workaround used (from the SD-booted system):
mount /dev/mmcblk0p1 /mnt/emmc
for d in dev dev/pts proc sys; do mount --bind /$d /mnt/emmc/$d; done
apt-get download linux-image-current-rockchip64=26.11.0-trunk-dietpi1 armbian-firmware=26.11.0-trunk-dietpi1
cp *.deb /mnt/emmc/root/
chroot /mnt/emmc dpkg -i /root/linux-image-current-rockchip64_26.11.0-trunk-dietpi1_arm64.deb /root/armbian-firmware_26.11.0-trunk-dietpi1_all.deb
chroot /mnt/emmc apt-mark hold linux-image-current-rockchip64 armbian-firmware linux-u-boot-rockpi-4b-current
apt upgrade output (excerpt):
Unpacking linux-image-current-rockchip64 (26.11.0-trunk-dietpi2) over (26.11.0-trunk-dietpi1) ...
Unpacking linux-u-boot-rockpi-4b-current (26.11.0-trunk-dietpi2) over (26.11.0-trunk-dietpi1) ...
update-initramfs: Generating /boot/initrd.img-6.18.60-current-rockchip64
'/boot/Image' -> 'vmlinuz-6.18.60-current-rockchip64'
'/boot/dtb' -> 'dtb-6.18.60-current-rockchip64'
Setting up linux-u-boot-rockpi-4b-current (26.11.0-trunk-dietpi2) ...
Does downgrading the kernel only, but allowing to upgrade the firmware, works as well? The firmware is for WiFi only, and shouldn’t be able to break boot.
That would help.
So do I understand it right, that the latest kernel works fine when booting from SD card, but only fails when booting from eMMC?
Thanks for the quick response! To clarify: 6.18.60 has not been tested from SD yet. The SD card is a fresh Bookworm image with 6.18.54, which boots fine. So far, only “6.18.60 from eMMC” is known to fail.
I’ll test on the SD card (keeping the eMMC untouched):
Upgrade only armbian-firmware to dietpi2 and reboot
Upgrade linux-image-current-rockchip64 to dietpi2 and capture a serial boot log
Looks like my USB-Serial adapter (CP2102) is rated up to 1,000,000 baud, and the board’s console runs at 1,500,000. I’ll proceed with the firmware test and then see if the new kernel also fails running from the SD card.
Serial log captured and attached. It’s not a kernel crash: U-Boot aborts at handoff and the board reset-loops.
Tests (all on the same board, same eMMC U-Boot):
Test
Result
SD, 6.18.54, firmware dietpi2
boots
SD, 6.18.60 (current boot.scr, raw initrd)
boots
SD, 6.18.60 with the eMMC’s old boot.scr (Oct 2025) + uInitrd
boots
eMMC, 6.18.60
U-Boot Synchronous Abort, reset loop
eMMC, 6.18.54
boots
eMMC boot log (repeats on every reset):
## Loading init Ramdisk from Legacy Image at 06000000 ...
Image Name: uInitrd
Data Size: 16679071 Bytes = 15.9 MiB
Verifying Checksum ... OK
## Flattened Device Tree blob at 01f00000
Booting using the fdt blob at 0x1f00000
Loading Ramdisk to 78f23000, end 79f0b09f ... OK
Loading Device Tree to 0000000078f0b000, end 0000000078f226c9 ... OK
Starting kernel ...
efi_free_pool: illegal free 0x0000000078f0d040
"Synchronous Abort" handler, esr 0x96000004
elr: 0000000000284328 lr : 000000000026ef80 (reloc)
elr: 000000007bfb0328 lr : 000000007bf9af80
Code: eb02009f 54000061 52800000 14000006 (386468a3)
Resetting CPU ...
The illegal-free address falls inside the relocated device tree (78f0b000–78f226c9).
U-Boot versions:
There’s no SPI flash, so the eMMC U-Boot always runs: U-Boot 2022.07-armbian
The dietpi2 package (linux-u-boot-rockpi-4b-current) contains 2026.10_armbian-2026.10-S5508-…, but it was never flashed
Summary: the old 2022.07 U-Boot crashes at handoff with 6.18.60 when booting from the eMMC. It looks layout-dependent, since the same U-Boot boots 6.18.60 from SD. Your firmware suggestion was right: armbian-firmware dietpi2 is fine.
Question: should I flash the current U-Boot via dietpi-config → Advanced Options → Flash U-Boot, then retry 6.18.60 on the eMMC? Is there anything I should check first?
Thanks to the baudrate=115200 tip, and to changing consoleargs in dietpiEnv.txt to 115200 as well, the CP2102 could capture the whole boot.
Related cases I found:
ROCK(Pro)64 won’t boot with Linux 6.12: your analysis of the old U-Boot load-address layout. Flashing a current U-Boot with dietpi-set_hardware flash-uboot-mmc fixed it.
One thing that doesn’t fit the overlap explanation: here the relocated kernel ends at 0x4950000, about 73 MiB, which is below the initramfs at 0x06000000. So it may be a different bug in the 2022.07 U-Boot. My plan is to back up the eMMC bootloader area, then flash the packaged 2026.10 U-Boot, unless you recommend otherwise.
Thanks for your help! Please let me know if I can get you any more info.
I remember there was some change to address for larger Linux images. But no idea why this would be an issue for eMMC boot, but not for SD card boot. … ah, simply because when flashing a new image to SD card, it has a new bootloader already.