| Message ID | 20251223082457.3465827-1-mikko.rapeli@linaro.org (mailing list archive) |
|---|---|
| State | New |
| Headers | show |
| Series | genericarm64.conf: set runqemu memory config to 512 Mb | expand |
On Tue, Dec 23, 2025 at 12:25 AM Mikko Rapeli via lists.yoctoproject.org <mikko.rapeli=linaro.org@lists.yoctoproject.org> wrote: > The genericarm64 initramfs is larger than 256 Mb which is > the default runqemu memory config and thus boot fails when > extracted initramfs does not fit. > > Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> > --- > meta-yocto-bsp/conf/machine/genericarm64.conf | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta-yocto-bsp/conf/machine/genericarm64.conf > b/meta-yocto-bsp/conf/machine/genericarm64.conf > index 5d1010e..ce22b17 100644 > --- a/meta-yocto-bsp/conf/machine/genericarm64.conf > +++ b/meta-yocto-bsp/conf/machine/genericarm64.conf > @@ -57,6 +57,7 @@ QB_MACHINE ?= "-machine virt" > QB_CPU ?= "-cpu cortex-a76" > QB_CPU_KVM ?= "-cpu host -machine gic-version=3" > QB_SMP ?= "-smp 4" > +QB_MEM ?= "-m 512" > Some image recipes e.g. core-image-sato sets it conditionally like QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}' I wonder what happens with this change, will it get reset to 256 for qemuarm64 when not using opengl ? > # Boot into U-Boot and let that scan the disk for the next step, don't > pass any kernel or filesystem hints > QB_DEFAULT_BIOS ?= "u-boot.bin" > QB_DEFAULT_KERNEL ?= "none" > -- > 2.34.1 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#13809): > https://lists.yoctoproject.org/g/poky/message/13809 > Mute This Topic: https://lists.yoctoproject.org/mt/116913418/1997914 > Group Owner: poky+owner@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [ > raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > >
diff --git a/meta-yocto-bsp/conf/machine/genericarm64.conf b/meta-yocto-bsp/conf/machine/genericarm64.conf index 5d1010e..ce22b17 100644 --- a/meta-yocto-bsp/conf/machine/genericarm64.conf +++ b/meta-yocto-bsp/conf/machine/genericarm64.conf @@ -57,6 +57,7 @@ QB_MACHINE ?= "-machine virt" QB_CPU ?= "-cpu cortex-a76" QB_CPU_KVM ?= "-cpu host -machine gic-version=3" QB_SMP ?= "-smp 4" +QB_MEM ?= "-m 512" # Boot into U-Boot and let that scan the disk for the next step, don't pass any kernel or filesystem hints QB_DEFAULT_BIOS ?= "u-boot.bin" QB_DEFAULT_KERNEL ?= "none"
The genericarm64 initramfs is larger than 256 Mb which is the default runqemu memory config and thus boot fails when extracted initramfs does not fit. Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> --- meta-yocto-bsp/conf/machine/genericarm64.conf | 1 + 1 file changed, 1 insertion(+)