Compare commits
2 Commits
a6b3adc756
...
e96a1ff2ed
Author | SHA1 | Date |
---|---|---|
Ari Gerus | e96a1ff2ed | |
Ari Gerus | 5660253e92 |
|
@ -92,11 +92,16 @@ in {
|
|||
hardware.enableRedistributableFirmware = lib.mkForce false;
|
||||
hardware.firmware = with pkgs; [ raspberrypiWirelessFirmware wireless-regdb ];
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_rpi5;
|
||||
supportedFilesystems = lib.mkForce [ "vfat" "ext4" ];
|
||||
kernelParams = [ "console=ttyS1,115200n8" "fbcon=rotate:2" ];
|
||||
loader.grub.enable = false;
|
||||
loader.generic-extlinux-compatible.enable = true;
|
||||
|
||||
kernelPackages = pkgs.linuxPackages_rpi5;
|
||||
# rpi5 defconfig is missing some modules
|
||||
initrd.availableKernelModules = lib.mkForce [
|
||||
"ahci" "ata_piix" "sata_inic162x" "sata_nv" "sata_promise" "sata_qstor""sata_sil" "sata_sil24" "sata_sis" "sata_svw" "sata_sx4" "sata_uli" "sata_via" "sata_vsc" "pata_ali" "pata_amd" "pata_artop" "pata_atiixp" "pata_efar" "pata_hpt366" "pata_hpt37x" "pata_hpt3x2n" "pata_hpt3x3" "pata_it8213" "pata_it821x" "pata_jmicron" "pata_marvell" "pata_mpiix" "pata_netcell" "pata_ns87410" "pata_oldpiix" "pata_pcmcia" "pata_pdc2027x" "pata_rz1000" "pata_serverworks" "pata_sil680" "pata_sis" "pata_sl82c105" "pata_triflex" "pata_via" "3w-9xxx" "3w-xxxx" "aic79xx" "aic7xxx" "arcmsr" "hpsa" "virtio_net" "virtio_pci" "virtio_mmio" "virtio_blk" "virtio_scsi" "virtio_balloon" "virtio_console" "mptspi" "vmxnet3" "vsock" "vc4" "dw-hdmi" "panel-simple" "pinctrl-axp209" "mp8859" "xhci-pci-renesas" "analogix-anx6345" "ext2" "ahci" "sata_nv" "sata_via" "sata_sis" "sata_uli" "ata_piix" "pata_marvell" "sr_mod"
|
||||
];
|
||||
};
|
||||
|
||||
environment.etc."wifi-secrets".text = ci-secrets.wifi;
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
let
|
||||
# NOTE: raspberrypifw & raspberryPiWirelessFirmware should be updated with this
|
||||
modDirVersion = "6.1.63";
|
||||
tag = "stable_20231123";
|
||||
modDirVersion = "6.1.73";
|
||||
tag = "stable_20240124";
|
||||
in
|
||||
lib.overrideDerivation (buildLinux (args // {
|
||||
version = "${modDirVersion}-${tag}";
|
||||
|
@ -13,7 +13,7 @@ lib.overrideDerivation (buildLinux (args // {
|
|||
owner = "raspberrypi";
|
||||
repo = "linux";
|
||||
rev = tag;
|
||||
hash = "sha256-4Rc57y70LmRFwDnOD4rHoHGmfxD9zYEAwYm9Wvyb3no=";
|
||||
hash = "sha256-P4ExzxWqZj+9FZr9U2tmh7rfs/3+iHEv0m74PCoXVuM=";
|
||||
};
|
||||
|
||||
defconfig = {
|
||||
|
|
|
@ -16,7 +16,7 @@ stdenvNoCC.mkDerivation {
|
|||
name = "firmware-nonfree";
|
||||
owner = "RPi-Distro";
|
||||
repo = "firmware-nonfree";
|
||||
rev = "88aa085bfa1a4650e1ccd88896f8343c22a24055";
|
||||
rev = "3db4164cfd89e6d9afb7ebc87607b792651512df";
|
||||
hash = "sha256-Yynww79LPPkau4YDSLI6IMOjH64nMpHUdGjnCfIR2+M=";
|
||||
})
|
||||
];
|
||||
|
|
|
@ -6,13 +6,13 @@ stdenvNoCC.mkDerivation rec {
|
|||
# raspberrypi/firmware no longers tag the releases. However, since each commit
|
||||
# on the stable branch corresponds to a tag in raspberrypi/linux repo, we
|
||||
# assume they are cut together.
|
||||
version = "stable_20231123";
|
||||
version = "stable_20240124";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "raspberrypi";
|
||||
repo = "firmware";
|
||||
rev = "524247ac6d8b1f4ddd53730e978a70c76a320bd6";
|
||||
hash = "sha256-rESwkR7pc5MTwIZ8PaMUPXuzxfv+jVpdRp8ijvxHGcg=";
|
||||
rev = "4649b6d52005b52b1d23f553b5e466941bc862dc";
|
||||
hash = "";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
|
Loading…
Reference in New Issue