Repository navigation
Add support for ZyXEL Keenetic series - #65
tolkonepiu wants to merge 10000 commits into
Conversation
x86 update
This provides better protection of flash data. Signed-off-by: Rafał Miłecki <[email protected]>
Signed-off-by: Rafał Miłecki <[email protected]>
This avoids extra calculation in bash script. Signed-off-by: Rafał Miłecki <[email protected]>
This will allow adding support for other formats (e.g. Seama) in a clean way. Signed-off-by: Rafał Miłecki <[email protected]>
Signed-off-by: Rafał Miłecki <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
The boot loader expects LZMA compressed kernel images Signed-off-by: Felix Fietkau <[email protected]>
It updates kernel and then formats UBI without loosing erase counters. Signed-off-by: Rafał Miłecki <[email protected]>
Signed-off-by: Rafał Miłecki <[email protected]>
This device needs the firmware padded to 4MB. Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Boot tested on AR-5381u, AR-5387un and WAP-5813n Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
This switches brcm63xx to the new profile definition system in image/Makefile Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Some devices with ath9k WiFi require changing the default active low polarity to high in order to correctly operate the WiFi status LEDs. Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Huawei HG556a has an active high ath9k LED. Signed-off-by: Álvaro Fernández Rojas <[email protected]>
D-Link DSL-274XB rev F1 has an active high ath9k LED. Signed-off-by: Álvaro Fernández Rojas <[email protected]>
This patch adds support for the Netgear EVG2000 VoIP Gateway to the bcm63xx targets. This device was not sold to the general public, but rather is/was provided by telcos to customers in Sweden, Australia, Singapore and other parts of asia. Known issues: - Unable to detect 53115 switch. This appear to be a problem with probing for the PHY using MDIO and results in error 5. Doesn't seem to be a problem with the configuration, and could use someone with experience to have a look at it. - Uses the b43 driver as using the OpenWRT/LEDE broadcom-wl driver fails to load the firmware for the 4322, so 802.11n is not supported. More info on the device and the research can be found at: https://wiki.openwrt.org/toh/netgear/evg2000 https://wikidevi.com/wiki/Netgear_EVG2000 https://github.com/Xotic750/mirror-lede/tree/evg2000 https://forum.openwrt.org/viewtopic.php?id=63950 Signed-off-by: Graham Fairweather <[email protected]> Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
- Use KERNEL_INITRAMFS_SUFFIX for customizing initramfs name. - Modifying $(PROFILES) is no longer needed. Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Signed-off-by: Álvaro Fernández Rojas <[email protected]> Signed-off-by: Jonas Gorski <[email protected]>
External IRQs are currently broken, fix the BCM6345_EXT_IRQ driver. Since the adoption of the new driver irq-bcm6345-ext, in Chaos Calmer, external IRQs don't work. It seems there were some minor errors at the initial development of the driver. This patch fixes the ticket https://dev.openwrt.org/ticket/21613 Signed-off-by: Daniel Gonzalez <[email protected]> Signed-off-by: Jonas Gorski <[email protected]>
This makes the eventual migration to bmips easier, as dts files will require less changes. Signed-off-by: Jonas Gorski <[email protected]>
Instead of using a fixed commandline, allow one per device. Signed-off-by: Jonas Gorski <[email protected]>
The only difference is a field in the image tag header, so just define two images for it instead of treating them as separate devices. Signed-off-by: Jonas Gorski <[email protected]>
Some devices require padded images in order to prevent CFE from flashing them to the wrong offset. For small flashes (4/8) this is no big deal, but for larger flashes (16/32) this implies 8 and 16 MB images, which is way too large and some devices aren't capable of flashing them through sysupgrade. Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Instead of having CFE_EXTRAS for every device that need specific block sizes and image offset, let's define a couple of vars which can be customized for each device. Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Signed-off-by: Rafał Miłecki <[email protected]>
This updates oseama in firmware-utils to the version from packages keeping them synced. Signed-off-by: Rafał Miłecki <[email protected]>
So far "kernel" partition didn't contain just a kernel. It also included Seama header and meta data. This was making kernel update complex and it wasn't trivial to read kernel size. Fix it by making "kernel" parition contain just a kernel image. Signed-off-by: Rafał Miłecki <[email protected]>
package updates, uboot-envtools fix
|
@tolkonepiu - thanks for the fixup, can you please make sure the docs for the devices are created/filled on the wiki? We'd also need the SoB on the commits and a bit more detail on the devices. Thanks, |
|
Ok:smile: |
|
Ping @tolkonepiu ? :) -w- |
|
@wigyori sorry. I simply didn't have time. :( |
|
Btw, how about reusing dir620 page? It is known to be nearly identical to keenetic and often was flashed with keenetic firmware. BTW, how about hwnat? |
|
Hi openwrt! |
|
@lgp698asd - well, for the wiki that's a bit too short, refer to f.e. this [1] page. :) SoB is the Signed-off-by signature, pls refer to [2]. [1] https://wiki.openwrt.org/toh/tp-link/tl-wr741nd |
|
Ping @lgp698asd |
|
What's the state of this PR? |
|
already part of the LEDE tree which will replace the OWRT tree shortly |
|
Could you please show the changes in LEDE tree? I don't see them. |
|
Why is it closed without any comment? |
|
Also interested. There is no information about ZyXEL Keenetic 4G rev.B / NBG4114 in the source. |
|
@blogic @jow- Any obstacles to merging this pr? Because I've checked both openwrt and lede repos, and they're only 4 models present in ramips board configs, while with those listed here they already should be 8 in total. Please check commits once again. Thanks https://github.com/openwrt/openwrt/blob/master/target/linux/ramips/base-files/lib/ramips.sh |
|
It can't be merged as it is. The whole PR is based on outdated code and contains more than 250 (unintended) commits. Someone need to re-spin the PR based on the current development code. |
WIP: airoha: pcs: update with new version
Bring the RTL837x DSA driver up to the state tested on the GL.iNet GL-BE9300: - propagate and report errors from MDIO, GPIO, regmap, the RTK/DAL API and the DSA callbacks as Linux errnos, and unwind cleanly on probe, setup and teardown failures - keep the VLAN shadow state, VLAN filtering and PVID transitions, STP state and SerDes mode consistent on errors - harden the debugfs handlers and the CPU-port status worker, reject multiple switch instances and hold a netdev reference on the conduit - offload the bridge learning, flooding, hairpin and isolation flags, add FDB dump, per-VLAN fast ageing and link-down FDB age-out, and isolate FDB entries by tag_8021q database - expose ethtool MAC/RMON statistics, hardware port counters through get_stats64, the ASIC identity through devlink info and DSA EEE - add bridge flag regression tests and document the MTU/jumbo frame research This squashes the following commits of the flint3-be9300 branch: - 5c78c28 rtl837x: fix DSA tagger documentation (openwrt#10) - cfe2ede rtl837x: check switch setup errors (openwrt#12) - fd744e2 rtl837x: propagate MDIO read errors (openwrt#14) - d3866f0 rtl837x: propagate GPIO read errors (openwrt#15) - c4e9956 rtl837x: preserve regmap init errors (openwrt#16) - 5dec047 rtl837x: report FDB flush errors (openwrt#25) - 7195404 rtl837x: report STP state errors (openwrt#26) - db484f0 rtl837x: clear global private state on teardown (openwrt#28) - 44a2654 rtl837x: report CPU tag teardown errors (openwrt#30) - caefe48 rtl837x: handle debugfs SerDes dump errors (openwrt#31) - 86deeba rtl837x: reject malformed extra-init properties (openwrt#32) - 7eed649 rtl837x: report device ID read failures (openwrt#33) - 0d5dc10 rtl837x: roll back SFP SerDes mode on errors (openwrt#39) - 9923462 rtl837x: harden CPU-port status worker (openwrt#41) - e23575f rtl837x: keep VLAN shadow state consistent on errors (openwrt#42) - e12f0b4 rtl837x: propagate auxiliary probe failures (openwrt#44) - d7d421c rtl837x: harden debugfs write handlers (openwrt#45) - a996b4b rtl837x: add DSA EEE control (openwrt#48) - 75a835f rtl837x: fix shared meter IFG readback (openwrt#50) - 1ac83b3 rtl837x: handle invalid SerDes mode properties (openwrt#40) - a2dc599 rtl837x: propagate debugfs register access errors (openwrt#55) - 6994611 rtl837x: handle SerDes swap configuration errors (openwrt#29) - 161f810 rtl837x: handle reset GPIO lifecycle correctly (openwrt#43) - 56a8f0a rtl837x: return Linux errno from MDIO regmap callbacks (openwrt#56) - f884e5e rtl837x: clean probe state on initialization failure (openwrt#52) - 09c7aef rtl837x: avoid overriding bridge STP on port enable (openwrt#53) - 9ac07a3 rtl837x: keep VLAN filtering and PVID transitions consistent (openwrt#54) - 5606175 rtl837x: use SGMII SerDes mode for SGMII SFP modules (openwrt#57) - 79d086e rtl837x: isolate FDB entries by tag_8021q database (openwrt#58) - 9feee33 rtl837x: reject multiple switch instances - 0852fcb rtl837x: keep global state through shutdown - 7019995 rtl837x: expose ASIC identity through devlink info - ae580c1 rtl837x: preserve RTK error semantics in DSA callbacks - aa882fd rtl837x: preserve RTL8373 DAL operation error codes - a3f2890 rtl837x: bound RTL8373 VLAN table write polling - b6a0e39 rtl837x: offload bridge port learning flag (openwrt#63) - 9b57021 rtl837x: expose standard ethtool MAC and RMON statistics (openwrt#67) - 9d81760 rtl837x: offload bridge hairpin mode (openwrt#64) - 7c9ce34 rtl837x: expose hardware port counters through get_stats64 (openwrt#66) - 0e2be0c rtl837x: offload bridge port isolation (openwrt#65) - 15c0c81 rtl837x: wire RTL8373 unicast FDB flush mapper (openwrt#71) - a5956c3 rtl837x: fix RTL8373 PHY poll termination - 8e1e7ca rtl837x: fix RTL8373 PHY poll termination - 3cdf8fa rtl837x: add VLAN-specific FDB fast ageing (openwrt#72) - b7c60ea rtl837x: align and enable link-down FDB age-out (openwrt#69) - a655214 rtl837x: add bridge flag regression test coverage (openwrt#70) - 047db99 rtl837x: offload bridge flood flags - 3662de9 rtl837x: document MTU and jumbo-frame research - f3f0e82 rtl837x: clarify MTU research limits - c08abd9 rtl837x: fix tabs/spaces mismatch from PR openwrt#75 - c0af589 kernel: rtl837x: add FDB dump support - f665cd5 rtl837x: tighten FDB dump iterator handling - 2de1c6f rtl837x: filter FDB dump entries - 1f7e4b8 rtl837x: drop leftover multicast-LUT debug print in dal_rtl8373_lut.c - 909dd6b39f rtl837x: hold a netdev reference on the DSA conduit Co-developed-by: Akshay Kakatkar <[email protected]> Co-developed-by: perceival <[email protected]> Co-developed-by: François Guerraz <[email protected]> Signed-off-by: Maksims Neroba <[email protected]> Signed-off-by: Maksim Neroba <[email protected]> Signed-off-by: Akshay Kakatkar <[email protected]> Signed-off-by: Kamil Bienkiewicz <[email protected]> Signed-off-by: François Guerraz <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bring the RTL837x DSA driver up to the state tested on the GL.iNet GL-BE9300: - propagate and report errors from MDIO, GPIO, regmap, the RTK/DAL API and the DSA callbacks as Linux errnos, and unwind cleanly on probe, setup and teardown failures - keep the VLAN shadow state, VLAN filtering and PVID transitions, STP state and SerDes mode consistent on errors - harden the debugfs handlers and the CPU-port status worker, reject multiple switch instances and hold a netdev reference on the conduit - offload the bridge learning, flooding, hairpin and isolation flags, add FDB dump, per-VLAN fast ageing and link-down FDB age-out, and isolate FDB entries by tag_8021q database - expose ethtool MAC/RMON statistics, hardware port counters through get_stats64, the ASIC identity through devlink info and DSA EEE - add bridge flag regression tests and document the MTU/jumbo frame research This squashes the following commits of the flint3-be9300 branch: - 5c78c28 rtl837x: fix DSA tagger documentation (openwrt#10) - cfe2ede rtl837x: check switch setup errors (openwrt#12) - fd744e2 rtl837x: propagate MDIO read errors (openwrt#14) - d3866f0 rtl837x: propagate GPIO read errors (openwrt#15) - c4e9956 rtl837x: preserve regmap init errors (openwrt#16) - 5dec047 rtl837x: report FDB flush errors (openwrt#25) - 7195404 rtl837x: report STP state errors (openwrt#26) - db484f0 rtl837x: clear global private state on teardown (openwrt#28) - 44a2654 rtl837x: report CPU tag teardown errors (openwrt#30) - caefe48 rtl837x: handle debugfs SerDes dump errors (openwrt#31) - 86deeba rtl837x: reject malformed extra-init properties (openwrt#32) - 7eed649 rtl837x: report device ID read failures (openwrt#33) - 0d5dc10 rtl837x: roll back SFP SerDes mode on errors (openwrt#39) - 9923462 rtl837x: harden CPU-port status worker (openwrt#41) - e23575f rtl837x: keep VLAN shadow state consistent on errors (openwrt#42) - e12f0b4 rtl837x: propagate auxiliary probe failures (openwrt#44) - d7d421c rtl837x: harden debugfs write handlers (openwrt#45) - a996b4b rtl837x: add DSA EEE control (openwrt#48) - 75a835f rtl837x: fix shared meter IFG readback (openwrt#50) - 1ac83b3 rtl837x: handle invalid SerDes mode properties (openwrt#40) - a2dc599 rtl837x: propagate debugfs register access errors (openwrt#55) - 6994611 rtl837x: handle SerDes swap configuration errors (openwrt#29) - 161f810 rtl837x: handle reset GPIO lifecycle correctly (openwrt#43) - 56a8f0a rtl837x: return Linux errno from MDIO regmap callbacks (openwrt#56) - f884e5e rtl837x: clean probe state on initialization failure (openwrt#52) - 09c7aef rtl837x: avoid overriding bridge STP on port enable (openwrt#53) - 9ac07a3 rtl837x: keep VLAN filtering and PVID transitions consistent (openwrt#54) - 5606175 rtl837x: use SGMII SerDes mode for SGMII SFP modules (openwrt#57) - 79d086e rtl837x: isolate FDB entries by tag_8021q database (openwrt#58) - 9feee33 rtl837x: reject multiple switch instances - 0852fcb rtl837x: keep global state through shutdown - 7019995 rtl837x: expose ASIC identity through devlink info - ae580c1 rtl837x: preserve RTK error semantics in DSA callbacks - aa882fd rtl837x: preserve RTL8373 DAL operation error codes - a3f2890 rtl837x: bound RTL8373 VLAN table write polling - b6a0e39 rtl837x: offload bridge port learning flag (openwrt#63) - 9b57021 rtl837x: expose standard ethtool MAC and RMON statistics (openwrt#67) - 9d81760 rtl837x: offload bridge hairpin mode (openwrt#64) - 7c9ce34 rtl837x: expose hardware port counters through get_stats64 (openwrt#66) - 0e2be0c rtl837x: offload bridge port isolation (openwrt#65) - 15c0c81 rtl837x: wire RTL8373 unicast FDB flush mapper (openwrt#71) - a5956c3 rtl837x: fix RTL8373 PHY poll termination - 8e1e7ca rtl837x: fix RTL8373 PHY poll termination - 3cdf8fa rtl837x: add VLAN-specific FDB fast ageing (openwrt#72) - b7c60ea rtl837x: align and enable link-down FDB age-out (openwrt#69) - a655214 rtl837x: add bridge flag regression test coverage (openwrt#70) - 047db99 rtl837x: offload bridge flood flags - 3662de9 rtl837x: document MTU and jumbo-frame research - f3f0e82 rtl837x: clarify MTU research limits - c08abd9 rtl837x: fix tabs/spaces mismatch from PR openwrt#75 - c0af589 kernel: rtl837x: add FDB dump support - f665cd5 rtl837x: tighten FDB dump iterator handling - 2de1c6f rtl837x: filter FDB dump entries - 1f7e4b8 rtl837x: drop leftover multicast-LUT debug print in dal_rtl8373_lut.c - 909dd6b39f rtl837x: hold a netdev reference on the DSA conduit Co-developed-by: Akshay Kakatkar <[email protected]> Co-developed-by: perceival <[email protected]> Co-developed-by: François Guerraz <[email protected]> Signed-off-by: Maksims Neroba <[email protected]> Signed-off-by: Maksim Neroba <[email protected]> Signed-off-by: Akshay Kakatkar <[email protected]> Signed-off-by: Kamil Bienkiewicz <[email protected]> Signed-off-by: François Guerraz <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bring the RTL837x DSA driver up to the state tested on the GL.iNet GL-BE9300: - propagate and report errors from MDIO, GPIO, regmap, the RTK/DAL API and the DSA callbacks as Linux errnos, and unwind cleanly on probe, setup and teardown failures - keep the VLAN shadow state, VLAN filtering and PVID transitions, STP state and SerDes mode consistent on errors - harden the debugfs handlers and the CPU-port status worker, reject multiple switch instances and hold a netdev reference on the conduit - offload the bridge learning, flooding, hairpin and isolation flags, add FDB dump, per-VLAN fast ageing and link-down FDB age-out, and isolate FDB entries by tag_8021q database - expose ethtool MAC/RMON statistics, hardware port counters through get_stats64, the ASIC identity through devlink info and DSA EEE - add bridge flag regression tests and document the MTU/jumbo frame research This squashes the following commits of the flint3-be9300 branch: - 5c78c28 rtl837x: fix DSA tagger documentation (openwrt#10) - cfe2ede rtl837x: check switch setup errors (openwrt#12) - fd744e2 rtl837x: propagate MDIO read errors (openwrt#14) - d3866f0 rtl837x: propagate GPIO read errors (openwrt#15) - c4e9956 rtl837x: preserve regmap init errors (openwrt#16) - 5dec047 rtl837x: report FDB flush errors (openwrt#25) - 7195404 rtl837x: report STP state errors (openwrt#26) - db484f0 rtl837x: clear global private state on teardown (openwrt#28) - 44a2654 rtl837x: report CPU tag teardown errors (openwrt#30) - caefe48 rtl837x: handle debugfs SerDes dump errors (openwrt#31) - 86deeba rtl837x: reject malformed extra-init properties (openwrt#32) - 7eed649 rtl837x: report device ID read failures (openwrt#33) - 0d5dc10 rtl837x: roll back SFP SerDes mode on errors (openwrt#39) - 9923462 rtl837x: harden CPU-port status worker (openwrt#41) - e23575f rtl837x: keep VLAN shadow state consistent on errors (openwrt#42) - e12f0b4 rtl837x: propagate auxiliary probe failures (openwrt#44) - d7d421c rtl837x: harden debugfs write handlers (openwrt#45) - a996b4b rtl837x: add DSA EEE control (openwrt#48) - 75a835f rtl837x: fix shared meter IFG readback (openwrt#50) - 1ac83b3 rtl837x: handle invalid SerDes mode properties (openwrt#40) - a2dc599 rtl837x: propagate debugfs register access errors (openwrt#55) - 6994611 rtl837x: handle SerDes swap configuration errors (openwrt#29) - 161f810 rtl837x: handle reset GPIO lifecycle correctly (openwrt#43) - 56a8f0a rtl837x: return Linux errno from MDIO regmap callbacks (openwrt#56) - f884e5e rtl837x: clean probe state on initialization failure (openwrt#52) - 09c7aef rtl837x: avoid overriding bridge STP on port enable (openwrt#53) - 9ac07a3 rtl837x: keep VLAN filtering and PVID transitions consistent (openwrt#54) - 5606175 rtl837x: use SGMII SerDes mode for SGMII SFP modules (openwrt#57) - 79d086e rtl837x: isolate FDB entries by tag_8021q database (openwrt#58) - 9feee33 rtl837x: reject multiple switch instances - 0852fcb rtl837x: keep global state through shutdown - 7019995 rtl837x: expose ASIC identity through devlink info - ae580c1 rtl837x: preserve RTK error semantics in DSA callbacks - aa882fd rtl837x: preserve RTL8373 DAL operation error codes - a3f2890 rtl837x: bound RTL8373 VLAN table write polling - b6a0e39 rtl837x: offload bridge port learning flag (openwrt#63) - 9b57021 rtl837x: expose standard ethtool MAC and RMON statistics (openwrt#67) - 9d81760 rtl837x: offload bridge hairpin mode (openwrt#64) - 7c9ce34 rtl837x: expose hardware port counters through get_stats64 (openwrt#66) - 0e2be0c rtl837x: offload bridge port isolation (openwrt#65) - 15c0c81 rtl837x: wire RTL8373 unicast FDB flush mapper (openwrt#71) - a5956c3 rtl837x: fix RTL8373 PHY poll termination - 8e1e7ca rtl837x: fix RTL8373 PHY poll termination - 3cdf8fa rtl837x: add VLAN-specific FDB fast ageing (openwrt#72) - b7c60ea rtl837x: align and enable link-down FDB age-out (openwrt#69) - a655214 rtl837x: add bridge flag regression test coverage (openwrt#70) - 047db99 rtl837x: offload bridge flood flags - 3662de9 rtl837x: document MTU and jumbo-frame research - f3f0e82 rtl837x: clarify MTU research limits - c08abd9 rtl837x: fix tabs/spaces mismatch from PR openwrt#75 - c0af589 kernel: rtl837x: add FDB dump support - f665cd5 rtl837x: tighten FDB dump iterator handling - 2de1c6f rtl837x: filter FDB dump entries - 1f7e4b8 rtl837x: drop leftover multicast-LUT debug print in dal_rtl8373_lut.c - 909dd6b39f rtl837x: hold a netdev reference on the DSA conduit Co-developed-by: Akshay Kakatkar <[email protected]> Co-developed-by: perceival <[email protected]> Co-developed-by: François Guerraz <[email protected]> Signed-off-by: Maksims Neroba <[email protected]> Signed-off-by: Maksim Neroba <[email protected]> Signed-off-by: Akshay Kakatkar <[email protected]> Signed-off-by: Kamil Bienkiewicz <[email protected]> Signed-off-by: François Guerraz <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bring the RTL837x DSA driver up to the state tested on the GL.iNet GL-BE9300: - propagate and report errors from MDIO, GPIO, regmap, the RTK/DAL API and the DSA callbacks as Linux errnos, and unwind cleanly on probe, setup and teardown failures - keep the VLAN shadow state, VLAN filtering and PVID transitions, STP state and SerDes mode consistent on errors - harden the debugfs handlers and the CPU-port status worker, reject multiple switch instances and hold a netdev reference on the conduit - offload the bridge learning, flooding, hairpin and isolation flags, add FDB dump, per-VLAN fast ageing and link-down FDB age-out, and isolate FDB entries by tag_8021q database - expose ethtool MAC/RMON statistics, hardware port counters through get_stats64, the ASIC identity through devlink info and DSA EEE - add bridge flag regression tests and document the MTU/jumbo frame research This squashes the following commits of the flint3-be9300 branch: - 5c78c28 rtl837x: fix DSA tagger documentation (openwrt#10) - cfe2ede rtl837x: check switch setup errors (openwrt#12) - fd744e2 rtl837x: propagate MDIO read errors (openwrt#14) - d3866f0 rtl837x: propagate GPIO read errors (openwrt#15) - c4e9956 rtl837x: preserve regmap init errors (openwrt#16) - 5dec047 rtl837x: report FDB flush errors (openwrt#25) - 7195404 rtl837x: report STP state errors (openwrt#26) - db484f0 rtl837x: clear global private state on teardown (openwrt#28) - 44a2654 rtl837x: report CPU tag teardown errors (openwrt#30) - caefe48 rtl837x: handle debugfs SerDes dump errors (openwrt#31) - 86deeba rtl837x: reject malformed extra-init properties (openwrt#32) - 7eed649 rtl837x: report device ID read failures (openwrt#33) - 0d5dc10 rtl837x: roll back SFP SerDes mode on errors (openwrt#39) - 9923462 rtl837x: harden CPU-port status worker (openwrt#41) - e23575f rtl837x: keep VLAN shadow state consistent on errors (openwrt#42) - e12f0b4 rtl837x: propagate auxiliary probe failures (openwrt#44) - d7d421c rtl837x: harden debugfs write handlers (openwrt#45) - a996b4b rtl837x: add DSA EEE control (openwrt#48) - 75a835f rtl837x: fix shared meter IFG readback (openwrt#50) - 1ac83b3 rtl837x: handle invalid SerDes mode properties (openwrt#40) - a2dc599 rtl837x: propagate debugfs register access errors (openwrt#55) - 6994611 rtl837x: handle SerDes swap configuration errors (openwrt#29) - 161f810 rtl837x: handle reset GPIO lifecycle correctly (openwrt#43) - 56a8f0a rtl837x: return Linux errno from MDIO regmap callbacks (openwrt#56) - f884e5e rtl837x: clean probe state on initialization failure (openwrt#52) - 09c7aef rtl837x: avoid overriding bridge STP on port enable (openwrt#53) - 9ac07a3 rtl837x: keep VLAN filtering and PVID transitions consistent (openwrt#54) - 5606175 rtl837x: use SGMII SerDes mode for SGMII SFP modules (openwrt#57) - 79d086e rtl837x: isolate FDB entries by tag_8021q database (openwrt#58) - 9feee33 rtl837x: reject multiple switch instances - 0852fcb rtl837x: keep global state through shutdown - 7019995 rtl837x: expose ASIC identity through devlink info - ae580c1 rtl837x: preserve RTK error semantics in DSA callbacks - aa882fd rtl837x: preserve RTL8373 DAL operation error codes - a3f2890 rtl837x: bound RTL8373 VLAN table write polling - b6a0e39 rtl837x: offload bridge port learning flag (openwrt#63) - 9b57021 rtl837x: expose standard ethtool MAC and RMON statistics (openwrt#67) - 9d81760 rtl837x: offload bridge hairpin mode (openwrt#64) - 7c9ce34 rtl837x: expose hardware port counters through get_stats64 (openwrt#66) - 0e2be0c rtl837x: offload bridge port isolation (openwrt#65) - 15c0c81 rtl837x: wire RTL8373 unicast FDB flush mapper (openwrt#71) - a5956c3 rtl837x: fix RTL8373 PHY poll termination - 8e1e7ca rtl837x: fix RTL8373 PHY poll termination - 3cdf8fa rtl837x: add VLAN-specific FDB fast ageing (openwrt#72) - b7c60ea rtl837x: align and enable link-down FDB age-out (openwrt#69) - a655214 rtl837x: add bridge flag regression test coverage (openwrt#70) - 047db99 rtl837x: offload bridge flood flags - 3662de9 rtl837x: document MTU and jumbo-frame research - f3f0e82 rtl837x: clarify MTU research limits - c08abd9 rtl837x: fix tabs/spaces mismatch from PR openwrt#75 - c0af589 kernel: rtl837x: add FDB dump support - f665cd5 rtl837x: tighten FDB dump iterator handling - 2de1c6f rtl837x: filter FDB dump entries - 1f7e4b8 rtl837x: drop leftover multicast-LUT debug print in dal_rtl8373_lut.c - 909dd6b39f rtl837x: hold a netdev reference on the DSA conduit Co-developed-by: Akshay Kakatkar <[email protected]> Co-developed-by: perceival <[email protected]> Co-developed-by: François Guerraz <[email protected]> Signed-off-by: Maksims Neroba <[email protected]> Signed-off-by: Maksim Neroba <[email protected]> Signed-off-by: Akshay Kakatkar <[email protected]> Signed-off-by: Kamil Bienkiewicz <[email protected]> Signed-off-by: François Guerraz <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bring the RTL837x DSA driver up to the state tested on the GL.iNet GL-BE9300: - propagate and report errors from MDIO, GPIO, regmap, the RTK/DAL API and the DSA callbacks as Linux errnos, and unwind cleanly on probe, setup and teardown failures - keep the VLAN shadow state, VLAN filtering and PVID transitions, STP state and SerDes mode consistent on errors - harden the debugfs handlers and the CPU-port status worker, reject multiple switch instances and hold a netdev reference on the conduit - offload the bridge learning, flooding, hairpin and isolation flags, add FDB dump, per-VLAN fast ageing and link-down FDB age-out, and isolate FDB entries by tag_8021q database - expose ethtool MAC/RMON statistics, hardware port counters through get_stats64, the ASIC identity through devlink info and DSA EEE - add bridge flag regression tests and document the MTU/jumbo frame research This squashes the following commits of the flint3-be9300 branch: - 5c78c28 rtl837x: fix DSA tagger documentation (openwrt#10) - cfe2ede rtl837x: check switch setup errors (openwrt#12) - fd744e2 rtl837x: propagate MDIO read errors (openwrt#14) - d3866f0 rtl837x: propagate GPIO read errors (openwrt#15) - c4e9956 rtl837x: preserve regmap init errors (openwrt#16) - 5dec047 rtl837x: report FDB flush errors (openwrt#25) - 7195404 rtl837x: report STP state errors (openwrt#26) - db484f0 rtl837x: clear global private state on teardown (openwrt#28) - 44a2654 rtl837x: report CPU tag teardown errors (openwrt#30) - caefe48 rtl837x: handle debugfs SerDes dump errors (openwrt#31) - 86deeba rtl837x: reject malformed extra-init properties (openwrt#32) - 7eed649 rtl837x: report device ID read failures (openwrt#33) - 0d5dc10 rtl837x: roll back SFP SerDes mode on errors (openwrt#39) - 9923462 rtl837x: harden CPU-port status worker (openwrt#41) - e23575f rtl837x: keep VLAN shadow state consistent on errors (openwrt#42) - e12f0b4 rtl837x: propagate auxiliary probe failures (openwrt#44) - d7d421c rtl837x: harden debugfs write handlers (openwrt#45) - a996b4b rtl837x: add DSA EEE control (openwrt#48) - 75a835f rtl837x: fix shared meter IFG readback (openwrt#50) - 1ac83b3 rtl837x: handle invalid SerDes mode properties (openwrt#40) - a2dc599 rtl837x: propagate debugfs register access errors (openwrt#55) - 6994611 rtl837x: handle SerDes swap configuration errors (openwrt#29) - 161f810 rtl837x: handle reset GPIO lifecycle correctly (openwrt#43) - 56a8f0a rtl837x: return Linux errno from MDIO regmap callbacks (openwrt#56) - f884e5e rtl837x: clean probe state on initialization failure (openwrt#52) - 09c7aef rtl837x: avoid overriding bridge STP on port enable (openwrt#53) - 9ac07a3 rtl837x: keep VLAN filtering and PVID transitions consistent (openwrt#54) - 5606175 rtl837x: use SGMII SerDes mode for SGMII SFP modules (openwrt#57) - 79d086e rtl837x: isolate FDB entries by tag_8021q database (openwrt#58) - 9feee33 rtl837x: reject multiple switch instances - 0852fcb rtl837x: keep global state through shutdown - 7019995 rtl837x: expose ASIC identity through devlink info - ae580c1 rtl837x: preserve RTK error semantics in DSA callbacks - aa882fd rtl837x: preserve RTL8373 DAL operation error codes - a3f2890 rtl837x: bound RTL8373 VLAN table write polling - b6a0e39 rtl837x: offload bridge port learning flag (openwrt#63) - 9b57021 rtl837x: expose standard ethtool MAC and RMON statistics (openwrt#67) - 9d81760 rtl837x: offload bridge hairpin mode (openwrt#64) - 7c9ce34 rtl837x: expose hardware port counters through get_stats64 (openwrt#66) - 0e2be0c rtl837x: offload bridge port isolation (openwrt#65) - 15c0c81 rtl837x: wire RTL8373 unicast FDB flush mapper (openwrt#71) - a5956c3 rtl837x: fix RTL8373 PHY poll termination - 8e1e7ca rtl837x: fix RTL8373 PHY poll termination - 3cdf8fa rtl837x: add VLAN-specific FDB fast ageing (openwrt#72) - b7c60ea rtl837x: align and enable link-down FDB age-out (openwrt#69) - a655214 rtl837x: add bridge flag regression test coverage (openwrt#70) - 047db99 rtl837x: offload bridge flood flags - 3662de9 rtl837x: document MTU and jumbo-frame research - f3f0e82 rtl837x: clarify MTU research limits - c08abd9 rtl837x: fix tabs/spaces mismatch from PR openwrt#75 - c0af589 kernel: rtl837x: add FDB dump support - f665cd5 rtl837x: tighten FDB dump iterator handling - 2de1c6f rtl837x: filter FDB dump entries - 1f7e4b8 rtl837x: drop leftover multicast-LUT debug print in dal_rtl8373_lut.c - 909dd6b39f rtl837x: hold a netdev reference on the DSA conduit Co-developed-by: Akshay Kakatkar <[email protected]> Co-developed-by: perceival <[email protected]> Co-developed-by: François Guerraz <[email protected]> Signed-off-by: Maksims Neroba <[email protected]> Signed-off-by: Maksim Neroba <[email protected]> Signed-off-by: Akshay Kakatkar <[email protected]> Signed-off-by: Kamil Bienkiewicz <[email protected]> Signed-off-by: François Guerraz <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
This pull request based on svn diff 47 from S-Trace ([email protected]). Added support for models: