uboot-envtools: add support for ZyXEL GS-1900-24EP
authorKlaas Demter <psychic-stool-cozy@duck.com>
Sun, 9 Feb 2025 10:10:42 +0000 (11:10 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 12 Feb 2025 22:32:35 +0000 (23:32 +0100)
It seems the that this was forgotten during initial adding of the
device in 0688cf5aebe1dc9a2e7f3820861783c2a7a75d44

Thanks to
https://forum.openwrt.org/t/zyxel-gs1900-10hp-revision-b1-support-openwrt-firmware/131841/32
for putting me on the right track for this problem

Error that is being fixed - running fw_printenv results in:
"Warning: Bad CRC, using default environment"
and not showing boardmodel

Workaround, manually changing /etc/fw_env.config to
"/dev/mtd1 0x0 0x400 0x10000"

Signed-off-by: Klaas Demter <psychic-stool-cozy@duck.com>
Link: https://github.com/openwrt/openwrt/pull/17920
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/boot/uboot-envtools/files/realtek

index cd2446432d7dac968a8a2d006d128b40ab336ace..055730eb27b3d299bc97fa5de6cdd94f27cbe284 100644 (file)
@@ -28,6 +28,7 @@ zyxel,gs1900-10hp|\
 zyxel,gs1900-16|\
 zyxel,gs1900-24-v1|\
 zyxel,gs1900-24e|\
+zyxel,gs1900-24ep|\
 zyxel,gs1900-24hp-v1|\
 zyxel,gs1900-24hp-v2)
        idx="$(find_mtd_index u-boot-env)"