Skip to content

Commit

Permalink
ipq40xx: compress kernel for Magic 2 WiFi next
Browse files Browse the repository at this point in the history
The bootcmd limits the kernel to 4 MiB which is
exceeded when using Device/FitImage. Device/FitzImage
reduces the size to around 3 MiB.

Signed-off-by: Thomas Bong <thomas.bong@devolo.de>
  • Loading branch information
bong1991 committed Sep 1, 2023
1 parent f2ab88d commit 709b9fb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions target/linux/ipq40xx/image/generic.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -590,7 +589,7 @@ define Device/glinet_gl-b1300
DEVICE_MODEL := GL-B1300
BOARD_NAME := gl-b1300
SOC := qcom-ipq4029
KERNEL_SIZE := 4096k
KERNEL_SIZE := 1k
IMAGE_SIZE := 26624k
IMAGE/sysupgrade.bin := append-kernel |append-rootfs | pad-rootfs | append-metadata
endef
Expand Down

0 comments on commit 709b9fb

Please sign in to comment.