for reference:
- I've put the clip on chip
- erased
- put the clip back
- erased
- flashed the full dump you've provided, unaltered
yes, rechecked if settings are saved:
- opened /etc/config/wireless
- removed the last few commented lines :wq
- $reboot
- those lines are back in /etc/config/wireless
I'm connected via serial, let me know if I can run some commands, either in openwrt or at uboot prompt, also have tftp server running, however, since I bricked it, tftp only brings the image, then it boots whatever's flashed on the chip
erase log
Some block protection in effect, disabling... disabled.
Erasing and writing flash chip... Trying erase function 0... 0x000000-0x00ffff:E, 0x010000-0x01ffff:E, 0x020000-0x02ffff:E, 0x030000-0x03ffff:E, 0x040000-0x04ffff:E, 0x050000-0x05ffff:E, 0x060000-0x06ffff:E, 0x070000-0x07ffff:E, 0x080000-0x08ffff:E, 0x090000-0x09ffff:E, 0x0a0000-0x0affff:E, 0x0b0000-0x0bffff:E, 0x0c0000-0x0cffff:E, 0x0d0000-0x0dffff:E, 0x0e0000-0x0effff:E, 0x0f0000-0x0fffff:E, 0x100000-0x10ffff:E, 0x110000-0x11ffff:E, 0x120000-0x12ffff:E, 0x130000-0x13ffff:E, 0x140000-0x14ffff:E, 0x150000-0x15ffff:E, 0x160000-0x16ffff:E, 0x170000-0x17ffff:E, 0x180000-0x18ffff:E, 0x190000-0x19ffff:E, 0x1a0000-0x1affff:E, 0x1b0000-0x1bffff:E, 0x1c0000-0x1cffff:E, 0x1d0000-0x1dffff:E, 0x1e0000-0x1effff:E, 0x1f0000-0x1fffff:E, 0x200000-0x20ffff:E, 0x210000-0x21ffff:E, 0x220000-0x22ffff:E, 0x230000-0x23ffff:E, 0x240000-0x24ffff:E, 0x250000-0x25ffff:E, 0x260000-0x26ffff:E, 0x270000-0x27ffff:E, 0x280000-0x28ffff:E, 0x290000-0x29ffff:E, 0x2a0000-0x2affff:E, 0x2b0000-0x2bffff:E, 0x2c0000-0x2cffff:E, 0x2d0000-0x2dffff:E, 0x2e0000-0x2effff:E, 0x2f0000-0x2fffff:E, 0x300000-0x30ffff:E, 0x310000-0x31ffff:E, 0x320000-0x32ffff:E, 0x330000-0x33ffff:E, 0x340000-0x34ffff:E, 0x350000-0x35ffff:E, 0x360000-0x36ffff:E, 0x370000-0x37ffff:E, 0x380000-0x38ffff:E, 0x390000-0x39ffff:E, 0x3a0000-0x3affff:E, 0x3b0000-0x3bffff:E, 0x3c0000-0x3cffff:E, 0x3d0000-0x3dffff:E, 0x3e0000-0x3effff:E, 0x3f0000-0x3fffff:E
Erase/write done.
write log
Found Spansion flash chip "S25FL032A/P" (4096 kB, SPI).
Block protection is disabled.
Reading old flash chip contents... done.
Erasing and writing flash chip... Trying erase function 0... 0x000000-0x00ffff:W, 0x010000-0x01ffff:W, 0x020000-0x02ffff:W, 0x030000-0x03ffff:W, 0x040000-0x04ffff:W, 0x050000-0x05ffff:W, 0x060000-0x06ffff:W, 0x070000-0x07ffff:W, 0x080000-0x08ffff:W, 0x090000-0x09ffff:W, 0x0a0000-0x0affff:W, 0x0b0000-0x0bffff:W, 0x0c0000-0x0cffff:W, 0x0d0000-0x0dffff:W, 0x0e0000-0x0effff:W, 0x0f0000-0x0fffff:W, 0x100000-0x10ffff:W, 0x110000-0x11ffff:W, 0x120000-0x12ffff:W, 0x130000-0x13ffff:W, 0x140000-0x14ffff:W, 0x150000-0x15ffff:W, 0x160000-0x16ffff:W, 0x170000-0x17ffff:W, 0x180000-0x18ffff:W, 0x190000-0x19ffff:W, 0x1a0000-0x1affff:W, 0x1b0000-0x1bffff:W, 0x1c0000-0x1cffff:W, 0x1d0000-0x1dffff:W, 0x1e0000-0x1effff:W, 0x1f0000-0x1fffff:W, 0x200000-0x20ffff:W, 0x210000-0x21ffff:W, 0x220000-0x22ffff:W, 0x230000-0x23ffff:W, 0x240000-0x24ffff:W, 0x250000-0x25ffff:W, 0x260000-0x26ffff:W, 0x270000-0x27ffff:W, 0x280000-0x28ffff:W, 0x290000-0x29ffff:W, 0x2a0000-0x2affff:W, 0x2b0000-0x2bffff:W, 0x2c0000-0x2cffff:W, 0x2d0000-0x2dffff:W, 0x2e0000-0x2effff:W, 0x2f0000-0x2fffff:W, 0x300000-0x30ffff:W, 0x310000-0x31ffff:W, 0x320000-0x32ffff:W, 0x330000-0x33ffff:W, 0x340000-0x34ffff:W, 0x350000-0x35ffff:W, 0x360000-0x36ffff:W, 0x370000-0x37ffff:W, 0x380000-0x38ffff:W, 0x390000-0x39ffff:W, 0x3a0000-0x3affff:W, 0x3b0000-0x3bffff:W, 0x3c0000-0x3cffff:W, 0x3d0000-0x3dffff:W, 0x3e0000-0x3effff:W, 0x3f0000-0x3fffff:W
Erase/write done.
Verifying flash... VERIFIED.
serial boot log
***************************************
* U-Boot 1.1.4-d340a31e-clean *
* Build: 2018-03-19 *
***************************************
** Warning: bad env CRC, using default,
use 'saveenv' to save it in FLASH
BOARD: TP-Link TL-WR841N/D v8
SOC: AR9341 rev. 3
CPU: MIPS 74Kc
RAM: 32 MB DDR1 16-bit CL3-3-3-9
FLASH: 4 MB Spansion S25FL032P
MAC: C0:4A:00:53:E7:4A
CLOCKS: CPU/RAM/AHB/SPI/REF
650/450/225/ 28/ 25 MHz
Hit any key to stop booting: 0
Booting image from 0x9F020000...
Vendor/image name: OpenWrt r3560-79f57e422d
Hardware ID: 0x8410008
Whole image size: 3.8 MB (3932160 bytes)
Kernel size: 1.2 MB (1257928 bytes)
Rootfs size: 2.2 MB (2357078 bytes)
Kernel load address: 0x80060000
Kernel entry point: 0x80060000
Header CRC... skipped
Data CRC... skipped
Stopping network... OK!
Uncompressing Kernel... OK!
Starting kernel...
[ 0.000000] Linux version 4.4.92 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3101-bce140e) ) #0 Tue Oct 17 14:59:45 2017
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] SoC: Atheros AR9341 rev 3
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] No valid device tree found, continuing without
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[ 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: board=TL-WR841N-v8 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 27864K/32768K available (3076K kernel code, 160K rwdata, 412K rodata, 312K init, 205K bss, 4904K 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] Clocks: CPU:650.000MHz, DDR:450.000MHz, AHB:225.000MHz, Ref:25.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[ 0.000008] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[ 0.008847] Calibrating delay loop... 324.40 BogoMIPS (lpj=1622016)
[ 0.071961] pid_max: default: 32768 minimum: 301
[ 0.077323] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.084836] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.095226] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.106418] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.114439] NET: Registered protocol family 16
[ 0.120815] MIPS: machine is TP-LINK TL-WR841N/ND v8
[ 0.561534] Can't analyze schedule() prologue at 800670fc
[ 0.577107] clocksource: Switched to clocksource MIPS
[ 0.583979] NET: Registered protocol family 2
[ 0.589823] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.597802] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.605030] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.612335] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.619007] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.626384] NET: Registered protocol family 1
[ 0.635568] Crashlog allocated RAM at address 0x1f00000
[ 0.655775] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.662451] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.676040] io scheduler noop registered
[ 0.680539] io scheduler deadline registered (default)
[ 0.686566] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.696445] console [ttyS0] disabled
[ 0.720654] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[ 0.730456] console [ttyS0] enabled
[ 0.730456] console [ttyS0] enabled
[ 0.738015] bootconsole [early0] disabled
[ 0.738015] bootconsole [early0] disabled
[ 0.751547] m25p80 spi0.0: found s25sl032p, expected m25p80
[ 0.757379] m25p80 spi0.0: s25sl032p (4096 Kbytes)
[ 0.763450] 5 tp-link partitions found on MTD device spi0.0
[ 0.769257] Creating 5 MTD partitions on "spi0.0":
[ 0.774208] 0x000000000000-0x000000020000 : "u-boot"
[ 0.780766] 0x000000020000-0x0000001533c8 : "kernel"
[ 0.787544] 0x0000001533c8-0x0000003f0000 : "rootfs"
[ 0.794242] mtd: device 2 (rootfs) set to be root filesystem
[ 0.800182] 1 squashfs-split partitions found on MTD device rootfs
[ 0.806573] 0x0000003a0000-0x0000003f0000 : "rootfs_data"
[ 0.813775] 0x0000003f0000-0x000000400000 : "art"
[ 0.820338] 0x000000020000-0x0000003f0000 : "firmware"
[ 0.843358] libphy: ag71xx_mdio: probed
[ 1.439176] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
[ 1.449304] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.038971] ag71xx-mdio.1: Found an AR934X built-in switch
[ 2.081227] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.089770] NET: Registered protocol family 10
[ 2.098729] NET: Registered protocol family 17
[ 2.103389] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 2.116563] 8021q: 802.1Q VLAN Support v1.8
[ 2.126923] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 2.136064] Freeing unused kernel memory: 312K
[ 3.009668] init: Console is alive
[ 3.013389] init: - watchdog -
[ 3.685617] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.751856] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.760432] init: - preinit -
[ 4.178080] random: procd: uninitialized urandom read (4 bytes read, 6 bits of entropy available)
[ 4.362157] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
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
[ 5.958359] eth1: link up (1000Mbps/Full duplex)
[ 5.963168] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 7.602827] jffs2: notice: (374) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 7.620138] mount_root: switching to jffs2 overlay
[ 7.632860] urandom-seed: Seeding with /etc/urandom.seed
[ 7.842810] eth1: link down
[ 7.856098] procd: - early -
[ 7.860240] procd: - watchdog -
[ 8.483212] procd: - watchdog -
[ 8.486729] procd: - ubus -
[ 8.675401] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.686754] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.696558] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.705920] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.715617] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.724978] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.735109] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.744617] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.754336] procd: - init -
Please press Enter to activate this console.
[ 9.116414] kmodloader: loading kernel modules from /etc/modules.d/*
[ 9.126409] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 9.134747] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 9.147746] nf_conntrack version 0.5.0 (440 buckets, 1760 max)
[ 9.184997] xt_time: kernel timezone is -0000
[ 9.207741] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 9.304940] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
[ 9.402851] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 10.336659] random: jshn: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[ 14.995746] device eth1 entered promiscuous mode
[ 15.010387] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 15.063182] device eth0 entered promiscuous mode
[ 15.068098] br-lan: port 2(eth0) entered forwarding state
[ 15.073695] br-lan: port 2(eth0) entered forwarding state
[ 15.079393] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 15.995753] br-lan: port 2(eth0) entered disabled state
[ 16.588360] eth1: link up (1000Mbps/Full duplex)
[ 16.593187] br-lan: port 1(eth1) entered forwarding state
[ 16.598831] br-lan: port 1(eth1) entered forwarding state
[ 18.055103] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
[ 18.065300] device wlan0-1 entered promiscuous mode
[ 18.500875] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 18.597274] br-lan: port 1(eth1) entered forwarding state
[ 19.109426] device wlan0 entered promiscuous mode
[ 65.577135] random: nonblocking pool is initialized
BusyBox v1.25.1 () built-in shell (ash)
_________
/ /\ _ ___ ___ ___
/ LE / \ | | | __| \| __|
/ DE / \ | |__| _|| |) | _|
/________/ LE \ |____|___|___/|___| lede-project.org
\ \ DE /
\ LE \ / -----------------------------------------------------------
\ DE \ / Reboot (17.01.4, r3560-79f57e422d)
\________\/ -----------------------------------------------------------
$df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 2.3M 2.3M 0 100% /rom
tmpfs 13.8M 56.0K 13.7M 0% /tmp
/dev/mtdblock3 320.0K 260.0K 60.0K 81% /overlay
overlayfs:/overlay 320.0K 260.0K 60.0K 81% /
tmpfs 512.0K 0 512.0K 0% /dev