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

FS#716 - zte-q7 switch driver cannot load #5720

Closed
openwrt-bot opened this issue Apr 18, 2017 · 2 comments
Closed

FS#716 - zte-q7 switch driver cannot load #5720

openwrt-bot opened this issue Apr 18, 2017 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

harrylwc:

Supply the following if possible:

  • Device problem occurs on zte-q7
  • Latest version of LEDE with kernel 4.9.20

switch show unknown topology,swconfig list show nothing,ethernet port cannot work.

compared with openwrt 15.05.1 dmesg found LEDE version missing "gsw: setting port4 to ephy mode"

@openwrt-bot
Copy link
Author

harrylwc:

Problem was fixed after change dts as below

diff --git a/target/linux/ramips/dts/ZTE-Q7.dts b/target/linux/ramips/dts/ZTE-Q7.dts index 9ec1d89..9288061 100644 --- a/target/linux/ramips/dts/ZTE-Q7.dts +++ b/target/linux/ramips/dts/ZTE-Q7.dts @@ -90,7 +90,6 @@

&ethernet {
pinctrl-names = "default";

  •   pinctrl-0 = <&ephy_pins>;
      mtd-mac-address = <&factory 0x4>;
      mediatek,portmap = "wllll";
    

};
@@ -110,3 +109,7 @@
&ohci {
status = "okay";
};
+
+&gsw {

  •    mediatek,port4 = "ephy";
    

+};

but still found error message "Switch "switch0" has an unknown topology - the VLAN settings might not be accurate."

@openwrt-bot
Copy link
Author

harrylwc:

package/base-files/files/lib/functions/uci-defaults.sh missing

CFG=/etc/board.json

typo in target/linux/ramips/base-files/etc/board.d/01_leds

should be "psg1218a|" instead of "psg1218a|"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant