On Tue, Jan 18, 2022 at 7:18 PM Anup Patel <apa...@ventanamicro.com> 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 HTIF DT node so using this feature spike machine can now use > OpenSBI firmware BIN as bios. > > Signed-off-by: Anup Patel <apa...@ventanamicro.com> > --- > hw/char/riscv_htif.c | 33 +++++++++++++++++++---------- > hw/riscv/spike.c | 41 ++++++++++++++++++++++-------------- > include/hw/char/riscv_htif.h | 5 ++++- > include/hw/riscv/spike.h | 1 + > 4 files changed, 52 insertions(+), 28 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com>