Re: [poky] [PATCH v3] genericarm64 core-image-initramfs-boot: remove some kernel drivers

Richard Purdie <[email protected]> Thu, 16 Apr 2026 14:48:13 +0100
Newsgroups org.yoctoproject.lists.poky
Message-ID <cc1cc03b1118d75b010727706abacbb4c4f7f345.camel@linuxfoundation.org>
On Thu, 2026-04-16 at 16:26 +0300, Mikko Rapeli via lists.yoctoproject.org =
wrote:
> On Mon, Apr 13, 2026 at 10:27:15AM +0300, Mikko Rapeli via lists.yoctopro=
ject.org wrote:
> > genericarm64 supports a lot of HW and thus large collection of kernel
> > drivers are enabled and installed to images by default.
> > Subset of the kernel drivers are needed in initramfs to mount rootfs
> > from local mass storage devices. This increases initramfs size a lot
> > and with new kernel config updates even more. Thus remove kernel
> > drivers from initramfs image which are not needed for mounting
> > rootfs from local mass storage devices. GPU, Bluetooth, NFC,
> > sound, networking etc support is not needed in the initramfs.
> >=20
> > According to buildhistory core-image-initramfs-boot size is reduced
> > from 118 to 83 Mb.
>=20
> In my oe-core master branch builds core-image-initramfs-boot is now faili=
ng
> due to size limits:
>=20
> https://gitlab.com/Linaro/trustedsubstrate/gpit/-/jobs/13951723488
>=20
> 2026-04-16 13:04:26 - ERROR=C2=A0=C2=A0=C2=A0 - ERROR: core-image-initram=
fs-boot-1.0-r0 do_image_cpio: The initramfs size 282121(K) exceeds INITRAMF=
S_MAXSIZE: 280000(K)
> 2026-04-16 13:04:26 - ERROR=C2=A0=C2=A0=C2=A0 - ERROR: core-image-initram=
fs-boot-1.0-r0 do_image_cpio: You can set INITRAMFS_MAXSIZE a larger value.=
 Usually, it should
> 2026-04-16 13:04:26 - ERROR=C2=A0=C2=A0=C2=A0 - ERROR: core-image-initram=
fs-boot-1.0-r0 do_image_cpio: be less than 1/2 of ram size, or you may fail=
 to boot it.
>=20
> This patch could be one fix.
>=20
> But is this visible in auto-builder side builds? Or have the genericarm64
> poky-altcfg distro builds been disabled?

We're not seeing it there, the builds should be running though.

Cheers,

Richard