Cannot install latest GIT master on WRT1900ACS v2

Seems that something changed in the latest snapshots/git master branch.
When kernel 5.x were introduced I see I was unable to flash my compiled image:

sysupgrade -c -v mvebu-cortexa9-linksys_wrt1900acs-squashfs-sysupgrade.bin
Device linksys,shelby not supported by this image
Supported devices: linksys,wrt1900acs
Image check failed.

Is it a bug? Or may I should change something?

Thanks in advance!

PD: already tested forcing flash, but does not work. image does not boot.

You should be not keeping config -n due to the change to DSA switch architecture.
The image incompatibility is due to the name change on the platform again.

My guess is that it is flashing but you're just not getting a usable network due to borked config.

1 Like

Thank you for your answer @lantis1008.

That was one of my first suspicions, thanks for pointing it out / confirming it.

I have a lot of things configured and I wouldn't want to have to start from 0 again... but I will try one thing:

Thanks to the double partition system of this router, the image is still flashed on the other partition while I currently have active the one I had previously in service to keep the router working.

I am going to try to mount the second partition to see if I see something in the logs or reset the configuration in the hope that when booting from it I can at least see the router in the default ip 192.168.1.1. following your advise

Regards

An update to this... finally I was able to get into the router... looking at the leds the wifi seems to start correctly so I connected to it via LuCi web on wifi.. I see there is no internet also i cannot connect to it via cable with the new image (kernel 5.4.x)

When clicking to Network -> Switch menu I get a warning:

"Switch switch0 has an unknown topology - the VLAN settings might not be accurate."

No link is shown on all ports despite all of them have cables connected. So it seems there might be a problem with switch configuration or with kernel driver for switch, so no LAN connections via cable are working also no WAN/no inet.

Some more info from the log:

Fri Jun 12 19:01:51 2020 kern.info kernel: [ 1.205054] mv88e6085 f1072004.mdio-mii:00: switch 0x1760 detected: Marvell 88E6176, revision 1
Fri Jun 12 19:01:51 2020 kern.info kernel: [ 1.365505] libphy: mv88e6xxx SMI: probed
Fri Jun 12 19:01:51 2020 kern.info kernel: [ 1.542477] mv88e6085 f1072004.mdio-mii:00: switch 0x1760 detected: Marvell 88E6176, revision 1
Fri Jun 12 19:01:51 2020 kern.info kernel: [ 1.713638] libphy: mv88e6xxx SMI: probed
Fri Jun 12 19:01:51 2020 kern.info kernel: [ 1.887803] mv88e6085 f1072004.mdio-mii:00 lan4 (uninitialized): PHY [mv88e6xxx-1:00] driver [Marvell 88E1540]
Fri Jun 12 19:01:51 2020 kern.info kernel: [ 1.905149] mv88e6085 f1072004.mdio-mii:00 lan3 (uninitialized): PHY [mv88e6xxx-1:01] driver [Marvell 88E1540]
Fri Jun 12 19:01:51 2020 kern.info kernel: [ 1.920374] mv88e6085 f1072004.mdio-mii:00 lan2 (uninitialized): PHY [mv88e6xxx-1:02] driver [Marvell 88E1540]
Fri Jun 12 19:01:51 2020 kern.info kernel: [ 1.935585] mv88e6085 f1072004.mdio-mii:00 lan1 (uninitialized): PHY [mv88e6xxx-1:03] driver [Marvell 88E1540]
Fri Jun 12 19:01:51 2020 kern.info kernel: [ 1.952864] mv88e6085 f1072004.mdio-mii:00 wan (uninitialized): PHY [mv88e6xxx-1:04] driver [Marvell 88E1540]
Fri Jun 12 19:01:51 2020 kern.info kernel: [ 1.983661] mv88e6085 f1072004.mdio-mii:00: configuring for fixed/ link mode
Fri Jun 12 19:01:51 2020 kern.info kernel: [ 2.074720] mv88e6085 f1072004.mdio-mii:00: Link is Up - 1Gbps/Full - flow control off
Fri Jun 12 19:01:51 2020 daemon.info dnsmasq[1646]: read /etc/hosts - 4 addresses
Fri Jun 12 19:01:51 2020 daemon.info dnsmasq[1646]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Fri Jun 12 19:01:52 2020 daemon.notice procd: /etc/rc.d/S20network: Failed to connect to the switch. Use the "list" command to see which switches are available.
Fri Jun 12 19:01:52 2020 kern.info kernel: [ 15.782252] mvneta f1070000.ethernet eth0: configuring for fixed/rgmii-id link mode
Fri Jun 12 19:01:52 2020 kern.info kernel: [ 15.790680] mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Fri Jun 12 19:01:52 2020 kern.info kernel: [ 15.799571] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Also.. when I connect via WIFI... my connection to the router is stable only a few seconds.. after that, the ping goes crazy and bumps from 4ms to 1700ms.. 600ms.. 1900ms.. and the LuCi pages takes ages to load even connecting via SSH and entering commands is a PITA. %|

I hope all this info may be helpful or useful for this platform's maintainers... on my side I will keep checking git and debugging this issue to see if I'll find the fix

Did you redo your config to account for the DSA change as per FS3171