Skip to content

Commit b4414f2

Browse files
Marvell-armhf: Reduce kernel image size for u-boot
Marvell-armhf platforms using u-boot has constraints when loading the kernel image into the physical memory region reserved for the kernel and ramdisk image. The size constraint is platform specific. This commit reduces the size of the kernel image to meet those constraints. The compression used for the kernel is xz. - Disable unused architectures to reduce the size of the kernel - Disable sound device driver module Testing: - Check kernel boots without any memory overlapping errors - kernel binary size before this commit : 6197760 bytes - kernel binary size after this commit : 3600624 bytes Signed-off-by: Antony Rheneus <[email protected]>
1 parent 3ef6c65 commit b4414f2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

patch/kconfig-exclusions

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,25 @@ CONFIG_MLXSW_PCI
1212
[armhf]
1313

1414
[marvell-armhf]
15+
CONFIG_ARCH_VIRT
16+
CONFIG_ARCH_BCM
17+
CONFIG_ARCH_EXYNOS
18+
CONFIG_ARCH_HIGHBANK
19+
CONFIG_ARCH_MXC
20+
CONFIG_ARCH_MESON
21+
CONFIG_ARCH_OMAP3
22+
CONFIG_ARCH_OMAP4
23+
CONFIG_SOC_OMAP5
24+
CONFIG_SOC_AM33XX
25+
CONFIG_SOC_DRA7XX
26+
CONFIG_ARCH_ROCKCHIP
27+
CONFIG_ARCH_SOCFPGA
28+
CONFIG_ARCH_SUNXI
29+
CONFIG_ARCH_TEGRA
30+
CONFIG_ARCH_VEXPRESS
31+
CONFIG_ARCH_WM8850
32+
CONFIG_FW_CFG_SYSFS
33+
CONFIG_VORTEX
34+
CONFIG_NTP_PPS
35+
CONFIG_SENSORS_MAX6620
36+
CONFIG_SND_LX6464ES

0 commit comments

Comments
 (0)