Port request for TP-LINK Archer C20(IN) v6.8

Hi Guys,

Today I purchased a new router it's TPLINK C20(IN) V6.8. It's Indian version. I want to run open wrt on it.

Developers please check whether it's feasible or not to run open wrt on this device . It's new & I have not found openwrt image for this.

I have opened up the device found below things:

Soc : MEDIATEK MT7628AN
Sdram: ZENTEL A3R12E40DBF-8E
5ghz Radio : MEDIATEK MT7613BEN
FLASH : XMC25QH64CHIQ

I have attached the image, please check

What I can do next ? I also have USB to Uart convert as well.

64MB RAM is kind of a dead end.

But I have Mi 4C router with 16 MB flash & 64 MB RAM running openwrt release 24.10 easily.

This device ( Tplink archer C20(IN) V6.8 ) also has 8 MB FLASH & 64MB RAM.

It's ok if we have tiny or minimal build for this device.

I'm aware, but it's an already supported device, pretty sure new 64mb devices won't be accepted.

Ok I'll build the image , but don't know how to drive this 5GHZ (MT7613BEN) radio. Which driver will be suitable for this.

I have all the necessary tools & devices. Just Need instructions for building image for this router.

https://openwrt.org/docs/guide-developer/add.new.device

Dude,

Stop cross posting your crap in all threads you can find, those posts will be deleted.

1 Like

you have to buy a new one, you can practically no longer go for a router distro with as of now around 128MB min RAM requirements on devices with only 64Megabyte RAM.

I am aware of this just need to compile minimal/tiny openwrt build which can fit in 64MB RAM & 8 MB flash.

Unnecessary packages can be deleted like UI , IPV6, DHCP & DNS ETC.

I only need to operate radios , 5 port switch & routing functionality.

Compare oem partition map to one in v5
https://openwrt.org/toh/tp-link/archer_c20_v5
Likely you can get mtd info setting OEM log level to maximum, then retrieving after fresh boit.
Serial header is labeled on top right (dont connect vcc, use correct voltage, probably breadboard pins can save from soldering.

Trust me, your solid self-confidence is taking you the wrong direction.
https://openwrt.org/docs/guide-developer/adding_new_device

Rather use your energy to hustle in a regular job, it will take you a few hours, to earn the money to obtain a supported modern device, then spend time investigating that ones customization.

Dude I am already doing job in IT & OT security domain from past 7 years, I just love to play with embedded Linux boards on weekends.

It's not about wasting time, its learning.

Partition details from UART bootlogs.

flash manufacture id: 20, device id 40 17
Warning: un-recognized chip ID, please update SPI driver!
N25Q064A13ESE40F(20 ba171000) (8192 Kbytes)
mtd .name = raspi, .size = 0x00800000 (8M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
Creating 7 MTD partitions on "raspi":
0x000000030000-0x000000050000 : "boot"
0x000000050000-0x000000190000 : "kernel"
0x000000190000-0x0000007c0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
0x0000007c0000-0x0000007d0000 : "config"
0x0000007d0000-0x0000007e0000 : "romfile"
0x0000007e0000-0x0000007f0000 : "rom"
0x0000007f0000-0x000000800000 : "radio"
Register flash device:flash0
PPP generic driver version 2.4.2
PPP MPPE Compression module registered
NET: Registered protocol family 24
Mirror/redirect action on
u32 classifier

Link to full log file : Link

1 Like

Ok, type help in bootloader, if it has tftpboot and or bootm command then you should be able to netboot V5 "kernel" image without changing OEM fw.
Run wireshark on tftp "server" just in case there are
There check
ip link - are all mac-s correct
plug cables to see switch ports are in same places
iw reg set BE / JP / US / your place
and check that channel maps and dfs channels are available
power device off to clear radio config and netbootagain.
map smth like vlan 10 to one port and ping around to confirm vlans are isolated.
then vlan 1000 (some switches support 16
combine tagged and untagged on same port, check operation. Some switches fail here, not your fault, just document finding.

Check if leds in luci are correctly assigned ie on/off, blink 300;300ms

Write down here whats still wrong, first we fix non-permanent OpenWrt then proceed to programming.

Check uboot menu if you can tftp mtd contents to your server.

If you dont feel confident just say so and stop, successful netboit saves a week of struggles for the next who tries.

8/64 you have to work out both 24.19-SNAPSHOT and SNAPSHOT, likely it will be discontinued in next major release

EDIT: bootlig says it is very similar to V5, letsplay safe to maki it a supported device and not a dooestop brick.

Thanks @brada4 for all the detailed steps , tomorrow I'll try to netboot v5 image & will check all the ports & led mappings.

Pay attention to MACs and wifi powers ie whether system calibration data is in same place. Good luck and thank you for great work this far.

Hi @brada4 ,

I have connected again the serial but unable to enter the commands , it just showing logs ,

If I press 4 continuously immediately after booting , 1 led blinks very fast may be tftp flash mode .

if I load c20 v5 kernal in tftp server , it may write it to the flash nemory

it may also brick it ..

Ok first taking the backup of spi flash by putting it into CH341 Programmer

Update :

this router only has only tftp method which directly writes bin file to flash. Unable to access uboot cmdline.

TRIED both
C20 v5 image : It goes into bootloop
C20 v4 image : wan light blinks & nothing on UART.