[PATCH 2/2] fwu: Gracefully handle missing FWU metadata device

Ilias Apalodimas ilias.apalodimas at linaro.org
Thu Jul 2 10:03:37 CEST 2026


On Thu, 2 Jul 2026 at 10:49, Michal Simek <michal.simek at amd.com> wrote:
>
>
>
> On 7/2/26 09:41, Ilias Apalodimas wrote:
> > Hi Michal,
> >
> > On Tue, 30 Jun 2026 at 16:18, Michal Simek <michal.simek at amd.com> wrote:
> >>
> >> On systems with FWU enabled but without the required DT changes the FWU
> >> metadata device is not found and fwu_boottime_checks() returns an error.
> >> Being an initcall, that non-zero return aborts the boot flow
> >>
> >> Return 0 instead so the boot continues. The preceding log_err() still
> >> tells the user that the FWU device could not be found.
> >
> > Won't that affect the board later on? E.g When you do capsule updates,
> > updating the metadata will fail
>
> Do you mean on systems without mdata?

Yes. if the config is enabled it will make the capsule update code
searching and updating metadata.

Cheers
/Ilias
>
> Thanks,
> Michal


More information about the U-Boot mailing list