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

Jassi Brar
2022-07-20T03:16:38Z

On Tue, 19 Jul 2022 at 20:13, Takahiro Akashi
<takahiro.akashi@linaro.org> wrote:
>
> 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@amd.com> wrote:
> > > On 6/9/22 14:30, Sughosh Ganu wrote:
> > > > From: Masami Hiramatsu <masami.hiramatsu@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.
>
OK, thanks for the clarification. And I shouldn't feel too bad about
the hack then :)

thanks.