Skip to content

Init Raxda Rock3C#1855

Merged
Mic92 merged 1 commit into
NixOS:masterfrom
nappairam:rock3c
May 18, 2026
Merged

Init Raxda Rock3C#1855
Mic92 merged 1 commit into
NixOS:masterfrom
nappairam:rock3c

Conversation

@nappairam

@nappairam nappairam commented May 4, 2026

Copy link
Copy Markdown
Contributor
Description of changes

Add board definition for Radxa Rock3c. I did not have to do much, and just follow rock4c board convention.

Switch the default rockchip disko root filesystem (and radxa.supportedFilesystems) from bcachefs to ext4.

bcachefs was removed from mainline Linux 6.18. It now ships only as an out-of-tree module via pkgs.bcachefs-tools.kernelModule. With the previous default, disko.imageBuilder fails on 6.18+ because kernel-modules-shrunk cannot locate a bcachefs module in the kernel's module tree.

2026-05-05 23-27-18
Things done
  • Built nix build .#nixosConfigurations.<board>.config.system.build.diskoImages on Linux 6.18 — succeeds with ext4 root.
  • Tested the changes in your own NixOS Configuration
  • Tested the changes end-to-end by using your fork of nixos-hardware and importing it via flake input

Note that this PR depends on https://github.com/NixOS/nixpkgs/actions/runs/25323149751/job/74237102769?pr=516516 for rock 3c uboot image.

@nappairam nappairam marked this pull request as ready for review May 5, 2026 15:29
@nappairam

Copy link
Copy Markdown
Contributor Author

cc @RadxaYuntian @Mic92 - would appreciate review.

@RadxaYuntian since this swaps the rockchip disko default you introduced (bcachefs -> ext4) due to 6.18 dropping bcachefs from mainline.

Comment thread radxa/default.nix
Comment thread radxa/README.md Outdated
Comment thread flake.nix Outdated
Add hardware support module for Radxa Rock 3C SBC (Rockchip RK3566).
- Introduces rockchip/rk3566 platform module exposing
  hardware.rockchip.rk3566.enable.
- New radxa/rock-3c module enables radxa, rk3566, and defaults
  platformFirmware to pkgs.ubootRock3C.
@nappairam

Copy link
Copy Markdown
Contributor Author

Thanks for the review @RadxaYuntian

@Mic92 Please take a look once

@nappairam nappairam changed the title Init Raxda Rock3C and move rockchip disko from bcachefs to ext4 Init Raxda Rock3C May 16, 2026
@nappairam

Copy link
Copy Markdown
Contributor Author

@Mic92 Gentle reminder to review

PR to add radxa rock3c uboot package is already merged to nixpkgs nixos-unstable branch
NixOS/nixpkgs#516516

So this PR is good to merge

@Mic92 Mic92 added this pull request to the merge queue May 18, 2026
Merged via the queue into NixOS:master with commit 8792fab May 18, 2026
2 checks passed
@nappairam nappairam deleted the rock3c branch May 18, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants