Merge pull request #1726 from onny/visionfive2-cleanup

starfive visionfive2: cleanup kernel requirements
This commit is contained in:
Florian Klink 2026-02-16 15:53:11 +00:00 committed by GitHub
commit 66e1a090de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,8 +11,6 @@
boot = { boot = {
consoleLogLevel = lib.mkDefault 7; consoleLogLevel = lib.mkDefault 7;
# Switch to default as soon they reach >= 6.11
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
initrd.availableKernelModules = [ "dw_mmc_starfive" ]; initrd.availableKernelModules = [ "dw_mmc_starfive" ];
@ -31,10 +29,4 @@
}; };
}; };
assertions = [
{
assertion = lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.11";
message = "The VisionFive 2 requires at least mainline kernel version 6.11 for minimum hardware support.";
}
];
} }