So OpenWrt is ready and tested
Flashing now only work from TTL / uboot TFTP initramfs.bin route or via ssh (If you enable it already) with mtd -r write sysupgrade.bin firmware
2 notes here:
WiFi work only with [RFC] add support for MT7981 by dangowrt · Pull Request #771 · openwrt/mt76 (github.com) mt76 version.
Flashing might be possible from OEM if any willing dev help me to puzzle it out
OEM
root@WR3000:~# cat /tmp/sysupgrade.meta
{ "metadata_version": "1.1", "compat_version": "1.0", "supported_devices":["R31"], "version": { "dist": "OpenWrt", "version": "21.02-SNAPSHOT", "revision": "1.15.6", "target": "mediatek/mt7981", "board": "R31" } }
OpenWrt vanilla
root@WR3000:~# cat /tmp/sysupgrade.meta
{ "metadata_version": "1.1", "compat_version": "1.0", "supported_devices":["cudy,wr3000"], "version": { "dist": "OpenWrt", "version": "SNAPSHOT", "revision": "unknown", "target": "mediatek/filogic", "board": "cudy_wr3000" } }
Image check failed
root@WR3000:~# sysupgrade -T /tmp/openwrt-mediatek-filogic-cudy_wr3000-squashfs-sysupgrade.bin
Thu Apr 20 17:12:50 CEST 2023 upgrade: Device R31 not supported by this image
Thu Apr 20 17:12:50 CEST 2023 upgrade: Supported devices: cudy,wr3000
Segmentation fault (core dumped)
Image check failed.
forcing flash with sysuprgrade -F result router not boot installed firmware
edit:
tags "supported_devices":["R31"] and "board": "R31" are now set correctly and sysupgrade fails anyway as well as GUI upgrade