* [PATCH] initramfs-tee-ftpm-hook: Lift timeout to 30 s
@ 2023-07-19 17:42 Jan Kiszka
2023-07-20 11:59 ` Florian Bezdeka
0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2023-07-19 17:42 UTC (permalink / raw)
To: isar-users; +Cc: Su, Bao Cheng (RC-CN DF FA R&D)
From: Jan Kiszka <jan.kiszka@siemens.com>
Around 20 are needed on the stm32mp15x, so let's give things more time
to settle.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
.../initramfs-tee-ftpm-hook/files/tee-ftpm.script | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-initramfs/initramfs-tee-ftpm-hook/files/tee-ftpm.script b/meta/recipes-initramfs/initramfs-tee-ftpm-hook/files/tee-ftpm.script
index 6e12e6df..75b29ffe 100644
--- a/meta/recipes-initramfs/initramfs-tee-ftpm-hook/files/tee-ftpm.script
+++ b/meta/recipes-initramfs/initramfs-tee-ftpm-hook/files/tee-ftpm.script
@@ -22,9 +22,9 @@ esac
FTPM_DEV=/dev/tpmrm0
-# The tee-supplicant would take some time to be discovered, 10 seconds should be
-# enough
-wait_sec=10
+# The tee-supplicant would take some time to be discovered, 30 seconds should
+# be enough
+wait_sec=20
until test $wait_sec -eq 0 || test -c "${FTPM_DEV}" ; do
wait_sec=$((wait_sec-1))
sleep 1
--
2.35.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] initramfs-tee-ftpm-hook: Lift timeout to 30 s
2023-07-19 17:42 [PATCH] initramfs-tee-ftpm-hook: Lift timeout to 30 s Jan Kiszka
@ 2023-07-20 11:59 ` Florian Bezdeka
2023-07-20 12:06 ` Jan Kiszka
0 siblings, 1 reply; 3+ messages in thread
From: Florian Bezdeka @ 2023-07-20 11:59 UTC (permalink / raw)
To: Jan Kiszka, isar-users; +Cc: Su, Bao Cheng (RC-CN DF FA R&D)
On Wed, 2023-07-19 at 19:42 +0200, 'Jan Kiszka' via isar-users wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> Around 20 are needed on the stm32mp15x, so let's give things more time
> to settle.
The patch title (subject) is wrong. 30s vs. 20s.
Florian
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
> .../initramfs-tee-ftpm-hook/files/tee-ftpm.script | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] initramfs-tee-ftpm-hook: Lift timeout to 30 s
2023-07-20 11:59 ` Florian Bezdeka
@ 2023-07-20 12:06 ` Jan Kiszka
0 siblings, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2023-07-20 12:06 UTC (permalink / raw)
To: Florian Bezdeka, isar-users; +Cc: Su, Bao Cheng (RC-CN DF FA R&D)
On 20.07.23 13:59, Florian Bezdeka wrote:
> On Wed, 2023-07-19 at 19:42 +0200, 'Jan Kiszka' via isar-users wrote:
>> From: Jan Kiszka <jan.kiszka@siemens.com>
>>
>> Around 20 are needed on the stm32mp15x, so let's give things more time
>> to settle.
>
> The patch title (subject) is wrong. 30s vs. 20s.
>
The code is wrong, subject and text is correct: I intended to set
wait_sec=30.
Thanks,
Jan
> Florian
>
>>
>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>> ---
>> .../initramfs-tee-ftpm-hook/files/tee-ftpm.script | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>
--
Siemens AG, Technology
Linux Expert Center
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-20 12:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-19 17:42 [PATCH] initramfs-tee-ftpm-hook: Lift timeout to 30 s Jan Kiszka
2023-07-20 11:59 ` Florian Bezdeka
2023-07-20 12:06 ` Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox