SSHD for Official Linksys EA7500v2 Firmware

A bug had been reported. But I wouldn't expect a prompt fixing. See here for detail
https://github.com/openwrt/openwrt/issues/12895

If you can compile the kernel, here is a not perfect but working walk-around.

drivers/mtd/ubi/build.c

static void __init ubi_auto_attach(void)
... omitted
/* check for a valid ubi magic */
if (strncmp(magic, "UBI#", 4)) {
        pr_err("UBI error: no valid UBI magic found inside mtd%d, but still try attaching...\n", mtd->index);
		/* goto cleanup; comment out to fall-through */
}
... omitted
4 Likes