Skip to content

Feature/add customized files - #8

Closed
HitszChen wants to merge 16 commits into
openwrt:masterfrom
IntoRobot:feature/add-customized-files
Closed

HitszChen wants to merge 16 commits into
openwrt:masterfrom
IntoRobot:feature/add-customized-files

Conversation

@HitszChen

Copy link
Copy Markdown

No description provided.

@HitszChen HitszChen closed this Apr 6, 2016
@HitszChen
HitszChen deleted the feature/add-customized-files branch April 10, 2016 12:42
friendlyarm referenced this pull request in friendlyarm/friendlywrt Apr 25, 2019
sdelafond referenced this pull request in untangle/openwrt Oct 15, 2020
MFW-887: caswell-rssi-leds: Disable gnss at boot
dengxinfa pushed a commit to gl-inet/openwrt that referenced this pull request Apr 6, 2021
RM#8911 1,update wifi.ko for thermal 	2,update ate_cmd
@cdrag45 cdrag45 mentioned this pull request Feb 18, 2022
Noltari referenced this pull request in rikka0w0/openwrt Jun 19, 2023
openwrt-bot pushed a commit that referenced this pull request May 15, 2025
Fixes the following warning:
[  180.314652] NOHZ tick-stop error: local softirq work is pending, handler #8!!!

Signed-off-by: Felix Fietkau <[email protected]>
openwrt-bot pushed a commit that referenced this pull request May 15, 2025
Fixes the following warning:
[  180.314652] NOHZ tick-stop error: local softirq work is pending, handler #8!!!

Signed-off-by: Felix Fietkau <[email protected]>
(cherry picked from commit 610dd87)
Vladdrako pushed a commit to Vladdrako/openwrt that referenced this pull request May 21, 2025
Fixes the following warning:
[  180.314652] NOHZ tick-stop error: local softirq work is pending, handler openwrt#8!!!

Signed-off-by: Felix Fietkau <[email protected]>
plappermaul pushed a commit to plappermaul/openwrt that referenced this pull request May 23, 2025
Fixes the following warning:
[  180.314652] NOHZ tick-stop error: local softirq work is pending, handler openwrt#8!!!

Signed-off-by: Felix Fietkau <[email protected]>
talexbikes pushed a commit to talexbikes/openwrt that referenced this pull request May 25, 2025
Fixes the following warning:
[  180.314652] NOHZ tick-stop error: local softirq work is pending, handler openwrt#8!!!

Signed-off-by: Felix Fietkau <[email protected]>
testuser7 pushed a commit to testuser7/openwrt that referenced this pull request May 27, 2025
Fixes the following warning:
[  180.314652] NOHZ tick-stop error: local softirq work is pending, handler openwrt#8!!!

Signed-off-by: Felix Fietkau <[email protected]>
testuser7 pushed a commit to testuser7/openwrt that referenced this pull request May 27, 2025
Fixes the following warning:
[  180.314652] NOHZ tick-stop error: local softirq work is pending, handler openwrt#8!!!

Signed-off-by: Felix Fietkau <[email protected]>
FrankZRS pushed a commit to Cascoda/OpenWrt that referenced this pull request Dec 16, 2025
AaronElijah pushed a commit to botblox/openwrt that referenced this pull request Mar 3, 2026
Fixes the following warning:
[  180.314652] NOHZ tick-stop error: local softirq work is pending, handler openwrt#8!!!

Signed-off-by: Felix Fietkau <[email protected]>
(cherry picked from commit 610dd87)
LuisMitaHL pushed a commit to LuisMitaHL/LooperWrt that referenced this pull request Sep 21, 2026
Fixes the following warning:
[  180.314652] NOHZ tick-stop error: local softirq work is pending, handler openwrt#8!!!

Signed-off-by: Felix Fietkau <[email protected]>
alphaonex86 added a commit to alphaonex86/openwrt that referenced this pull request Oct 6, 2026
…shows it

The lab OLT's ont-capability of the bench X111W read ETH 2, POTS 1, IP
configuration support[3], priority queues DS 24 / US 96 on stock and 1, 0, not
support, 8, 0 on ours. Production OLTs see the same MIB, and the operator's
rule is that only the software version may differ. After this change
olt_view.py reads MATCHES (47 fields), and the datapath group passes on the
bench X111W (NAT v4/v6, 941/956 Mbps transit, WiFi, PPPoE, tagged WAN).

Core (gpon_omci_me.c/.h, gpon_omci_core.c):
- struct omci_slot: one equipment slot per declared circuit pack (ME 5 + ME 6:
  type, ports, priority queues, T-CONT buffers, schedulers). ME 6 gains
  openwrt#6..openwrt#8, openwrt#10, openwrt#11, openwrt#13, openwrt#14. Undeclared boards keep the single 0x0101 slot.
- ME 277 rows follow the slots: downstream blocks of 8 per Ethernet UNI then
  the VEIP, upstream 8 per T-CONT (0x8000 + 8t + p), related port counting
  down -- stock's own numbering, all 120 X111W queues checked.
- ME 134 IP host config data per declared instance; openwrt#2 is the WAN netdev MAC
  the NIC pushes (luna_omci_set_wan_mac), not answered until it does.
- ME 53 PPTP POTS UNI per declared instance (stock reports 0x0201 unwired).
- A Get of ME 5/6/53/134/277 validates the instance (UNKNOWN_INST).
- Luna OMCI_MIB_ROWS_MAX 200 -> 256 (the X111W MIB is 205 rows).

Luna shell: /omci-uni circuit-packs, ip-host-instances/ip-host-wan-mac and
pots-uni-instances are parsed; rtl9602c_eth.c and luna_eth.c push the WAN MAC
wherever they set it.

X111W DTS: the omci-uni node sat inside &spi_nor (/flash@14000000/omci-uni)
while luna_gpon looks it up at /omci-uni, so the board's UNI panel was never
applied. It is now a root child and declares stock's six circuit packs, three
IP hosts and one POTS UNI. dts_vs_measured's DRIVER_NODE_PATHS check catches
the misplacement at build time.

Host proof: omci_slot_test 30/0 (mutation-proven), omci_me_table 15/15,
omci_admin_state 129/0, omci_wire_offsets 159/159, luna_omci_pipeline 12578/0;
widths agree with stock's mib_*.so for every added attribute. All four boards
build.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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]>
alphaonex86 added a commit to alphaonex86/openwrt that referenced this pull request Oct 19, 2026
…s Set no longer stops provisioning

ISP AXS's ZTE OLT (DC3, 2026-10-17), right after its MIB upload, writes ME 11
on every Ethernet UNI with mask 0x8140: #1 expected type 0 (autosense), openwrt#8 max
frame size 1632, openwrt#10 pause time 0. We modelled #1 read-only and openwrt#8/openwrt#10 as
constants settable only to the value served (1518, 0xffff), so the whole
atomic Set failed rc=9; the OLT answered with a MIB reset, retried once, then
kept the unit at O5 with no OMCI and deactivated it every ~50 s. Stock's own
writable set (0xb9fe) has all three.

