[PATCH 1/2] fwu: Make boottime check failures visible

Ilias Apalodimas ilias.apalodimas at linaro.org
Tue Jun 30 20:47:40 CEST 2026


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
> boottime checks fail. The failures are only reported via log_debug()
> which is compiled out by default, so the user has no idea what is going
> on.
>
> Use log_err() to make these failures visible.
>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---

Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
>
>  lib/fwu_updates/fwu.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/fwu_updates/fwu.c b/lib/fwu_updates/fwu.c
> index 2b11e5da061d..e9bb1b4fc656 100644
> --- a/lib/fwu_updates/fwu.c
> +++ b/lib/fwu_updates/fwu.c
> @@ -759,7 +759,7 @@ static int fwu_boottime_checks(void)
>
>         ret = uclass_first_device_err(UCLASS_FWU_MDATA, &g_dev);
>         if (ret) {
> -               log_debug("Cannot find fwu device\n");
> +               log_err("Cannot find fwu device\n");
>                 return ret;
>         }
>
> @@ -771,7 +771,7 @@ static int fwu_boottime_checks(void)
>
>         ret = fwu_init();
>         if (ret) {
> -               log_debug("fwu_init() failed\n");
> +               log_err("fwu_init() failed\n");
>                 return ret;
>         }
>
> ---
> base-commit: ea62096437b39ff9038f7169e461bfe7863ee85a
> branch: debian-sent3
>
> --
> 2.43.0
>


More information about the U-Boot mailing list