Skip to contentSkip to conversation

opensbi: bump to 1.8

PATCH Superseded [email protected] 3 participants 4 messages Jan 6 – Jan 7 RISC-V

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opensbi: bump to 1.8

From: Thomas Perrot <[email protected]>

This release has:
- Safe and reverse list iteration
- Stack protector support
- Allocate heap housekeeping nodes dynamically
- IPI device ratings
- Andes QiLai SoC support
- SpacemiT K1 SoC support
- ESWIN Computing EIC7700 SoC support
- Moved Ariane and Openpiton to generic platform
- SiFive CLINT v2 support
- Simple FDT based cache library
- SiFive PL2 cache controller driver
- SiFive Extensible Cache (EC) driver
- SiFive TMC0 based HSM driver
- SiFive SMC0 based system suspend driver
- MPXY RPMI mailbox driver for voltage service group
- MPXY RPMI mailbox driver for device power service group
- MPXY RPMI mailbox driver for performance service group
- HART protection abstraction

Overall, this release has various domain related improvements and also adds multiple platform support.

Also switch Qemu -cpu parameter to rv64 because rva23s64 and rva22s64 profiles lack PMP entries, causing hart isolation configuration to fail [1].

[1] https://lists.nongnu.org/archive/html/qemu-riscv/2026-01/msg00048.html

---
 meta/conf/machine/include/riscv/qemuriscv.inc               | 2 +-
 meta/recipes-bsp/opensbi/{opensbi_1.7.bb => opensbi_1.8.bb} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-bsp/opensbi/{opensbi_1.7.bb => opensbi_1.8.bb} (97%)
meta/conf/machine/include/riscv/qemuriscv.inc +1 -1
index b755d32c9d1a..45fcf36e62d9 100644
@@ -27,7 +27,7 @@ UBOOT_ENTRYPOINT:riscv64 = "0x80200000"
 # qemuboot options
 QB_SMP ?= "-smp 4"
 QB_KERNEL_CMDLINE_APPEND = "earlycon=sbi"
-QB_CPU:riscv64 ?= "-cpu rva23s64"
+QB_CPU:riscv64 ?= "-cpu rv64"
 QB_MACHINE = "-machine virt"
 QB_DEFAULT_BIOS = "fw_jump.elf"
 QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"
meta/recipes-bsp/opensbi/opensbi_1.8.bb renamed from meta/recipes-bsp/opensbi/opensbi_1.7.bb +1 -1
similarity index 97%
rename from meta/recipes-bsp/opensbi/opensbi_1.7.bb
rename to meta/recipes-bsp/opensbi/opensbi_1.8.bb
index a460062e9398..f2d3e9f20082 100644
@@ -8,7 +8,7 @@ require opensbi-payloads.inc
 
 inherit deploy
 
-SRCREV = "a32a91069119e7a5aa31e6bc51d5e00860be3d80"
+SRCREV = "e7fa66c2160ec139de1853a00f669c09320a9256"
 SRC_URI = "git://github.com/riscv/opensbi.git;branch=master;protocol=https"
 
 TARGET_DBGSRC_DIR = "/share/opensbi/*/generic/firmware/"
Signature · 1 line
2.52.0
#1 lore raw
Quoted 59 lines · Thomas Perrot via lists.openembedded.org

From: Thomas Perrot <[email protected]>

This release has:
- Safe and reverse list iteration
- Stack protector support
- Allocate heap housekeeping nodes dynamically
- IPI device ratings
- Andes QiLai SoC support
- SpacemiT K1 SoC support
- ESWIN Computing EIC7700 SoC support
- Moved Ariane and Openpiton to generic platform
- SiFive CLINT v2 support
- Simple FDT based cache library
- SiFive PL2 cache controller driver
- SiFive Extensible Cache (EC) driver
- SiFive TMC0 based HSM driver
- SiFive SMC0 based system suspend driver
- MPXY RPMI mailbox driver for voltage service group
- MPXY RPMI mailbox driver for device power service group
- MPXY RPMI mailbox driver for performance service group
- HART protection abstraction

