I recently got this unit. Seems almost identical to the v5 (which works perfectly fine with OpenWRT) except for the 5G Chip and the fact that this one has 4 antenas (v5 has 3 antenas).
Internally seems that 2 antenas are for 2G and the other 2 for 5G
Also, wanted to post a boot log but I'm unable to get output. Soldered the 4 pins, photos: https://imgur.com/a/kreJZrm
From right to left and far right being the one with the printed triangle im connected as follows: TX - RX - GND - empty
I've swaped TX and RX still no output. I remember back in the 940v5 that i had to bridge a resistor in order to get output but on this one I don't see where to do the same or if its needed.
I'm at 115200 speed, don't know if its correct or not.
Any help to get this bootlog via serial is very much welcome as i think its needed for devs to see if they can cook a version of OpenWRT that works as good as the previous v5
Wow thanks so much Sauztriaco. I see that it has an 8MB flash , and that everything is basically the same (I think), save for the 5ghz chip. So it should be a really straightforward port. I wonder if anyone can help us. Years ago, @robimarko was great help, and he mentioned that 4MB was a no-go, but this is a very important "workhorse" router for a lot of us.
And as per the bootlog, without being an expert, I think that this is basically an 8mb flash router that has everything practically the same as the TP-link ARcher c20 v 5.0 with an upgraded 5ghz media chipset.
I would try booting a v5 build (or a custom build using v5 dts) as partitions there match the v6 layout except that bootloader is split into factory-uboot and boot.
It looks like you can also try booting with v4 dts (or using the v4 build directly) as the partitions match exactly but I would try backing up the flash chip first as it might replace the bootloader which might brick the device.
The only thing that won't work with the build is 5GHz wifi but if you build a v5 or v4 with kmod-mt7615e and kmod-mt7663-firmware-ap it should probably work without further changes. (except that at least in 22.03 MT7613BEN has a bug and might stop working when a station disconnects but a patch can work around this)
Then if that's the case, someone can make a new dts and build rules easily.
I still don't quite understand what's the difference between mt7628an_tplink_8m-split-uboot.dtsi (c20v5) and mt7628an_tplink_8m.dtsi (c20v4) but the latter exactly matched the flash layout of your v6.
I can confirm this v4 flashing works perfect, I just flashed, and it works. perfectly, save obviously for 5ghz. So its just a matter of adding the kmod-mt7615e and kmod-mt7663-firmware-ap modules on the buildroot?
Do i need to modify anything else, or just by adding that, it'll load that 5ghz up?
Thanks for your help! We can confirm a new build (based on v4), taking off kmod mt76x03 and adding mt7615e and mt7663-firmware. it changed wlan0 and wlan1 to phy1-ap0 and phy0-ap0, which is fine. The only question remaining would be that the LED for 5ghz is now off. Where do I edit or how do I find out how to map the GPIO to get the led indicator up and running?
cat /sys/kernel/debug/gpio
gpiochip2: GPIOs 416-447, parent: platform/10000600.gpio, 10000600.gpio-bank2:
gpiochip1: GPIOs 448-479, parent: platform/10000600.gpio, 10000600.gpio-bank1:
gpio-453 ( |rfkill ) in lo IRQ ACTIVE LOW
gpio-454 ( |reset ) in hi IRQ ACTIVE LOW
gpio-455 ( |green:wlan2g ) out lo ACTIVE LOW
gpio-456 ( |green:wlan5g ) out hi ACTIVE LOW
gpio-457 ( |green:wps ) out hi ACTIVE LOW
gpio-458 ( |green:lan ) out lo ACTIVE LOW
gpio-459 ( |green:wan ) out lo ACTIVE LOW
gpiochip0: GPIOs 480-511, parent: platform/10000600.gpio, 10000600.gpio-bank0:
gpio-482 ( |green:power ) out lo ACTIVE LOW
gpio-491 ( |orange:wan ) out hi ACTIVE LOW
The offsets in v4 dts are 416 or 480 which looks fine to me, but it's useless if it is read directly from the openwrt build. The init leds script also looks fine - it should work if you haven't changed the device model.
Is this from the openwrt build or from the factory one?