Hi,
I have something similar to this post https://forum.openwrt.org/t/tp-link-archer-c7-v5-eu-problems-to-unbrick/56374 except i have a Archer A7v5(eu).
I ended up with a working version of the latest build for the a7, only after manual boot command,
ath> printenv
bootargs=console=ttyS0,115200 board=AP152 rootfstype=squashfs init=/etc/preinit mtdparts=spi0.0:128k(factory-uboot),128k(u-boot),1152k(uImage),149 12k(rootfs),64k@0xff0000(ART) mem=128M
bootcmd=bootm 0x9f040000
bootdelay=1
baudrate=115200
ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
ipaddr=192.168.0.2
serverip=192.168.0.10
dir=
lu=tftp 0x80060000 ${dir}tuboot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
lf=tftp 0x80060000 ${dir}ap152${bc}-jffs2&&erase 0x9f010000 +$filesize&&cp.b $fileaddr 0x9f010000 $filesize
lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f300000 +$filesize&&cp.b $fileaddr 0x9f300000 $filesize
stdin=serial
stdout=serial
stderr=serial
ethact=eth0
Environment size: 701/65532 bytes
ath>
Manual boot:
ty
Using default environment
In: serial
Out: serial
Err: serial
Net: ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
Environment size: 701/65532 bytes
ath>
boot
## Booting image at 9f040000 ...
Image Name: MIPS OpenWrt Linux-5.10.134
Created: 2022-07-31 15:12:47 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 2242646 Bytes = 2.1 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum at 0x9f040040 ...OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 134217728
Starting kernel ...
[ 0.000000] Linux version 5.10.134 (builder@buildhost) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r19590-042d558536) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Sun Jul 31 15:12:47 2022
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[ 0.000000] MIPS: machine is TP-Link Archer A7 v5
[ 0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 121088K/131072K available (5845K kernel code, 608K rwdata, 744K rodata, 1240K init, 209K bss, 9984K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] CPU clock: 775.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[ 0.000008] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[ 0.008283] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.074818] pid_max: default: 32768 minimum: 301
[ 0.079825] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.087535] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.097664] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[ 0.108302] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.118708] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.125968] pinctrl core: initialized pinctrl subsystem
[ 0.135517] NET: Registered protocol family 16
[ 0.140923] thermal_sys: Registered thermal governor 'step_wise'
[ 0.190238] clocksource: Switched to clocksource MIPS
[ 0.203033] NET: Registered protocol family 2
[ 0.207840] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.216234] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.225152] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.233246] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.240691] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.247513] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.254450] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.262102] NET: Registered protocol family 1
[ 0.266717] PCI: CLS 0 bytes, default 32
[ 0.276661] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.287041] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.293246] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.305272] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.315646] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[ 0.322237] gpio-export gpio-export: 1 gpio(s) exported
[ 0.328484] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.337312] printk: console [ttyS0] disabled
[ 0.341927] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[ 0.351042] printk: console [ttyS0] enabled
[ 0.351042] printk: console [ttyS0] enabled
[ 0.360088] printk: bootconsole [early0] disabled
[ 0.360088] printk: bootconsole [early0] disabled
[ 0.386338] spi-nor spi0.0: w25q128 (16384 Kbytes)
[ 0.391414] 7 fixed-partitions partitions found on MTD device spi0.0
[ 0.397973] Creating 7 MTD partitions on "spi0.0":
[ 0.402942] 0x000000000000-0x000000020000 : "factory-uboot"
[ 0.412252] 0x000000020000-0x000000040000 : "u-boot"
[ 0.418299] 0x000000040000-0x000000f00000 : "firmware"
[ 0.426187] 2 uimage-fw partitions found on MTD device firmware
[ 0.432358] Creating 2 MTD partitions on "firmware":
[ 0.437494] 0x000000000000-0x000000223896 : "kernel"
[ 0.442645] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[ 0.452793] 0x000000223896-0x000000ec0000 : "rootfs"
[ 0.457928] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[ 0.468319] mtd: device 4 (rootfs) set to be root filesystem
[ 0.475088] 1 squashfs-split partitions found on MTD device rootfs
[ 0.481535] 0x000000610000-0x000000ec0000 : "rootfs_data"
[ 0.487988] 0x000000f40000-0x000000f60000 : "info"
[ 0.495401] 0x000000f60000-0x000000fb0000 : "config"
[ 0.501476] 0x000000fc0000-0x000000fd0000 : "partition-table"
[ 0.509736] 0x000000ff0000-0x000001000000 : "art"
[ 1.244424] switch0: Atheros AR8337 rev. 2 switch registered on mdio.0
[ 1.901780] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[ 1.913066] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[ 1.919774] i2c /dev entries driver
[ 1.925989] NET: Registered protocol family 10
[ 1.940213] Segment Routing with IPv6
[ 1.944160] NET: Registered protocol family 17
[ 1.948834] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.962238] 8021q: 802.1Q VLAN Support v1.8
[ 1.967336] PCI host bridge /ahb/pcie-controller@18250000 ranges:
[ 1.973704] MEM 0x0000000012000000..0x0000000013ffffff
[ 1.979105] IO 0x0000000000000000..0x0000000000000000
[ 1.984677] PCI host bridge to bus 0000:00
[ 1.988923] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[ 1.996052] pci_bus 0000:00: root bus resource [io 0x0000]
[ 2.001820] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 2.008831] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 2.017062] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[ 2.023313] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 2.030383] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 2.037376] pci 0000:00:00.0: supports D1 D2
[ 2.042759] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 2.049608] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[ 2.057209] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[ 2.077352] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 2.091469] Freeing unused kernel memory: 1240K
[ 2.096153] This architecture does not have kernel memory protection.
[ 2.102837] Run /sbin/init as init process
[ 2.829012] init: Console is alive
[ 2.833057] init: - watchdog -
[ 4.317570] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.372154] usbcore: registered new interface driver usbfs
[ 4.377874] usbcore: registered new interface driver hub
[ 4.383501] usbcore: registered new device driver usb
[ 4.395938] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.405621] ehci-fsl: Freescale EHCI Host controller driver
[ 4.413369] ehci-platform: EHCI generic platform driver
[ 4.419100] ehci-platform 1b000000.usb: EHCI Host Controller
[ 4.425016] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[ 4.433261] ehci-platform 1b000000.usb: irq 13, io mem 0x1b000000
[ 4.460275] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[ 4.467478] hub 1-0:1.0: USB hub found
[ 4.472186] hub 1-0:1.0: 1 port detected
[ 4.479574] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.497518] init: - preinit -
[ 6.337344] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.489878] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.736389] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.360768] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up
[ 8.368974] eth0: link up (1000Mbps/Full duplex)
[ 8.385994] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.402107] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 8.430720] random: procd: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 12.816172] jffs2: notice: (540) jffs2_build_xattr_subsystem: complete building xattr subsystem, 15 of xdatum (0 unchecked, 4 orphan) and 19 of xref (4 dead, 0 orphan) found.
[ 12.834649] mount_root: switching to jffs2 overlay
[ 12.843897] overlayfs: upper fs does not support tmpfile.
[ 12.856443] urandom-seed: Seeding with /etc/urandom.seed
[ 12.995311] eth0: link down
[ 13.017450] procd: - early -
[ 13.022084] procd: - watchdog -
[ 13.759023] procd: - watchdog -
[ 13.763895] procd: - ubus -
[ 13.863796] random: ubusd: uninitialized urandom read (4 bytes read)
[ 13.872993] random: ubusd: uninitialized urandom read (4 bytes read)
[ 13.887024] random: ubusd: uninitialized urandom read (4 bytes read)
[ 13.897221] procd: - init -
Please press Enter to activate this console.
[ 15.177003] random: jshn: uninitialized urandom read (4 bytes read)
[ 15.229062] random: ubusd: uninitialized urandom read (4 bytes read)
[ 15.260566] random: ubus: uninitialized urandom read (4 bytes read)
[ 15.283561] kmodloader: loading kernel modules from /etc/modules.d/*
[ 15.679553] urngd: v1.0.2 started.
[ 15.810773] Loading modules backported from Linux version v5.15.58-0-g7d8048d4e064
[ 15.818600] Backport generated by backports.git v5.15.58-1-0-g42a95ce7
[ 15.869389] random: crng init done
[ 15.872977] random: 24 urandom warning(s) missed due to ratelimiting
[ 16.215144] PPP generic driver version 2.4.2
[ 16.223065] NET: Registered protocol family 24
[ 16.256839] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x3c.
[ 16.266955] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[ 16.275677] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 19.676047] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 19.685629] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 19.697575] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 3e4cf97f
[ 19.820219] ath10k_pci 0000:00:00.0: Loading BDF type 0
[ 20.685852] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 21.688021] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[ 21.705511] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[ 21.711985] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424 sw-crypt: 0 ct-sta: 0'
[ 21.720292] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[ 21.774358] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[ 21.788633] ath10k_pci 0000:00:00.0: NOTE: Firmware DBGLOG output disabled in debug_mask: 0x10000000
[ 22.040688] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[ 22.080812] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 41.323667] eth0: link up (1000Mbps/Full duplex)
[ 41.328470] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 41.353560] br-lan: port 1(eth0.1) entered blocking state
[ 41.359145] br-lan: port 1(eth0.1) entered disabled state
[ 41.365166] device eth0.1 entered promiscuous mode
[ 41.370127] device eth0 entered promiscuous mode
[ 41.396370] br-lan: port 1(eth0.1) entered blocking state
[ 41.401999] br-lan: port 1(eth0.1) entered forwarding state
[ 42.340716] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 46.984333] br-lan: port 2(wlan1) entered blocking state
[ 46.989834] br-lan: port 2(wlan1) entered disabled state
[ 46.995681] device wlan1 entered promiscuous mode
[ 47.050932] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 47.057727] br-lan: port 2(wlan1) entered blocking state
[ 47.063277] br-lan: port 2(wlan1) entered forwarding state
What is going on here ? looking at 9 (!) mtd partitions...
All tries from me to restore normal behavior/stock firmware from me fail sofar,
any sugestions or comments are appreciated.
Grtz.