mbox series

[00/10] riscv: Various fixes and small enhancements

Message ID 20230626160030.93063-1-bmeng.cn@gmail.com
Headers show
Series riscv: Various fixes and small enhancements | expand

Message

Bin Meng June 26, 2023, 4 p.m. UTC
A bug report [1] was filed recently against HiFive Unleashed board that
it did not build. Although I could not reproduce the build failure, it
does make sense to upgrade the OpenSBI version for this board, as
discussed in the bug report.

Now OpenSBI version is bumped up to 1.3 in this series for all RISC-V
boards. For HiFive Unleashed board I decided to use the latest U-Boot
release as well, which requires some new changes.

The Kconfig options of RISC-V boards have been cleaned up. Instructions
of using QEMU to test the HiFive Unleashed board images are added.

[1] https://bugs.busybox.net/show_bug.cgi?id=15658


Bin Meng (10):
  configs/hifive_unleashed: Update to use OpenSBI 1.2
  configs/hifive_unleashed: Update to use U-Boot v2023.04
  configs/hifive_unleashed: Enable BR2_RISCV_ISA_CUSTOM_RVA explicitly
  configs/beaglev_defconfig: Enable BR2_RISCV_ISA_CUSTOM_RVA explicitly
  arch/Config.in.riscv: Remove BR2_RISCV_ISA_CUSTOM_RVA from
    BR2_riscv_custom
  configs: riscv: Drop BR2_TARGET_OPENSBI_CUSTOM_VERSION
  boot/opensbi: Config.in: Cosmetic style fix
  boot/opensbi: Bump to version 1.3
  board/sifive: hifive-unleashed: Update rootfs offset
  board/sifive: hifive-unleashed: Include QEMU instructions in
    readme.txt

 arch/Config.in.riscv                            |  1 -
 .../sifive/hifive-unleashed/genimage_sdcard.cfg |  1 +
 board/sifive/hifive-unleashed/readme.txt        | 17 +++++++++++++++++
 boot/opensbi/Config.in                          |  6 +++---
 boot/opensbi/opensbi.hash                       |  2 +-
 configs/beaglev_defconfig                       |  1 +
 configs/hifive_unleashed_defconfig              | 10 +++++-----
 configs/nezha_defconfig                         |  2 --
 configs/qemu_riscv32_virt_defconfig             |  2 --
 configs/qemu_riscv64_virt_defconfig             |  2 --
 configs/sipeed_lichee_rv_defconfig              |  2 --
 configs/sipeed_lichee_rv_dock_defconfig         |  2 --
 configs/spike_riscv64_defconfig                 |  2 --
 13 files changed, 28 insertions(+), 22 deletions(-)

Comments

Yann E. MORIN June 26, 2023, 5:04 p.m. UTC | #1
Bin, All,

On 2023-06-27 00:00 +0800, Bin Meng spake thusly:
> A bug report [1] was filed recently against HiFive Unleashed board that
> it did not build. Although I could not reproduce the build failure, it
> does make sense to upgrade the OpenSBI version for this board, as
> discussed in the bug report.
> 
> Now OpenSBI version is bumped up to 1.3 in this series for all RISC-V
> boards. For HiFive Unleashed board I decided to use the latest U-Boot
> release as well, which requires some new changes.
> 
> The Kconfig options of RISC-V boards have been cleaned up. Instructions
> of using QEMU to test the HiFive Unleashed board images are added.
> 
> [1] https://bugs.busybox.net/show_bug.cgi?id=15658
> 
> 
> Bin Meng (10):
>   configs/hifive_unleashed: Update to use OpenSBI 1.2
>   configs/hifive_unleashed: Update to use U-Boot v2023.04
>   configs/hifive_unleashed: Enable BR2_RISCV_ISA_CUSTOM_RVA explicitly
>   configs/beaglev_defconfig: Enable BR2_RISCV_ISA_CUSTOM_RVA explicitly
>   arch/Config.in.riscv: Remove BR2_RISCV_ISA_CUSTOM_RVA from
>     BR2_riscv_custom

I've applied the first fice patches to master.

>   configs: riscv: Drop BR2_TARGET_OPENSBI_CUSTOM_VERSION

I'll reply to that one realy soon...

>   boot/opensbi: Config.in: Cosmetic style fix
>   boot/opensbi: Bump to version 1.3

I've applied those two to master too.

>   board/sifive: hifive-unleashed: Update rootfs offset
>   board/sifive: hifive-unleashed: Include QEMU instructions in
>     readme.txt

I'll handle those two very soon.

Thanks!

Regards,
Yann E. MORIN.

> 
>  arch/Config.in.riscv                            |  1 -
>  .../sifive/hifive-unleashed/genimage_sdcard.cfg |  1 +
>  board/sifive/hifive-unleashed/readme.txt        | 17 +++++++++++++++++
>  boot/opensbi/Config.in                          |  6 +++---
>  boot/opensbi/opensbi.hash                       |  2 +-
>  configs/beaglev_defconfig                       |  1 +
>  configs/hifive_unleashed_defconfig              | 10 +++++-----
>  configs/nezha_defconfig                         |  2 --
>  configs/qemu_riscv32_virt_defconfig             |  2 --
>  configs/qemu_riscv64_virt_defconfig             |  2 --
>  configs/sipeed_lichee_rv_defconfig              |  2 --
>  configs/sipeed_lichee_rv_dock_defconfig         |  2 --
>  configs/spike_riscv64_defconfig                 |  2 --
>  13 files changed, 28 insertions(+), 22 deletions(-)
> 
> -- 
> 2.34.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot