mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-28 01:30:37 +04:00
linux-firmware: rtl8852ce-firmware: ship firmware format 2
The package installs rtw8852c_fw.bin, the oldest firmware format. The rtw89 driver asks for rtw8852c_fw-2.bin first and only falls back to the older files when that one is missing. Ship the file the driver prefers, so RTL8852CE and the USB variant RTL8852CU run the firmware the driver is used with elsewhere. The firmware grows from 1.5 MB to 2.7 MB. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com> Link: https://github.com/openwrt/openwrt/pull/26877 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
1 parent
d986d5cbcd
commit
b99fb4fd1e
2 files changed
+2
-2
No files matched your search
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=linux-firmware
|
||||
PKG_VERSION:=20261124
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE_URL:=@KERNEL/linux/kernel/firmware
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
|
||||
@@ -222,7 +222,7 @@ $(eval $(call BuildPackage,rtl8852be-firmware))
|
||||
Package/rtl8852ce-firmware = $(call Package/firmware-default,RealTek RTL8852CE firmware)
|
||||
define Package/rtl8852ce-firmware/install
|
||||
$(INSTALL_DIR) $(1)/lib/firmware/rtw89
|
||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/rtw89/rtw8852c_fw.bin $(1)/lib/firmware/rtw89
|
||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/rtw89/rtw8852c_fw-2.bin $(1)/lib/firmware/rtw89
|
||||
endef
|
||||
$(eval $(call BuildPackage,rtl8852ce-firmware))
|
||||
|
||||
|
||||
Reference in new issue
Block a user