[openwrt/openwrt] ipq40xx: wpj428: switch to zimage to fit kernel partition

LEDE Commits lede-commits at lists.infradead.org
Sat Oct 21 07:42:35 PDT 2023


chunkeey pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/58d57f767374c18ff2ffe5a8d2a7ff80bc0e7649

commit 58d57f767374c18ff2ffe5a8d2a7ff80bc0e7649
Author: Leon M. Busch-George <leon at georgemail.eu>
AuthorDate: Mon Oct 16 19:41:21 2023 +0200

    ipq40xx: wpj428: switch to zimage to fit kernel partition
    
    Like with some other ipq40xx devices, the kernel image size for the WPJ428
    is limited in stock u-boot. For that reason, the current release doesn't
    include an image for the board.
    By switching to the zImage format, the kernel image size is reduced which
    re-enables the build process. The image boots and behaved normally through
    a few days of testing.
    
    Before the switch to kernel version 6.1, it was possible to reduce the
    image size by enough when disabling UBIFS and its otherwise unneeded
    dependencies.
    
    Signed-off-by: Leon M. Busch-George <leon at georgemail.eu>
    (cherry picked from commit 2657e8cab7f3d621b66cfdd4e228da3b912af32a)
---
 target/linux/ipq40xx/image/generic.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ipq40xx/image/generic.mk b/target/linux/ipq40xx/image/generic.mk
index 99a9b78b78..ff5d5f26aa 100644
--- a/target/linux/ipq40xx/image/generic.mk
+++ b/target/linux/ipq40xx/image/generic.mk
@@ -354,7 +354,7 @@ endef
 #TARGET_DEVICES += compex_wpj419
 
 define Device/compex_wpj428
-	$(call Device/FitImage)
+	$(call Device/FitzImage)
 	DEVICE_VENDOR := Compex
 	DEVICE_MODEL := WPJ428
 	SOC := qcom-ipq4028




More information about the lede-commits mailing list