mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
starfive visionfive2: update kernel
This commit is contained in:
parent
b0fd962525
commit
0cfe255229
2 changed files with 7 additions and 8 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue