* [PATCH v2] initramfs-tee-ftpm-hook: Lift timeout to 30 s
@ 2023-07-20 14:31 Jan Kiszka
0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2023-07-20 14:31 UTC (permalink / raw)
To: isar-users; +Cc: Su, Bao Cheng (RC-CN DF FA R&D), Florian Bezdeka
From: Jan Kiszka <jan.kiszka@siemens.com>
Around 20 s are needed on the stm32mp15x, so let's give things more time
to settle and permit 30 s.
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..053fb046 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=30
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] only message in thread
only message in thread, other threads:[~2023-07-20 14:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-20 14:31 [PATCH v2] initramfs-tee-ftpm-hook: Lift timeout to 30 s Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox