All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] fwu: Make boottime check failures visible
@ 2026-06-30 13:17 Michal Simek
  2026-06-30 13:17 ` [PATCH 2/2] fwu: Gracefully handle missing FWU metadata device Michal Simek
  2026-06-30 18:47 ` [PATCH 1/2] fwu: Make boottime check failures visible Ilias Apalodimas
  0 siblings, 2 replies; 14+ messages in thread
From: Michal Simek @ 2026-06-30 13:17 UTC (permalink / raw)
  To: u-boot, git
  Cc: Dario Binacchi, Ilias Apalodimas, Kory Maincent, Padmarao Begari,
	Simon Glass, Sughosh Ganu, Tom Rini

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@amd.com>
---

 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


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-07-02 13:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-30 13:17 [PATCH 1/2] fwu: Make boottime check failures visible Michal Simek
2026-06-30 13:17 ` [PATCH 2/2] fwu: Gracefully handle missing FWU metadata device Michal Simek
2026-07-02  7:41   ` Ilias Apalodimas
2026-07-02  7:48     ` Michal Simek
2026-07-02  8:03       ` Ilias Apalodimas
2026-07-02  9:09         ` Michal Simek
2026-07-02 10:07           ` Ilias Apalodimas
2026-07-02 11:55             ` Michal Simek
2026-07-02 12:00               ` Ilias Apalodimas
2026-07-02 12:09                 ` Michal Simek
2026-07-02 12:24                   ` Ilias Apalodimas
2026-07-02 12:40                     ` Michal Simek
2026-07-02 13:07                       ` Ilias Apalodimas
2026-06-30 18:47 ` [PATCH 1/2] fwu: Make boottime check failures visible Ilias Apalodimas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.