From 07543d00e5107c41f6ed6369e1511cfb89efa468 Mon Sep 17 00:00:00 2001 From: Pawel Dembicki Date: Fri, 5 Nov 2021 16:01:54 +0100 Subject: [PATCH] ipq40xx: use zImage for Cell-C RTL30VW After switch to 5.10 kernel, kernel size was too high. This patch switches Cell-C RTL30VW from uImage to zImage build. Lzma uImage wrap is required for factory booting and it must left untouched. Signed-off-by: Pawel Dembicki --- target/linux/ipq40xx/image/generic.mk | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/target/linux/ipq40xx/image/generic.mk b/target/linux/ipq40xx/image/generic.mk index 57eaef07bb..e2ccafd162 100644 --- a/target/linux/ipq40xx/image/generic.mk +++ b/target/linux/ipq40xx/image/generic.mk @@ -252,10 +252,10 @@ endef TARGET_DEVICES += buffalo_wtr-m2133hp define Device/cellc_rtl30vw - KERNEL_SUFFIX := -fit-uImage.itb + KERNEL_SUFFIX := -fit-zImage.itb KERNEL_INITRAMFS = kernel-bin | gzip | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb - KERNEL = kernel-bin | gzip | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb | uImage lzma | pad-to 2048 - KERNEL_NAME := Image + KERNEL = kernel-bin | fit none $$(DTS_DIR)/$$(DEVICE_DTS).dtb | uImage lzma | pad-to 2048 + KERNEL_NAME := zImage KERNEL_IN_UBI := IMAGES := nand-factory.bin nand-sysupgrade.bin IMAGE/nand-factory.bin := append-rootfshdr | append-ubi | qsdk-ipq-factory-nand-askey @@ -270,7 +270,6 @@ define Device/cellc_rtl30vw BLOCKSIZE := 128k PAGESIZE := 2048 DEVICE_PACKAGES := kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi ipq-wifi-cellc_rtl30vw - DEFAULT := n endef TARGET_DEVICES += cellc_rtl30vw -- 2.30.2