Skip to content

riscv: Upgrade OpenSBI to v0.6 and add 32-bit sifive_u bios image

Bin Meng qemu-devel qemu-riscv 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 6 repliesIn review

Changes in v2 from the cover letter

- new patch: Upgrade opensbi from v0.5 to v0.6
- Update the 32-bit sifive_u bios image to OpenSBI v0.6
- new patch: Add GitLab jobs to build OpenSBI firmware binaries

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4roms: opensbi: Upgrade from v0.5 to v0.6pc-bios/opensbi-riscv32-virt-fw_jump.bin pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin pc-bios/opensbi-riscv64-virt-fw_jump.bin +1 more+1 -11 reply
2/4roms: opensbi: Add 32-bit firmware image for sifive_u machineMakefile pc-bios/opensbi-riscv32-sifive_u-fw_jump.bin roms/Makefile+8 -11 reply
3/4riscv: sifive_u: Update BIOS_FILENAME for 32-bithw/riscv/sifive_u.c+5 -10 replies
4/4gitlab-ci.yml: Add jobs to build OpenSBI firmware binaries.gitlab-ci-opensbi.yml .gitlab-ci.d/opensbi/Dockerfile .gitlab-ci.yml+97 -02 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAlistair Francis
1/4R-b
2/4R-b
3/4R-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] riscv: Upgrade OpenSBI to v0.6 and add 32-bit sifive_u bios image

This series advances the roms/opensbi submodule to the v0.6 release, and builds and captures platform firmware binaries from that release.

A 32-bit sifive_u bios image has also been added, so that we can have 32-bit test coverage for SiFive specific drivers that cannot be done with the 'virt' machine.

Two GitLab CI jobs are added to build the OpenSBI firmware binaries.

Changes in v2:
- new patch: Upgrade opensbi from v0.5 to v0.6
- Update the 32-bit sifive_u bios image to OpenSBI v0.6
- new patch: Add GitLab jobs to build OpenSBI firmware binaries

Bin Meng (4):
roms: opensbi: Upgrade from v0.5 to v0.6
roms: opensbi: Add 32-bit firmware image for sifive_u machine
riscv: sifive_u: Update BIOS_FILENAME for 32-bit gitlab-ci.yml: Add jobs to build OpenSBI firmware binaries

 .gitlab-ci-opensbi.yml                       |  63 +++++++++++++++++++++++++++
 .gitlab-ci.d/opensbi/Dockerfile              |  33 ++++++++++++++
 .gitlab-ci.yml                               |   1 +
 Makefile                                     |   2 +-
 hw/riscv/sifive_u.c                          |   6 ++-
 pc-bios/opensbi-riscv32-sifive_u-fw_jump.bin | Bin 0 -> 49472 bytes
 pc-bios/opensbi-riscv32-virt-fw_jump.bin     | Bin 40984 -> 41280 bytes
 pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin | Bin 49160 -> 53760 bytes
 pc-bios/opensbi-riscv64-virt-fw_jump.bin     | Bin 45064 -> 49664 bytes
 roms/Makefile                                |   7 +++
 roms/opensbi                                 |   2 +-
 11 files changed, 111 insertions(+), 3 deletions(-)
 create mode 100644 .gitlab-ci-opensbi.yml
 create mode 100644 .gitlab-ci.d/opensbi/Dockerfile
 create mode 100644 pc-bios/opensbi-riscv32-sifive_u-fw_jump.bin
Signature · 1 line
2.7.4