qemu-riscv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH v2 0/7] riscv: Switch to use generic platform of opensbi bios


From: Anup Patel
Subject: RE: [PATCH v2 0/7] riscv: Switch to use generic platform of opensbi bios images
Date: Mon, 22 Jun 2020 12:34:30 +0000


> -----Original Message-----
> From: Bin Meng <bmeng.cn@gmail.com>
> Sent: 22 June 2020 17:57
> To: Anup Patel <Anup.Patel@wdc.com>
> Cc: Alistair Francis <Alistair.Francis@wdc.com>; Bastian Koppelmann
> <kbastian@mail.uni-paderborn.de>; Palmer Dabbelt
> <palmerdabbelt@google.com>; Sagar Karandikar
> <sagark@eecs.berkeley.edu>; qemu-devel@nongnu.org; qemu-
> riscv@nongnu.org; Anup Patel <anup@brainfault.org>; Bin Meng
> <bin.meng@windriver.com>
> Subject: Re: [PATCH v2 0/7] riscv: Switch to use generic platform of opensbi
> bios images
> 
> Hi Anup,
> 
> On Mon, Jun 22, 2020 at 8:20 PM Anup Patel <Anup.Patel@wdc.com> wrote:
> >
> >
> >
> > > -----Original Message-----
> > > From: Bin Meng <bmeng.cn@gmail.com>
> > > Sent: 22 June 2020 17:43
> > > To: Anup Patel <Anup.Patel@wdc.com>
> > > Cc: Alistair Francis <Alistair.Francis@wdc.com>; Bastian Koppelmann
> > > <kbastian@mail.uni-paderborn.de>; Palmer Dabbelt
> > > <palmerdabbelt@google.com>; Sagar Karandikar
> > > <sagark@eecs.berkeley.edu>; qemu-devel@nongnu.org; qemu-
> > > riscv@nongnu.org; Anup Patel <anup@brainfault.org>; Bin Meng
> > > <bin.meng@windriver.com>
> > > Subject: Re: [PATCH v2 0/7] riscv: Switch to use generic platform of
> > > opensbi bios images
> > >
> > > Hi Anup,
> > >
> > > On Mon, Jun 22, 2020 at 6:09 PM Anup Patel <Anup.Patel@wdc.com>
> wrote:
> > > >
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Qemu-riscv <qemu-riscv-
> > > > > bounces+anup.patel=wdc.com@nongnu.org> On Behalf Of Bin Meng
> > > > > Sent: 22 June 2020 12:03
> > > > > To: Alistair Francis <Alistair.Francis@wdc.com>; Bastian
> > > > > Koppelmann <kbastian@mail.uni-paderborn.de>; Palmer Dabbelt
> > > > > <palmerdabbelt@google.com>; Sagar Karandikar
> > > > > <sagark@eecs.berkeley.edu>; qemu-devel@nongnu.org; qemu-
> > > > > riscv@nongnu.org
> > > > > Cc: Anup Patel <anup@brainfault.org>; Bin Meng
> > > > > <bin.meng@windriver.com>
> > > > > Subject: [PATCH v2 0/7] riscv: Switch to use generic platform of
> > > > > opensbi bios images
> > > > >
> > > > > From: Bin Meng <bin.meng@windriver.com>
> > > > >
> > > > > The RISC-V generic platform is a flattened device tree (FDT)
> > > > > based platform where all platform specific functionality is
> > > > > provided based on FDT passed by previous booting stage. The
> > > > > support was added in the upstream OpenSBI
> > > > > v0.8 release recently.
> > > > >
> > > > > This series updates QEMU to switch to use generic platform of
> > > > > opensbi bios images.
> > > > >
> > > > > The patch emails do not contain binary bits, please grab all
> > > > > updates at https://github.com/lbmeng/qemu.git bios branch.
> > > >
> > > > It will be nice to have this series updated to for fw_dynamic.bin .
> > >
> > > Do you mean we include fw_dynamic.bin for virt & sifive_u, and
> > > fw_dynamic.elf for spike?
> > >
> > > But previously we agreed to include only generic platform BIN and ELF
> files.
> > > See
> > > https://lists.gnu.org/archive/html/qemu-devel/2020-05/msg00664.html
> >
> > I am suggesting to use Generic platform fw_dynamic.bin and
> > fw_dynamic.elf for QEMU virt, QEMU spike, and QEMU sifive_u machines.
> 
> Do you mean we replace fw_jump.bin with fw_dynamic.bin in QEMU? If
> everyone agrees this is the way to go, I can rebase this series on top of
> Atish's fw_dynamic.bin support series.

Yes, replace fw_jump.bin with fw_dynamic.bin in QEMU. It will definitely
benefit large kernel images (such as FreeBSD kernel) and it allow QEMU to
decide the FDT placement in DRAM.

Regards,
Anup

reply via email to

[Prev in Thread] Current Thread [Next in Thread]