[openwrt/openwrt] ipq40xx: use zImage for Cell-C RTL30VW

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 6 15:41:26 PDT 2021


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/07543d00e5107c41f6ed6369e1511cfb89efa468

commit 07543d00e5107c41f6ed6369e1511cfb89efa468
Author: Pawel Dembicki <paweldembicki at gmail.com>
AuthorDate: Fri Nov 5 16:01:54 2021 +0100

    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 <paweldembicki at gmail.com>
---
 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
 



More information about the lede-commits mailing list