Zte_mf287plus: sysupgrade fails with `ubiattach: error!: cannot attach mtd14`

I have successfully flashed the factory image onto a Drei Neo (ZTE MF287+) device. Now, I would like to flash a custom sysupgrade image that the Image Builder generated for me, and using sysupgrade --test on the image file (and doing the same on the official sysupgrade image provided on downloads.openwrt.org, too) yield this fatal error message:

root@OpenWrt:~# sysupgrade --test -v /tmp/openwrt-23.05.2-ipq40xx-generic-zte_mf287plus-squashfs-sysupgrade.bin 
ubiattach: error!: cannot attach mtd14
           error 17 (File exists)

The kernel logs this in its debug ringbuffer:

[  134.941568] ubi: mtd14 is already attached to ubi0

Am I holding it wrong, or is the generated sysupgrade image bugged?

This is completely normal and not an error regarding the update.

Since you are already running OpenWrt, UBI is already attached, hence attaching it again fails. The process carries on nevertheless - did the upgrade succeed? I assume so.

1 Like

Ah I see, thanks very much for clearing that up! :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.