starfive visionfive2: update kernel

This commit is contained in:
Jakob Leifhelm 2023-04-29 16:50:43 +02:00
parent b0fd962525
commit 0cfe255229
No known key found for this signature in database
GPG key ID: 6817AA0238100822
2 changed files with 7 additions and 8 deletions

View file

@ -4,15 +4,14 @@
supportedFilesystems =
lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ];
consoleLogLevel = lib.mkDefault 7;
kernelPackages =
lib.mkDefault (pkgs.callPackage ./linux-6.3.nix { inherit (config.boot) kernelPatches; });
kernelPackages = lib.mkDefault (pkgs.callPackage ./linux-6.3.nix {
inherit (config.boot) kernelPatches;
});
kernelParams =
lib.mkDefault [ "console=tty0" "console=ttyS0,115200n8" "earlycon=sbi" ];
initrd.availableKernelModules = [
"dw_mmc_starfive"
];
initrd.availableKernelModules = [ "dw_mmc_starfive" ];
loader = {
grub.enable = lib.mkDefault false;

View file

@ -1,7 +1,7 @@
{ lib, callPackage, linuxPackagesFor, kernelPatches, fetchpatch, ... }:
let
modDirVersion = "6.3.0-rc3";
modDirVersion = "6.3.0-rc4";
linuxPkg = { lib, fetchFromGitHub, buildLinux, ... }@args:
buildLinux (args // {
version = "${modDirVersion}-starfive-visionfive2";
@ -9,8 +9,8 @@ let
src = fetchFromGitHub {
owner = "starfive-tech";
repo = "linux";
rev = "2a6909fb414dfc72ae391791ec6edc3eedd13e6f";
sha256 = "sha256-FeY6N+hk0PTpuIuA1hkcS+B+ozn6iHV6YaRVx1kuYHc=";
rev = "a57bdb1d13f93c8fc1b3c668cc74d585bb20f3f8";
sha256 = "sha256-jnQnJChIGCyJt+zwGfUTsMhrwmWek/ngIM6Pae6OXuI=";
};
inherit modDirVersion;