1
1

realtek: support web vendor upgrade for XMG1915-10E

So far the XMG1915-10E used the rt-loader-bootbase recipe which
produces a separate loader.bin and only allows installation/upgrade
from the CLI side, not via the Zyxel web UI.

Switch to the standard zyxel_zynos image recipe shared with the other
Zyxel rtl930x devices. The loader now lives inside the 'factory'
parent partition introduced in the previous commit, so the resulting
single sysupgrade image can be flashed both from the vendor web UI
and via sysupgrade. Hook the device into the existing xs1930 case in
platform.sh which sets PART_NAME=factory and calls default_do_upgrade.

This makes the installation and revert procedure in 94607d6285
("realtek: add support for Zyxel XMG1915-10E") mostly obsolete and
partly not working anymore (due to different build images that are
emitted).

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23218
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Jonas Jelonek 2026-04-28 21:21:23 +00:00 committed by Robert Marko
parent f9bdfcb553
commit 24aeb5cc09
2 changed files with 3 additions and 9 deletions

View File

@ -44,6 +44,7 @@ platform_do_upgrade() {
linksys,lgs352c)
nand_do_upgrade "$1"
;;
zyxel,xmg1915-10e|\
zyxel,xs1930-10|\
zyxel,xs1930-12f|\
zyxel,xs1930-12hp)

View File

@ -228,17 +228,10 @@ TARGET_DEVICES += zyxel_xgs1250-12-b1
define Device/zyxel_xmg1915-10e
SOC := rtl9302
ZYXEL_VERS := ABWE
DEVICE_VENDOR := Zyxel
DEVICE_MODEL := XMG1915-10E
FLASH_ADDR := 0xb4270000
ifeq ($(IB),)
ARTIFACTS := loader.bin
ARTIFACT/loader.bin := \
rt-loader-standalone | \
zynsig
endif
$(Device/rt-loader-bootbase)
IMAGE_SIZE := 30336k
ZYNFW_ALIGN := 0x10000
$(Device/zyxel_zynos)
endef
TARGET_DEVICES += zyxel_xmg1915-10e