> -----Original Message----- > From: Bin Meng <bmeng...@gmail.com> > Sent: 22 June 2020 17:57 > To: Anup Patel <anup.pa...@wdc.com> > Cc: Alistair Francis <alistair.fran...@wdc.com>; Bastian Koppelmann > <kbast...@mail.uni-paderborn.de>; Palmer Dabbelt > <palmerdabb...@google.com>; Sagar Karandikar > <sag...@eecs.berkeley.edu>; qemu-devel@nongnu.org; qemu- > ri...@nongnu.org; Anup Patel <a...@brainfault.org>; Bin Meng > <bin.m...@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.pa...@wdc.com> wrote: > > > > > > > > > -----Original Message----- > > > From: Bin Meng <bmeng...@gmail.com> > > > Sent: 22 June 2020 17:43 > > > To: Anup Patel <anup.pa...@wdc.com> > > > Cc: Alistair Francis <alistair.fran...@wdc.com>; Bastian Koppelmann > > > <kbast...@mail.uni-paderborn.de>; Palmer Dabbelt > > > <palmerdabb...@google.com>; Sagar Karandikar > > > <sag...@eecs.berkeley.edu>; qemu-devel@nongnu.org; qemu- > > > ri...@nongnu.org; Anup Patel <a...@brainfault.org>; Bin Meng > > > <bin.m...@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.pa...@wdc.com> > wrote: > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Qemu-riscv <qemu-riscv- > > > > > bounces+anup.patel=wdc....@nongnu.org> On Behalf Of Bin Meng > > > > > Sent: 22 June 2020 12:03 > > > > > To: Alistair Francis <alistair.fran...@wdc.com>; Bastian > > > > > Koppelmann <kbast...@mail.uni-paderborn.de>; Palmer Dabbelt > > > > > <palmerdabb...@google.com>; Sagar Karandikar > > > > > <sag...@eecs.berkeley.edu>; qemu-devel@nongnu.org; qemu- > > > > > ri...@nongnu.org > > > > > Cc: Anup Patel <a...@brainfault.org>; Bin Meng > > > > > <bin.m...@windriver.com> > > > > > Subject: [PATCH v2 0/7] riscv: Switch to use generic platform of > > > > > opensbi bios images > > > > > > > > > > From: Bin Meng <bin.m...@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