U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mattijs Korpershoek <mkorpershoek@kernel.org>
To: Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>,
	U-Boot Custodians <u-boot-custodians@lists.denx.de>
Subject: Re: Rate of innovation in the project (Was: Re: Rate of change in the project)
Date: Wed, 02 Apr 2025 11:32:08 +0200	[thread overview]
Message-ID: <8734equcx3.fsf@baylibre.com> (raw)
In-Reply-To: <20250401171822.GM5495@bill-the-cat>

On mar., avril 01, 2025 at 11:18, Tom Rini <trini@konsulko.com> wrote:

> On Wed, Apr 02, 2025 at 04:45:37AM +1300, Simon Glass wrote:
>> Hi Tom,
>> 
>> On Tue, 1 Apr 2025 at 04:51, Tom Rini <trini@konsulko.com> wrote:
>> >
>> > On Fri, Mar 28, 2025 at 11:42:20PM +0000, Simon Glass wrote:
>> > > Hi Tom,
>> > >
>> > > On Mon, 10 Mar 2025 at 09:53, Tom Rini <trini@konsulko.com> wrote:
>> > > >
>> > > > On Fri, Mar 07, 2025 at 08:46:31AM -0600, Tom Rini wrote:
>> > > > > On Thu, Mar 06, 2025 at 09:10:47AM -0700, Simon Glass wrote:
>> > > > [snip]
>> > > > > > Again, back to this thread, if you want me to migrate things, consider
>> > > > > > applying the sunxi patches as I have described above. I will then look
>> > > > > > at the next target for bootstd. But while you hold this up, I cannot
>> > > > > > move forward with more bootstd migration. It doesn't seem that much to
>> > > > > > ask.
>> > > > >
>> > > > > I will take another look at what's still relevant. But I believe it's
>> > > > > still blocked on the fact that it changes behavior and breaks users.
>> > > >
>> > > > In details:
>> > > >
>> > > > https://patchwork.ozlabs.org/project/uboot/patch/20241113150938.1534931-2-sjg@chromium.org/
>> > > >
>> > > > Now that the underlying BLK problem is resolved, this can just be
>> > > > dropped I believe. Removing the BLK dependency from BOOTSTD can happen
>> > > > when you're supporting a flow that lacks a BLK device entirely. This
>> > > > would be another reminder as to why putting unrelated changes in a
>> > > > series is a problem.
>> > >
>> > > OK, then just don't apply this patch. Problem solved?
>> >
>> > Well, for a hypothetical v6 you would not include it, sure.
>> >
>> > > > https://patchwork.ozlabs.org/project/uboot/patch/20241113150938.1534931-3-sjg@chromium.org/
>> > > >
>> > > > This is fine.
>> > > >
>> > > > https://patchwork.ozlabs.org/project/uboot/patch/20241113150938.1534931-4-sjg@chromium.org/
>> > > >
>> > > > This is not fine. This is also not a sunxi problem. It means that we
>> > > > should drop bootmgr from rockchip, where the conversion has already
>> > > > taken place, and would need to drop it from future conversion too.
>> > > > Neither of which are desirable changes.
>> > >
>> > > Why do you say that? I don't understand how this relates to rockchip
>> > > or why we would need to drop bootmgr from that.
>> >
>> > Then you don't have enough of a grasp of the details of the area you're
>> > trying to solve problems in? Or maybe you need to refresh yourself on
>> > the details of the area you're trying to work in.
>> 
>> Or perhaps there isn't a problem? The sunxi case is special because we
>> have a FEL boothmeth. That isn't present on rockchip, for example.
>
> Again, you seem to have forgotten what the problems with the series
> were.
>
>> > > > This patch in particular is
>> > > > where we have the note:
>> > > >
>> > > > "Yes, the introduction of boot standard changed the boot order and
>> > > > specifically deprioritizing scripts is unexpected."
>> > > >
>> > > > Which should have had more attention than it did.
>> > >
>> > > From memory the scripts are a fallback used when the other things
>> > > don't work, so that was the decision I made at the time.
>> >
>> > The key point being we changed behavior that others depended on, and
>> > didn't document it well and didn't make sure the change would work for
>> > them either.
>> >
>> > > > This is the thread that to me spelled out in details where the
>> > > > conversions are now blocked. We changed behavior and that in turn breaks
>> > > > users that have come to rely on ordering.
>> > >
>> > > I don't know what action to take on that comment. We cannot have 100%
>> > > backwards compatibility with the scripts, which after all weren't even
>> > > documented. But it is very close.
>> >
>> > You need to get feedback from the people you want to migrate from the
>> > scripts and ordering and rely on to something else and see what works
>> > for them.
>> >
>> > > > https://patchwork.ozlabs.org/project/uboot/patch/20241113150938.1534931-5-sjg@chromium.org/
>> > > >
>> > > > Is an alternative to the above which then turned in to a discussion that
>> > > > I would very briefly summarize as "no discussions were had between
>> > > > stakeholders before integrating efi bootmgr with bootstd".
>> > > >
>> > > > https://patchwork.ozlabs.org/project/uboot/patch/20241113150938.1534931-6-sjg@chromium.org/
>> > > >
>> > > > This is fine, but only relevant once migration happens.
>> > > >
>> > > > https://patchwork.ozlabs.org/project/uboot/patch/20241113150938.1534931-7-sjg@chromium.org/
>> > > >
>> > > > If Andre is fine with this, this is fine.
>> > > >
>> > > > https://patchwork.ozlabs.org/project/uboot/patch/20241113150938.1534931-8-sjg@chromium.org/
>> > > >
>> > > > This is a generic bugfix. I will take this to next today.
>> > > >
>> > > > https://patchwork.ozlabs.org/project/uboot/patch/20241113150938.1534931-9-sjg@chromium.org/
>> > > >
>> > > > If Andre is fine with this, this is fine.
>> > >
>> > > Well, is he? I thought he was. Can you check?
>> >
>> > You're free to. It's one of the innumerable examples of why when you
>> > group multiple things in a series and there's problems with another part
>> > of the series, unrelated changes get dropped.
>> 
>> It would be easier for me if you could apply the patches as I've suggested.
>> 
>> But if you are willing to apply these patches and just want me to send
>> the series again without the BLK and RFC patches, I can do that.
>> Please let me know either way.
>
> Again, you should:
> - Take the non-bootstd sunxi enhancements, rebase them to next and post
>   for Andre. By themselves. This way they won't get stuck.
> - You should work with Heinrich to come up with something that handles
>   efi bootmanager and bootstd without breaking how our actual project
>   users use us.
>   There's no reason to migrate *more* platforms until we have this
>   fundamental problem sorted out.
> - You should work with any FOSS distributions to get their feedback on
>   what would make their life easier, from a user of U-Boot perspective.
>   bootstd won't be useful if it's not something our users want to use.

