openwrt/target/linux/mvebu/patches-5.4
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-PCI-aardvark-Wait-for-endpoint-to-be-ready-before-tr.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
002-PCI-aardvark-Don-t-rely-on-jiffies-while-holding-spi.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
003-net-mvneta-introduce-mvneta_update_stats-routine.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
004-net-mvneta-introduce-page-pool-API-for-sw-buffer-man.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
005-net-mvneta-rely-on-build_skb-in-mvneta_rx_swbm-poll-.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
006-net-mvneta-add-basic-XDP-support.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
007-gpio-mvebu-avoid_error_message_for_optional_IRQ.patch kernel: bump 5.4 to 5.4.94 2021-02-01 19:10:43 +01:00
007-net-mvneta-move-header-prefetch-in-mvneta_swbm_rx_fr.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
008-net-mvneta-make-tx-buffer-array-agnostic.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
009-net-mvneta-add-XDP_TX-support.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
010-net-mvneta-fix-build-skb-for-bm-capable-devices.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
011-arm64-dts-uDPU-remove-i2c-fast-mode.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
012-arm64-dts-uDPU-SFP-cages-support-3W-modules.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
013-net-mvneta-rely-on-page_pool_recycle_direct-in-mvnet.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
014-mvneta-driver-disallow-XDP-program-on-hardware-buffe.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
015-net-mvneta-fix-XDP-support-if-sw-bm-is-used-as-fallb.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
016-PCI-aardvark-Train-link-immediately-after-enabling-t.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
017-PCI-aardvark-Improve-link-training.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
018-PCI-aardvark-Issue-PERST-via-GPIO.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
019-PCI-aardvark-Add-PHY-support.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
020-arm64-dts-marvell-armada-37xx-Set-pcie_reset_pin-to-.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
021-arm64-dts-marvell-armada-37xx-Move-PCIe-comphy-handl.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
022-arm64-dts-marvell-armada-37xx-Move-PCIe-max-link-spe.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
023-arm64-dts-add-uDPU-i2c-bus-recovery.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
024-PCI-aardvark-Don-t-touch-PCIe-registers-if-no-card-c.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
025-power-reset-add-driver-for-LinkStation-power-off.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
026-PCI-aardvark-Fix-initialization-with-old-Marvell-s-A.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
027-arm64-dts-marvell-espressobin-Add-ethernet-switch-al.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
028-arm64-dts-mcbin-singleshot-add-heartbeat-LED.patch mvebu: macchiatobin-singleshot: enable heartbeat LED 2020-12-20 00:00:33 +01:00
300-mvebu-Mangle-bootloader-s-kernel-arguments.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
301-mvebu-armada-38x-enable-libata-leds.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
302-add_powertables.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
303-linksys_hardcode_nand_ecc_settings.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
304-revert_i2c_delay.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
305-armada-385-rd-mtd-partitions.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
306-ARM-mvebu-385-ap-Add-partitions.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
307-armada-xp-linksys-mamba-broken-idle.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
308-armada-xp-linksys-mamba-wan.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
309-linksys-status-led.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
310-linksys-use-eth0-as-cpu-port.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
311-adjust-compatible-for-linksys.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
312-ARM-dts-armada388-clearfog-emmc-on-clearfog-base.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
312-helios4-dts-status-led-alias.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
314-arm64-dts-marvell-armada37xx-Add-eth0-alias.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
315-arm64-dts-marvell-armada-3720-espressobin-add-ports-.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
316-arm64-dts-uDPU-switch-PHY-operation-mode-to-2500base.patch mvebu: espressobin: drop COMPHY removement patch 2021-02-14 09:34:57 +01:00
317-ARM-dts-turris-omnia-enable-HW-buffer-management.patch mvebu/omnia: fix the device tree 2021-03-01 00:34:22 +01:00
318-ARM-dts-turris-omnia-fix-hardware-buffer-management.patch mvebu/omnia: fix the device tree 2021-03-01 00:34:22 +01:00
318-armada-xp-linksys-mamba-resize-kernel.patch mvebu: mamba resize kernel to 4MB 2021-03-19 15:30:01 +01:00
319-ARM-dts-turris-omnia-configure-LED-2--INTn-pin-as-interrupt-pin.patch mvebu/omnia: fix the device tree 2021-03-01 00:34:22 +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-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
800-cpuidle-mvebu-indicate-failure-to-enter-deeper-sleep.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
801-pci-mvebu-time-out-reset-on-link-up.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00