Merge pull request #268280 from peat-psuwit/for-upstream/upgrade-linux-rpi

authored by Bernardo Meurer and committed by GitHub 3ea621c7 acfafd5d

+15 -14
+6 -8
pkgs/os-specific/linux/firmware/raspberrypi-wireless/default.nix
··· 2 2 3 3 stdenvNoCC.mkDerivation { 4 4 pname = "raspberrypi-wireless-firmware"; 5 - version = "unstable-2023-05-04"; 5 + version = "unstable-2023-11-15"; 6 6 7 7 srcs = [ 8 8 (fetchFromGitHub { 9 9 name = "bluez-firmware"; 10 10 owner = "RPi-Distro"; 11 11 repo = "bluez-firmware"; 12 - rev = "9556b08ace2a1735127894642cc8ea6529c04c90"; 13 - hash = "sha256-gKGK0XzNrws5REkKg/JP6SZx3KsJduu53SfH3Dichkc="; 12 + rev = "d9d4741caba7314d6500f588b1eaa5ab387a4ff5"; 13 + hash = "sha256-CjbZ3t3TW/iJ3+t9QKEtM9NdQU7SwcUCDYuTmFEwvhU="; 14 14 }) 15 15 (fetchFromGitHub { 16 16 name = "firmware-nonfree"; 17 17 owner = "RPi-Distro"; 18 18 repo = "firmware-nonfree"; 19 - rev = "2b465a10b04555b7f45b3acb85959c594922a3ce"; 20 - hash = "sha256-9UgB8f2AaxG7S5Px46jOP9wUeO1VXKB0uJiPWh32oDI="; 19 + rev = "88aa085bfa1a4650e1ccd88896f8343c22a24055"; 20 + hash = "sha256-Yynww79LPPkau4YDSLI6IMOjH64nMpHUdGjnCfIR2+M="; 21 21 }) 22 22 ]; 23 23 ··· 35 35 cp -rv "$NIX_BUILD_TOP/firmware-nonfree/debian/config/brcm80211/." "$out/lib/firmware/" 36 36 37 37 # Bluetooth firmware 38 - cp -rv "$NIX_BUILD_TOP/bluez-firmware/broadcom/." "$out/lib/firmware/brcm" 38 + cp -rv "$NIX_BUILD_TOP/bluez-firmware/debian/firmware/broadcom/." "$out/lib/firmware/brcm" 39 39 40 40 # brcmfmac43455-stdio.bin is a symlink to the non-existent path: ../cypress/cyfmac43455-stdio.bin. 41 41 # See https://github.com/RPi-Distro/firmware-nonfree/issues/26 ··· 43 43 44 44 pushd $out/lib/firmware/brcm &>/dev/null 45 45 # Symlinks for Zero 2W 46 - ln -s "./brcmfmac43436-sdio.bin" "$out/lib/firmware/brcm/brcmfmac43430b0-sdio.raspberrypi,model-zero-2-w.bin" 47 - ln -s "./brcmfmac43436-sdio.txt" "$out/lib/firmware/brcm/brcmfmac43430b0-sdio.raspberrypi,model-zero-2-w.txt" 48 46 ln -s "./brcmfmac43436-sdio.clm_blob" "$out/lib/firmware/brcm/brcmfmac43430b0-sdio.clm_blob" 49 47 popd &>/dev/null 50 48
+6 -3
pkgs/os-specific/linux/firmware/raspberrypi/default.nix
··· 3 3 stdenvNoCC.mkDerivation rec { 4 4 # NOTE: this should be updated with linux_rpi 5 5 pname = "raspberrypi-firmware"; 6 - version = "1.20230405"; 6 + # raspberrypi/firmware no longers tag the releases. However, since each commit 7 + # on the stable branch corresponds to a tag in raspberrypi/linux repo, we 8 + # assume they are cut together. 9 + version = "stable_20231123"; 7 10 8 11 src = fetchFromGitHub { 9 12 owner = "raspberrypi"; 10 13 repo = "firmware"; 11 - rev = version; 12 - hash = "sha256-UtUd1MbsrDFxd/1C3eOAMDKPZMx+kSMFYOJP+Kc6IU8="; 14 + rev = "524247ac6d8b1f4ddd53730e978a70c76a320bd6"; 15 + hash = "sha256-rESwkR7pc5MTwIZ8PaMUPXuzxfv+jVpdRp8ijvxHGcg="; 13 16 }; 14 17 15 18 installPhase = ''
+3 -3
pkgs/os-specific/linux/kernel/linux-rpi.nix
··· 2 2 3 3 let 4 4 # NOTE: raspberrypifw & raspberryPiWirelessFirmware should be updated with this 5 - modDirVersion = "6.1.21"; 6 - tag = "1.20230405"; 5 + modDirVersion = "6.1.63"; 6 + tag = "stable_20231123"; 7 7 in 8 8 lib.overrideDerivation (buildLinux (args // { 9 9 version = "${modDirVersion}-${tag}"; ··· 13 13 owner = "raspberrypi"; 14 14 repo = "linux"; 15 15 rev = tag; 16 - hash = "sha256-ILwecHZ1BN6GhZAUB6/UwiN/rZ8gHndKON6DUhidtxI="; 16 + hash = "sha256-4Rc57y70LmRFwDnOD4rHoHGmfxD9zYEAwYm9Wvyb3no="; 17 17 }; 18 18 19 19 defconfig = {