1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/mvebu/cortexa9/base-files/etc
Tad Davanzo 5a3b1e5b57 mvebu: venom resize kernel to 6MB
venom has a 3MB kernel partition as specified by the DTS.
3MB is not sufficient for building with many kernel modules or newer
kernel versions.

venom uboot however as set from factory will load up to 6MB.
This can be observed by looking a uboot log:
	NAND read: device 0 offset 0x900000, size 0x600000
	6291456 bytes read: OK
and from uboot environment variables:
	$ fw_printenv | grep "priKernSize";
	priKernSize=0x0600000

Resize the root partitions from 120MB to 117MB to let kernel expand
into it another 3MB.
And set kernel target size to 6MB.

Lastly set the kernel-size-migration compatibility version on venom to
prevent sysupgrading without first reinstalling from a factory image.

Signed-off-by: Tad Davanzo <tad@spotco.us>
(cherry picked from commit 15309f5133)
2021-03-29 21:17:32 +02:00
..
board.d mvebu: fix alphabetic sorting in 02_network 2020-07-31 11:40:15 +02:00
hotplug.d/ieee80211 mvebu: base-files: move additional files to subtargets 2020-11-25 13:58:29 +01:00
init.d mvebu: rename Linksys devices based on their common names 2020-06-05 21:54:43 +02:00
uci-defaults mvebu: venom resize kernel to 6MB 2021-03-29 21:17:32 +02:00