openwrt/target/linux/ath79
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
..
base-files/etc/hotplug.d/ieee80211 ath79: split base-files into subtargets 2019-10-27 14:24:22 +01:00
dts ath79: add support for Ubiquiti EdgeSwitch/ToughSwitch 5XP 2020-01-14 09:38:32 +01:00
files ath79: add AR934x NAND Flash Controller driver 2019-10-20 15:32:53 +02:00
generic ath79: add support for Ubiquiti EdgeSwitch/ToughSwitch 5XP 2020-01-14 09:38:32 +01:00
image ath79: GL-AR750S (NOR/NAND): limit factory.img kernel size to 2 MB 2020-01-15 20:06:02 +01:00
nand ath79: add support for Netgear WNDR3700v4 2019-11-14 23:14:15 +01:00
patches-4.14 ath79: drop obsolete ehci hacks 2020-01-05 19:36:45 +01:00
patches-4.19 ath79: drop obsolete ehci hacks 2020-01-05 19:36:45 +01:00
tiny ath79-tiny: enable 4k sectors 2019-12-19 22:41:57 +01:00
config-4.14 ath79: enable PCI for whole target 2019-10-27 18:02:55 +01:00
config-4.19 ath79: remove obsolete OF PCI related config symbols 2019-11-14 22:53:31 +01:00
Makefile treewide: kernel: bump some targets to 4.19 2019-06-18 16:08:55 +02:00
modules.mk