From: Jon Mason Date: Thu, 16 Sep 2021 22:19:32 +0000 (-0400) Subject: core-image-sato: Fix runqemu error for qemuarmv5 X-Git-Tag: yocto-3.1.12~109 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4b4131f28dd4d0f61d92d0c0bb0e058a755f65b6;p=openembedded-core.git core-image-sato: Fix runqemu error for qemuarmv5 When attempting to execute runqemu on qemuarmv5, the following error is encountered: runqemu - ERROR - Failed to run qemu: qemu-system-arm: versatilepb: memory size must not exceed 256MB To work around this, limit the QB_MEM size for qemuarmv5, similar to what is being done for qemumips. Signed-off-by: Jon Mason Signed-off-by: Richard Purdie (cherry picked from commit 6450138afebffcc55ab32afadd5fb979274fff2b) Signed-off-by: Steve Sakoman --- diff --git a/meta/recipes-sato/images/core-image-sato.bb b/meta/recipes-sato/images/core-image-sato.bb index e50b24a476..300d8e0d43 100644 --- a/meta/recipes-sato/images/core-image-sato.bb +++ b/meta/recipes-sato/images/core-image-sato.bb @@ -13,4 +13,5 @@ TOOLCHAIN_HOST_TASK_append = " nativesdk-intltool nativesdk-glib-2.0" TOOLCHAIN_HOST_TASK_remove_task-populate-sdk-ext = " nativesdk-intltool nativesdk-glib-2.0" QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}' +QB_MEM_qemuarmv5 = "-m 256" QB_MEM_qemumips = "-m 256"