U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: 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, 2 Apr 2025 16:35:34 -0600	[thread overview]
Message-ID: <20250402223534.GE5495@bill-the-cat> (raw)
In-Reply-To: <CAFLszTjzxXW_SdDMbjPKitgQ6HSv3Vse6ANrr5QEr85A1byyHg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 9187 bytes --]

On Thu, Apr 03, 2025 at 08:22:13AM +1300, Simon Glass wrote:
> Hi Tom,
> 
> On Wed, 2 Apr 2025 at 06: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.
> 
> No, it's just that we disagree on the path forward.

Then why did you bring up FEL? That's the part of the migration which is
NOT a problem, I keep being reminded when I ask.

> > > > > > 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.
> 
> There's no point, though, since it doesn't provide the bootstd migration.

Are you saying there's no point in generally improving things if it
doesn't also involve one of your particular projects?

> > - 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.
> 
> It isn't actually a fundamental problem at all. We shouldn't even be
> discussing this and it is really unfortunate that you continue to
> block this effort.
> 
> As to bootmgr, I would be willing to implement a solution here, but it
> would involve changes to how bootmgr works under the hood, i.e. to
> have it be iterative instead of doing everything at the start. My firm
> understanding is that such changes would not be acceptable to
> Ilias/Heinrich and anyway I am unable to get patches into the EFI
> subsystem.
> 
> So the fallback is the work-around which Heinrich proposed. He is free
> to implement that if he likes, but I am not planning to do this myself
> as I see it as a short-term measure and it may cause problems for
> bootstd, as did f2bfa0cb1 which I bitterly regret allowing in (but I
> suppose they were happier days before everything froze up).
> 
> > - 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.
> 
> Bootstd is designed to replace the distro scripts and the feedback I
> have received is that it is good at that. If you have any other
> feedback, or any suggestions on people I should contact, I'm happy to
> approach them, or they can email the list and cc me.
> 
> But really, it would be a lot easier if you could just apply this
> series so we can move on. If I can see even just a glimmer of
> compromise here it will help my confidence.

Your sunxi series is broken as posted. I am not interested in applying
or encouraging more bootstd usage until there's actual work being done
to move forward wit bootstd (a thing you want) and EFI (a thing most
distributions want). That would be some of the general feedback you've
been given and missed or forgotten.

This is even setting aside that I can't recall now if you ever started
on making non-BOOTSTD_FULL more useful / usable in general because it's
so minimal that every conversion ends up also enabling BOOTSTD_FULL in
order to be flexible enough for users to decide SD vs eMMC and so on.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2025-04-02 22:35 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
2025-04-02 19:22                                                                               ` Simon Glass
2025-04-02 22:35                                                                                 ` Tom Rini [this message]
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=20250402223534.GE5495@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=sjg@chromium.org \
    --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