realtek: fix ZYXELS_VERS for GS1900-48
authorSander Vanheule <sander@svanheule.net>
Tue, 27 Dec 2022 13:27:44 +0000 (14:27 +0100)
committerSander Vanheule <sander@svanheule.net>
Wed, 28 Dec 2022 21:44:10 +0000 (22:44 +0100)
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 <s.l-h@gmx.de>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/image/rtl839x.mk

index 081c13ff9b225d4db3492d3cf7e7f8ef1a8f6781..95dae0f861706acf04ae9ca5ef3ff7f4111b6bd0 100644 (file)
@@ -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 | \