[PATCH 0/7] Add support for CONFIG_API on RISC-V

Mitchell Horne mhorne at freebsd.org
Fri Apr 24 22:46:43 CEST 2020


On Fri, Apr 24, 2020 at 1:52 PM Tom Rini <trini at konsulko.com> wrote:
>
> On Mon, Apr 20, 2020 at 06:34:11PM -0400, mhorne at FreeBSD.org wrote:
>
> > From: Mitchell Horne <mhorne at FreeBSD.org>
> >
> > FreeBSD makes use of u-boot's CONFIG_API to provide a version of its
> > standard bootloader for embedded architectures. This series adds the
> > necessary support for the RISC-V architecture, along with some small
> > fixes to the API demo program for 64-bit systems.
>
> Adding in the RISC-V maintainer and EFI maintainer.  I thought the
> intention was for OSes to use the EFI loader here, even for "embedded" ?
> Thanks!
>

Hi Tom,

You are right, EFI is preferred. FreeBSD's loader has two
implementations on arm: one that is an EFI application, and one based
on this u-boot API (known as "ubldr"). ubldr precedes the EFI
implementation by a few years.

For RISC-V my intention is also to implement both versions, and ubldr
was simpler on FreeBSD's side, so I chose to do that first. Do you
think this series is still worth pursuing if u-boot is going the way
of EFI?

Cheers,
Mitchell


> --
> Tom


More information about the U-Boot mailing list