summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Stockhausen2026-01-17 07:32:33 +0000
committerRobert Marko2026-01-18 10:15:10 +0000
commit41acf8f4f7523aacf9a99032c2e33c9d97c57dca (patch)
tree407fc9ccb4e5d7e00cc847595d2dd91c4f3df8ec
parent1c582f7c73939504b6985b2c00c8b7e9b33168ef (diff)
downloadopenwrt-41acf8f4f7523aacf9a99032c2e33c9d97c57dca.tar.gz
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@gmx.de> Link: https://github.com/openwrt/openwrt/pull/21577 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--target/linux/realtek/image/common.mk11
1 files 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 | \