qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Sunil V L <sunilvl@ventanamicro.com>
To: Andrea Bolognani <abologna@redhat.com>
Cc: qemu-riscv@nongnu.org, qemu-devel@nongnu.org,
	Palmer Dabbelt <palmer@dabbelt.com>,
	Alistair Francis <alistair.francis@wdc.com>,
	Bin Meng <bin.meng@windriver.com>,
	Weiwei Li <liweiwei@iscas.ac.cn>,
	Daniel Henrique Barboza <dbarboza@ventanamicro.com>,
	Liu Zhiwei <zhiwei_liu@linux.alibaba.com>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>
Subject: Re: [PATCH v2] hw/riscv: virt: Assume M-mode FW in pflash0 only when "-bios none"
Date: Fri, 19 May 2023 21:44:36 +0530	[thread overview]
Message-ID: <ZGegbFr7EBanur1R@sunil-laptop> (raw)
In-Reply-To: <CABJz62Og-9mVUfBKExMU1MG=UD7mnOKsdpeuEvXpoPTVn8TS7A@mail.gmail.com>

On Fri, May 19, 2023 at 09:11:37AM -0700, Andrea Bolognani wrote:
> On Tue, Apr 25, 2023 at 03:55:45PM +0530, Sunil V L wrote:
> > qemu-system-riscv64 -bios <opensbi_fw> \
> > -drive file=<smode_fw_vars>,if=pflash,format=raw,unit=0 \
> > -drive file=<smode_fw_code>,if=pflash,format=raw,unit=1,readonly=on  \
> > -machine virt
> 
> I've noticed that edk2 for RISC-V, at least in the form it is
> currently packaged for Fedora, doesn't seem to have separate CODE and
> VARS files:
> 
>   $ ls /usr/share/edk2/riscv/* | cat
>   /usr/share/edk2/riscv/RISCV_VIRT.fd
>   /usr/share/edk2/riscv/RISCV_VIRT.raw
> 
> Is that something that needs to be addressed in upstream edk2? If so,
> will you be looking into it?
> 
Hi Andrea,

Yes, I have changes ready but before I submit EDK2 patches, I need qemu
changes merged which enables EDK2 to use both pflash.

Thanks,
Sunil


      reply	other threads:[~2023-05-19 16:15 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-25 10:25 [PATCH v2] hw/riscv: virt: Assume M-mode FW in pflash0 only when "-bios none" Sunil V L
2023-05-08  4:22 ` Sunil V L
2023-05-08  5:37 ` Heinrich Schuchardt
2023-05-08  6:07   ` Sunil V L
2023-05-08 10:00     ` Andrea Bolognani
2023-05-08 11:23       ` Sunil V L
2023-05-08 11:44         ` Andrea Bolognani
2023-05-17  4:57           ` Alistair Francis
2023-05-17  5:09             ` Sunil V L
2023-05-17  8:45             ` Andrea Bolognani
2023-05-18  4:53               ` Alistair Francis
2023-05-19 15:58                 ` Andrea Bolognani
2023-05-17  5:01           ` Sunil V L
2023-05-17 12:47       ` Philippe Mathieu-Daudé
2023-05-18  4:55         ` Alistair Francis
2023-05-18  6:03           ` Sunil V L
2023-05-19 16:34             ` Philippe Mathieu-Daudé
2023-05-19 16:40               ` Philippe Mathieu-Daudé
2023-05-23  9:58                 ` Andrea Bolognani
2023-05-18 15:34         ` Andrea Bolognani
2023-05-19 16:11 ` Andrea Bolognani
2023-05-19 16:14   ` Sunil V L [this message]

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=ZGegbFr7EBanur1R@sunil-laptop \
    --to=sunilvl@ventanamicro.com \
    --cc=abologna@redhat.com \
    --cc=alistair.francis@wdc.com \
    --cc=bin.meng@windriver.com \
    --cc=dbarboza@ventanamicro.com \
    --cc=liweiwei@iscas.ac.cn \
    --cc=palmer@dabbelt.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-riscv@nongnu.org \
    --cc=xypron.glpk@gmx.de \
    --cc=zhiwei_liu@linux.alibaba.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).