[PATCH v5 20/23] FWU: synquacer: Generate dfu_alt_info from devicetree partition

Takahiro Akashi takahiro.akashi at linaro.org
Wed Jul 20 03:13:31 CEST 2022


On Mon, Jul 18, 2022 at 09:49:56AM -0500, Jassi Brar wrote:
> On Fri, 17 Jun 2022 at 09:02, Michal Simek <michal.simek at amd.com> wrote:
> > On 6/9/22 14:30, Sughosh Ganu wrote:
> > > From: Masami Hiramatsu <masami.hiramatsu at linaro.org>
> .....
> 
> > >
> > > @@ -188,6 +178,9 @@ int board_late_init(void)
> > >   {
> > >       int ret;
> > >
> > > +     /* Make mmc available for EFI */
> > > +     run_command("mmc dev 0", 0);
> > > +
> >
> > What is this for?
> >
> > And I can't see any single note about in commit message.
> >
> For some reason, we get "No EFI system partition" during bootup and
> the mmc does not show up in 'efidebug devices' unless we manually run
> this (or mmc part) command.

As far as UEFI is concerned, any U-Boot block device will be
recognized as a UEFI disk(block_io) object *only* after device_probe()
is called.

-Takahiro Akashi


>     Though not elegant, I found similar being done by some other
> platforms....  grep run_command -rw board/*
> I am happy to learn the proper way of doing it.
> 
> Thanks.


More information about the U-Boot mailing list