Table of Contents

Neutron — RK3588 mainline kernel campaign (boltzmann)

Neutron is the kernel layer of Project Volta: an opinionated, mainline-tracking Linux kernel for the Radxa Rock 5 ITX+, built and run on boltzmann (the same machine = target + build host). Volta = Quark UEFI + Neutron kernel; this page is Neutron's state and decision log.

Target

Branch state at session start (2026-04-29)

linux-rk3588-marfrit was sitting at v7.0-rc3-14-g3bf85944ea6c — i.e. 14 commits ahead of v7.0-rc3, not 6 as memory had recorded. The 14th and headline patch is Markus's multi-subsystem RK3588 suspend/resume fix. edk2-rk3588 is included as a dirty submodule; that is build-pipeline-normal (Volta intentionally builds firmware out of the same checkout).

Snapshot tag for rollback before any 2026-04-29 work:

linux-rk3588-marfrit-pre-2026-04-29   →   3bf85944ea6c

Hardware topology to remember

The Rock 5 ITX+ chassis labels for HDMI are inverted vs SoC names — easy way to wire a patch to the wrong VOP2 video port.

Chassis label DTS label SoC port VOP2 video port Bridge
HDMI1 hdmi1-con native dw-hdmi-qp + hdptxphy1 VP1 (none — direct HDMI)
HDMI2 hdmi0-con DP1 (DisplayPort) VP2 radxa,ra620 simple-bridge (DP→HDMI, mainline)

Markus runs an external HDMI→DP converter on chassis HDMI1, because the monitors only do 60 Hz on DP. That choice has consequences for which patch series matter (see decisions below).

DTS filename is rk3588-rock-5-itx.dts — no -plus suffix. Memory previously had this wrong; corrected 2026-04-29.

Why this campaign exists

  1. Vendor 6.1.75-rkr3 is a dead end for new userspace (display, video, scheduler).
  2. Mainline RK3588 has matured fast under Collabora, but two things still block daily-driver use on the Rock 5 ITX+:
    • NVMe doesn't come up at all without out-of-tree PCIe3 PHY work.
    • HDMI 2.0 4K@60 doesn't reliably negotiate without the SCDC scrambling series and the recent samsung-hdptx + dw-dp work.
  3. Goal: a mainline-tracking branch on which boltzmann boots from NVMe, drives both 4K monitors, suspends, and resumes — and which can be rebased forward against collabora/rockchip-v7.0 without merge mud.

Method

Phase A1 — NVMe stability (applied 2026-04-29)

Four commits cherry-picked from collabora/rockchip-v7.0, oldest-first:

ecec5f3cf45c  phy: rockchip-snps-pcie3: Add phy_calibrate() support
a3ccaa4588ab  phy: rockchip-snps-pcie3: Increase sram init timeout
1688debd435a  phy: rockchip-snps-pcie3: Check more sram init status for RK3588
5a9704d0bcd8  phy: rockchip-snps-pcie3: Only check PHY1 status when using it

Together these address the long-standing “mainline kernel doesn't bring up NVMe at all on RK3588” failure that has kept Markus pinned to vendor 6.1.75-rkr3.

Two dw-rockchip companion commits (f70c223c7fd3, 38a56c2e095a) were deliberately skipped: their prerequisite c930b10f17c0 (“Simplify regulator setup with devm_regulator_get_enable_optional()”) is not in v7.0-rc3 yet. Pulling them in without the prerequisite would either fail to apply or compile to subtly wrong runtime behaviour.

Build

Install

-marfrit-A1 suffix, three grub menuentries appended to /etc/grub.d/40_custom (normal / initramfs-shell / no-initramfs), mirroring BredOS's -mainline triplet. Vendor entry stays default (grub index 0).

Watchdog (one-shot)

sudo grub-reboot 'BredOS, with Linux 7.0.0-rc3-ARCH+ marfrit-A1'

Sets next_entry in grubenv. Grub consumes it on the next boot (boot_once=true) and clears it. On a hang, manual power-cycle puts us back on the vendor entry.

Verification (pending reboot)

uname -r
lsblk | grep nvme
dmesg | grep -iE 'pcie3|samsung-pcie3|nvme'
findmnt /home

If clean, run fio mixed-RW soak ≥ 30 min on /home/scratch/. Clean soak = mark Phase A done.

Phase B — 4K HDMI on HDMI1 + HDMI2 (staged, not yet run)

Pre-built script: ~/src/linux-rockchip/.git-phase-b-2026-04-29.sh. It rebases the branch to drop the original patches 1+2 (samsung-hdptx rate recalc + dw-dp MEDIA_BUS_FMT_FIXED) first, because those two are about to be re-applied as part of larger Collabora series:

git rebase --onto v7.0-rc3 1a61b33e881f linux-rk3588-marfrit

Then, oldest-first:

HDMI 2.1 FRL: deliberately skipped

Markus's monitors only do 60 Hz on DP, and 4K@60 8 bpc fits in HDMI 2.0 TMDS at 594 MHz, which B1's SCDC scrambling unlocks. There is no need to pull in the FRL series for this hardware; it would only add risk surface.

HDMI2 needs zero driver work

radxa,ra620 is already mainline as a simple-bridge (transparent DP→HDMI). The April 28 ML series for the Lontium LT8711UXD is irrelevant — different bridge IC, not what this board has.

Conditional follow-ups

Stage these only if Phase A or Phase B don't fully solve their respective symptoms:

Decisions worth recording

  1. Cherry-pick from Collabora as-is, -x. Authorship preserved, traceable to the Collabora commit, easy to drop when the same patch lands upstream.
  2. A first, B second, sequential. A NVMe regression and a B display regression must remain bisectable independently.
  3. Vendor entry stays default in grub. Boot-time failures revert by physics, not by us logging in.
  4. Use grub-reboot as a one-shot watchdog, not a hardware WDT. Cheaper and reversible.
  5. No automation against the Office or Himbeere Fritz!DECT plugs for kernel-test reboots — those plugs kill more than just boltzmann. (See HIS notes.)
  6. HDMI 2.1 FRL skipped because the monitors top out at 60 Hz on DP. Re-evaluate when Markus's display fleet changes.

Cross-project ties

Outstanding