From: David Bauer Date: Tue, 28 Nov 2023 00:03:48 +0000 (+0100) Subject: mediatek: make GL-MT2500 image work with U-Boot recovery X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f82ccee512cfa69858b6a34c4cb84d5d690e4bba;p=openwrt%2Fstaging%2Flinusw.git mediatek: make GL-MT2500 image work with U-Boot recovery Append metadata in the special GL.iNet format. This also enables use of the web-based U-Boot recovery. U-Boot-Recovery =============== The GL-MT2500 provides web-based U-Boot recovery. For this, hold the reset button pressed for 5 seconds when attaching power to the device. The LED will blink 5 times. Release the reset button. The OpenWrt sysupgrade image can be installed by navigating to http://192.168.1.1 in a web-browser. The device does not work as a DHCP server, so manual IP configuration is required. Signed-off-by: David Bauer --- diff --git a/target/linux/mediatek/image/filogic.mk b/target/linux/mediatek/image/filogic.mk index 1a1c813eea..edee317fdf 100644 --- a/target/linux/mediatek/image/filogic.mk +++ b/target/linux/mediatek/image/filogic.mk @@ -299,7 +299,7 @@ define Device/glinet_gl-mt2500 DEVICE_PACKAGES := e2fsprogs f2fsck mkf2fs kmod-usb3 SUPPORTED_DEVICES += glinet,mt2500-emmc IMAGES := sysupgrade.bin - IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata + IMAGE/sysupgrade.bin := sysupgrade-tar | append-gl-metadata endef TARGET_DEVICES += glinet_gl-mt2500