Re: [PATCH] hw/riscv: spike: Allow using binary firmware as bios

2022-01-17 Thread Anup Patel
On Tue, Jan 18, 2022 at 11:24 AM Alistair Francis wrote: > > On Tue, Jan 18, 2022 at 3:27 PM Anup Patel wrote: > > > > On Tue, Jan 18, 2022 at 10:50 AM Alistair Francis > > wrote: > > > > > > On Sat, Jan 15, 2022 at 2:18 AM Anup Patel > > > wrote: > > > > > > > > Currently, we have to use Ope

Re: [PATCH] hw/riscv: spike: Allow using binary firmware as bios

2022-01-17 Thread Alistair Francis
On Tue, Jan 18, 2022 at 3:27 PM Anup Patel wrote: > > On Tue, Jan 18, 2022 at 10:50 AM Alistair Francis > wrote: > > > > On Sat, Jan 15, 2022 at 2:18 AM Anup Patel wrote: > > > > > > Currently, we have to use OpenSBI firmware ELF as bios for the spike > > > machine because the HTIF console requ

Re: [PATCH] hw/riscv: spike: Allow using binary firmware as bios

2022-01-17 Thread Anup Patel
On Tue, Jan 18, 2022 at 10:50 AM Alistair Francis wrote: > > On Sat, Jan 15, 2022 at 2:18 AM Anup Patel wrote: > > > > Currently, we have to use OpenSBI firmware ELF as bios for the spike > > machine because the HTIF console requires ELF for parsing "fromhost" > > and "tohost" symbols. > > > > Th

Re: [PATCH] hw/riscv: spike: Allow using binary firmware as bios

2022-01-17 Thread Alistair Francis
On Sat, Jan 15, 2022 at 2:18 AM Anup Patel wrote: > > Currently, we have to use OpenSBI firmware ELF as bios for the spike > machine because the HTIF console requires ELF for parsing "fromhost" > and "tohost" symbols. > > The latest OpenSBI can now optionally pick-up HTIF register address > from H

[PATCH] hw/riscv: spike: Allow using binary firmware as bios

2022-01-14 Thread Anup Patel
Currently, we have to use OpenSBI firmware ELF as bios for the spike machine because the HTIF console requires ELF for parsing "fromhost" and "tohost" symbols. The latest OpenSBI can now optionally pick-up HTIF register address from HTIF DT node so using this feature spike machine can now use Open