Repository navigation
update oxnas target, update ipq806x target, create trunk tag and update revisioning accordingly - #12
Merged
Merged
Conversation
Signed-off-by: Daniel Golle <[email protected]>
Signed-off-by: Daniel Golle <[email protected]>
Signed-off-by: Daniel Golle <[email protected]>
Signed-off-by: Dirk Neukirchen <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Signed-off-by: Zoltan HERPAI <[email protected]>
Enable hardfloat to use all the cpu power Signed-off-by: Adrian Panella <[email protected]>
ipq806x: Add support for linux-4.4 ipq806x: Add Archer C2600 to image/Makefile ipq806x/base-files: Add Archer C2600 LEDs and board ipq806x/base-files: Add support for Archer C2600 ipq806x/base-files: extract ath10k caldata ipq806x/dts: Add Archer C2600 DTS ipq806x: enable PM support ipq806x: add a default profile ipq806x: add diag.sh script ipq806x: qcom rpm fix support for smb208 mtd: add linksys_bootcount for ipq806x uboot-envtools: add ipq806x support Signed-off-by: Zoltan HERPAI <[email protected]>
Signed-off-by: Adrian Panella <[email protected]>
Signed-off-by: Adrian Panella <[email protected]>
Signed-off-by: John Crispin <[email protected]>
…ta corruption Signed-off-by: Josh Bendavid <[email protected]>
Signed-off-by: Jo-Philipp Wich <[email protected]>
The command-line arguments provided by the boot loader will be appended to a new device tree property: bootloader-args. If there is a property "append-rootblock" in DT under /chosen and a root= option in bootloaders command line it will be parsed and added to DT bootargs with the form: <append-rootblock>XX. Only command line ATAG will be processed, the rest of the ATAGs sent by bootloader will be ignored. This is usefull in dual boot systems, to get the current root partition without afecting the rest of the system. Signed-off-by: Adrian Panella <[email protected]>
Fixes instability/corruption on the ethernet interface connected to port0 on the switch. Signed-off-by: Josh Bendavid <[email protected]>
Signed-off-by: Pavel Kubelun <[email protected]>
Signed-off-by: Pavel Kubelun <[email protected]>
Signed-off-by: Pavel Kubelun <[email protected]>
Signed-off-by: Sven Eckelmann <[email protected]>
Calibration data for QCA99x0 in this device has bogus macaddress. The data cannot be modified directly, as it breaks checksum control. Instead change the macaddress from phy add hotplug event. Signed-off-by: Adrian Panella <[email protected]>
The first commit was tagged as "trunk". As there are missing commits for some reason in the tree, the relative number of commits to the tag is now 37507. This will mean some confusion to the users when reflecting to the revision numbers, so the git commit ID is added to the revision to clearly indicate it's from the nrew github tree. Example is r37487-g441a9c8. Signed-off-by: Zoltan HERPAI <[email protected]>
Signed-off-by: Zoltan HERPAI <[email protected]>
Move tplink-safeloader from target/linux/ar71xx/image/tp-link.mk to include/image.mk Signed-off-by: Ash Benz <[email protected]>
Signed-off-by: Ash Benz <[email protected]>
Add hack to account for the missing commits in the git tree, and try to roughly match the revision numbers continued from the SVN tree. Signed-off-by: Zoltan HERPAI <[email protected]>
Add node aliases to dtsi files. Reword dts files so they're more in-line with upstream. Fix some more warnings and errors reported by dtc Signed-off-by: Stanislav Galabov <[email protected]>
Signed-off-by: Andrew Yong <[email protected]>
This commit makes the following modifications to ramips dts files: 1. Add clkctrl node to all dtsi files (although not used for now) 2. Add clocks and clock-names properties to some nodes (usbphy, pci) 3. Add usbphy node for rt3050 (although not used for now) 4. Add clock-frequency to uart nodes in mt7621.dtsi and mt7628an.dtsi These modifications, although not fully used at the moment, will make it easier for FreeBSD to adopt and use LEDE ramips dts files with minimal changes for easier maintenance. Signed-off-by: Stanislav Galabov <[email protected]>
Signed-off-by: Jo-Philipp Wich <[email protected]>
Signed-off-by: Zoltan HERPAI <[email protected]>
friendlyarm
referenced
this pull request
in friendlyarm/friendlywrt
Apr 25, 2019
This was referenced Jun 7, 2020
dengxinfa
pushed a commit
to gl-inet/openwrt
that referenced
this pull request
Apr 24, 2021
RM9025,RM9069,update wifi.ko and sfax8_factory_read.ko
nquest
pushed a commit
to nquest/openwrt
that referenced
this pull request
Jul 12, 2022
Initial libgs implementation
King-Of-Knights
referenced
this pull request
in King-Of-Knights/openwrt-6.x
Jun 18, 2024
chozian
pushed a commit
to chozian/openwrt
that referenced
this pull request
Oct 6, 2024
Qualcommax 6.x nss mx4300
1 task done
FrankZRS
pushed a commit
to Cascoda/OpenWrt
that referenced
this pull request
Dec 16, 2025
Limiting of WiFi Tx Power
ADCDS
referenced
this pull request
in ADCDS/openwrt-realtek
Jul 31, 2026
…absent) The cold path was a partial replica of the loader's init_97f_8367r; a flashed boot (no loader TFTP init) left the CPU<->8367S trunk mis-configured. Complete the replica so a loader-absent boot brings the trunk up loader-exactly. - rtl8367b.c (8367S cold branch, gated 0x1219==0): loader-exact CPU-ctrl bytes 0x121a=0xb5, 0x121b=0xb5 + 0x0893=0xff flood mask (golden-validated live against the working loader config). - rtl819x-eth.c (SoC-P0 side): full replica of init_97f_8367r -- RGMII pad 0xB8000850, MACCR1, EXTPCR0, P0GMIICR (target 0x00037d55), PITCR, PCRP0 force-link + EnForceMode double-toggle, settle, Conf_done latched LAST. Gated on PITCR bit0 (loader boots skip it untouched -- the #12 no-desync lesson) with a default-off trunk_cold_force bench lever. MACCR1 (0xBB804058) + EXTPCR0 (0xBB805108) added to the fabric snapshot (FAB_CFG_WORDS 153->155). The A-2 MACCR LONG_TXE write is kept unconditional above the gate. Bench-validated (bench lever on a loader boot): the forced replica reproduces the loader-exact P0GMIICR=0x00037d55 and is a data-plane NO-OP (trunk survives: box->tiny, hal->box, hal->tiny all 0% loss). Phase 3 (real NOR flash cold boot) pending -- gated flash write. Co-Authored-By: Claude Opus 4.8 <[email protected]>
ADCDS
referenced
this pull request
in ADCDS/openwrt-realtek
Jul 31, 2026
…low 27->95 Mbit) The A-2 wedge fix left a residual: a saturating routed TCP flow couldn't hold line rate, collapsing to ~27 Mbit. Root cause (MEASURED, opposite the first hypothesis): the loader FORCES 802.3x pause on both RGMII-trunk ends (8367S EXT1 0x1311=0x1076, SoC PCRP0[17:16]=3). A routed LAN->WAN flow crosses the SINGLE trunk TWICE (VID2 ingress + VID1 egress on the same SoC port0), so that pause is a self-inflicted feedback loop — WAN-egress back-pressure PAUSEs the LAN ingress on the same wire and throttles the flow. Fix: force-CLEAR pause on both trunk ends in rtl865x_start() (default). Bench A/B (plain routed hal->tiny, fresh iperf3): pause ON ~0.9 Mbit collapse; pause OFF ~95 Mbit sustained (vs ~27 Mbit with the loader's untouched pause). trunk_pause module param: 2=off (default/fix), 1=on (A/B reproduces the collapse), 0=leave. - rtl8367b.c: rtl8367s_trunk_pause_set() — surgical RMW of EXT1 0x1311 tx/rxpause bits ONLY (never mode/speed/link — the #12/#14 desync class). - rtl819x-eth.c: SoC PCRP0 pause bits (EnForceMode double-toggle) + the param. Co-Authored-By: Claude Opus 4.8 <[email protected]>
georgemoussalem
pushed a commit
to georgemoussalem/openwrt-fork
that referenced
this pull request
Sep 24, 2026
Confirmed on the SCR50AXE: three radios up with FW memory mode 2, clients on 2.4 and 5 GHz. Thanks.
alphaonex86
added a commit
to alphaonex86/openwrt
that referenced
this pull request
Sep 27, 2026
Both Luna boards stopped provisioning at ONE message. The OLT sends a Set on ME 11 with mask 0x2818 -- openwrt#3 auto-detection configuration, openwrt#5 administrative state, openwrt#12 ARC, openwrt#13 ARC interval -- and this table modelled only openwrt#5 as writable, so the whole request was refused atomically with rc=9 ATTR_FAILED and no further OMCI ever arrived. The value octets are all 0x00, measured twice on the G24W with a fresh tci each time: the G.988 default for all four. The three attributes we refused asked for NO CHANGE AT ALL, and the refusal cost provisioning for nothing. OMCI_ACCESS_WRITE_UNCHANGED: an attribute G.988 calls writable that this ONU serves from a CONSTANT is settable to the value it already reports, and refused at any other value. The MIB never states anything untrue -- a Get after the Set returns exactly what the Set asked for -- and an attribute with a physical side (openwrt#4 loopback, openwrt#15 power control, a non-zero openwrt#3) still comes back rc=9 rather than being accepted and ignored. The writable set is stock's own, RE'd from both boards' mib_EthUni.so: mask 0xb9fe. ⚠ It also uncovered a latent defect one line away: the administrative bound read values[0], the first octet of the WHOLE request. That is the administrative state only while ME 11 has exactly ONE writable attribute; with openwrt#3 preceding openwrt#5 in mask 0x2818 it would have validated a stranger's octet. The bound is now per attribute, at its own offset, and validation is a separate pass so an atomic Set stays atomic. MEASURED on the G24W: 4 ME 11 Sets rc=0 where there was 1 rc=9, 88 downstream messages where there were 40, zero refusals in the whole burst, a data GEM installed, and a DHCP lease reachable from the host at 0% loss. The X400AXF, which already had WAN, still has it on this core. gpon_omci_diag/trace: a Set now renders the value octets that follow its mask -- spelled out rather than with %*phN, which is a kernel-only vsnprintf extension that renders a pointer on the x86 host, so an offline case judging the line would be judging a shim. A result code is rendered for every answered PDU whose reply CARRIES one: gpon_omci_has_result_code() names the four types whose reply does not, because assuming it was universal printed octet 8 of a MIB-Upload-Next reply -- the high byte of a CLASS ID -- as `rc=1`, which read as 26 upload failures that never happened. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
kubrickfr
pushed a commit
to kubrickfr/openwrt-be9300
that referenced
this pull request
Oct 6, 2026
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]>
kubrickfr
pushed a commit
to kubrickfr/openwrt-be9300
that referenced
this pull request
Oct 9, 2026
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]>
haddad2inc
added a commit
to haddad2inc/openwrt
that referenced
this pull request
Oct 10, 2026
…a8k-v11 Three fixes measured against runs openwrt#12-openwrt#14, all of which died in the cherry-pick step: 1. pick() gains gate 6 (ASSET-CONFLICT). After the 2026-10-10 function/color swap on the PR head (2a2d51c, DTS blob 5f685f1), picking the old device twin e9c7d7b (DTS blob 1aafe75) out of k1-qca8k-v10 dies add/add on target/linux/ath79/dts/qca9563_comfast_cf-wa350.dts. That file is overwritten wholesale by the Inject-DTS step and sha256-gated there, so a conflict confined to it carries no information: resolve to the base side and continue (or skip when the remainder is empty). Every other conflicted path still hard-fails and still uploads logs/conflict-<label>.txt. 2. kernel_branch default moves to k1-qca8k-v11. Upstream took subsys numbers 394-422 between 0ab51fb (the base of k1-qca8k-v10) and eb51d41 (the base of the PR head), so v10's subsys/394+395 would interleave with upstream's own 394/395 in the quilt series - an untested order on rx.c. v11 is the PR head plus two commits carrying the six r7 files under their PR names (744 v7, 835 v4, subsys/423 master-refreshed, subsys/424, ipq40xx/706 refresh, base-files 0001): the combination measured zero-offset in R21. 3. The DTS asset is read from origin/main:dts/<file> first, falling back to origin/ci-wa350:dts/<file> for the variants that live only there, and the source used is printed on the identity card. .config still comes from ci-wa350. internal-mdio gets its own sha gate because its ci-wa350 copy is still the pre-swap content. Signed-off-by: Salah Ahmed <[email protected]>
kubrickfr
pushed a commit
to kubrickfr/openwrt-be9300
that referenced
this pull request
Oct 19, 2026
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]>
alphaonex86
added a commit
to alphaonex86/openwrt
that referenced
this pull request
Oct 31, 2026
Both Luna boards stopped provisioning at ONE message. The OLT sends a Set on ME 11 with mask 0x2818 -- openwrt#3 auto-detection configuration, openwrt#5 administrative state, openwrt#12 ARC, openwrt#13 ARC interval -- and this table modelled only openwrt#5 as writable, so the whole request was refused atomically with rc=9 ATTR_FAILED and no further OMCI ever arrived. The value octets are all 0x00, measured twice on the G24W with a fresh tci each time: the G.988 default for all four. The three attributes we refused asked for NO CHANGE AT ALL, and the refusal cost provisioning for nothing. OMCI_ACCESS_WRITE_UNCHANGED: an attribute G.988 calls writable that this ONU serves from a CONSTANT is settable to the value it already reports, and refused at any other value. The MIB never states anything untrue -- a Get after the Set returns exactly what the Set asked for -- and an attribute with a physical side (openwrt#4 loopback, openwrt#15 power control, a non-zero openwrt#3) still comes back rc=9 rather than being accepted and ignored. The writable set is stock's own, RE'd from both boards' mib_EthUni.so: mask 0xb9fe. ⚠ It also uncovered a latent defect one line away: the administrative bound read values[0], the first octet of the WHOLE request. That is the administrative state only while ME 11 has exactly ONE writable attribute; with openwrt#3 preceding openwrt#5 in mask 0x2818 it would have validated a stranger's octet. The bound is now per attribute, at its own offset, and validation is a separate pass so an atomic Set stays atomic. MEASURED on the G24W: 4 ME 11 Sets rc=0 where there was 1 rc=9, 88 downstream messages where there were 40, zero refusals in the whole burst, a data GEM installed, and a DHCP lease reachable from the host at 0% loss. The X400AXF, which already had WAN, still has it on this core. gpon_omci_diag/trace: a Set now renders the value octets that follow its mask -- spelled out rather than with %*phN, which is a kernel-only vsnprintf extension that renders a pointer on the x86 host, so an offline case judging the line would be judging a shim. A result code is rendered for every answered PDU whose reply CARRIES one: gpon_omci_has_result_code() names the four types whose reply does not, because assuming it was universal printed octet 8 of a MIB-Upload-Next reply -- the high byte of a CLASS ID -- as `rc=1`, which read as 26 upload failures that never happened. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
kubrickfr
pushed a commit
to kubrickfr/openwrt-be9300
that referenced
this pull request
Nov 7, 2026
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]>
kubrickfr
pushed a commit
to kubrickfr/openwrt-be9300
that referenced
this pull request
Nov 7, 2026
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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.