Meh! uptime is now 2:20, and the LAN4 (on the case) port started working.
OK I can't follow! LAN4 (on the case) doesn't have link, again.
What is going on here?
Now the firmware is extracted from mtd in userspace and stored in /lib/firmware
This happens after wifi is supposed to start.
On the next reboot the file is still there.
A hacky workaround is to add /lib/firmware/ to /etc/sysupgrade.conf
A normal fix would be to have a wait till the firmware is there, but that's not quite easy to do cleanly.
So add your firmware files to /etc/sysupgrade.conf and forget about this sysupgrade trouble.
Also even without that you can always start Wi-Fi by wifi command even after the first boot.
That might actually be a semi-ok personal hack, assuming that the backup is only used for the same router. Naturally, the firmware file names will vary by target & router, so no global setting is possible.
This patch not work for me.
In this time only working build for wndr3700v2 is from hnyman WNDR3700v2-master-r7817-1961948585-20180810-2059.
Build WNDR3700v2-master-r7847-03e5dcbf10-20180813-2312 and build from @juppin not work - eth1 tx timeout.
BTW In first build from hnyman on switch layout is :
Port 1 Port 2 Port 3 Port 4 Port 5 CPU (eth0) .
But in second build is another:
CPU (eth0) LAN1 LAN2 LAN3 LAN4 LAN5
and in my not working build ( this same error ) is:
CPU (eth0) CPU (eth0) LAN1 LAN2 LAN3 LAN4 LAN5 LAN6 LAN7 LAN8 (SIc!)
No. I build from a pretty clean clone of the main repo. 20180813 did not contain any strange external patches, just the ones for wifi and LEDs that have been merged by now.
Other difference is the WNDR3700/3800 series DTS reorganisation, but there was no actual change to the DTS, just a split to a common .dtsi and device-specific .dts files.
The 3rd patch may be needed in case u-boot sets wrong values. That was its goal.
Luckily in our u-boot all was OK.
So @yabba235 if you are 100% sure that you made a clean build, then we need devmem output.
Also I noticed that sysupgrade has bugs and it leaves some file, even with -n and subsequent firstboot. I had this problem today with another device.
So
Make sure all is clean, probably flash with mtd with factory if it's available.
The scripts make no changes to the binary outcome of the compilation.
Right now all needed patches for WNDR3700 series have been merged (the LEDs a few hours ago), so you should reset the ath79 dir in the source and do a clean rebuild.
EDIT:
But like discussed below, some link speeds need the third patch from PR 1271 in order to work.
I was trying to test my last PR with MR3040. It has a new /etc/diag.sh.
I made a clean build, made sysupgrade -n and even made firstboot. But I still had the old diag.sh in /rom. The file in the image was the new one.
I could solve it only by writing the image by mtd.
I had this before once or twice with other devices.