From: Uladzimir Bely <ubely@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH v4 07/11] initramfs-tee-ftpm-hook: Lift timeout to 30 s
Date: Mon, 31 Jul 2023 14:17:25 +0200 [thread overview]
Message-ID: <20230731121729.16972-8-ubely@ilbers.de> (raw)
In-Reply-To: <20230731121729.16972-1-ubely@ilbers.de>
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.20.1
next prev parent reply other threads:[~2023-07-31 12:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-31 12:17 [PATCH v4 00/11] Fixes, cleanups and updates for OP-TEE and TAs Uladzimir Bely
2023-07-31 12:17 ` [PATCH v4 01/11] optee-client: Add missing runtime dependency Uladzimir Bely
2023-07-31 12:17 ` [PATCH v4 02/11] optee-client: Unbind ftpm, rather than remove its driver Uladzimir Bely
2023-07-31 12:17 ` [PATCH v4 03/11] optee-examples-stm32mp15x: Fix parsing error for non-stm32mp15x machines Uladzimir Bely
2023-07-31 12:17 ` [PATCH v4 04/11] linux-mainline: Add fTPM support Uladzimir Bely
2023-07-31 12:17 ` [PATCH v4 05/11] initramfs-tee-{ftpm,supplicant}-hook: Move sync loop to ftpm-hook Uladzimir Bely
2023-07-31 12:17 ` [PATCH v4 06/11] initramfs-tee-supplicant-hook: Account for modular optee Uladzimir Bely
2023-07-31 12:17 ` Uladzimir Bely [this message]
2023-07-31 12:17 ` [PATCH v4 08/11] Drop stm32mp15x-initramfs in favor of image enabling Uladzimir Bely
2023-07-31 12:17 ` [PATCH v4 09/11] optee-ftpm-stm32mp15x: Recipe cleanups Uladzimir Bely
2023-07-31 12:17 ` [PATCH v4 10/11] optee-ftpm-stm32mp15x: Update WolfSSL to 5.6.3 Uladzimir Bely
2023-07-31 12:17 ` [PATCH v4 11/11] optee-ftpm-stm32mp15x: Add patch to fix parallel build issues Uladzimir Bely
2023-08-02 4:11 ` [PATCH v4 00/11] Fixes, cleanups and updates for OP-TEE and TAs Uladzimir Bely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230731121729.16972-8-ubely@ilbers.de \
--to=ubely@ilbers.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox