My image built and flashed but has two glitchs - the mt7603 radio was not enabled and the switch interface does not show in Luci. My workstation, LAN1, is connected and I'm posting from the work station.
Wireless Overview
radio0
MediaTek MT7615E 802.11nac
Device is not active
Restart
Scan
Add
disabled
SSID: OpenWrt | Mode: Master
Wireless is disabled
Enable
Edit
Remove
My understanding is the mt7603 radio is integrated into the main mt7621 chip. I'm not sure if the mt7603 radio is a PCIe interface but the *.dtsi for this group of linksys devices has
I have a successful master build/flash. The new DSA interface shows eth1 -> eth4 correctly and both 2.4/5.0 radios work. MAC's look good. Hope to generate a patch an submit later today.
Installed and working well on my EA7300 v2 - I even (locally) modified luci-advanced-reboot, will submit a PR for this very soon. But one, slight problem ...
Is there no way to replace (overwrite) the stock Linksys firmare with OpenWrt? The notes in the commit seem to explain how to install OpenWrt in the "other" partition (and it works!), but that's a problem ... having Linksys in one, OpenWrt in another => cannot do a sysupgrade, and save settings.
During development, I'd left ...v2 off the LINKSYS_HWNAME and my OpenWrt install disappeared. I ended up doing a hard reset, overwriting Linksys firmware on the first boot and then OpenWrt on the reboot. I've been able to upgrade from LuCi subsequently.
How did you do that? . From the OpenWrt partition, if I try to flash sysupgrade (to overwrite Linksys) ... it doesn't seem to work. Hmmm.
Will check with the V1 developer, as you say. But it seems from the commit there is info of how to go back to stock, but not how to remove Linksys. If OpenWrt isn't in both partitions, it basically breaks / doesn't allow sysupgrade while keeping settings.
So I want to replace Linksys (partition 2) by OpenWrt. To do that, I need to flash from partition 1 (flash is always done to the other partition). But it's not working. Actually, it almost looks like it flashed to the same partition, not the alternative?
My understanding is that flashing overwrites the backup - not the booted image.
Pasted from the V1 commit page:
If booted from 'A',
flashing over 'B' won't work. To get around this, you should flash the
OEM image over itself. This will then boot the router from 'B' and
allow you to flash OpenWRT without problems.
I not sure, if you are running OpenWrt on 'A', that you can reflash OpenWrt to 'B' using the OpenWrt interfaces. There may be a way to ID the 'B' partition and use mtd but I actually like having OEM as a backup.
Yes, understand your point (OEM as a backup) - it's not bad, agreed there. What has been confusing me is that my Linksys EA3500 is also dual partition, and it behaves differently => always flashes the backup (non-active) partition.
So I tried something ... updated and re-built OpenWrt, flashed it. It should flash the backup partition, as you noted - but it doesn't! Confirmed, it flashes the active (OpenWrt) partition. Then it reboots to the alternative partition (which is OEM) ... so a bit odd and confusing. I then told Linksys OEM firmware to swap back (no flash) => it did, and I can confirm, the sysupgrade was applied to the active partition, not backup.
Seems the notes need to change, or modify the code to flash the alternative partition?
Staying with the A/B syntax, it appears that only 'A' can be flashed with OpenWrt, I agree that it would be useful to have documentation to that effect for the multiple Linksys devices that use this scheme. If you are successful reaching the V1 committer, getting his buy-in would be nice. I previously emailed him but did not get a response.
Sure, will let you know. I can see an upside of this as well - it was just confusing me to start, given how the EA3500 works. And also a bit confusing to upgrade OpenWrt, then boot to OEM ... .
Want to try to see if settings are saved - I have a bad feeling this won't work, as they are restored on reboot. Hmmm ... then again, they may, given how they are stored.
Yes, sorry - I wasn't very clear (not even close ). I see that in the EA3500 (and some other Linksys dual partition devices), inside platform.sh, the dual platform devices call,
platform_do_upgrade_linksys "$1"
vs. other devices, that call,
nand_do_upgrade "$1"
In the EA7300v2 (the commit you mention), platform.sh calls,
nand_do_upgrade "$1"
So this needs to be updated, to match the other dual partition devices, agreed?