openwrt/target
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
..
imagebuilder target/imagebuilder: use multi-thread support for xz compression 2019-10-09 09:13:44 +02:00
linux ath79: GL-AR750S (NOR/NAND): limit factory.img kernel size to 2 MB 2020-01-15 20:06:02 +01:00
sdk sdk: use bundle-libraries.sh to ship kernel objtool tools 2019-09-03 10:45:25 +02:00
toolchain toolchain: wrapper.sh: harmonize leading whitespaces 2019-12-31 01:36:16 +01:00
Config.in build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
Makefile