[SRU] Copy OpenSBI 1.3 to Jammy and Lunar
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
opensbi (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned | ||
u-boot (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned | ||
u-boot-nezha (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
We provide an image for the StarFive VisionFive 2 board. Upstream U-Boot now provides support for the board but it requires OpenSBI 1.3. We should strive to put a current U-Boot onto our preinstalled image.
[ Test plan ]
* Rebuild current u-boot package in ppa against new OpenSBI and test running Ubuntu 22.04/23.04 on QEMU, SiFive HiFive Unmatched, and PolarFire Icicle Kit with this U-Boot.
* Use a rebuilt u-boot-nezha package to boot the Nezha D1.
* Run apt-get update, apt-get install, and execute an application.
* Run snap install and execute an application.
[ Where problems could occur ]
OpenSBI is only used directly when running a RISC-V emulation in QEMU with the bios parameter.
For all real hardware OpenSBI is built into U-Boot SPL. So getting OpenSBI onto boards will require a rebuild of U-Boot.
Theoretically upgrading OpenSBI could
* stop RISC-V boards from booting
* cause failures when the operating system calls into OpenSBI
* cause failures when OpenSBI emulates missing instructions.
[ Other Info ]
Upgrading to the same OpenSBI 1.3 that we use in Mantic instead of applying selected patches to 22.04/23.04 is easier to maintain in the long run.
description: | updated |
Changed in opensbi (Ubuntu): | |
assignee: | nobody → Heinrich Schuchardt (xypron) |
opensbi - 1.3-1ubuntu0. 23.04.1 is available in ppa:xypron/opensbi