浏览代码

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 <[email protected]>
David Bauer 5 年之前
父节点
当前提交
373f446049
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      target/linux/ipq40xx/image/Makefile

+ 1 - 0
target/linux/ipq40xx/image/Makefile

@@ -661,6 +661,7 @@ define Device/zyxel_nbg6617
 	DEVICE_VENDOR := ZyXEL
 	DEVICE_VENDOR := ZyXEL
 	DEVICE_MODEL := NBG6617
 	DEVICE_MODEL := NBG6617
 	SOC := qcom-ipq4018
 	SOC := qcom-ipq4018
+	KERNEL_SIZE := 4096k
 	ROOTFS_SIZE := 24960k
 	ROOTFS_SIZE := 24960k
 	RAS_BOARD := NBG6617
 	RAS_BOARD := NBG6617
 	RAS_ROOTFS_SIZE := 19840k
 	RAS_ROOTFS_SIZE := 19840k