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
dts ath79: add support for Ubiquiti EdgeSwitch/ToughSwitch 5XP 2020-01-14 09:38:32 +01:00
files
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
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
config-4.19
Makefile
modules.mk