[PATCH] roms/opensbi: Upgrade from v1.3 to v1.3.1

Bin Meng posted 1 patch 9 months, 2 weeks ago
Failed in applying to current master (apply log)
.../opensbi-riscv32-generic-fw_dynamic.bin    | Bin 135344 -> 135376 bytes
.../opensbi-riscv64-generic-fw_dynamic.bin    | Bin 138304 -> 138368 bytes
roms/opensbi                                  |   2 +-
3 files changed, 1 insertion(+), 1 deletion(-)
[PATCH] roms/opensbi: Upgrade from v1.3 to v1.3.1
Posted by Bin Meng 9 months, 2 weeks ago
Upgrade OpenSBI from v1.3 to v1.3.1 and the pre-built bios images
which fixes the boot failure seen when using QEMU to do a direct
kernel boot with Microchip Icicle Kit board machine.

The v1.3.1 release includes the following commits:

0907de3 lib: sbi: fix comment indent
eb736a5 lib: sbi_pmu: Avoid out of bounds access
7828eeb gpio/desginware: add Synopsys DesignWare APB GPIO support
c6a3573 lib: utils: Fix sbi_hartid_to_scratch() usage in ACLINT drivers
057eb10 lib: utils/gpio: Fix RV32 compile error for designware GPIO driver

Signed-off-by: Bin Meng <bmeng@tinylab.org>

---
Please pull the complete patch from https://github.com/lbmeng/qemu
opensbi branch.

 .../opensbi-riscv32-generic-fw_dynamic.bin    | Bin 135344 -> 135376 bytes
 .../opensbi-riscv64-generic-fw_dynamic.bin    | Bin 138304 -> 138368 bytes
 roms/opensbi                                  |   2 +-
 3 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin b/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin
index 7b6c67e0ae..9a2ba3f2a4 100644
Binary files a/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin and b/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin differ
diff --git a/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin b/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin
index 1b831b412c..5d4e812819 100644
Binary files a/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin and b/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin differ
diff --git a/roms/opensbi b/roms/opensbi
index 2552799a1d..057eb10b6d 160000
--- a/roms/opensbi
+++ b/roms/opensbi
@@ -1 +1 @@
-Subproject commit 2552799a1df30a3dcd2321a8b75d61d06f5fb9fc
+Subproject commit 057eb10b6d523540012e6947d5c9f63e95244e94
-- 
2.34.1
Re: [PATCH] roms/opensbi: Upgrade from v1.3 to v1.3.1
Posted by Alistair Francis 9 months, 2 weeks ago
On Thu, Jul 20, 2023 at 3:00 AM Bin Meng <bmeng@tinylab.org> wrote:
>
> Upgrade OpenSBI from v1.3 to v1.3.1 and the pre-built bios images
> which fixes the boot failure seen when using QEMU to do a direct
> kernel boot with Microchip Icicle Kit board machine.
>
> The v1.3.1 release includes the following commits:
>
> 0907de3 lib: sbi: fix comment indent
> eb736a5 lib: sbi_pmu: Avoid out of bounds access
> 7828eeb gpio/desginware: add Synopsys DesignWare APB GPIO support
> c6a3573 lib: utils: Fix sbi_hartid_to_scratch() usage in ACLINT drivers
> 057eb10 lib: utils/gpio: Fix RV32 compile error for designware GPIO driver
>
> Signed-off-by: Bin Meng <bmeng@tinylab.org>

Thanks!

Applied to riscv-to-apply.next

Alistair

>
> ---
> Please pull the complete patch from https://github.com/lbmeng/qemu
> opensbi branch.
>
>  .../opensbi-riscv32-generic-fw_dynamic.bin    | Bin 135344 -> 135376 bytes
>  .../opensbi-riscv64-generic-fw_dynamic.bin    | Bin 138304 -> 138368 bytes
>  roms/opensbi                                  |   2 +-
>  3 files changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin b/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin
> index 7b6c67e0ae..9a2ba3f2a4 100644
> Binary files a/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin and b/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin differ
> diff --git a/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin b/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin
> index 1b831b412c..5d4e812819 100644
> Binary files a/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin and b/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin differ
> diff --git a/roms/opensbi b/roms/opensbi
> index 2552799a1d..057eb10b6d 160000
> --- a/roms/opensbi
> +++ b/roms/opensbi
> @@ -1 +1 @@
> -Subproject commit 2552799a1df30a3dcd2321a8b75d61d06f5fb9fc
> +Subproject commit 057eb10b6d523540012e6947d5c9f63e95244e94
> --
> 2.34.1
>
>
Re: [PATCH] roms/opensbi: Upgrade from v1.3 to v1.3.1
Posted by Alistair Francis 9 months, 2 weeks ago
On Thu, Jul 20, 2023 at 3:00 AM Bin Meng <bmeng@tinylab.org> wrote:
>
> Upgrade OpenSBI from v1.3 to v1.3.1 and the pre-built bios images
> which fixes the boot failure seen when using QEMU to do a direct
> kernel boot with Microchip Icicle Kit board machine.
>
> The v1.3.1 release includes the following commits:
>
> 0907de3 lib: sbi: fix comment indent
> eb736a5 lib: sbi_pmu: Avoid out of bounds access
> 7828eeb gpio/desginware: add Synopsys DesignWare APB GPIO support
> c6a3573 lib: utils: Fix sbi_hartid_to_scratch() usage in ACLINT drivers
> 057eb10 lib: utils/gpio: Fix RV32 compile error for designware GPIO driver
>
> Signed-off-by: Bin Meng <bmeng@tinylab.org>

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>

@Conor Dooley @Conor Dooley Any chance you can test this?

Alistair

>
> ---
> Please pull the complete patch from https://github.com/lbmeng/qemu
> opensbi branch.
>
>  .../opensbi-riscv32-generic-fw_dynamic.bin    | Bin 135344 -> 135376 bytes
>  .../opensbi-riscv64-generic-fw_dynamic.bin    | Bin 138304 -> 138368 bytes
>  roms/opensbi                                  |   2 +-
>  3 files changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin b/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin
> index 7b6c67e0ae..9a2ba3f2a4 100644
> Binary files a/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin and b/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin differ
> diff --git a/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin b/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin
> index 1b831b412c..5d4e812819 100644
> Binary files a/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin and b/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin differ
> diff --git a/roms/opensbi b/roms/opensbi
> index 2552799a1d..057eb10b6d 160000
> --- a/roms/opensbi
> +++ b/roms/opensbi
> @@ -1 +1 @@
> -Subproject commit 2552799a1df30a3dcd2321a8b75d61d06f5fb9fc
> +Subproject commit 057eb10b6d523540012e6947d5c9f63e95244e94
> --
> 2.34.1
>
>
Re: [PATCH] roms/opensbi: Upgrade from v1.3 to v1.3.1
Posted by Conor Dooley 9 months, 2 weeks ago
On Fri, Jul 21, 2023 at 10:04:02AM +1000, Alistair Francis wrote:
> On Thu, Jul 20, 2023 at 3:00 AM Bin Meng <bmeng@tinylab.org> wrote:
> >
> > Upgrade OpenSBI from v1.3 to v1.3.1 and the pre-built bios images
> > which fixes the boot failure seen when using QEMU to do a direct
> > kernel boot with Microchip Icicle Kit board machine.
> >
> > The v1.3.1 release includes the following commits:
> >
> > 0907de3 lib: sbi: fix comment indent
> > eb736a5 lib: sbi_pmu: Avoid out of bounds access
> > 7828eeb gpio/desginware: add Synopsys DesignWare APB GPIO support
> > c6a3573 lib: utils: Fix sbi_hartid_to_scratch() usage in ACLINT drivers
> > 057eb10 lib: utils/gpio: Fix RV32 compile error for designware GPIO driver
> >
> > Signed-off-by: Bin Meng <bmeng@tinylab.org>
> 
> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
> 
> @Conor Dooley @Conor Dooley Any chance you can test this?

Sure. I didn't se this patch because I am not subscribed to qemu-devel,
just qemu-riscv.
Tested-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.