tn3399_openwrt/target/linux/mvebu
Tad Davanzo 10415d5e70 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>
2021-03-19 15:30:01 +01:00
..
base-files/lib mvebu: sysupgrade: write additional information to log output 2020-12-01 19:39:08 +01:00
cortexa9 mvebu: mamba resize kernel to 4MB 2021-03-19 15:30:01 +01:00
cortexa53 kernel: move some disabled symbols to generic 2021-03-19 00:59:22 +01:00
cortexa72 kernel: move some disabled symbols to generic 2021-03-19 00:59:22 +01:00
files/arch mvebu: LS421DE: make cosmetics changes in dts file 2021-03-13 20:15:29 +00:00
files-5.4/arch/arm64/boot/dts/marvell mvebu: remove upstreamed DTS files in 5.10 2021-02-23 18:31:35 +01:00
image mvebu: mamba resize kernel to 4MB 2021-03-19 15:30:01 +01:00
patches-5.4 mvebu: mamba resize kernel to 4MB 2021-03-19 15:30:01 +01:00
patches-5.10 mvebu: mamba resize kernel to 4MB 2021-03-19 15:30:01 +01:00
config-5.4 kernel: move some disabled symbols to generic 2021-03-19 00:59:22 +01:00
config-5.10 kernel: move some disabled symbols to generic 2021-03-19 00:59:22 +01:00
Makefile mvebu: add 5.10 as a testing kernel 2021-02-23 18:31:35 +01:00
modules.mk mvebu: backport linkstation-poweroff upstream driver 2020-08-28 10:44:29 +01:00