RISC-V: discard SBI v0.1

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Apr 1 10:22:30 CEST 2021


On 01.04.21 09:56, Anup Patel wrote:
>
>
>> -----Original Message-----
>> From: Heinrich Schuchardt <xypron.glpk at gmx.de>
>> Sent: 01 April 2021 12:40
>> To: Anup Patel <Anup.Patel at wdc.com>
>> Cc: Carl Perry <caperry at edolnx.net>; BeagleV Beta <beaglev-
>> beta at googlegroups.com>; Drew Fustini <drew at beagleboard.org>; Wei Fu
>> <tekkamanninja at gmail.com>
>> Subject: Re: [BeagleV Beta] Questions about bootup
>>
>> On 4/1/21 7:22 AM, Drew Fustini wrote:
>>> On Wed, Mar 31, 2021 at 9:51 PM Anup Patel <Anup.Patel at wdc.com>
>> wrote:
>>>>

<snip/>

>>>>
>>>> We will be sending out Linux RISC-V patches to totally remove SBI v0.1
>> support.
>>>> Once this is done, the upstream Linux RISC-V will not work with BBL
>>>> because BBL is stuck at SBI v0.1.
>>
>> Hello Anup,
>>
>> Will you do the same for U-Boot? This would allow to simplify the coding.
>
> Sure, I can do that for U-Boot as well. The idea is to make SBI v0.2 as the
> minimal required SBI version on all important open-source projects so that
> these projects don't need to keep supporting the legacy SBI v0.1 which is
> not at all extensible.

Yes, SBI v0.1 is obsolete.

microchip_mpfs_icicle_defconfig is currently the only board using
CONFIG_SBI_V01.

According to
https://u-boot.readthedocs.io/en/latest/board/microchip/mpfs_icicle.html
it is already on OpenSBI.

I hope Padmarao and Cyril can lift this platform to use the current
version of OpenSBI.

Best regards

Heinrich

>
>>
>> Do you want to keep non-SBI compatibility?
>
> Linux M-mode (and U-Boot M-mode) will always be non-SBI whereas
> Linux S-mode (and U-Boot S-mode) will always be SBI aware.
>
> Regards,
> Anup


More information about the U-Boot mailing list