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 23:32:30 +0000 (00:32 +0100)
commitd89527ce14152790a45993bf558fbb7ed29884c8
tree57e50e40f706ccd9464bbf7851ab2e484b55ea87
parent5b7820534389346fa15e9a22cb638a20e99350b6
uboot-envtools: add support for ZyXEL GS-1900-24EP

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>
(cherry picked from commit 71a966c480432febcc5dd120e5b01662fa8ec328)
package/boot/uboot-envtools/files/realtek