From: Till Dörges <doerges(a)pre-sense.de>
Sent: 29 March 2019 10:15
To: Guillaume Gardet <Guillaume.Gardet(a)arm.com>om>; opensuse-
Subject: Re: [opensuse-arm] Emulate image for Raspberry Pi2 in QEMU
Am 28.03.19 um 16:42 schrieb Guillaume Gardet:
anyone know, whether this is actually supposed to work?
Any reason to try the RPi2 image instead of an EFI image?
Yeah. An image to be deployed to an RPi2 is best prepared in a (virtual)
environment as compatible as possible.
Sure. You can use armv7 JeOS-efi (not aarch64) which is pretty close.
I did not try to use RPi2 image on qemu, but you
can use JeOS-efi image
which works properly (I tested armv7 JeOS-efi image under qemu recently).
I could easily boot the openSUSE AArch64 images for Tumbleweed and Leap
15.0 und QEMU.
Why aarch64? Use armv7l version.
It's just that QEMU appears to also support the Raspberry Pi 2, so I wanted to
get openSUSE going with that, too.
IIRC, the RPi2 support in qemu is quite limited, no graphical output, only serial. No
support for boot from firmware as only the ARM cpu is emulated, not the GPU. So, you will
need to extract kernel + initrd and pass rights options as kernel cmdline, as you are
trying to do.
Maybe adding '-nographic' option could help?
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may
also be privileged. If you are not the intended recipient, please notify the sender
immediately and do not disclose the contents to any other person, use it for any purpose,
or store or copy the information in any medium. Thank you.