From 4b4131f28dd4d0f61d92d0c0bb0e058a755f65b6 Mon Sep 17 00:00:00 2001 From: Jon Mason Date: Thu, 16 Sep 2021 18:19:32 -0400 Subject: [PATCH] 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 --- meta/recipes-sato/images/core-image-sato.bb | 1 + 1 file changed, 1 insertion(+) 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" -- 2.40.1