* [PATCH] fwu: Show number of attempts in Trial State
@ 2023-07-14 8:47 Michal Simek
2023-07-15 14:38 ` Jassi Brar
2023-07-25 21:13 ` Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Michal Simek @ 2023-07-14 8:47 UTC (permalink / raw)
To: u-boot, git
Cc: Etienne Carriere, Ilias Apalodimas, Jassi Brar, Masahisa Kojima,
Patrick Delaunay, Sughosh Ganu
It is not visible anywhere in Trial State if this is the first, second, etc
attempt that's why show a message to be aware about status.
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
lib/fwu_updates/fwu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/fwu_updates/fwu.c b/lib/fwu_updates/fwu.c
index 38b50cb7628c..4d0c8b84b9d0 100644
--- a/lib/fwu_updates/fwu.c
+++ b/lib/fwu_updates/fwu.c
@@ -95,6 +95,8 @@ static int fwu_trial_count_update(void)
log_err("Unable to revert active_index\n");
ret = 1;
} else {
+ log_info("Trial State count: attempt %d out of %d\n",
+ trial_state_ctr, CONFIG_FWU_TRIAL_STATE_CNT);
ret = trial_counter_update(&trial_state_ctr);
if (ret)
log_err("Unable to increment TrialStateCtr variable\n");
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] fwu: Show number of attempts in Trial State
2023-07-14 8:47 [PATCH] fwu: Show number of attempts in Trial State Michal Simek
@ 2023-07-15 14:38 ` Jassi Brar
2023-07-25 21:13 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Jassi Brar @ 2023-07-15 14:38 UTC (permalink / raw)
To: Michal Simek
Cc: u-boot, git, Etienne Carriere, Ilias Apalodimas, Masahisa Kojima,
Patrick Delaunay, Sughosh Ganu
On Fri, 14 Jul 2023 at 03:47, Michal Simek <michal.simek@amd.com> wrote:
>
> It is not visible anywhere in Trial State if this is the first, second, etc
> attempt that's why show a message to be aware about status.
>
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] fwu: Show number of attempts in Trial State
2023-07-14 8:47 [PATCH] fwu: Show number of attempts in Trial State Michal Simek
2023-07-15 14:38 ` Jassi Brar
@ 2023-07-25 21:13 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2023-07-25 21:13 UTC (permalink / raw)
To: Michal Simek
Cc: u-boot, git, Etienne Carriere, Ilias Apalodimas, Jassi Brar,
Masahisa Kojima, Patrick Delaunay, Sughosh Ganu
[-- Attachment #1: Type: text/plain, Size: 367 bytes --]
On Fri, Jul 14, 2023 at 10:47:06AM +0200, Michal Simek wrote:
> It is not visible anywhere in Trial State if this is the first, second, etc
> attempt that's why show a message to be aware about status.
>
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
Applied to u-boot/master, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-25 21:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-14 8:47 [PATCH] fwu: Show number of attempts in Trial State Michal Simek
2023-07-15 14:38 ` Jassi Brar
2023-07-25 21:13 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox