[PATCH 0/4] reboot SiFive Unmatched via PMIC
Nikita Shubin
nikita.shubin at maquefel.me
Tue Sep 28 03:32:50 PDT 2021
Hello Heinrich,
On Sat, 25 Sep 2021 10:11:29 +0200
Heinrich Schuchardt <heinrich.schuchardt at canonical.com> wrote:
> At some point we will have to decide on a configuration system to
> enable only those drivers that are needed for the current hardware.
> Unfortunately we cannot reuse Linux Kconfig as our license is BSD-2.
>
Actually KConfig license does not apply to the code it is building and
configuring.
> Currently if a reset driver fails it simply ends up hanging in an
> endless loop.
>
> The SiFive Unmatched will use GPIO for poweroff and I2C for reset.
>
> We need the ability to iterate through multiple reset drivers. If
> resetting is not possible, we should return to the caller with an
> error code.
How it is supposed to return to Linux kernel reset handler for example
and for what ? Could you please explain in detail ?
Yours,
Nikita Shubin
More information about the opensbi
mailing list