From b6c80f85cb7bec6750fb0687b216e596a8db65a6 Mon Sep 17 00:00:00 2001 From: Sungbo Eo Date: Mon, 7 Oct 2019 21:33:51 +0900 Subject: 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(+) (limited to 'target') diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index aab6097d33..f13e9c8a4f 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -87,6 +87,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-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic endef @@ -509,6 +510,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-basic -- cgit v1.2.3