[PATCH] ath79: tplink-eap2x5: add sysupgrade image
Robert Marko
robimarko at gmail.com
Wed Oct 28 07:09:40 PDT 2026
On Tue, 27 Oct 2026 at 21:30, Hernán Lorenzo <lorenzofh at gmail.com> wrote:
>
> Add a sysupgrade image for the tplink-eap2x5 device family, using
> tplink-safeloader with the sysupgrade layout and appending metadata
> for the firmware upgrade tool.
>
> Signed-off-by: Hernán Lorenzo <lorenzofh at gmail.com>
Hi Hernan,
These boards inherit the recipe which already produces a
safeloader-compatible sysupgrade:
https://github.com/openwrt/openwrt/blob/main/target/linux/ath79/image/common-tp-link.mk#L70
Regards,
Robert
> ---
> target/linux/ath79/image/generic-tp-link.mk | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk
> index ea449a0bbd..c72cfeac59 100644
> --- a/target/linux/ath79/image/generic-tp-link.mk
> +++ b/target/linux/ath79/image/generic-tp-link.mk
> @@ -407,6 +407,8 @@ define Device/tplink-eap2x5
> LOADER_TYPE := elf
> KERNEL := kernel-bin | append-dtb | lzma | loader-kernel
> KERNEL_INITRAMFS := $$(KERNEL)
> + IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \
> + check-size $$$$(IMAGE_SIZE) | append-metadata
> IMAGE/factory.bin := append-rootfs | tplink-safeloader factory | \
> pad-extra 128
> endef
> --
> 2.56.0
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list