]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: image: switch cameo devices from gzip to lzma 21577/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sat, 17 Jan 2026 07:32:33 +0000 (08:32 +0100)
committerRobert Marko <robimarko@gmail.com>
Sun, 18 Jan 2026 10:15:10 +0000 (11:15 +0100)
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@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21577
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/image/common.mk

index 2221c7a4347d4f7e2379c613729fae199a62ab01..417f3ef0bcb6895cf0984ca113ef4d3542d4a130 100644 (file)
@@ -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 | \