Try mtd erase /dev/mtd9 when the device is detached, then continue with sysupgrade.
mtd erase /dev/mtd9