OpenSBI: system reset support missing for HiFive Unmatched

Bug #1937055 reported by Heinrich Schuchardt
This bug affects 1 person
Affects Status Importance Assigned to Milestone
opensbi (Ubuntu)
Fix Released

Bug Description

With our current images the Linux poweroff and reboot commands fail. Same for U-Boot. contains a series of patches to provide the system reset extension in OpenSBI. is starts a series of patches to upstream a system reset extension implementation.

Suggested actions:

Build OpenSBI with one of the two series and check what additional changes in Linux and U-Boot might be needed to get working poweroff and reboot.

Best regards


Tags: riscv64
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

The patches from SiFive ( for a GPIO reset driver have been added to upstream OpenSBI in July.

A patch has been sent upstream to make that driver usable if a boards supports both gpio-reset and gpio-powerdown:

[PATCH 1/1] lib: utils: support multiple reset drivers of same type

A device-tree node is missing for gpio-reset in U-Boot's device-tree.

Revision history for this message
Heinrich Schuchardt (xypron) wrote :

There is no GPIO for system reset on the HiFive unmatched.

Patches for an SBI based sysreset driver have been sent to upstream U-Boot.

The is an ongoing discussion about how UEFI runtime system reset drivers should be implemented. Some maintainers wish a driver model based solution and don't wont to follow the style of previous reset drivers like for PSCI.

Revision history for this message
Heinrich Schuchardt (xypron) wrote :

opensbi - 0.9+187.52af6e4b52-0ubuntu1 has been packaged in ppa:xypron/opensbi to resolve LP: 1937055

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package opensbi - 0.9+187.52af6e4b52-0ubuntu1

opensbi (0.9+187.52af6e4b52-0ubuntu1) jammy; urgency=medium

  * New upstream release snapshot which supports system reset on the
    SiFive Unmatched board (LP: #1937055)

 -- Heinrich Schuchardt <email address hidden> Mon, 22 Nov 2021 12:56:27 +0100

Changed in opensbi (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers