difos/target/linux/ath79/image
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
..
bin ath79: add support for PISEN WMB001N 2019-08-08 21:00:59 +08:00
lzma-loader ath79: lzma-loader: sync with ar71xx target 2018-06-06 22:25:53 +02:00
common-buffalo.mk ath79: sort device definitions in image/* 2019-09-21 22:17:39 +02:00
common-netgear.mk ath79: harmonize line breaks in image Makefiles 2019-12-20 00:29:05 +01:00
common-tp-link.mk ath79: remove unused Build/mktplinkfw-combined 2020-01-08 16:17:58 +01:00
common-yuncore.mk ath79: add support for YunCore TFTP image generation 2019-11-25 17:32:46 +01:00
generic-tp-link.mk treewide: move mktplinkfw to tplink-v1-image in image-commands.mk 2020-01-08 16:15:29 +01:00
generic-ubnt.mk ath79: add support for Ubiquiti EdgeSwitch/ToughSwitch 5XP 2020-01-14 09:38:32 +01:00
generic.mk ath79: wlr-7100: use ath10k-ct smallbuffers package variant 2020-01-15 19:53:49 +01:00
Makefile ath79: rename ATH_SOC to SOC 2019-12-20 01:12:42 +01:00
nand.mk ath79: GL-AR750S (NOR/NAND): limit factory.img kernel size to 2 MB 2020-01-15 20:06:02 +01:00
tiny-netgear.mk ath79: rename ATH_SOC to SOC 2019-12-20 01:12:42 +01:00
tiny-tp-link.mk treewide: move mktplinkfw to tplink-v1-image in image-commands.mk 2020-01-08 16:15:29 +01:00
tiny.mk ath79: Do not build dlink_dir-615-e4 by default 2019-12-23 15:24:43 +01:00