I'm struggling to get going with this device and its multiple partitions.
I got the device with the Linksys 1.1.4.173728 firmware on it so I didn't reflash it with that or any other Linksys firmware (assuming that if current partition is 1.1.4.173728 than the other one is at least 1.1.4.169978, which is required to upgrade to 1.1.4.173728) -- and maybe that's the reason for my problems.
I got the customized LEDE image running on the device at the moment, but my attempts to use sysupgrade either from Luci or from CLI fail:
root@EA8500:~# sysupgrade -n /tmp/sys.tar
Sending TERM to remaining processes ... ubusd askfirst logd rpcd netifd odhcpd crond uhttpd openvpn ntpd vnstatd dnsmasq
Sending KILL to remaining processes ... openvpn askfirst
Switching to ramdisk...
Performing system upgrade...
Unlocking kernel2 ...
Writing from to kernel2 ...
UBI device number 1, total 296 LEBs (37584896 bytes, 35.8 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
ubimkvol: error!: UBI device does not have free logical eraseblocks
cannot create rootfs volume
libubi: error!: "/dev/" is not a character device
ubiupdatevol: error!: error while probing "/dev/"
error 22 (Invalid argument)
sysupgrade successful
umount: can't unmount /dev/pts: Resource busy
umount: can't unmount /dev: Resource busy
So, my questions are:
- How to return to stock to reflash the latest Linksys firmware twice to make sure I start from a clean slate? Luci sysupgrade rejects the Linksys firmware and I'm afraid to use drastic measures like mtd without having the exact command to run.
- If non-working sysupgrade on this device is a known issue, what's the exact command for mtd and should I use the sysupgrade.tar or factory.bin with mtd?
Please help, I got this fantastic device, but it's my first device with multiple partitions and I'm struggling with that.