commit f8bc6baa06c64048642bb838ae4283174c02d8c5
parent e30be0f0a397b94ca7a6da206cfbac6fc5e8b3c2
Author: Daniel Barlow <dan@telent.net>
Date: Sun, 15 Nov 2026 14:39:12 +0000
think
Diffstat:
1 file changed, 35 insertions(+), 0 deletions(-)
diff --git a/THOUGHTS.txt b/THOUGHTS.txt
@@ -9282,3 +9282,38 @@ mainline kernel not openwrt patched)
this is fine, because we got rid of the backports thing and our wifi
modules are being built by the kernel derivation using
conditionalConfig.WLAN (kmodloader merely loads it does not build)
+
+Thu Nov 12 16:06:28 GMT 2026
+
+bringing the gl-mt300a up to recent kernel. it boots, after adding
+CONFIG_CLK_MTMIPS, but the wifi doesn't appear and there is nothing in
+dmesg to show it's even trying to
+
+I had do to some violence to the already messy rt2x00 patches, so there's that
+
+drivers/net/wireless/ralink/rt2x00/rt2800soc.c says
+rt2800soc_driver.driver.name = "rt2800_wmac"
+
+no other git grep matches in kernel or in openwrt 25.12
+
+in older openwrt, there's
+
+src/openwrt-6-12-x/package/kernel/mac80211/patches/rt2x00/609-rt2x00-make-wmac-loadable-via-OF-on-rt288x-305x-SoC.patch
+
+which adds a .compatible = "ralink,rt2880-wmac"
+which *doesn't* match
+target/linux/ramips/dts/mt7620a.dtsi: compatible = "ralink,rt7620-wifi", "ralink,rt2880-wifi";
+
+@@ -635,7 +627,7 @@
+ };
+
+ wmac: wmac@10180000 {
+- compatible = "ralink,rt7620-wmac", "ralink,rt2880-wmac";
++ compatible = "ralink,rt7620-wifi", "ralink,rt2880-wifi";
+ reg = <0x10180000 0x40000>;
+
+ clocks = <&sysc 16>;
+
+tl;dr the newer openwrt changed the compatible name
+
+[ wrote a blog post about this ]