From 16d5e9e415db637285933f6c70f730cd511277e1 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Tue, 28 Nov 2023 01:03:48 +0100 Subject: [PATCH] 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 (cherry picked from commit f82ccee512cfa69858b6a34c4cb84d5d690e4bba) --- target/linux/mediatek/image/filogic.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/mediatek/image/filogic.mk b/target/linux/mediatek/image/filogic.mk index dbd33bf020..40081bebb6 100644 --- a/target/linux/mediatek/image/filogic.mk +++ b/target/linux/mediatek/image/filogic.mk @@ -388,7 +388,7 @@ define Device/glinet_gl-mt2500 DEVICE_PACKAGES := f2fsck mkf2fs kmod-usb3 automount 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