public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH 0/7] Add support for CONFIG_API on RISC-V
Date: Fri, 24 Apr 2020 16:52:16 -0400	[thread overview]
Message-ID: <20200424205216.GJ4555@bill-the-cat> (raw)
In-Reply-To: <CADeAsy3P3mzMe0Rg4xN1W5dYp3MVBW8+mbrrEU8oV6d41kzZSQ@mail.gmail.com>

On Fri, Apr 24, 2020 at 05:46:43PM -0300, Mitchell Horne wrote:
> On Fri, Apr 24, 2020 at 1:52 PM Tom Rini <trini@konsulko.com> wrote:
> >
> > On Mon, Apr 20, 2020 at 06:34:11PM -0400, mhorne at FreeBSD.org wrote:
> >
> > > From: Mitchell Horne <mhorne@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?

In my mind at least, the EFI interface is preferred as it's a defined
external standard interface.  If the architecture maintainers want to
support both the U-Boot API and EFI on RISC-V, I don't object.  But one
of the intentions is to have there be less work for OS folks to have to
do for example.  So that you found this a good first step for your use
case means perhaps we need to continue to have the U-Boot API method be
around (not that we had planned any sort of removal).  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200424/67c8a3bf/attachment.sig>

  reply	other threads:[~2020-04-24 20:52 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-20 22:34 [PATCH 0/7] Add support for CONFIG_API on RISC-V mhorne at FreeBSD.org
2020-04-20 22:34 ` [PATCH 1/7] examples: generate demo.bin mhorne at FreeBSD.org
2020-04-23 14:18   ` Bin Meng
2020-04-20 22:34 ` [PATCH 2/7] examples: rename __start to _start on MIPS mhorne at FreeBSD.org
2020-04-23 14:18   ` Bin Meng
2020-04-23 17:52   ` Daniel Schwierzeck
2020-04-23 20:43     ` Wolfgang Denk
2020-04-20 22:34 ` [PATCH 3/7] examples: add a linker script for the API demo mhorne at FreeBSD.org
2020-04-23 14:18   ` Bin Meng
2020-04-20 22:34 ` [PATCH 4/7] examples: fix the type of search_hint mhorne at FreeBSD.org
2020-04-23 14:18   ` Bin Meng
2020-04-20 22:34 ` [PATCH 5/7] examples: fix incompatible type casts mhorne at FreeBSD.org
2020-04-23 14:18   ` Bin Meng
2020-04-20 22:34 ` [PATCH 6/7] riscv: add CONFIG_API support mhorne at FreeBSD.org
2020-04-23 14:19   ` Bin Meng
2020-04-20 22:34 ` [PATCH 7/7] api: enumerate virtio-blk devices mhorne at FreeBSD.org
2020-04-23 14:19   ` Bin Meng
2020-04-24 16:52 ` [PATCH 0/7] Add support for CONFIG_API on RISC-V Tom Rini
2020-04-24 20:46   ` Mitchell Horne
2020-04-24 20:52     ` Tom Rini [this message]
2020-04-25  7:30       ` Heinrich Schuchardt
2020-06-22 12:54         ` Mitchell Horne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200424205216.GJ4555@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox