On Wed, Mar 10, 2021 at 7:16 PM Jon Mason <[email protected]> wrote: > > On Wed, Mar 10, 2021 at 6:30 PM Andre McCurdy <[email protected]> wrote: > > > > On Wed, Mar 10, 2021 at 3:04 PM Jon Mason <[email protected]> wrote: > > > > > > Currently seeing the following error when running runqemu on qemuarmv5: > > > runqemu - ERROR - Failed to run qemu: qemu-system-arm: versatilepb: > > > memory size must not exceed 256MB > > > > > > This is due to the memory size being set to 512 instead of the max > > > allowable of 256. Limit to this and everything is happy. > > > > > > Signed-off-by: Jon Mason <[email protected]> > > > Change-Id: I3339e50a53464b95f52a987ed37868ebf0935b07 > > > --- > > > 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 e50b24a47691..8ed8f75e9f92 100644 > > > --- a/meta/recipes-sato/images/core-image-sato.bb > > > +++ b/meta/recipes-sato/images/core-image-sato.bb > > > @@ -14,3 +14,4 @@ TOOLCHAIN_HOST_TASK_remove_task-populate-sdk-ext = " > > > nativesdk-intltool nativesd > > > > > > QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", > > > "-m 256", d)}' > > > QB_MEM_qemumips = "-m 256" > > > +QB_MEM_qemuarmv5 = "-m 256" > > > > Grepping for QB_MEM suggests there are other images which need the > > same fix. Maybe good to fix all of them at once rather than one at a > > time. > > I do not know if other machines have this same issue with qemu
It's not related to other machines. There are other images which set QB_MEM to "-m 512" based on the opengl distro feature. If qemu-system-arm versatilepb can only support 256MB then these images need to force QB_MEM to 256MB in the same way that you have done for core-image-sato. Cleaning up QB_MEM and how the qemu machine configs may more cleanly control it is a separate issue. >, and > this is probably not the best way to resolve this (as I really think > this should be part of the machine config file, and have runqemu be > smarter logic about setting the memory size). I can open a bug in > bugzilla and get back to it later. > > > > > > 2.20.1 > > > > > > > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#149265): https://lists.openembedded.org/g/openembedded-core/message/149265 Mute This Topic: https://lists.openembedded.org/mt/81241074/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
