aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-06-14 13:10:00 +0200
committerDavid Bauer <mail@david-bauer.net>2020-06-14 13:10:00 +0200
commit373f4460497bad899bb97e7af00aad157ab0922a (patch)
tree305b705e76b2beaa39ba0a68199761554cf1aa22
parent5b50895a631018e7b0688b9634a486d45338465e (diff)
downloadupstream-373f4460497bad899bb97e7af00aad157ab0922a.tar.gz
upstream-373f4460497bad899bb97e7af00aad157ab0922a.tar.bz2
upstream-373f4460497bad899bb97e7af00aad157ab0922a.zip
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 <mail@david-bauer.net>
-rw-r--r--target/linux/ipq40xx/image/Makefile1
1 files changed, 1 insertions, 0 deletions
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