R6700v2 led question

When I get home, I'll be able to work on it some more, basically I'm going to to be using the documentation as it has what I'm looking for for now.

So far and as mentioned wireless performance is working fine for my bandwidth rates provided from my provider and the photo is basically how the led's are displaying no blinking activity when all ports are being used wan is connected as well of course, currently the kmod-leds-gpio and kmod-usb-ledtrig was included when compiled and so maybe not sure but adding one of the other kmod-ledtrig could used? I will do some testing this evening,

Best regards
onefreeman

1 Like

Okay none of the documentation suggestions didn't work for me, also using the snapshot builds doesn't allow me to install other kmod ledrig to experiment with, does this mean I can "git pull" add to the config with the kmod ledtrig compile and troubleshoot test?

best regards
onefreeman

The led triggers got stripped a few days ago (I think because they're supposed to work by default on most targets now?):

Yeah, see:

This would explain the errors when opkg install one of those kmod's. Unfortunately I bricked the router going to back to oem.

I read that using nmrpflash could bring it back to oem can someone confirm, am I in the right thread to ask this question?

best regards
onefreeman

Nmrpflash seems the way yes.

nmrpflash for windows 10 or linux which works better?

I can see that openwrt is still there in the serial log, so would continuing going back to stock the route to go or go back to the openwrt and try flashing stock another way using nmrpflash?

regards
onefreeman

I tried the Linux one and both the binary and a self-compiled version didn't work for me. If you don't want nmrpflash I think it's serial + TFTP. The former is definitely easier.

Aren't there some commands to use when flashing, I can tftpboot upload the firmware but I don't know the commands to flash upgrade the stock firmware?

Thanks for any answers that can help me flash back to stock, I know the snapshot hasn't developed all the way yet and would like to continue testing, it just that going back to stock should be documented for now as well.

regards
onefreeman

Was able to restore my R6700v2 using the nmrpflash-0.9.15-win32, followed the instructions provided from the https://github.com/jclehner/nmrpflash/ the download was at https://github.com/jclehner/nmrpflash/releases thanks for the replies.

best regards
onefreeman

1 Like

Okay since those kmod triggers have been removed, I see that the led gpio are in mt7621_netgear_sercomm_bzv_dtsi for the r6700v2 but the only two led that were semi working were the power(orange) and lan led(white) that was not blinking, nothing helped to change or bring the remaining led online after making changes in uci.

Hopefully the documentation will help me to figure it out.

Where are the current commits for work done on the R6700v2 MT7621 can it be found at git.openwrt.org and do a search?

Best regards
onefreeman

I'm still not able to get the led situation with the kmod-leds-gpio to work this is kinda new to me, has anyone with similar netgear specs to this mt7621 been able to successfully configure their wan, lan, wifi led's?

Best regards,
onefreeman

There's light at the end of the tunnel :wink:

An inquisitive soul found out the following kernel symbol went AWOL in the migration from kernel 4.14 to 5.4:

diff --git a/target/linux/ramips/mt7621/config-5.4 b/target/linux/ramips/mt7621/config-5.4

index fba22a39cf..559abb65f5 100644

--- a/target/linux/ramips/mt7621/config-5.4

+++ b/target/linux/ramips/mt7621/config-5.4

@@ -210,6 +205,7 @@ CONFIG_PHYLINK=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_RT2880=y
 # CONFIG_PINCTRL_SINGLE is not set
+CONFIG_PINCTRL_SX150X=y
 CONFIG_POWER_RESET=y
 CONFIG_POWER_RESET_GPIO=y
 CONFIG_POWER_SUPPLY=y

Props to @svanheule for tracking this down.

If you compile yourself, you can just add this patch, if not, you'll have to be patient. It turns out this driver cannot be compiiled as a module so there's some input from the devs needed on how to proceed, since this would enable it for all MT7621 devices.

1 Like

Thank you Borromini for the information, it's been tricky to get the led's to function properly and as you stated "some input from the devs needed on how to proceed" would be helpful, the R6700v2 currently is running great for my needs but in time full support will be available one day, for now I can wait, have you tried compiling the patch for the other Netgear MT7621 model?

Best regards
onefreeman

A patch is waiting to be merged, the kernel is the same for all MT7621 devices, since the driver can only be compiled in statically. Once it gets merged yours should start working too.

1 Like

I'll apply the patch when I get a chance this evening and thanks for the information as well Borromini.

Best regards
onefreeman

1 Like

Please send in your tested-by (see my reply) to the mailing list if it works for you.

Not sure I understand what your asking?

Best regards
onefreeman

Well, if the patch works for you, reply to the e-mail if you're subscribed to the mailing list, and add a Tested-by: Your Name <your@email.com> line.

Thank you for verifying as I wasn't sure, I actually haven't subscribed to the mailing list but I can as the patch did work, thanks again your information throughout this thread has been valuable.

Best regards
onefreeman

Edited: I'll need setup the wifi led first since the leds are working now, able to unplug, plug back to verify led working on lan ports, wan and power led are functioning as well.

Sorry for a late update but the patch does work but if you have a 10/100 connection plugged in the led still blinks white for example it is supposed to be the amber when a 10/100 connected but as it boots power led will go from amber to white, wifi led 2.4/5GHz blinks, basically they do work with exception of the said mention to the having a 10/100 device plugged in will be the white led.

Just how do i send feedback for that patch I have signed to the site, is there someway to send it to my email and reply to it as you mentioned, forgive me for not being too helpful on something that should be simple.

Best regards
onefreeman