All of lore.kernel.org
 help / color / mirror / Atom feed
* Subject: [PATCHv2] qemuboot: change QB_MEM default strengths
@ 2020-10-08 10:50 Brett Warren
  2020-10-08 11:36 ` [OE-core] " Alexander Kanavin
  2020-10-08 21:25 ` Khem Raj
  0 siblings, 2 replies; 7+ messages in thread
From: Brett Warren @ 2020-10-08 10:50 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1673 bytes --]

Previously, to satisfy opengl's requirement for at least 512MB
of memory, QB_MEM was overriden by core-image-sato. This made it
impossible for machine configurations to specify their own values,
so this was changed to a default asssignment. To accomodate this,
qemuboot's default assignment of QB_MEM was changed to the week
variant.

Signed-off-by: Brett Warren <brett.warren@arm.com>
---
meta/classes/qemuboot.bbclass               | 2 +-
meta/recipes-sato/images/core-image-sato.bb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/qemuboot.bbclass b/meta/classes/qemuboot.bbclass
index d8f62ef6ea..8e4ee9e49b 100644
--- a/meta/classes/qemuboot.bbclass
+++ b/meta/classes/qemuboot.bbclass
@@ -73,7 +73,7 @@
# IMAGE_CLASSES += "qemuboot"
# See "runqemu help" for more info

-QB_MEM ?= "-m 256"
+QB_MEM ??= "-m 256"
QB_SERIAL_OPT ?= "-serial mon:stdio -serial null"
QB_DEFAULT_KERNEL ?= "${KERNEL_IMAGETYPE}"
QB_DEFAULT_FSTYPE ?= "ext4"
diff --git a/meta/recipes-sato/images/core-image-sato.bb b/meta/recipes-sato/images/core-image-sato.bb
index 673106eb6d..ec5e2e20fc 100644
--- a/meta/recipes-sato/images/core-image-sato.bb
+++ b/meta/recipes-sato/images/core-image-sato.bb
@@ -11,5 +11,5 @@ inherit core-image
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 ?= '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}'
QB_MEM_qemumips = "-m 256"
--
2.17.1

[-- Attachment #2: Type: text/html, Size: 1966 bytes --]

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-10-12 10:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-08 10:50 Subject: [PATCHv2] qemuboot: change QB_MEM default strengths Brett Warren
2020-10-08 11:36 ` [OE-core] " Alexander Kanavin
2020-10-08 11:51   ` Brett Warren
2020-10-08 22:00     ` Alexander Kanavin
2020-10-08 22:11       ` Khem Raj
2020-10-12 10:15         ` Brett Warren
2020-10-08 21:25 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.