openwrt/target/linux/mediatek/image
Eric Fahlgren dcf11c832a
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
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>
(cherry picked from commit b71f4665cd)
2025-12-30 23:05:19 +01:00
..
filogic.mk mediatek: filogic: fix supported_devices list for gl-mt2500 2025-12-30 23:05:19 +01:00
gen_scatterfile.sh target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
Makefile mediatek: filogic: add ASUS RT-AX52 factory-initramfs image generation 2025-10-17 10:55:43 +02:00
mt7622.mk mediatek: append metadata to factory-uboot.bin for WSR devices 2025-01-04 19:25:34 +01:00
mt7623.mk mediatek: fix build failure of mt7623/mt7629 using kernel 6.6 2024-03-16 15:25:05 +08:00
mt7629.mk mediatek: Add support for Linksys EA7500 v3 2024-08-15 00:13:20 +02:00