summaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@linaro.org>2025-04-22 09:59:07 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-25 08:17:39 +0100
commit5b45f60969c43000a7e98115afbd3cce9e3658b5 (patch)
tree6cec3773d845bc8c8c0d7b841f35f7ebba1c1e6c /meta-yocto-bsp
parentc807b703cdfc5dc2c7fe98f55a5d323eb3e1877c (diff)
downloadpoky-5b45f60969c43000a7e98115afbd3cce9e3658b5.tar.gz
genericarm64.conf: increase INITRAMFS_MAXSIZE
Since pmem kernel drivers were enabled as modules, the initrd size limit is hit. On genericarm64 all kernel modules and some firmware files get installed to initrd by default which make the thing large. I'm working on patches to reduce the kernel drivers installed to initrd and to make the kernel in general more modular (btrfs 5 Mb etc built into kernel by default). For now just increase the size limit to unblock genericarm64 builds and testing. Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15833 (From meta-yocto rev: 09bef6a491c087f0f0371874e759aae08a720c4e) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp')
-rw-r--r--meta-yocto-bsp/conf/machine/genericarm64.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-yocto-bsp/conf/machine/genericarm64.conf b/meta-yocto-bsp/conf/machine/genericarm64.conf
index eb79475e9a..722bc7d4a6 100644
--- a/meta-yocto-bsp/conf/machine/genericarm64.conf
+++ b/meta-yocto-bsp/conf/machine/genericarm64.conf
@@ -17,6 +17,8 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
17MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" 17MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
18# Install selected pieces of firmware 18# Install selected pieces of firmware
19MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-wl12xx linux-firmware-wl18xx linux-firmware-rtl-nic" 19MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-wl12xx linux-firmware-wl18xx linux-firmware-rtl-nic"
20# increase default size since we install a lot of kernel drivers and firmware by default
21INITRAMFS_MAXSIZE = "200000"
20 22
21# Use an initramfs and populate it with the kernel modules and key firmware 23# Use an initramfs and populate it with the kernel modules and key firmware
22INITRAMFS_IMAGE ?= "core-image-initramfs-boot" 24INITRAMFS_IMAGE ?= "core-image-initramfs-boot"