From 45fefa0459d53d87e5f4c0aae2a2f123ee624e6b Mon Sep 17 00:00:00 2001 From: Sungbo Eo Date: Mon, 7 Oct 2019 21:33:51 +0900 Subject: [PATCH] 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 (cherry picked from commit 19800ac095f6ddbba03ccab08e5197b1eec4a49e) [backported] Signed-off-by: Adrian Schmutzler --- target/linux/ramips/image/mt7621.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index c8de8bd5ff..a352ca21d7 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -44,6 +44,7 @@ endef define Device/11acnas DTS := 11ACNAS IMAGE_SIZE := $(ralink_default_fw_size_16M) + UIMAGE_NAME := 11AC-NAS-Router(0.0.0) DEVICE_TITLE := WeVO 11AC NAS Router DEVICE_PACKAGES := kmod-mt7603 kmod-usb3 kmod-usb-ledtrig-usbport wpad-mini endef @@ -334,6 +335,7 @@ TARGET_DEVICES += vr500 define Device/w2914nsv2 DTS := W2914NSV2 IMAGE_SIZE := $(ralink_default_fw_size_16M) + UIMAGE_NAME := W2914NS-V2(0.0.0) DEVICE_TITLE := WeVO W2914NS v2 DEVICE_PACKAGES := \ kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-mini -- 2.30.2