[openwrt/openwrt] ipq40xx: compress kernel for Magic 2 WiFi next

LEDE Commits lede-commits at lists.infradead.org
Sun Sep 3 14:13:12 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/8554a4a7e37998bd214666d2ab7e469ce7c8757e

commit 8554a4a7e37998bd214666d2ab7e469ce7c8757e
Author: Thomas Bong <thomas.bong at devolo.de>
AuthorDate: Thu Aug 31 10:43:15 2023 +0200

    ipq40xx: compress kernel for Magic 2 WiFi next
    
    The bootcmd limits the kernel to 4 MiB which is
    exceeded when using Device/FitImage. Device/FitzImage
    reduces the size to around 3 MiB.
    
    Reviewed-by: Robert Marko <robimarko at gmail.com>
    Signed-off-by: Thomas Bong <thomas.bong at devolo.de>
---
 target/linux/ipq40xx/image/generic.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/target/linux/ipq40xx/image/generic.mk b/target/linux/ipq40xx/image/generic.mk
index 58836471f0..15f48a67b2 100644
--- a/target/linux/ipq40xx/image/generic.mk
+++ b/target/linux/ipq40xx/image/generic.mk
@@ -371,7 +371,7 @@ endef
 TARGET_DEVICES += compex_wpj428
 
 define Device/devolo_magic-2-wifi-next
-	$(call Device/FitImage)
+	$(call Device/FitzImage)
 	DEVICE_VENDOR := devolo
 	DEVICE_MODEL := Magic 2 WiFi next
 	SOC := qcom-ipq4018
@@ -387,7 +387,6 @@ define Device/devolo_magic-2-wifi-next
 	IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata
 	DEFAULT := n
 endef
-# Missing DSA Setup
 TARGET_DEVICES += devolo_magic-2-wifi-next
 
 define Device/dlink_dap-2610




More information about the lede-commits mailing list