Hi! I'm still using two tp-link wa850re devices, one hardware version 1.2, one hardware version 2.0.
Recently flashed OpenWrt 18.06.2 (factory) on the hardware v1.2 and was very happy to get it working as a wifi relay, even with luci. Thanks to everyone who helped revive this device when it looked like nothing could be done!
Now I tried to do the same on the hardware v2.0 device (first with OpenWrt 18.06.4 sysupgrade and then with OpenWrt 18.06.2 sysupgrade) - but it has amnesia, unfortunately. Configuration changes don't survive reboot / power loss. Sure enough, the overlay fs is mounted to RAM (as far as I can see).
Might be that this is because there isn't enough space in flash to create the overlay - but it sounds weird to me that the v1.2 with 4MB flash has no size issues but a v2.0 with 4MB does, especially when sysupgrade.bin images for both have the same size.
This is df on the working 1.2
Filesystem Size Used Available Use% Mounted on /dev/root 2.3M 2.3M 0 100% /rom tmpfs 13.6M 96.0K 13.5M 1% /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
This is df on the amnesic 2.0:
Filesystem Size Used Available Use% Mounted on /dev/root 2.3M 2.3M 0 100% /rom tmpfs 13.6M 76.0K 13.5M 1% /tmp tmpfs 13.6M 72.0K 13.5M 1% /tmp/root overlayfs:/tmp/root 13.6M 72.0K 13.5M 1% / tmpfs 512.0K 0 512.0K 0% /dev
When flashing the v2.0, I told it to drop the config and do a factory reset - dunno if that has something to do with it.
The logs say there is something going on with /dev/mtdblock3:
logread | grep -i "mtd" Wed Jan 30 12:21:07 2019 kern.notice kernel: [ 0.000000] Kernel command line: board=TL-WA850RE-V2 mtdparts=spi0.0:128k(u-boot)ro,1344k(kernel),2304k(rootfs),256k(config)ro,64k(art)ro,3648k@0x20000(firmware) console=ttyS0,115200 rootfstype=squashfs noinitrd Wed Jan 30 12:21:07 2019 kern.notice kernel: [ 0.575020] 6 cmdlinepart partitions found on MTD device spi0.0 Wed Jan 30 12:21:07 2019 kern.notice kernel: [ 0.581157] Creating 6 MTD partitions on "spi0.0": Wed Jan 30 12:21:07 2019 kern.notice kernel: [ 0.608169] mtd: device 2 (rootfs) set to be root filesystem Wed Jan 30 12:21:07 2019 kern.notice kernel: [ 0.614165] 1 squashfs-split partitions found on MTD device rootfs Wed Jan 30 12:21:19 2019 daemon.err mount_root: failed - mount -t jffs2 /dev/mtdblock3 /rom/overlay: Invalid argument
I'm not familiar with OpenWRT mounting/partitioning scheme, so I wasn't able to get to the bottom of this myself. Can someone give me some hints on what to try, what links to read, what keywords to Google - or even how to fix this?