Skip to contentSkip to conversation

opensbi: bump to 1.5.1

PATCH Superseded [email protected] 2 participants 5 messages Aug 2, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opensbi: bump to 1.5.1

From: Thomas Perrot <[email protected]>

This intermediate release has following fixes:
- Save/restore menvcfg only when it exists
- Adjust Sscofpmf mhpmevent mask for upper 8 bits
- Fix potential NULL pointer dereferences in SBI DBTR
- Fix incorrect size passed to sbi_zalloc() in SBI FWFT
- Check result of pmp_get() in is_pmp_entry_mapped()

---
 meta/recipes-bsp/opensbi/opensbi_1.5.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-bsp/opensbi/opensbi_1.5.bb +2 -2
index 6b31d15a051b..652b81182b80 100644
@@ -8,8 +8,8 @@ require opensbi-payloads.inc
 
 inherit autotools-brokensep deploy
 
-SRCREV = "455de672dd7c2aa1992df54dfb08dc11abbc1b1a"
-SRC_URI = "git://github.com/riscv/opensbi.git;branch=master;protocol=https"
+SRCREV = "43cace6c3671e5172d0df0a8963e552bb04b7b20"
+SRC_URI = "git://github.com/riscv/opensbi.git;branch=release-1.5.x;protocol=https"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.45.2
#1 lore raw

You need to rename the recipe as well?

Alex

Quoted 42 lines · Thomas Perrot via lists.openembedded.org

From: Thomas Perrot <[email protected]>

This intermediate release has following fixes:
- Save/restore menvcfg only when it exists
- Adjust Sscofpmf mhpmevent mask for upper 8 bits
- Fix potential NULL pointer dereferences in SBI DBTR
- Fix incorrect size passed to sbi_zalloc() in SBI FWFT
- Check result of pmp_get() in is_pmp_entry_mapped()

---
 meta/recipes-bsp/opensbi/opensbi_1.5.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-bsp/opensbi/opensbi_1.5.bb +2 -3
index 6b31d15a051b..652b81182b80 100644
@@ -8,8 +8,8 @@ require opensbi-payloads.inc
 
 inherit autotools-brokensep deploy
 
-SRCREV = "455de672dd7c2aa1992df54dfb08dc11abbc1b1a"
-SRC_URI = "git://github.com/riscv/opensbi.git;branch=master;protocol=https"
+SRCREV = "43cace6c3671e5172d0df0a8963e552bb04b7b20"
+SRC_URI = "git://github.com/riscv/opensbi.git;branch=release-1.5.x;protocol=https"
 
 S = "${WORKDIR}/git"
 
--

2.45.2

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

#2 lore raw

Hello Alexander,

Quoted 1 line · Alexander Kanavin

You need to rename the recipe as well?

As for some recipes, like the kernel recipes, I only used the first two numbers of the release version.
I can rename it to use all numbers if you prefer.

Kind regards,
Thomas Perrot

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

As for some recipes, like the kernel recipes, I only used the first two numbers of the release version.
I can rename it to use all numbers if you prefer.

PV (set via file name) needs to exactly match the version tag in git repo that matches the git revision in the recipe, it's not a preference, but standard practice. Otherwise the recipe would be packaging a random revision and not the actual PV.

Alex

#4 lore raw

Hello Alex,

Quoted 7 lines · Alexander Kanavin
Quoted 4 lines · Thomas Perrot

As for some recipes, like the kernel recipes, I only used the first two
numbers of the release version.
I can rename it to use all numbers if you prefer.

Quoted 5 lines

PV (set via file name) needs to exactly match the version tag in git repo that matches the git revision in the recipe, it's not a preference, but standard practice. Otherwise the recipe would be packaging a random revision and not the actual PV.

Thx, I'm submitting a v2 that renames the recipe.

Kind regards,
Thomas Perrot

Quoted 13 lines

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#202918):
https://lists.openembedded.org/g/openembedded-core/message/202918
Mute This Topic: https://lists.openembedded.org/mt/107683486/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