add more kernel modules for raspberry
This commit is contained in:
parent
bafb5cec49
commit
7a9e06761a
|
@ -77,6 +77,11 @@ in {
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = pkgs.linuxPackages_rpi4;
|
kernelPackages = pkgs.linuxPackages_rpi4;
|
||||||
supportedFilesystems = mkForce ["vfat"];
|
supportedFilesystems = mkForce ["vfat"];
|
||||||
|
kernelParams = [
|
||||||
|
"8250.nr_uarts=11"
|
||||||
|
"console=ttyAMA10,115200"
|
||||||
|
"console=tty0"
|
||||||
|
];
|
||||||
loader = {
|
loader = {
|
||||||
systemd-boot = {
|
systemd-boot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -94,6 +99,10 @@ in {
|
||||||
"usb_storage"
|
"usb_storage"
|
||||||
"sd_mod"
|
"sd_mod"
|
||||||
"sdhci_pci"
|
"sdhci_pci"
|
||||||
|
"usbhid"
|
||||||
|
"vc4"
|
||||||
|
"pcie_brcmstb"
|
||||||
|
"reset-raspberrypi"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue