From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heinrich Schuchardt Date: Thu, 1 Apr 2021 10:22:30 +0200 Subject: RISC-V: discard SBI v0.1 In-Reply-To: References: <3f8ca1ec-c9fb-9ad5-081e-a48d005014db@gmx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 01.04.21 09:56, Anup Patel wrote: > > >> -----Original Message----- >> From: Heinrich Schuchardt >> Sent: 01 April 2021 12:40 >> To: Anup Patel >> Cc: Carl Perry ; BeagleV Beta > beta at googlegroups.com>; Drew Fustini ; Wei Fu >> >> 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 >> wrote: >>>> >>>> >>>> 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