Now, per instance: #1 accepts 0 or the type the port senses; openwrt#8 accepts
1518..2000 (what the NIC's 2048-octet RX buffer carries whole); openwrt#10 accepts
any value. Each is stored and served back by Get; a MIB reset restores
expected = sensed, 1518 and 0xffff, so the upload any OLT sees before writing
is unchanged. The switch is not reprogrammed for openwrt#8/openwrt#10: a non-default value
is COUNTED in attr_owed, as the held-but-unapplied table writes are.

dev's omci_masked_store_test replays the ZTE Set byte for byte on a two-port
panel; mutating the writable set reddens four arms.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
alphaonex86 added a commit to alphaonex86/openwrt that referenced this pull request Oct 31, 2026
…shows it

The lab OLT's ont-capability of the bench X111W read ETH 2, POTS 1, IP
configuration support[3], priority queues DS 24 / US 96 on stock and 1, 0, not
support, 8, 0 on ours. Production OLTs see the same MIB, and the operator's
rule is that only the software version may differ. After this change
olt_view.py reads MATCHES (47 fields), and the datapath group passes on the
bench X111W (NAT v4/v6, 941/956 Mbps transit, WiFi, PPPoE, tagged WAN).

Core (gpon_omci_me.c/.h, gpon_omci_core.c):
- struct omci_slot: one equipment slot per declared circuit pack (ME 5 + ME 6:
  type, ports, priority queues, T-CONT buffers, schedulers). ME 6 gains
  openwrt#6..openwrt#8, openwrt#10, openwrt#11, openwrt#13, openwrt#14. Undeclared boards keep the single 0x0101 slot.
- ME 277 rows follow the slots: downstream blocks of 8 per Ethernet UNI then
  the VEIP, upstream 8 per T-CONT (0x8000 + 8t + p), related port counting
  down -- stock's own numbering, all 120 X111W queues checked.
- ME 134 IP host config data per declared instance; openwrt#2 is the WAN netdev MAC
  the NIC pushes (luna_omci_set_wan_mac), not answered until it does.
- ME 53 PPTP POTS UNI per declared instance (stock reports 0x0201 unwired).
- A Get of ME 5/6/53/134/277 validates the instance (UNKNOWN_INST).
- Luna OMCI_MIB_ROWS_MAX 200 -> 256 (the X111W MIB is 205 rows).

Luna shell: /omci-uni circuit-packs, ip-host-instances/ip-host-wan-mac and
pots-uni-instances are parsed; rtl9602c_eth.c and luna_eth.c push the WAN MAC
wherever they set it.

X111W DTS: the omci-uni node sat inside &spi_nor (/flash@14000000/omci-uni)
while luna_gpon looks it up at /omci-uni, so the board's UNI panel was never
applied. It is now a root child and declares stock's six circuit packs, three
IP hosts and one POTS UNI. dts_vs_measured's DRIVER_NODE_PATHS check catches
the misplacement at build time.

Host proof: omci_slot_test 30/0 (mutation-proven), omci_me_table 15/15,
omci_admin_state 129/0, omci_wire_offsets 159/159, luna_omci_pipeline 12578/0;
widths agree with stock's mib_*.so for every added attribute. All four boards
build.

Co-Authored-By: Claude Opus 5.5 (1M context) <[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 Oct 31, 2026
…s Set no longer stops provisioning

ISP AXS's ZTE OLT (DC3, 2026-10-17), right after its MIB upload, writes ME 11
on every Ethernet UNI with mask 0x8140: #1 expected type 0 (autosense), openwrt#8 max
frame size 1632, openwrt#10 pause time 0. We modelled #1 read-only and openwrt#8/openwrt#10 as
constants settable only to the value served (1518, 0xffff), so the whole
atomic Set failed rc=9; the OLT answered with a MIB reset, retried once, then
kept the unit at O5 with no OMCI and deactivated it every ~50 s. Stock's own
writable set (0xb9fe) has all three.

Now, per instance: #1 accepts 0 or the type the port senses; openwrt#8 accepts
1518..2000 (what the NIC's 2048-octet RX buffer carries whole); openwrt#10 accepts
any value. Each is stored and served back by Get; a MIB reset restores
expected = sensed, 1518 and 0xffff, so the upload any OLT sees before writing
is unchanged. The switch is not reprogrammed for openwrt#8/openwrt#10: a non-default value
is COUNTED in attr_owed, as the held-but-unapplied table writes are.

dev's omci_masked_store_test replays the ZTE Set byte for byte on a two-port
panel; mutating the writable set reddens four arms.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant