starfive visionfive2: update kernel to 6.5.0-rc1

This commit is contained in:
Nick Cao authored and Jörg Thalheim committed 2023-08-04 21:09:51 +01:00
1 parent 258b9faff0
commit e8159d4e3d
2 files changed
+4 -4

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
{ lib, callPackage, linuxPackagesFor, kernelPatches, ... }:
let
modDirVersion = "6.5.0-rc1";
linuxPkg = { lib, fetchFromGitHub, buildLinux, ... }@args:
buildLinux (args // {
version = "${modDirVersion}-starfive-visionfive2";
src = fetchFromGitHub {
owner = "starfive-tech";
repo = "linux";
rev = "64a6c57ec372c44d0f25416c9614657e274fccff";
hash = "sha256-ZOCCj/VyUZa36+q6sUnE+qA0FcNCFnQjIUils0hBb28=";
};
inherit modDirVersion;
kernelPatches = [{
name = "verisilicon";
patch = ./verisilicon.patch;
}] ++ kernelPatches;
structuredExtraConfig = with lib.kernel; {
PINCTRL_STARFIVE_JH7110_SYS = yes;
SERIAL_8250_DW = yes;
};
extraMeta.branch = "JH7110_VisionFive2_upstream";
} // (args.argsOverride or { }));
in lib.recurseIntoAttrs (linuxPackagesFor (callPackage linuxPkg { }))