openwrt/target/linux/mvebu/image
Tad Davanzo 8458ebe18b mvebu: mamba resize kernel to 4MB
mamba has a 3MB kernel partition as specified by the DTS.
3MB is not sufficient for building with many kernel modules or newer
kernel versions.

mamba uboot however as set from factory will load up to 4MB.
This can be observed by looking a uboot log:
	NAND read: device 0 offset 0xa00000, size 0x400000
	4194304 bytes read: OK
and from uboot environment variables:
	$ fw_printenv | grep "pri_kern_size";
	pri_kern_size=0x400000

Resize the root partitions from 37MB to 36MB to let kernel expand
into it another 1MB.
And set kernel target size to 4MB.

Lastly add a compatibility version message: kernel-size-migration.
And set it on mamba to prevent sysupgrading without first reinstalling from
a factory image.

Signed-off-by: Tad Davanzo <tad@spotco.us>
(cherry picked from commit 10415d5e70)
2021-03-29 21:17:31 +02:00
..
clearfog.bootscript mvebu: image: introduce BOOT_SCRIPT variable 2019-05-11 23:11:04 +02:00
cortexa9.mk mvebu: mamba resize kernel to 4MB 2021-03-29 21:17:31 +02:00
cortexa53.mk mvebu: add initial support for Globalscale ESPRESSObin-Ultra 2020-11-23 22:53:15 +01:00
cortexa72.mk kernel: drop empty kmod-ledtrig-* packages 2021-01-15 18:24:31 +01:00
espressobin.bootscript mvebu: Add bootscript for espressobin to support mainline firmware 2020-10-11 16:53:20 +02:00
gen_mvebu_sdcard_img.sh target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
generic-arm64.bootscript mvebu: image: add check for fdt_add_r and kernel_addr_r variables 2020-09-17 21:09:51 +02:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
turris-omnia.bootscript mvebu: Add turris-omnia.bootscript 2020-11-26 21:52:04 -10:00
udpu.bootscript mvebu: uDPU: add sysupgrade support 2019-08-24 23:11:15 +02:00