From: David Bauer Date: Sun, 14 Jun 2020 11:10:00 +0000 (+0200) Subject: ipq40xx: check kernel-size for NBG6617 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=373f4460497bad899bb97e7af00aad157ab0922a;p=openwrt%2Fstaging%2Fzorun.git 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 --- 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