[PATCH 0/2] realtek: support OpenWrt flashing from ZyXEL firmware
Bjørn Mork
bjorn at mork.no
Sat Jan 23 05:08:10 EST 2021
Only two minor changes is required to make our initramfs image
flashable from stock web UI. This allows upgrades to OpenWrt
without using console access.
In theory, the u-image magic could be different for the
initramfs and the squashfs image, since it is not validated by
u-boot and the stock web UI does not allow direct flashing of
squasfs images. But this would be unnecessarily confusing. It
would also prevent an installed OpenWrt squasfs image from being
recognized by the stock flash management application.
So this patchset uses the new mtdsplit_uimage configurability
to allow the vendor specific magic used by stock images for
these devices.
These patches are only build tested for now. An earlier version
has been thoroughly run tested with flashing from stock web UI.
But my GS1900-10HP is currently in use for my path to the
Internet, so testing on it is a bit inconvient. I am therefore
leaning on other brave testers as usual...
Bjørn
Bjørn Mork (2):
realtek: use vendor-specific magic for ZyXEL
realtek: build ZyXEL vendor firmware compatible initramfs
target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi | 3 ++-
target/linux/realtek/image/Makefile | 14 ++++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
--
2.20.1
More information about the openwrt-devel
mailing list