Repository navigation
Update bcm53xx, brcm63xx, octeon, and smaller patches - #16
Merged
Merged
Conversation
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]>
Signed-off-by: Rafał Miłecki <[email protected]>
There are 2 issues fixed by this patch:
- UDP checksum is computed incorrectly, the used pseudo IP header
contains transport protocol 6 iso 17
- on big endian arches the UDP/TCP checksum is incorrectly
computed when payload length is odd
Signed-off-by: Alin Nastac <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Already reschedule when 1 or more frames came in. Checking for a full queue could produce a re-schedule loop as the checked RX ring location could contain undefined values depending on activity in previous loops. Signed-off-by: Koen Vandeputte <[email protected]>
Signed-off-by: John Crispin <[email protected]>
Cisco RV0XX u-boot sets MEM=2048 as boot param. We assume that at least 4MB (mem_alloc_size) of ram is needed to run linux on cavium boards, so if mem < 4M - ignore it and set default value Signed-off-by: Michał Osowiecki <[email protected]>
squashfs will be used for all images if this is not done Signed-off-by: John Crispin <[email protected]>
The generic sysupgrade image attempted to use the wrong filesystem type due
to premature variable interpolation leading to the following error on the
buildbot system:
cp: cannot stat `.../root.squashfs': No such file or directory
make[4]: *** [.../tmp/lede-octeon-generic-ext4-sysupgrade.tar] Error 1
Signed-off-by: Jo-Philipp Wich <[email protected]>
nquest
pushed a commit
to nquest/openwrt
that referenced
this pull request
Sep 12, 2022
…timizations FIX. packet-forwarder ports setup. FEATURES. 16Mb flash size, dhcp cl…
ddb65536
added a commit
to ddb65536/openwrt
that referenced
this pull request
Jun 11, 2024
OpenFi 5Pro is a DualBand Travel Router, based on MT7621A. Specification: - Type : Travel Wi-Fi Router(built-in Type-C Power Cable) - Size : 63 x 93 x 24mm - Power : Internal Type-C Cable PD/DC 5V@2A - SoC : MediaTek MT7621A - RAM : DDR3 512 MB - Flash : SPI-NOR 64MB (W25Q512) - WLAN : 2.4/5GHz 2T2R (MediaTek MT7603e/MT7613) - Ethernet : 2x 10/100/1000Mbps - USB : 1 x USB 2.0 - SDHCI : 1 x TF Slot (Max 512GB) - LEDs : 3 x LEDs (GPIO openwrt#16 openwrt#17 openwrt#14) - Button : 1 x Reset (GPIO#18), 1 x WPS (GPIO#13) - UART : 1 x UART for Debug, 115200 8N1 (Pinout: GND TX RX 3.3V) - UART 2 : 1xUART2 (Pinout: GND TX2 RX2 3.3V ) How to upgrade image in uboot 1. press reset button when boot for 5sec. 2. access 192.168.21.1 in web ui. 3. select image and upload Signed-off-by: Sven Huang <[email protected]>
1 task done
FrankZRS
pushed a commit
to Cascoda/OpenWrt
that referenced
this pull request
Dec 16, 2025
Update release script
alphaonex86
added a commit
to alphaonex86/openwrt
that referenced
this pull request
Oct 6, 2026
…cking, its order
The field X111W's stock (M225-260618) uploaded 500 rows to the operator's
production OLT on 2026-10-02 and ours 205. Stock's rule, from two tiers that
agree: its ME plugins' optionType & 0x31A (OMCI-simulate/me_attr_table.py on the
lab X111W, G24W, V2801RGW and X100DG stocks) names the attributes it serves by
Get and never uploads, and each instance packs its uploaded attributes in order
into 26-octet rows; the field upload matches that rule on every standard class.
- the hand-written row builder is replaced by that rule: a HIDDEN flag on the
descriptor (ONU-G openwrt#9/openwrt#13/openwrt#14, SW image openwrt#5/openwrt#6, IP host openwrt#16, ANI-G openwrt#13), one
packer, rows sorted by class then instance as stock sends them;
- ME 5 openwrt#4/openwrt#5/openwrt#8/openwrt#9, ME 6 openwrt#9, ME 277 openwrt#9..openwrt#16 (stock's own /etc/omci_mib.cfg),
ME 329 openwrt#5, and ME 131 OLT-G modelled -- writable and stored, stock's values
until the OLT writes it;
- ME 83, 133, 138, 141 and 340 modelled, uploaded only where a board declares
them (DT extra-me-instances, <class instance> pairs); a Get elsewhere is
unknown-instance;
- T-CONT alloc default 0x00ff on every T-CONT and traffic-scheduler policy 2,
as stock's omci_app creates them (decompiled) and the field upload shows;
- the product code read as stock reads OMCI_VENDOR_PRODUCT_CODE, strtol base
0: MIB "31" is 0x001f on the field unit's wire (live `mib get` = 31), not
0x0031; the build default follows;
- OMCI_MIB_ROWS_MAX 512 -> 768: two rows a priority queue puts the X400AXF's
census at 638;
- X111W DT: onu-capacity 16/128/16/64 and the PON pack 128/16/16, as the
field stock M225-260618 reports (the lab unit's M225-260515 said 12/96/12),
and its five further MEs.
Footprint (MIPS BE, -Os): gpon_omci_me.o 20168 -> 20744 B; struct omci_onu
8576 -> 10200 B (1536 of it the row table). Against stock's 500 rows ours is
now 422, every row equal but for a declared list (dev gpon_prod_olt_omci_test
[e]/[f]). Every board built.
Co-Authored-By: Claude Opus 5.5 <[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]>
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
…cking, its order
The field X111W's stock (M225-260618) uploaded 500 rows to the operator's
production OLT on 2026-10-02 and ours 205. Stock's rule, from two tiers that
agree: its ME plugins' optionType & 0x31A (OMCI-simulate/me_attr_table.py on the
lab X111W, G24W, V2801RGW and X100DG stocks) names the attributes it serves by
Get and never uploads, and each instance packs its uploaded attributes in order
into 26-octet rows; the field upload matches that rule on every standard class.
- the hand-written row builder is replaced by that rule: a HIDDEN flag on the
descriptor (ONU-G openwrt#9/openwrt#13/openwrt#14, SW image openwrt#5/openwrt#6, IP host openwrt#16, ANI-G openwrt#13), one
packer, rows sorted by class then instance as stock sends them;
- ME 5 openwrt#4/openwrt#5/openwrt#8/openwrt#9, ME 6 openwrt#9, ME 277 openwrt#9..openwrt#16 (stock's own /etc/omci_mib.cfg),
ME 329 openwrt#5, and ME 131 OLT-G modelled -- writable and stored, stock's values
until the OLT writes it;
- ME 83, 133, 138, 141 and 340 modelled, uploaded only where a board declares
them (DT extra-me-instances, <class instance> pairs); a Get elsewhere is
unknown-instance;
- T-CONT alloc default 0x00ff on every T-CONT and traffic-scheduler policy 2,
as stock's omci_app creates them (decompiled) and the field upload shows;
- the product code read as stock reads OMCI_VENDOR_PRODUCT_CODE, strtol base
0: MIB "31" is 0x001f on the field unit's wire (live `mib get` = 31), not
0x0031; the build default follows;
- OMCI_MIB_ROWS_MAX 512 -> 768: two rows a priority queue puts the X400AXF's
census at 638;
- X111W DT: onu-capacity 16/128/16/64 and the PON pack 128/16/16, as the
field stock M225-260618 reports (the lab unit's M225-260515 said 12/96/12),
and its five further MEs.
Footprint (MIPS BE, -Os): gpon_omci_me.o 20168 -> 20744 B; struct omci_onu
8576 -> 10200 B (1536 of it the row table). Against stock's 500 rows ours is
now 422, every row equal but for a declared list (dev gpon_prod_olt_omci_test
[e]/[f]). Every board built.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
alphaonex86
added a commit
to alphaonex86/openwrt
that referenced
this pull request
Nov 3, 2026
…TC ME 65531 openwrt#16) The HSGQ G008 asks for per-ONT multicast untag with a lone Set of CTC ME 65531 inst 0 openwrt#16 = 1 (0 restores), never ME 309. The core ACKed it unmodelled, so the group kept its multicast VLAN and never reached the LAN. Now: - core: ME 65531 openwrt#16 is a pool attribute under CONFIG_OLT_CTC, applied only for a Set of that attribute alone (any other 65531 Set stays ACKed as before: a wrong answer resets the ONU); omci_mcast_ds_tag_control() reads it or ME 309 openwrt#16; gpon_mcast_ds_strip_vid() is the pure byte decision (IPv4/IPv6 multicast DA, outer C-tag, control 1). - families: Cortina and Luna refresh the control after each OMCI message and cut the outer tag on WAN RX when no VLAN netdev claims that VID (a WAN on the multicast VLAN keeps it). X400AXF ours: untagged case 3000/3000 (was 0), tagged case still 3000/3000. Co-Authored-By: Claude Opus 5.5 <[email protected]>
alphaonex86
added a commit
to alphaonex86/openwrt
that referenced
this pull request
Nov 3, 2026
… the PON An OLT that removes its multicast VLAN at the ONU (HSGQ: CTC ME 65531 openwrt#16) still sends the stream tagged with a VID it never names over OMCI. The 9602C VLAN filter dropped any VID that had no gpon0.<vid> netdev, so the untagged delivery never reached the CPU strip. Every VID is now a PON+CPU tagged member at init; the default, PON and per-port VLANs are written after it and keep their own entries. The per-VID ndo hook is gone: its kill would have removed an admitted VID. Proven on the X111W: wan_multicast_untagged_reaches_lan FAIL 0/3000 before, PASS 3000/3000 after (same warm boot path); tagged PASS 3000/3000; table readback 0x80c. 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]>
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.