Jeff Kletsky e96bfaedf3 ath79: GL-AR750S (NOR/NAND): limit factory.img kernel size to 2 MB
The present U-Boot for GL-AR750S has a limit of 2 MB for kernel size.
While sysupgrade can manage kernels up to the present limit of 4 MB,
directly flashing a factory.img with a kernel size greater than 2 MB
through U-Boot will result in an unbootable device.

This commit uses the newly-introduced check-kernel-size build
operation to prevent the output of factory.img when the kernel
exceeds 2 MB in size, yet permits output of sysupgrade.img
as long as the kernel is within KERNEL_SIZE := 4096k

Cc: Chuanhong Guo <gch981213@gmail.com>

Signed-off-by: Jeff Kletsky <git-commits@allycomm.com>
2020-01-15 20:06:02 +01:00
..
2019-10-19 13:16:57 +02:00
2019-11-22 16:56:46 +01:00
2020-01-05 00:43:36 +01:00
2019-11-29 09:59:49 +01:00
2020-01-12 16:27:33 +01:00
2020-01-08 14:33:03 +01:00
2020-01-05 00:43:33 +01:00
2019-11-30 20:19:12 +02:00
2019-12-24 17:45:54 +01:00
2019-12-10 09:50:42 +01:00
2019-12-31 01:16:17 +01:00
2019-12-24 15:34:43 +01:00