From: Leon M. Busch-George Date: Mon, 16 Oct 2023 17:41:21 +0000 (+0200) Subject: ipq40xx: wpj428: switch to zimage to fit kernel partition X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=58d57f767374c18ff2ffe5a8d2a7ff80bc0e7649;p=openwrt%2Fstaging%2Fblocktrron.git 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 (cherry picked from commit 2657e8cab7f3d621b66cfdd4e228da3b912af32a) --- 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