Skip to content

package_changes.py: 25.12 Add switch driver for lantiq#1579

Merged
aparcar merged 1 commit intoopenwrt:mainfrom
map-b:packages-changes-lantiq-eth
Feb 21, 2026
Merged

package_changes.py: 25.12 Add switch driver for lantiq#1579
aparcar merged 1 commit intoopenwrt:mainfrom
map-b:packages-changes-lantiq-eth

Conversation

@map-b
Copy link
Contributor

@map-b map-b commented Feb 16, 2026

The Lantiq xRx200/xRx300/xRx330 switch driver is not compiled into the kernel image any more. Add this switch driver to the generated images if it is missing.

This was changed in OpenWrt in:
openwrt/openwrt@62bf028

Related: #1556
Fixes: openwrt/openwrt#21334

The Lantiq xRx200/xRx300/xRx330 switch driver is not compiled into the
kernel image any more. Add this switch driver to the generated images if
it is missing.

This was changed in OpenWrt in:
openwrt/openwrt@62bf028

Related: openwrt#1556
Fixes: openwrt/openwrt#21334
@map-b map-b force-pushed the packages-changes-lantiq-eth branch from 1a2ade3 to 7be0c5d Compare February 16, 2026 23:29
@map-b
Copy link
Contributor Author

map-b commented Feb 16, 2026

This would be more correct since it is a target's default package although the actual code reflects better the dependency driver-firmware or this work without the firmware in some case? Anyway I changed to this since it is target-wise.

diff --git a/asu/package_changes.py b/asu/package_changes.py
index ca12ba8..905d784 100644
--- a/asu/package_changes.py
+++ b/asu/package_changes.py
@@ -130,8 +130,10 @@ def apply_package_changes(build_request: BuildRequest):
                 "solidrun_clearfog-pro",
             }:
                 _add_if_missing("kmod-dsa-mv88e6xxx")
+        # Changes for https://github.com/openwrt/openwrt/commit/62bf0287326dcfab4596d5f4cad77cd9e7f8f03b
         # Changes for https://github.com/openwrt/openwrt/commit/a18d95f35bd54ade908e8ec3158435859402552d
         elif build_request.target == "lantiq/xrx200":
+            _add_if_missing("kmod-dsa-gswip")
             if build_request.profile in {
                 "arcadyan_arv7519rw22",
                 "arcadyan_vgv7510kw22-brn",
@@ -168,8 +170,10 @@ def apply_package_changes(build_request: BuildRequest):
             }:
                 _add_if_missing("xrx200-rev1.1-phy11g-firmware")
                 _add_if_missing("xrx200-rev1.2-phy11g-firmware")
+        # Changes for https://github.com/openwrt/openwrt/commit/62bf0287326dcfab4596d5f4cad77cd9e7f8f03b
         # Changes for https://github.com/openwrt/openwrt/commit/a18d95f35bd54ade908e8ec3158435859402552d
         elif build_request.target == "lantiq/xrx200_legacy":
+            _add_if_missing("kmod-dsa-gswip")
             if build_request.profile in {
                 "alphanetworks_asl56026",
                 "netgear_dm200",

@efahl
Copy link
Contributor

efahl commented Feb 17, 2026

Good catch, there are more reports in the rc4 thread starting at https://forum.openwrt.org/t/openwrt-25-12-0-rc4-release-candidate/245939/165

Looks good to me.

@hauke?

Copy link
Member

@hauke hauke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Sorry I missed that change before.

@codecov
Copy link

codecov bot commented Feb 20, 2026

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.61%. Comparing base (5e65dec) to head (7be0c5d).
⚠️ Report is 348 commits behind head on main.

Files with missing lines Patch % Lines
asu/package_changes.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1579       +/-   ##
===========================================
+ Coverage   80.75%   91.61%   +10.85%     
===========================================
  Files          15       16        +1     
  Lines         977     1741      +764     
===========================================
+ Hits          789     1595      +806     
+ Misses        188      146       -42     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aparcar aparcar merged commit 298ddb4 into openwrt:main Feb 21, 2026
4 of 5 checks passed
@map-b map-b deleted the packages-changes-lantiq-eth branch February 21, 2026 21:42
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.

No Ethernet Ports on BT Home Hub 5A after Attended Upgrade from 24.10.5 -> 25.12.0-rc1

4 participants