Init Raxda Rock3C#1855
Merged
Merged
Conversation
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. |
RadxaYuntian
reviewed
May 6, 2026
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.
RadxaYuntian
approved these changes
May 7, 2026
Contributor
Author
|
Thanks for the review @RadxaYuntian @Mic92 Please take a look once |
Contributor
Author
|
@Mic92 Gentle reminder to review PR to add radxa rock3c uboot package is already merged to nixpkgs nixos-unstable branch So this PR is good to merge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
rockchipdisko root filesystem (andradxa.supportedFilesystems) frombcachefstoext4.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.imageBuilderfails on 6.18+ becausekernel-modules-shrunkcannot locate abcachefsmodule in the kernel's module tree.Things done
nix build .#nixosConfigurations.<board>.config.system.build.diskoImageson Linux 6.18 — succeeds with ext4 root.nixos-hardwareand importing it via flake inputNote that this PR depends on https://github.com/NixOS/nixpkgs/actions/runs/25323149751/job/74237102769?pr=516516 for rock 3c uboot image.