From 42d8bd456fd593cf75b27cf3c0859228e09b3e40 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Sun, 14 Jun 2020 13:10:00 +0200 Subject: [PATCH] ipq40xx: check kernel-size for NBG6617 The ZyXEL NBG6617 has a separate kernel partition which is 4MiB large. Add the kernel size to validate the kernel won't be bigger than this fixed limit. Signed-off-by: David Bauer --- target/linux/ipq40xx/image/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ipq40xx/image/Makefile b/target/linux/ipq40xx/image/Makefile index 718caf340c..52c6c3e847 100644 --- a/target/linux/ipq40xx/image/Makefile +++ b/target/linux/ipq40xx/image/Makefile @@ -551,6 +551,7 @@ define Device/zyxel_nbg6617 DEVICE_VENDOR := ZyXEL DEVICE_MODEL := NBG6617 DEVICE_DTS := qcom-ipq4018-nbg6617 + KERNEL_SIZE := 4096k ROOTFS_SIZE := 24960k RAS_BOARD := NBG6617 RAS_ROOTFS_SIZE := 19840k