]> git.ipfire.org Git - thirdparty/openwrt.git/commit
rtl826x-firmware: ship rtl8261n and rtl8264b in single firmware package 23947/head
authorSven Eckelmann <sven@narfation.org>
Mon, 22 Jun 2026 13:10:38 +0000 (15:10 +0200)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Tue, 30 Jun 2026 22:13:59 +0000 (00:13 +0200)
commit4abe97b2bc2eaac4c523124f11139fee2cb7dd23
treea1aaba577016e4fdee91cb7a9950114ec7e8dc09
parent21f3bf350dc40a8a4ae825f29d5f250ffb3e4708
rtl826x-firmware: ship rtl8261n and rtl8264b in single firmware package

The firmware loading does not depend (solely) on the PHY id. The driver
needs to read out the vendor version id of the PHY before it can decide
which firmware file needs to be loaded.

A split in an RTL8261N and an RTL8264B firmware package is therefore
misleading. And it could even be that a product ships an RTL8264B but
switches the revision of the chip in the middle of its product lifetime. In
this case, the first identification based on the chip ID or the actual chip
ID for the OpenWrt porter might fail for another user with a later/earlier
produced device.

Shipping both files in the same package avoids this problem. Only the "low
power" firmware package is slightly misleading because there is only a
RTL8261N firmware binary for low power but no corresponding RTL8264B
version. It will ship simply the non-low power version for RTL8264B.

Suggested-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Link: https://github.com/openwrt/openwrt/pull/23947
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
package/firmware/rtl826x-firmware/Makefile
target/linux/airoha/image/an7581.mk
target/linux/mediatek/image/filogic.mk
target/linux/qualcommbe/image/ipq95xx.mk
target/linux/realtek/image/rtl930x.mk