[Bug 2026588] Re: [SRU] Copy OpenSBI 1.3 to Jammy and Lunar
Heinrich Schuchardt
2026588 at bugs.launchpad.net
Tue Jul 25 14:18:54 UTC 2023
The updated u-boot-nezha packages work fine:
On the Sipeed Lichee RV u-boot-nezha_2022.10-1089-g528ae9bc6c-0ubuntu1.23.04.1_all.deb displays
U-Boot 2022.10 (Jul 20 2023 - 09:48:42 +0000) Allwinner Technology
The sbi commands shows "OpenSBI v1.3".
Reset in U-Boot is functional.
Reset from Linux is funcitonal.
On the Sipeed Lichee RV u-boot-nezha_2022.04+git20220405.7446a472-0ubuntu0.3_all.deb displays
U-Boot 2022.04 (Jul 20 2023 - 09:56:44 +0000)
The sbi commands shows "OpenSBI v1.3".
Reset in U-Boot is functional.
Reset from Linux is functional.
On the Allwinner Nezha D1 u-boot-nezha_2022.10-1089-g528ae9bc6c-0ubuntu1.23.04.1_all.deb displays
U-Boot 2022.10 (Jul 20 2023 - 09:48:42 +0000) Allwinner Technology
The sbi commands shows "OpenSBI v1.3".
Reset in U-Boot is functional.
Reset from Linux is funcitonal.
On the Allwinner Nezha D1 u-boot-nezha_2022.04+git20220405.7446a472-0ubuntu0.3_all.deb displays
U-Boot 2022.04 (Jul 20 2023 - 09:56:44 +0000)
The sbi commands shows "OpenSBI v1.3".
Reset in U-Boot is functional.
Reset from Linux is functional.
** Tags removed: verification-needed verification-needed-jammy verification-needed-lunar
** Tags added: verification-done verification-done-jammy verification-done-lunar
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to u-boot in Ubuntu.
https://bugs.launchpad.net/bugs/2026588
Title:
[SRU] Copy OpenSBI 1.3 to Jammy and Lunar
Status in opensbi package in Ubuntu:
Invalid
Status in u-boot package in Ubuntu:
Invalid
Status in u-boot-nezha package in Ubuntu:
Invalid
Status in opensbi source package in Jammy:
Fix Committed
Status in u-boot source package in Jammy:
Fix Committed
Status in u-boot-nezha source package in Jammy:
Fix Committed
Status in opensbi source package in Lunar:
Fix Committed
Status in u-boot source package in Lunar:
Fix Committed
Status in u-boot-nezha source package in Lunar:
Fix Committed
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opensbi/+bug/2026588/+subscriptions
More information about the foundations-bugs
mailing list