[meta-yocto][walnascar 1/2] genericarm64.conf: increase INITRAMFS_MAXSIZE
Steve Sakoman <[email protected]> Fri, 30 May 2025 10:42:05 -0700
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <c8b151d2d7879c2b1276824444a963a59dfcf240.1748626837.git.steve@sakoman.com> |
From: Mikko Rapeli <[email protected]> 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 Signed-off-by: Mikko Rapeli <[email protected]> Signed-off-by: Richard Purdie <[email protected]> (cherry picked from commit 09bef6a491c087f0f0371874e759aae08a720c4e) Signed-off-by: Steve Sakoman <[email protected]> --- meta-yocto-bsp/conf/machine/genericarm64.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-yocto-bsp/conf/machine/genericarm64.conf b/meta-yocto-bsp/conf/machine/genericarm64.conf index eb79475..722bc7d 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" MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" # Install selected pieces of firmware MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-wl12xx linux-firmware-wl18xx linux-firmware-rtl-nic" +# increase default size since we install a lot of kernel drivers and firmware by default +INITRAMFS_MAXSIZE = "200000" # Use an initramfs and populate it with the kernel modules and key firmware INITRAMFS_IMAGE ?= "core-image-initramfs-boot" -- 2.43.0