From: Sander Vanheule Date: Tue, 27 Dec 2022 13:27:44 +0000 (+0100) Subject: realtek: fix ZYXELS_VERS for GS1900-48 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=80be0fea03f19c8c19e8aa01380ef3d64ae353f9;p=openwrt%2Fstaging%2Fblocktrron.git realtek: fix ZYXELS_VERS for GS1900-48 The GS1900-48 firmware image is identified by the 'AAHN' ID, while the GS1900-48HP is identified by 'AAHO' [1]. The latter was used, resulting in the following error message when upgrading via the stock web UI: Device only can support firmware from V1.00(AAHN.0) and later version Fix image generation by using the correct ID. [1] https://download.zyxel.com/GS1900-48/firmware/GS1900-48_2.70(AAHN.3)C0_2.pdf Link: https://forum.openwrt.org/t/146533 Fixes: 47f5a0a3eed5 ("realtek: Add support for ZyXEL GS1900-48 Switch") Suggested-by: Stefan Lippers-Hollmann Signed-off-by: Sander Vanheule --- diff --git a/target/linux/realtek/image/rtl839x.mk b/target/linux/realtek/image/rtl839x.mk index 081c13ff9b..95dae0f861 100644 --- a/target/linux/realtek/image/rtl839x.mk +++ b/target/linux/realtek/image/rtl839x.mk @@ -41,7 +41,7 @@ define Device/zyxel_gs1900-48 IMAGE_SIZE := 13952k DEVICE_VENDOR := ZyXEL UIMAGE_MAGIC := 0x83800000 - ZYXEL_VERS := AAHO + ZYXEL_VERS := AAHN DEVICE_MODEL := GS1900-48 KERNEL_INITRAMFS := \ kernel-bin | \