All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexander A. Filippov" <a.filippov@yadro.com>
To: <openbmc@lists.ozlabs.org>
Subject: Re: Any idea of when qemu-system-arm will be supported for https://github.com/Intel-BMC/openbmc ?
Date: Mon, 30 Mar 2020 12:00:18 +0300	[thread overview]
Message-ID: <20200330090018.GA20872@bbwork.lan> (raw)
In-Reply-To: <1d854d104f3a48dd8f2c3929fc93a68b@SCL-EXCHMB-13.phoenix.com>

On Fri, Mar 27, 2020 at 05:17:37PM +0000, Bruce Mitchell wrote:
> Any idea of when qemu-system-arm will be supported for https://github.com/Intel-BMC/openbmc ?
> 
> 

It depends on what you want from qemu.

For example, I use qemu to check that the firmware image is bootable and works
fine:
```
qemu-system-arm -M ast2500-evb -m size=512M \
    -nographic -nodefaults -serial mon:stdio \
    -net nic,model=ftgmac100 \
    -drive file=<path-to-image-mtd>,format=raw,if=mtd
```

This way has some failures:
 - There is emulated MTD falsh drive only 32M size. As a result fit-image-b and
   u-boot-env partitions are unreadable.
 - There is no managed host. So there are not work the host power state
   management, KVM, Virtual Media and so on. 

Probably there are more failures, which I have not noticed.

While writing these lines I remembered that I use qemu-system-arm, built from
source on https://github.com/openbmc/qemu.
It's important, because the qemu-system-arm from my distro is too old and this
image is not working with it.


Alexander.

  reply	other threads:[~2020-03-30  9:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-27 17:17 Any idea of when qemu-system-arm will be supported for https://github.com/Intel-BMC/openbmc ? Bruce Mitchell
2020-03-30  9:00 ` Alexander A. Filippov [this message]
2020-03-30 14:35   ` Bruce Mitchell
2020-03-30 16:17     ` Alexander A. Filippov
2020-03-31  7:50       ` Wim Vervoorn
2020-04-01 15:22     ` Cédric Le Goater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200330090018.GA20872@bbwork.lan \
    --to=a.filippov@yadro.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.