starfive visionfive2: enable required drivers
This commit is contained in:
parent
413452614f
commit
03e1d2d584
|
@ -2,6 +2,15 @@
|
||||||
boot = {
|
boot = {
|
||||||
consoleLogLevel = lib.mkDefault 7;
|
consoleLogLevel = lib.mkDefault 7;
|
||||||
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
|
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
|
||||||
|
kernelPatches = [{
|
||||||
|
name = "JH7110";
|
||||||
|
patch = pkgs.fetchpatch {
|
||||||
|
# https://patchwork.kernel.org/project/linux-riscv/patch/20240506034627.66765-1-hal.feng@starfivetech.com/
|
||||||
|
name = "v2-riscv-defconfig-Enable-StarFive-JH7110-drivers.patch";
|
||||||
|
url = "https://patchwork.kernel.org/series/850668/mbox/";
|
||||||
|
hash = "sha256-81Brj61TOUoyVBxrXQh2VU3gTh/1V3uo33ic3sJPk2w=";
|
||||||
|
};
|
||||||
|
}];
|
||||||
|
|
||||||
kernelParams =
|
kernelParams =
|
||||||
lib.mkDefault [ "console=tty0" "console=ttyS0,115200n8" "earlycon=sbi" ];
|
lib.mkDefault [ "console=tty0" "console=ttyS0,115200n8" "earlycon=sbi" ];
|
||||||
|
|
Loading…
Reference in a new issue