]> code.ossystems Code Review - openembedded-core.git/commitdiff
core-image-sato: Fix runqemu error for qemuarmv5
authorJon Mason <jdmason@kudzu.us>
Thu, 16 Sep 2021 22:19:32 +0000 (18:19 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 Sep 2021 06:30:32 +0000 (07:30 +0100)
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 <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-sato/images/core-image-sato.bb

index 35d06677379ac96ea3d572b503198d30adf6b44c..e63a229d1257f660dfe810ba7501f6d5b2b7bb5f 100644 (file)
@@ -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"