Skip to contentSkip to conversation

core-image-sato: Fix runqemu error for qemuarmv5

PATCH New Jon Mason 1 participant 1 message Sep 16, 2021

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-sato/images/core-image-sato.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-sato/images/core-image-sato.bb +1 -0
index 35d06677379a..e63a229d1257 100644
@@ -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"
Signature · 1 line
2.20.1