[openwrt/openwrt] realtek: image: switch cameo devices from gzip to lzma

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 18 02:15:13 PST 2026


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/41acf8f4f7523aacf9a99032c2e33c9d97c57dca

commit 41acf8f4f7523aacf9a99032c2e33c9d97c57dca
Author: Markus Stockhausen <markus.stockhausen at gmx.de>
AuthorDate: Sat Jan 17 08:32:33 2026 +0100

    realtek: image: switch cameo devices from gzip to lzma
    
    The cameo based RTL83xx devices have a simple U-Boot that only
    supports gzip compression. Actual models are mainly D-Link
    DGS-1210 and the Apresia Light GS120GT-SS. Reduce the image
    size by ~1MB by switching over to lzma compression and rt-loader.
    
    Signed-off-by: Markus Stockhausen <markus.stockhausen at gmx.de>
    Link: https://github.com/openwrt/openwrt/pull/21577
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 target/linux/realtek/image/common.mk | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/target/linux/realtek/image/common.mk b/target/linux/realtek/image/common.mk
index 2221c7a434..417f3ef0bc 100644
--- a/target/linux/realtek/image/common.mk
+++ b/target/linux/realtek/image/common.mk
@@ -5,9 +5,16 @@ define Device/cameo-fw
   KERNEL := \
 	kernel-bin | \
 	append-dtb | \
-	libdeflate-gzip | \
-	uImage gzip | \
+	rt-compress | \
+	rt-loader | \
+	uImage none | \
 	cameo-tag
+  KERNEL_INITRAMFS := \
+	kernel-bin | \
+	append-dtb | \
+	rt-compress | \
+	rt-loader | \
+	uImage none
   IMAGES += factory_image1.bin
   IMAGE/factory_image1.bin := \
 	append-kernel | \




More information about the lede-commits mailing list