mediatek: filogic: fix supported_devices list for gl-mt2500 main master
authorEric Fahlgren <ericfahlgren@gmail.com>
Mon, 3 Nov 2025 20:34:37 +0000 (12:34 -0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 30 Dec 2025 21:59:44 +0000 (22:59 +0100)
commitb71f4665cda10c284c9460409ae30fb9b0beecf8
treeadde7328ab91558555613a7d64594f5817b473a8
parent3af16b2359691adf0e4ff4fa9302e40f4b494985
mediatek: filogic: fix supported_devices list for gl-mt2500

The SUPPORTED_DEVICES sets for both Maxlinear (v1) and Airoha (v2)
devices were identical, so sysupgrade was unable to detect when an
incorrect image was being installed.  This caused "soft bricking" of
devices when a v1 image was installed on a v2 device, and vice versa.

Fix this by making the supported_devices distinct for each device
version, by renaming the devices with a version-specific name.
This is reflected in the file name and the image metadata.

Fixes: https://github.com/openwrt/openwrt/issues/20566
Fixes: https://github.com/openwrt/asu/issues/1525
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20632
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/image/filogic.mk