You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
imagebuilder target/imagebuilder: use multi-thread support for xz compression 5 years ago
linux ath79: GL-AR750S (NOR/NAND): limit factory.img kernel size to 2 MB 4 years ago
sdk sdk: use bundle-libraries.sh to ship kernel objtool tools 5 years ago
toolchain toolchain: wrapper.sh: harmonize leading whitespaces 4 years ago
Config.in build: add a config option for enabling a testing version of the target kernel 5 years ago
Makefile build: make <subdir>/install opt-in, use it for target/ only 7 years ago