From: Sungbo Eo Date: Mon, 7 Oct 2019 12:33:51 +0000 (+0900) Subject: ramips: set uImage name of WeVO 11AC NAS and W2914NS v2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=19800ac095f6ddbba03ccab08e5197b1eec4a49e;p=oweals%2Fopenwrt.git ramips: set uImage name of WeVO 11AC NAS and W2914NS v2 The stock firmware and bootloader only accept uImage with names that match certain patterns. This patch enables OpenWrt installation from stock firmware without having to reflash the bootloader or access the UART console. Installation via web interface: 1. Flash **initramfs** image through the stock web interface. 2. Boot into OpenWrt and perform sysupgrade with sysupgrade image. Signed-off-by: Sungbo Eo --- diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index 66afe29620..d663aa29da 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -738,6 +738,7 @@ TARGET_DEVICES += unielec_u7621-06-64m define Device/wevo_11acnas MTK_SOC := mt7621 IMAGE_SIZE := 16064k + UIMAGE_NAME := 11AC-NAS-Router(0.0.0) DEVICE_VENDOR := WeVO DEVICE_MODEL := 11AC NAS Router DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic @@ -748,6 +749,7 @@ TARGET_DEVICES += wevo_11acnas define Device/wevo_w2914ns-v2 MTK_SOC := mt7621 IMAGE_SIZE := 16064k + UIMAGE_NAME := W2914NS-V2(0.0.0) DEVICE_VENDOR := WeVO DEVICE_MODEL := W2914NS DEVICE_VARIANT := v2