Skip to contentSkip to conversation

RISC-V: discard SBI v0.1

DISCUSSION Heinrich Schuchardt 1 participant 1 message Apr 1, 2021 6 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): CAPgEAj6HJB8Ju2-fO-YOfzVix2OMuq5TaAGzV_a+t4-yY_AtUA@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): DM6PR04MB620165266EB11391503C93D08D7B9@DM6PR04MB6201.namprd04.prod.outlook.com

A message that is not in the archive (sent off-list or not yet received): CAPgEAj7UQC=awdA=zEapEzpFpWRcnFAFTZGFwBYYfN3dG00AXA@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): DM6PR04MB6201CD94B8E93A098A5AFFD38D7B9@DM6PR04MB6201.namprd04.prod.outlook.com

#6 lore raw
Quoted 11 lines · Anup Patel
Quoted 11 lines

-----Original Message-----
From: Heinrich Schuchardt <[email protected]>
Sent: 01 April 2021 12:40
To: Anup Patel <[email protected]>
Cc: Carl Perry <[email protected]>; BeagleV Beta <beaglev- beta at googlegroups.com>; Drew Fustini <[email protected]>; Wei Fu <[email protected]>
Subject: Re: [BeagleV Beta] Questions about bootup

Quoted 4 lines
Quoted 4 lines · Drew Fustini
Quoted 1 line

On Wed, Mar 31, 2021 at 9:51 PM Anup Patel <[email protected]>

Quoted 1 line · wrote:
Quoted 1 line

<snip/>

Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines

We will be sending out Linux RISC-V patches to totally remove SBI v0.1

support.

Quoted 2 lines
Quoted 2 lines

Once this is done, the upstream Linux RISC-V will not work with BBL because BBL is stuck at SBI v0.1.

Quoted 8 lines
Quoted 3 lines

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

Quoted 9 lines
Quoted 3 lines

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