QEMU spike machine support for U-Boot
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 7 repliesIn review
- v13 patches 15 repliesSuperseded
Changes in v2 from the cover letter
- Use ofnode_by_compatible() in PATCH3
- Updated QEMU RISC-V documentation in PATCH4
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | serial: Add RISC-V HTIF console driverdrivers/ drivers/ drivers/ | +187 | 1 reply | |
| 2/4 | riscv: qemu: Enable HTIF console supportboard/ | +1 | 1 reply | |
| 3/4 | riscv: qemu: Implement is_flash_available() for MTD NORboard/ | +12 | 2 replies | |
| 4/4 | doc: qemu-riscv: Update documentation for QEMU spike machinedoc/ | +32 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Philipp Tomsich | Rick Chen | Bin Meng |
|---|---|---|---|
| 1/4 | R-b | R-b | T-b |
| 2/4 | R-b | R-b | R-b T-b |
| 3/4 | R-b | R-b T-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 0/4] QEMU spike machine support for U-Boot
We can use same U-Boot binary compiled using qemu-riscv64_smode_defconfig on QEMU virt machine and QEMU spike machine. To achieve this, we need HTIF console support for U-Boot QEMU RISC-V board hence this series.
To test this series with latest OpenSBI, we can use the following command:
qemu-system-riscv64 -M spike -m 256M -display none -serial stdio \
-bios opensbi/build/platform/generic/firmware/fw_jump.bin -kernel \
./u-boot/u-boot.bin
These patch can be found in qemu_riscv_htif_v2 branch at:
https://github.com/avpatel/u-boot.git
Changes since v1:
- Use ofnode_by_compatible() in PATCH3
- Updated QEMU RISC-V documentation in PATCH4
Anup Patel (4):
serial: Add RISC-V HTIF console driver
riscv: qemu: Enable HTIF console support
riscv: qemu: Implement is_flash_available() for MTD NOR
doc: qemu-riscv: Update documentation for QEMU spike machine
board/emulation/qemu-riscv/Kconfig | 1 + board/emulation/qemu-riscv/qemu-riscv.c | 12 ++ doc/board/emulation/qemu-riscv.rst | 48 ++++--- drivers/serial/Kconfig | 8 ++ drivers/serial/Makefile | 1 + drivers/serial/serial_htif.c | 178 ++++++++++++++++++++++++ 6 files changed, 232 insertions(+), 16 deletions(-) create mode 100644 drivers/serial/serial_htif.c
Signature · 1 line
2.25.1