Przeglądaj źródła

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21577
Signed-off-by: Robert Marko <[email protected]>
Markus Stockhausen 2 tygodni temu
rodzic
commit
41acf8f4f7
1 zmienionych plików z 9 dodań i 2 usunięć
  1. 9 2
      target/linux/realtek/image/common.mk

+ 9 - 2
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 | \