openwrt/target/linux/mvebu/patches-5.10
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
..
001-v5.11-arm64-dts-mcbin-singleshot-add-heartbeat-LED.patch mvebu: fix the patch numbering 2021-02-23 18:31:35 +01:00
002-v5.11-ARM-dts-turris-omnia-enable-HW-buffer-management.patch mvebu: fix the Turris Omnia device tree 2021-02-23 18:31:35 +01:00
100-ARM-dts-turris-omnia-fix-hardware-buffer-management.patch kernel: bump version 5.10 to 5.10.18 2021-02-24 18:45:59 +01:00
101-ARM-dts-turris-omnia-configure-LED-2--INTn-pin-as-interrupt-pin.patch kernel: bump version 5.10 to 5.10.18 2021-02-24 18:45:59 +01:00
300-mvebu-Mangle-bootloader-s-kernel-arguments.patch
301-mvebu-armada-38x-enable-libata-leds.patch
302-add_powertables.patch
303-linksys_hardcode_nand_ecc_settings.patch
304-revert_i2c_delay.patch
305-armada-385-rd-mtd-partitions.patch
306-ARM-mvebu-385-ap-Add-partitions.patch
307-armada-xp-linksys-mamba-broken-idle.patch
308-armada-xp-linksys-mamba-wan.patch
309-linksys-status-led.patch
310-linksys-use-eth0-as-cpu-port.patch
311-adjust-compatible-for-linksys.patch
312-ARM-dts-armada388-clearfog-emmc-on-clearfog-base.patch
313-helios4-dts-status-led-alias.patch kernel: bump 5.10 to 5.10.20 2021-03-05 20:35:01 +01:00
314-arm64-dts-marvell-armada37xx-Add-eth0-alias.patch
315-arm64-dts-uDPU-switch-PHY-operation-mode-to-2500base.patch mvebu: fix the patch numbering 2021-02-23 18:31:35 +01:00
316-armada-xp-linksys-mamba-resize-kernel.patch mvebu: mamba resize kernel to 4MB 2021-03-19 15:30:01 +01:00
400-find_active_root.patch kernel: add pending mtd patches adding NVMEM support 2021-03-12 18:49:46 +01:00
700-mvneta-tx-queue-workaround.patch kernel: bump 5.10 to 5.10.20 2021-03-05 20:35:01 +01:00
800-cpuidle-mvebu-indicate-failure-to-enter-deeper-sleep.patch
801-pci-mvebu-time-out-reset-on-link-up.patch