starfive visionfive2: update kernel
This commit is contained in:
parent
b0fd962525
commit
0cfe255229
|
@ -4,15 +4,14 @@
|
||||||
supportedFilesystems =
|
supportedFilesystems =
|
||||||
lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ];
|
lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ];
|
||||||
consoleLogLevel = lib.mkDefault 7;
|
consoleLogLevel = lib.mkDefault 7;
|
||||||
kernelPackages =
|
kernelPackages = lib.mkDefault (pkgs.callPackage ./linux-6.3.nix {
|
||||||
lib.mkDefault (pkgs.callPackage ./linux-6.3.nix { inherit (config.boot) kernelPatches; });
|
inherit (config.boot) kernelPatches;
|
||||||
|
});
|
||||||
|
|
||||||
kernelParams =
|
kernelParams =
|
||||||
lib.mkDefault [ "console=tty0" "console=ttyS0,115200n8" "earlycon=sbi" ];
|
lib.mkDefault [ "console=tty0" "console=ttyS0,115200n8" "earlycon=sbi" ];
|
||||||
|
|
||||||
initrd.availableKernelModules = [
|
initrd.availableKernelModules = [ "dw_mmc_starfive" ];
|
||||||
"dw_mmc_starfive"
|
|
||||||
];
|
|
||||||
|
|
||||||
loader = {
|
loader = {
|
||||||
grub.enable = lib.mkDefault false;
|
grub.enable = lib.mkDefault false;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, callPackage, linuxPackagesFor, kernelPatches, fetchpatch, ... }:
|
{ lib, callPackage, linuxPackagesFor, kernelPatches, fetchpatch, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
modDirVersion = "6.3.0-rc3";
|
modDirVersion = "6.3.0-rc4";
|
||||||
linuxPkg = { lib, fetchFromGitHub, buildLinux, ... }@args:
|
linuxPkg = { lib, fetchFromGitHub, buildLinux, ... }@args:
|
||||||
buildLinux (args // {
|
buildLinux (args // {
|
||||||
version = "${modDirVersion}-starfive-visionfive2";
|
version = "${modDirVersion}-starfive-visionfive2";
|
||||||
|
@ -9,8 +9,8 @@ let
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "starfive-tech";
|
owner = "starfive-tech";
|
||||||
repo = "linux";
|
repo = "linux";
|
||||||
rev = "2a6909fb414dfc72ae391791ec6edc3eedd13e6f";
|
rev = "a57bdb1d13f93c8fc1b3c668cc74d585bb20f3f8";
|
||||||
sha256 = "sha256-FeY6N+hk0PTpuIuA1hkcS+B+ozn6iHV6YaRVx1kuYHc=";
|
sha256 = "sha256-jnQnJChIGCyJt+zwGfUTsMhrwmWek/ngIM6Pae6OXuI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit modDirVersion;
|
inherit modDirVersion;
|
||||||
|
|
Loading…
Reference in a new issue