Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

极路由3Pro(C312B) 用最新源码编译,无法使用有线网口 #13393

Open
1 task done
fejich opened this issue Mar 12, 2025 · 3 comments
Open
1 task done

极路由3Pro(C312B) 用最新源码编译,无法使用有线网口 #13393

fejich opened this issue Mar 12, 2025 · 3 comments

Comments

@fejich
Copy link

fejich commented Mar 12, 2025

详细叙述

Image

Image

编译时候只是按自己需要勾选了 USB打印服务器 跟 msd_lite ,WireGuard 等几个常用 luci 插件。
没做其他修改。

手动 checkout 到 [2023](ramips: kernel 5.10: add mt7620-nand driver for NAND flash #11076) 源码后
#11076

编译出来的固件就能正常使用有线网口

重复 issue

  • 没有类似的 issue

具体型号

极路由3Pro(C312B)

详细日志

内核日志.txt

系统日志.txt

@modelsun
Copy link

咋这么多交换机switch?

@fejich
Copy link
Author

fejich commented Mar 17, 2025

diff --git a/target/linux/ramips/dts/mt7620a_hiwifi_r33.dts b/target/linux/ramips/dts/mt7620a_hiwifi_r33.dts
index 2f8254e56..b2dd31c77 100644
--- a/target/linux/ramips/dts/mt7620a_hiwifi_r33.dts
+++ b/target/linux/ramips/dts/mt7620a_hiwifi_r33.dts
@@ -19,10 +19,9 @@
 	};
 
 	nand {
-		status = "okay";
+		compatible = "mtk,mt7620-nand";
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "mtk,mt7620-nand";
 
 		partitions {
 			compatible = "fixed-partitions";
@@ -140,9 +139,8 @@
 	};
 
 	rtl8367rb {
-		compatible = "realtek,rtl8367b", "rtl8367b";
-		cpu_port = <6>;
-		realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
+		compatible = "realtek,rtl8367b";
+		realtek,extif = <6 1 0 1 1 1 1 1 1 2>;
 		mii-bus = <&mdio0>;
 	};
 };
@@ -224,11 +222,11 @@
 };
 
 &bdinfo {
-        compatible = "nvmem-cells";
-        #address-cells = <1>;
-        #size-cells = <1>;
-
-        macaddr_bdinfo_18a: macaddr@18a {
-                reg = <0x18a 0x11>;
-        };
-};
\ No newline at end of file
+	compatible = "nvmem-cells";
+	#address-cells = <1>;
+	#size-cells = <1>;
+
+	macaddr_bdinfo_18a: macaddr@18a {
+		reg = <0x18a 0x11>;
+	};
+};

你试一下

我机器刷了旧版,已经用做打印机服务器了。

后续看看其他有这机器的人再试试你的补丁

感谢你的回复

@zfdx123
Copy link
Contributor

zfdx123 commented Mar 28, 2025

https://github.com/coolsnowwolf/lede/commits/master/target/linux/generic/files/drivers/net/phy/rtl8367b.c

可能在提交过程中破坏了兼容性?是否每个端口都无法使用??

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

No branches or pull requests

3 participants