Marisa: boot changes

This commit is contained in:
2022-01-31 22:42:32 +05:30
parent 2223c5942e
commit bca3b14713

View File

@@ -1,15 +1,26 @@
{config, ...}: { config, pkgs, ... }:
{ {
boot = { boot = {
initrd.availableKernelModules = [ "xhci_pci" "usb_storage" "usbhid" "uas" "pcie-brcmstb"]; kernelParams = [ "console=ttyS0,115200n8" "console=tty0" ];
# kernelPackages = pkgs.linuxPackages_rpi4; //this sucks
initrd.availableKernelModules = [ "xhci_pci" "usb_storage" "usbhid" "uas" "pcie-brcmstb" ];
loader = { loader = {
grub.enable = false; grub.enable = false;
# generic-extlinux-compatible.enable= true; generic-extlinux-compatible.enable = true;
raspberryPi= { /*raspberryPi= {
version = 4; version = 4;
firmwareConfig = "dtparam=sd_poll_once=on"; firmwareConfig = "dtparam=sd_poll_once=on";
enable = true; enable = true;
};*/ #conflicts with generic-extlinux-comaptible
}; };
}; /* kernelPatches = [
{
name = "change-pgtable";
patch = null;
extraConfig = ''
CONFIG_PGTABLE_LEVELS 4
'';
}
];*/
}; };
} }