[PATCH 0/5] riscv: Switch to use generic platform of opensbi bios images

Bin Meng posted 5 patches 4 years ago
Failed in applying to current master (apply log)
There is a newer version of this series
.gitlab-ci-opensbi.yml                       |  26 +++++++----------------
hw/riscv/boot.c                              |  14 ++++++++++---
hw/riscv/sifive_u.c                          |   4 ++--
hw/riscv/spike.c                             |   9 ++++++--
hw/riscv/virt.c                              |   4 ++--
pc-bios/opensbi-riscv32-generic-fw_jump.bin  | Bin 0 -> 58032 bytes
pc-bios/opensbi-riscv32-sifive_u-fw_jump.bin | Bin 49520 -> 0 bytes
pc-bios/opensbi-riscv32-virt-fw_jump.bin     | Bin 49504 -> 0 bytes
pc-bios/opensbi-riscv64-generic-fw_jump.bin  | Bin 0 -> 66680 bytes
pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin | Bin 57936 -> 0 bytes
pc-bios/opensbi-riscv64-virt-fw_jump.bin     | Bin 57920 -> 0 bytes
roms/Makefile                                |  30 +++++++--------------------
roms/opensbi                                 |   2 +-
13 files changed, 39 insertions(+), 50 deletions(-)
create mode 100644 pc-bios/opensbi-riscv32-generic-fw_jump.bin
delete mode 100644 pc-bios/opensbi-riscv32-sifive_u-fw_jump.bin
delete mode 100644 pc-bios/opensbi-riscv32-virt-fw_jump.bin
create mode 100644 pc-bios/opensbi-riscv64-generic-fw_jump.bin
delete mode 100644 pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
delete mode 100644 pc-bios/opensbi-riscv64-virt-fw_jump.bin
[PATCH 0/5] riscv: Switch to use generic platform of opensbi bios images
Posted by Bin Meng 4 years ago
From: Bin Meng <bin.meng@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
upstream opensbi 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.


Bin Meng (5):
  roms/opensbi: Update to support building bios images for generic
    platform
  gitlab-ci/opensbi: Update GitLab CI to build generic platform
  riscv: Use pre-built bios image of generic platform for virt &
    sifive_u
  riscv/spike: Change the default bios to use generic platform image
  riscv: Suppress the error report for QEMU testing with
    riscv_find_firmware()

 .gitlab-ci-opensbi.yml                       |  26 +++++++----------------
 hw/riscv/boot.c                              |  14 ++++++++++---
 hw/riscv/sifive_u.c                          |   4 ++--
 hw/riscv/spike.c                             |   9 ++++++--
 hw/riscv/virt.c                              |   4 ++--
 pc-bios/opensbi-riscv32-generic-fw_jump.bin  | Bin 0 -> 58032 bytes
 pc-bios/opensbi-riscv32-sifive_u-fw_jump.bin | Bin 49520 -> 0 bytes
 pc-bios/opensbi-riscv32-virt-fw_jump.bin     | Bin 49504 -> 0 bytes
 pc-bios/opensbi-riscv64-generic-fw_jump.bin  | Bin 0 -> 66680 bytes
 pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin | Bin 57936 -> 0 bytes
 pc-bios/opensbi-riscv64-virt-fw_jump.bin     | Bin 57920 -> 0 bytes
 roms/Makefile                                |  30 +++++++--------------------
 roms/opensbi                                 |   2 +-
 13 files changed, 39 insertions(+), 50 deletions(-)
 create mode 100644 pc-bios/opensbi-riscv32-generic-fw_jump.bin
 delete mode 100644 pc-bios/opensbi-riscv32-sifive_u-fw_jump.bin
 delete mode 100644 pc-bios/opensbi-riscv32-virt-fw_jump.bin
 create mode 100644 pc-bios/opensbi-riscv64-generic-fw_jump.bin
 delete mode 100644 pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
 delete mode 100644 pc-bios/opensbi-riscv64-virt-fw_jump.bin

-- 
2.7.4