Archer C50 chip upgrade

Hi,

I need ré-flash my router and put a new flash chip, the old 64bits (8mb), revive a new 128bits (16mb) flash chip, instalo LEDE correto vs and alo workimg fine.

My question is, this. Upgrade wiil make any advantage for me and system? Or i need some special configuration in my system?

You will need to build a new image with proper new specs... I don't know how. try "custom flash size build image" on lede or openwrt forums.

braian87b, thx for you reply, i will try this.

Hello,
I am a newbie in the world of soft for router, my first experience, and brick my Archer C50, and I needed a lot of help to return the same life, but with the help of user of this forum, the same is back, with some improvements and Small adjustments to be made, and for this I count again with the help of the most experienced.

I had to change the flash chip and I installed a 16Mb, (w25q128FV), but in the system ma only 4Mb available free, in the Kernel log it is correctly recognized as can be seen in the attachment, but in the vidiferenca in practice, my question , Should I make any modifications in the FW sources to take advantage of this made MOD?

To recover the brick archer, I had to use a USB SPI flash recorder, and I had to use a DUMP that was made available by a friend of the forum, because by recording only the file downloaded from the TP-Link website, it did not connect correctly , But that caused me to lose the original MAC address of the router, and the same was used in the DUMP file, I would have a way to correct this error, and to restart the router using the correct MACs, which were recorded On your factory label?

How do I do via SSH, since there is no serial access, see the router logs?

Thank you for all the help I received, so that I can start in this learning process.

Grateful


[    0.000000] Linux version 4.4.71 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3103-1b51a49) ) #0 Wed Jun 7 19:24:41 2017
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is TP-Link Archer C50
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8035a4b0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=0004fe30
[    0.000000] Readback ErrCtl register=0004fe30
[    0.000000] Memory: 60944K/65536K available (3014K kernel code, 142K rwdata, 384K rodata, 164K init, 208K bss, 4592K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 580MHz
[    0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[    0.000000] systick: enable autosleep mode
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.007576] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.070079] pid_max: default: 32768 minimum: 301
[    0.074699] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.081069] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094760] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.104300] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.110259] pinctrl core: initialized pinctrl subsystem
[    0.116575] NET: Registered protocol family 16
[    0.126390] Can't analyze schedule() prologue at 8000ac9c
[    0.386470] PCI host bridge /pcie@10140000 ranges:
[    0.391076]  MEM 0x0000000020000000..0x000000002fffffff
[    0.396145]   IO 0x0000000010160000..0x000000001016ffff
[    0.412826] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.418272] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.424436] rt2880_gpio 10000638.gpio: registering 16 gpios
[    0.429837] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[    0.435951] rt2880_gpio 10000660.gpio: registering 32 gpios
[    0.441344] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[    0.447466] rt2880_gpio 10000688.gpio: registering 1 gpios
[    0.452776] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[    0.459423] PCI host bridge to bus 0000:00
[    0.463388] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[    0.470014] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    0.475771] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.482356] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.490094] pci 0000:00:00.0: [1814:0801] type 01 class 0x060400
[    0.490143] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    0.490166] pci 0000:00:00.0: reg 0x14: [mem 0x20200000-0x2020ffff]
[    0.490243] pci 0000:00:00.0: supports D1
[    0.490263] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.490753] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    0.490827] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    0.490890] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.490986] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.491260] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.491289] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.491345] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    0.497709] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    0.504524] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
[    0.511065] pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref]
[    0.518095] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[    0.524683] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit]
[    0.531806] pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref]
[    0.538788] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.543623] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x200fffff]
[    0.550199] pci 0000:00:00.0:   bridge window [mem 0x20100000-0x201fffff pref]
[    0.557237] pci 0000:00:00.0: card - bus=0x0, slot = 0x0 irq=0
[    0.562882] pci 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4
[    0.569420] clocksource: Switched to clocksource systick
[    0.575775] NET: Registered protocol family 2
[    0.581054] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.587779] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.594006] TCP: Hash tables configured (established 1024 bind 1024)
[    0.600227] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.605852] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.612212] NET: Registered protocol family 1
[    0.616432] PCI: CLS 80 bytes, default 32
[    0.621331] rt-timer 10000100.timer: maximum frequency is 1220Hz
[    0.627962] Crashlog allocated RAM at address 0x3f00000
[    0.649221] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.654888] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.667023] io scheduler noop registered
[    0.670828] io scheduler deadline registered (default)
[    0.676001] ralink-usb-phy usbphy: invalid resource
[    0.681358] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.691214] console [ttyS0] disabled
[    0.694663] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[    0.704333] console [ttyS0] enabled
[    0.711358] bootconsole [early0] disabled
[    0.726142] spi spi0.0: force spi mode3
[    0.730695] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.735544] 6 ofpart partitions found on MTD device spi0.0
[    0.741188] Creating 6 MTD partitions on "spi0.0":
[    0.746082] 0x000000000000-0x000000020000 : "u-boot"
[    0.752969] 0x000000020000-0x0000007c0000 : "firmware"
[    1.723997] 2 tplink-fw partitions found on MTD device firmware
[    1.730077] 0x000000020000-0x0000001485a0 : "kernel"
[    1.736718] 0x0000001485a0-0x0000007c0000 : "rootfs"
[    1.743635] mtd: device 3 (rootfs) set to be root filesystem
[    1.749626] 1 squashfs-split partitions found on MTD device rootfs
[    1.755949] 0x000000378000-0x0000007c0000 : "rootfs_data"
[    1.763319] 0x0000007c0000-0x0000007d0000 : "config"
[    1.770262] 0x0000007d0000-0x0000007e0000 : "rom"
[    1.776864] 0x0000007e0000-0x0000007f0000 : "romfile"
[    1.783950] 0x0000007f0000-0x000000800000 : "radio"
[    1.793844] gsw: setting port4 to ephy mode
[    1.798162] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 0 link up (100Mbps/Full duplex)
[    1.807484] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 1 link up (100Mbps/Full duplex)
[    1.816803] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 2 link up (100Mbps/Full duplex)
[    1.826368] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[    1.833267] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    1.842284] rt2880_wdt 10000120.watchdog: Initialized
[    1.848869] NET: Registered protocol family 10
[    1.857958] NET: Registered protocol family 17
[    1.862651] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.875535] 8021q: 802.1Q VLAN Support v1.8
[    1.892467] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.900620] Freeing unused kernel memory: 164K (80377000 - 803a0000)
[    4.008401] init: Console is alive
[    4.012236] init: - watchdog -
[    5.461200] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.553517] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.564984] init: - preinit -
[    6.542147] 8021q: adding VLAN 0 to HW filter on device eth0
[    6.698418] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
[    8.179778] jffs2: notice: (355) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.198711] mount_root: switching to jffs2 overlay
[    8.217693] urandom-seed: Seeding with /etc/urandom.seed
[    8.268703] procd: - early -
[    8.271755] procd: - watchdog -
[    8.533995] procd: - ubus -
[    8.748673] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[    8.839608] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[    8.849334] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[    8.858683] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[    8.868238] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[    8.877499] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[    8.886908] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[    8.897219] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[    8.906875] procd: - init -
[    9.259161] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.271249] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.286885] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[    9.295137] Backport generated by backports.git backports-20160324-13-g24da7d3c
[    9.350428] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[    9.363507] mt76x2e 0000:01:00.0: ROM patch already applied
[    9.697245] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[    9.702900] mt76x2e 0000:01:00.0: Build: 1
[    9.707083] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[    9.721717] mt76x2e 0000:01:00.0: Firmware running!
[    9.727604] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.026833] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.049746] nf_conntrack version 0.5.0 (954 buckets, 3816 max)
[   10.166454] xt_time: kernel timezone is -0000
[   10.183186] PPP generic driver version 2.4.2
[   10.190297] NET: Registered protocol family 24
[   10.220637] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "radio"
[   10.227931] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[   10.235861] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 7620 detected
[   10.243579] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   10.329870] kmodloader: done loading kernel modules from /etc/modules.d/*
[   11.318549] random: jshn: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[   17.855349] 8021q: adding VLAN 0 to HW filter on device eth0
[   17.876477] device eth0.1 entered promiscuous mode
[   17.881385] device eth0 entered promiscuous mode
[   17.892892] br-lan: port 1(eth0.1) entered forwarding state
[   17.898627] br-lan: port 1(eth0.1) entered forwarding state
[   19.891781] br-lan: port 1(eth0.1) entered forwarding state
[   43.780942] random: nonblocking pool is initialized
[  125.999801] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  126.010929] device wlan0 entered promiscuous mode
[  126.730723] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  126.737438] br-lan: port 2(wlan0) entered forwarding state
[  126.743136] br-lan: port 2(wlan0) entered forwarding state
[  127.748479] br-lan: port 2(wlan0) entered forwarding state
[  129.371932] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[  129.383563] device wlan1 entered promiscuous mode
[  130.135275] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[  130.142008] br-lan: port 3(wlan1) entered forwarding state
[  130.147725] br-lan: port 3(wlan1) entered forwarding state
[  131.018571] br-lan: port 3(wlan1) entered forwarding state
[  254.362090] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2

(this line repeat several times......

What line, this one?

[  254.362090] ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2

That seems to be a wifi problem, if I dont remember wrongly, it is a known problem, try it disabling it with wifi off, to see if persist. you can google portions of the error to see bug posts, try using as open AP without any key first.