Overall, this release has various domain related improvements and also adds multiple platform support.

Also switch Qemu -cpu parameter to rv64 because rva23s64 and rva22s64 profiles lack PMP entries, causing hart isolation configuration to fail [1].

[1] https://lists.nongnu.org/archive/html/qemu-riscv/2026-01/msg00048.html

---
 meta/conf/machine/include/riscv/qemuriscv.inc               | 2 +-
 meta/recipes-bsp/opensbi/{opensbi_1.7.bb => opensbi_1.8.bb} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-bsp/opensbi/{opensbi_1.7.bb => opensbi_1.8.bb} (97%)
meta/conf/machine/include/riscv/qemuriscv.inc +1 -1
index b755d32c9d1a..45fcf36e62d9 100644
@@ -27,7 +27,7 @@ UBOOT_ENTRYPOINT:riscv64 = "0x80200000"
 # qemuboot options
 QB_SMP ?= "-smp 4"
 QB_KERNEL_CMDLINE_APPEND = "earlycon=sbi"
-QB_CPU:riscv64 ?= "-cpu rva23s64"
+QB_CPU:riscv64 ?= "-cpu rv64"
 QB_MACHINE = "-machine virt"
 QB_DEFAULT_BIOS = "fw_jump.elf"
 QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"
meta/recipes-bsp/opensbi/opensbi_1.8.bb renamed from meta/recipes-bsp/opensbi/opensbi_1.7.bb +0 -0
similarity index 97%
rename from meta/recipes-bsp/opensbi/opensbi_1.7.bb
rename to meta/recipes-bsp/opensbi/opensbi_1.8.bb
index a460062e9398..f2d3e9f20082 100644

meta/recipes-bsp/opensbi/opensbi_1.8.bb require opensbi-payloads.inc · line 12

Quoted 6 lines
meta/recipes-bsp/opensbi/opensbi_1.8.bb renamed from meta/recipes-bsp/opensbi/opensbi_1.7.bb +1 -1
@@ -8,7 +8,7 @@ require opensbi-payloads.inc
 
 inherit deploy
 
-SRCREV = "a32a91069119e7a5aa31e6bc51d5e00860be3d80"
+SRCREV = "e7fa66c2160ec139de1853a00f669c09320a9256"
 SRC_URI = "git://github.com/riscv/opensbi.git;branch=master;protocol=https"

Can you please also try including tag=v${PV} in the SRC_URI ?

Quoted 13 lines
meta/recipes-bsp/opensbi/opensbi_1.8.bb renamed from meta/recipes-bsp/opensbi/opensbi_1.7.bb +0 -1
 TARGET_DBGSRC_DIR = "/share/opensbi/*/generic/firmware/"
--

2.52.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#228935): https://lists.openembedded.org/g/openembedded-core/message/228935
Mute This Topic: https://lists.openembedded.org/mt/117115594/3619737
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 29 lines · Ankur Tyagi via lists.openembedded.org
Quoted 26 lines · Thomas Perrot via lists.openembedded.org

From: Thomas Perrot <[email protected]>

This release has:
- Safe and reverse list iteration
- Stack protector support
- Allocate heap housekeeping nodes dynamically
- IPI device ratings
- Andes QiLai SoC support
- SpacemiT K1 SoC support
- ESWIN Computing EIC7700 SoC support
- Moved Ariane and Openpiton to generic platform
- SiFive CLINT v2 support
- Simple FDT based cache library
- SiFive PL2 cache controller driver
- SiFive Extensible Cache (EC) driver
- SiFive TMC0 based HSM driver
- SiFive SMC0 based system suspend driver
- MPXY RPMI mailbox driver for voltage service group
- MPXY RPMI mailbox driver for device power service group
- MPXY RPMI mailbox driver for performance service group
- HART protection abstraction

