diff --git a/packages/linux-firmware/kernel-firmware/firmwares/x86_64.dat b/packages/linux-firmware/kernel-firmware/firmwares/x86_64.dat index 776ec06abd..c34157c84e 100644 --- a/packages/linux-firmware/kernel-firmware/firmwares/x86_64.dat +++ b/packages/linux-firmware/kernel-firmware/firmwares/x86_64.dat @@ -4,6 +4,7 @@ lbtf_usb.bin mrvl/sd8897_uapsta.bin qca/*00000302.bin mediatek/*MT7961*.bin +mediatek/*MT7922*.bin rt2561.bin rt2561s.bin rt2661.bin diff --git a/packages/linux-firmware/kernel-firmware/package.mk b/packages/linux-firmware/kernel-firmware/package.mk index 0f516be364..abcd3087a4 100644 --- a/packages/linux-firmware/kernel-firmware/package.mk +++ b/packages/linux-firmware/kernel-firmware/package.mk @@ -2,8 +2,8 @@ # Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) PKG_NAME="kernel-firmware" -PKG_VERSION="20240312" -PKG_SHA256="b2327a54ad1897c828008caf63af5ee15469ba723a5016be58f2b44f07bd4b94" +PKG_VERSION="20250509" +PKG_SHA256="f2c60d66f226a28130cb5643e6e544d3229673460e127c91ba03f1080cbd703e" PKG_LICENSE="other" PKG_SITE="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/" PKG_URL="https://cdn.kernel.org/pub/linux/kernel/firmware/linux-firmware-${PKG_VERSION}.tar.xz" @@ -18,6 +18,10 @@ configure_package() { post_patch() { ( cd ${PKG_BUILD} + + # Do not run check_whence.py against the copied firmware + echo '#!/usr/bin/python3' > check_whence.py + mkdir -p "${PKG_FW_SOURCE}" ./copy-firmware.sh --verbose "${PKG_FW_SOURCE}" ) @@ -74,12 +78,6 @@ makeinstall_target() { # brcm pcie firmware is only needed by x86_64 [ "${TARGET_ARCH}" != "x86_64" ] && rm -fr ${FW_TARGET_DIR}/brcm/*-pcie.* - # Upstream doesn't name the file correctly so we need to symlink it - if [ -f "${FW_TARGET_DIR}/rtl_bt/rtl8723bs_config-OBDA8723.bin" ]; then - #cd "${FW_TARGET_DIR}/rtl_bt" - ln -s "rtl8723bs_config-OBDA8723.bin" "${FW_TARGET_DIR}/rtl_bt/rtl8723bs_config.bin" - fi - # Cleanup - which may be project or device specific find_file_path scripts/cleanup.sh && ${FOUND_PATH} ${FW_TARGET_DIR} || true }