openwrt/target/linux/realtek/image
Markus Stockhausen 086f1d3478 realtek: rt-loader: fix RTL839x/RTL93xx version detection
There is a misunderstanding of the chip version detection in the
rt-loader. For all SoCs the data is gathered from the registers
MODEL_NAME_INFO and CHIP_INFO. Sadly the bits are shuffled around
with each hardware. Currently the loader gathers the wrong bits
for RTL839x and RTL93xx. Fix that.

While we are here write the if statements vice versa for better
readability and give some variables better names. Align the
ouput with that from the kernel.

Fixes: ccbff8b ("realtek: add rt-loader (runtime loader)"
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21994
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-02-13 12:43:43 +01:00
..
rt-loader realtek: rt-loader: fix RTL839x/RTL93xx version detection 2026-02-13 12:43:43 +01:00
common.mk realtek: image: switch cameo devices from gzip to lzma 2026-01-18 11:15:10 +01:00
Makefile realtek: Makefile: add rt-loader-standalone and zynsig recipes 2026-01-10 22:30:56 +01:00
rtl838x.mk realtek: add Zyxel GS1900-24 B1 device definition 2026-01-27 01:34:21 +01:00
rtl839x.mk realtek: imagebuilder: add guard around loader generation 2026-01-16 19:45:45 +01:00
rtl930x.mk realtek: add support for Xikestor SKS8300-12E2T2X 2026-02-07 19:37:49 +01:00
rtl930x_nand.mk realtek: add support for Linksys LGS328C 2025-10-05 12:14:05 +02:00
rtl931x.mk realtek: rtl931x: Add support for Plasma Cloud ESX28 Switch 2025-10-04 16:16:22 +02:00
rtl931x_nand.mk realtek: add support for Linksys LGS352C 2025-10-05 12:14:05 +02:00