From 373f4460497bad899bb97e7af00aad157ab0922a 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 51849e06f6..632836e94f 100644 --- a/target/linux/ipq40xx/image/Makefile +++ b/target/linux/ipq40xx/image/Makefile @@ -661,6 +661,7 @@ define Device/zyxel_nbg6617 DEVICE_VENDOR := ZyXEL DEVICE_MODEL := NBG6617 SOC := qcom-ipq4018 + KERNEL_SIZE := 4096k ROOTFS_SIZE := 24960k RAS_BOARD := NBG6617 RAS_ROOTFS_SIZE := 19840k