I can't speak for other distributions but for Android, it seems that the
direction is to use EFI boot via an excutable that implements the Android
bootflow. This is named GBL, and here are some pointers about it:
- https://android.googlesource.com/platform/bootable/libbootloader/+/refs/heads/main/gbl/README.md
- https://lpc.events/event/18/contributions/1704/attachments/1550/3231/Android%20Generic%20Boot%20Loader.pdf
- https://baylibre.com/android-bootflow-experiments-with-u-boot-and-gbl/

So in my opinion, at least for Android, bootmeth_android (bootstd) will
be deprecated in favor of EFI boot + GBL.

>
> -- 
> Tom

  reply	other threads:[~2025-04-02  9:32 UTC|newest]

Thread overview: 112+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-11 15:03 xPL Proposal Simon Glass
2025-02-11 21:22 ` Tom Rini
2025-02-11 22:54   ` Simon Glass
2025-02-12 16:40     ` Tom Rini
2025-02-12 17:41       ` Simon Glass
2025-02-12 18:35         ` Tom Rini
2025-02-12 20:05           ` Simon Glass
2025-02-12 22:58             ` Tom Rini
2025-02-13 12:50               ` Simon Glass
2025-02-13 18:03                 ` Tom Rini
2025-02-13 21:57                   ` Simon Glass
2025-02-13 22:59                     ` Tom Rini
2025-02-14  0:09                       ` Simon Glass
2025-02-14 14:39                         ` Tom Rini
2025-02-14 19:48                           ` Simon Glass
2025-02-14 21:16                             ` Tom Rini
2025-02-14 22:46                               ` Simon Glass
2025-02-14 23:43                                 ` Tom Rini
2025-02-14 23:52                                   ` Simon Glass
2025-02-15  1:14                                     ` Tom Rini
2025-02-15  1:43                                       ` Simon Glass
2025-02-17 13:16                                         ` Simon Glass
2025-02-17 14:19                                         ` Tom Rini
2025-02-17 15:08                                           ` Simon Glass
2025-02-17 15:59                                             ` Tom Rini
2025-02-17 18:03                                               ` Simon Glass
2025-02-17 19:18                                                 ` Tom Rini
2025-02-13 15:03         ` Generic U-Boot (was: Re: xPL Proposal) Caleb Connolly
2025-02-13 15:10           ` Generic U-Boot Caleb Connolly
2025-02-13 23:42             ` Tom Rini
2025-02-13 23:42           ` Generic U-Boot (was: Re: xPL Proposal) Tom Rini
2025-02-17 18:50   ` xPL Proposal Tom Rini
2025-02-17 19:11     ` Simon Glass
2025-02-17 19:21       ` Tom Rini
2025-02-17 19:34         ` Simon Glass
2025-02-17 19:47           ` Tom Rini
2025-02-17 20:17             ` Tom Rini
2025-02-17 20:39               ` Simon Glass
2025-02-18  0:40                 ` Tom Rini
2025-02-18 12:08                   ` Simon Glass
2025-02-18 14:46                     ` Tom Rini
2025-02-19  0:03                       ` Simon Glass
2025-02-19  1:07                         ` Tom Rini
2025-02-19 14:48                           ` Simon Glass
2025-02-19 20:34                             ` Tom Rini
2025-02-20 13:19                               ` Simon Glass
2025-02-20 15:16                                 ` Tom Rini
2025-02-20 16:43                                   ` Simon Glass
2025-02-20 17:40                                     ` Tom Rini
2025-02-20 18:13                                       ` Simon Glass
2025-02-20 20:40                                         ` Tom Rini
2025-02-21  1:30                                           ` Simon Glass
2025-02-21 13:56                                             ` Simon Glass
2025-02-21 14:19                                               ` Tom Rini
2025-02-21 14:19                                             ` Tom Rini
2025-02-21 15:03                                               ` Simon Glass
2025-02-21 17:53                                                 ` Tom Rini
2025-02-21 18:10                                                   ` Rate of change in the project (Was: Re: xPL Proposal) Tom Rini
2025-02-23  0:00                                                     ` Simon Glass
2025-02-24 23:23                                                       ` Tom Rini
2025-03-04 13:13                                                         ` Rate of innovation in the project (Was: Re: Rate of change in the project) Simon Glass
2025-03-04 15:29                                                           ` Tom Rini
2025-03-05 14:19                                                             ` Simon Glass
2025-03-05 16:22                                                               ` Tom Rini
2025-03-06 16:10                                                                 ` Simon Glass
2025-03-07 14:46                                                                   ` Tom Rini
2025-03-10 15:53                                                                     ` Tom Rini
2025-03-28 23:42                                                                       ` Simon Glass
2025-03-31 15:51                                                                         ` Tom Rini
2025-04-01 15:45                                                                           ` Simon Glass
2025-04-01 17:18                                                                             ` Tom Rini
2025-04-02  9:32                                                                               ` Mattijs Korpershoek [this message]
2025-04-02 19:22                                                                               ` Simon Glass
2025-04-02 22:35                                                                                 ` Tom Rini
2025-04-02 23:55                                                                                   ` Simon Glass
2025-04-03 14:27                                                                                     ` Tom Rini
2025-04-06 21:15                                                                                       ` Simon Glass
2025-04-06 22:53                                                                                         ` Tom Rini
2025-04-07 10:45                                                                                           ` Simon Glass
2025-04-07 19:10                                                                                             ` Tom Rini
2025-02-21 19:25                                               ` xPL Proposal Tom Rini
2025-02-21 22:54                                                 ` Simon Glass
2025-02-21 23:20                                                   ` Tom Rini
2025-02-21 23:35                                                     ` Simon Glass
2025-02-22  0:03                                                       ` Tom Rini
2025-02-22  0:24                                                         ` Simon Glass
2025-02-22  1:06                                                           ` Tom Rini
2025-02-22  2:07                                                             ` Simon Glass
2025-02-24 16:00                                                               ` Tom Rini
2025-02-24 23:38                                                                 ` Simon Glass
2025-02-25 14:02                                                                   ` Tom Rini
2025-02-25 21:33                                                                     ` Simon Glass
2025-02-25 21:51                                                                       ` Tom Rini
2025-02-26  2:51                                                                         ` Simon Glass
2025-02-26 14:52                                                                           ` Tom Rini
2025-02-27 16:24                                                                             ` Simon Glass
2025-02-27 17:17                                                                               ` Tom Rini
2025-02-27 19:32                                                                                 ` Simon Glass
2025-02-27 20:30                                                                                   ` Tom Rini
2025-03-04 15:35                                                                                     ` Simon Glass
2025-03-04 16:25                                                                                       ` Tom Rini
2025-03-05 14:17                                                                                         ` Simon Glass
2025-03-05 15:49                                                                                           ` Tom Rini
2025-03-05 16:53                                                                                             ` Simon Glass
2025-02-12  1:32 ` Marek Vasut
2025-02-12 13:37   ` Simon Glass
2025-02-13 14:15 ` Tom Rini
2025-02-13 14:33   ` Simon Glass
2025-02-13 15:59     ` Tom Rini
2025-02-13 19:56       ` Jonas Karlman
2025-02-13 18:02 ` Tom Rini
2025-02-17 15:03 ` Tom Rini

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=8734equcx3.fsf@baylibre.com \
    --to=mkorpershoek@kernel.org \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot-custodians@lists.denx.de \
    --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