Overall, this release has various domain related improvements and also adds multiple platform support.

Quoted 7 lines
Quoted 2 lines

Also switch Qemu -cpu parameter to rv64 because rva23s64 and rva22s64 profiles lack PMP entries, causing hart isolation configuration to fail

[1].

Quoted 2 lines

[1]

https://lists.nongnu.org/archive/html/qemu-riscv/2026-01/msg00048.html

Quoted 1 line

Is this change temporary ? This change to rva23 is intentional and we want to continue to use it so we can use rvv 1.0 switching back in a less than ideal
Can you explore more

Quoted 60 lines
Quoted 6 lines
---
 meta/conf/machine/include/riscv/qemuriscv.inc               | 2 +-
 meta/recipes-bsp/opensbi/{opensbi_1.7.bb => opensbi_1.8.bb} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-bsp/opensbi/{opensbi_1.7.bb => opensbi_1.8.bb}

(97%)

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta/conf/machine/include/riscv/qemuriscv.inc

Review

Quoted 13 lines

index b755d32c9d1a..45fcf36e62d9 100644

meta/conf/machine/include/riscv/qemuriscv.inc +1 -1
@@ -27,7 +27,7 @@ UBOOT_ENTRYPOINT:riscv64 = "0x80200000"
 # qemuboot options
 QB_SMP ?= "-smp 4"
 QB_KERNEL_CMDLINE_APPEND = "earlycon=sbi"
-QB_CPU:riscv64 ?= "-cpu rva23s64"
+QB_CPU:riscv64 ?= "-cpu rv64"
 QB_MACHINE = "-machine virt"
 QB_DEFAULT_BIOS = "fw_jump.elf"
 QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"
(quoted diff) +0 -0

b/meta/recipes-bsp/opensbi/opensbi_1.8.bb

meta/recipes-bsp/opensbi/opensbi_1.8.bb require opensbi-payloads.inc · line 12

Quoted 13 lines

similarity index 97%
rename from meta/recipes-bsp/opensbi/opensbi_1.7.bb rename to meta/recipes-bsp/opensbi/opensbi_1.8.bb index a460062e9398..f2d3e9f20082 100644

meta/recipes-bsp/opensbi/opensbi_1.8.bb renamed from meta/recipes-bsp/opensbi/opensbi_1.7.bb +1 -1
@@ -8,7 +8,7 @@ require opensbi-payloads.inc
 
 inherit deploy
 
-SRCREV = "a32a91069119e7a5aa31e6bc51d5e00860be3d80"
+SRCREV = "e7fa66c2160ec139de1853a00f669c09320a9256"
 SRC_URI = "git://

github.com/riscv/opensbi.git;branch=master;protocol=https"

Can you please also try including tag=v${PV} in the SRC_URI ?

Quoted 7 lines
meta/recipes-bsp/opensbi/opensbi_1.8.bb renamed from meta/recipes-bsp/opensbi/opensbi_1.7.bb +0 -1
 TARGET_DBGSRC_DIR = "/share/opensbi/*/generic/firmware/"
--

2.52.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#228936):
https://lists.openembedded.org/g/openembedded-core/message/228936
Mute This Topic: https://lists.openembedded.org/mt/117115594/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

Hello,

Quoted 44 lines · Khem Raj via lists.openembedded.org
Quoted 29 lines · Ankur Tyagi via lists.openembedded.org
Quoted 26 lines · Thomas Perrot via lists.openembedded.org

From: Thomas Perrot <[email protected]>

This release has:
- Safe and reverse list iteration
- Stack protector support
- Allocate heap housekeeping nodes dynamically
- IPI device ratings
- Andes QiLai SoC support
- SpacemiT K1 SoC support
- ESWIN Computing EIC7700 SoC support
- Moved Ariane and Openpiton to generic platform
- SiFive CLINT v2 support
- Simple FDT based cache library
- SiFive PL2 cache controller driver
- SiFive Extensible Cache (EC) driver
- SiFive TMC0 based HSM driver
- SiFive SMC0 based system suspend driver
- MPXY RPMI mailbox driver for voltage service group
- MPXY RPMI mailbox driver for device power service group
- MPXY RPMI mailbox driver for performance service group
- HART protection abstraction

Overall, this release has various domain related improvements and also adds multiple platform support.

Quoted 9 lines
Quoted 8 lines

Also switch Qemu -cpu parameter to rv64 because rva23s64 and rva22s64
profiles lack PMP entries, causing hart isolation configuration to fail [1].

[1]
https://lists.nongnu.org/archive/html/qemu-riscv/2026-01/msg00048.html

Quoted 4 lines

Is this change temporary ? This change to rva23 is intentional and we want to continue to use it so we can use rvv 1.0 switching back in a less than ideal
Can you explore more

Yes, I can. It seems possible to enable PMP support on Qemu with rva23.

Kind regards,
Thomas Perrot

Quoted 68 lines
Quoted 38 lines
Quoted 38 lines

---
  meta/conf/machine/include/riscv/qemuriscv.inc               | 2

+-
  meta/recipes-bsp/opensbi/{opensbi_1.7.bb => opensbi_1.8.bb} | 2
+-
  2 files changed, 2 insertions(+), 2 deletions(-)

  rename meta/recipes-bsp/opensbi/{opensbi_1.7.bb => opensbi_1.8.bb} (97%)

meta/conf/machine/include/riscv/qemuriscv.inc +0 -0
index b755d32c9d1a..45fcf36e62d9 100644
@@ -27,7 +27,7 @@ UBOOT_ENTRYPOINT:riscv64 = "0x80200000"
   # qemuboot options

  QB_SMP ?= "-smp 4"
  QB_KERNEL_CMDLINE_APPEND = "earlycon=sbi"

meta/conf/machine/include/riscv/qemuriscv.inc +1 -1
-QB_CPU:riscv64 ?= "-cpu rva23s64"
+QB_CPU:riscv64 ?= "-cpu rv64"

  QB_MACHINE = "-machine virt"
  QB_DEFAULT_BIOS = "fw_jump.elf"
  QB_TAP_OPT = "-netdev
tap,id=net0,ifname=@TAP@,script=no,downscript=no"

meta/recipes-bsp/opensbi/opensbi_1.8.bb renamed from meta/recipes-bsp/opensbi/opensbi_1.7.bb +0 -0
similarity index 97%
rename from meta/recipes-bsp/opensbi/opensbi_1.7.bb
rename to meta/recipes-bsp/opensbi/opensbi_1.8.bb
index a460062e9398..f2d3e9f20082 100644
@@ -8,7 +8,7 @@ require opensbi-payloads.inc
 
Quoted 19 lines
Quoted 6 lines

  inherit deploy

meta/recipes-bsp/opensbi/opensbi_1.8.bb renamed from meta/recipes-bsp/opensbi/opensbi_1.7.bb +1 -1
-SRCREV = "a32a91069119e7a5aa31e6bc51d5e00860be3d80"
+SRCREV = "e7fa66c2160ec139de1853a00f669c09320a9256"

  SRC_URI = "git://github.com/riscv/opensbi.git;branch=master;protocol=https"

Can you please also try including tag=v${PV} in the SRC_URI ?

Quoted 7 lines

  TARGET_DBGSRC_DIR = "/share/opensbi/*/generic/firmware/" --
2.52.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#228942):
https://lists.openembedded.org/g/openembedded-core/message/228942
Mute This Topic: https://lists.openembedded.org/mt/117115594/5443093
Group Owner: [email protected] Unsubscribe:
https://lists.openembedded.org/g/openembedded-core/unsub [
[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com