From a10cf7f5da7ac396ec5529a03076c73901f700b7 Mon Sep 17 00:00:00 2001 From: Bjorn Andersson Date: Tue, 16 Dec 2025 18:25:36 -0600 Subject: [PATCH] firehose: Increase image write timeout to 60 seconds The somewhat arbitrary timeout of 30 seconds was chosen by observing a worst case time of ~15 seconds when flashing Hamoa and Nord. But, as reported, flashing SAIL on Nord sometimes needs this timeout to be ~35 seconds. While the relationship between the different factors and the needed timeout isn't fully understood, bump the value to 60 seconds to make it work for this case as well. Signed-off-by: Bjorn Andersson --- firehose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firehose.c b/firehose.c index fa03eb8..a55626f 100644 --- a/firehose.c +++ b/firehose.c @@ -465,7 +465,7 @@ static int firehose_program(struct qdl_device *qdl, struct program *program, int * let's double it to be on the safe side... */ if (qdl->storage_type == QDL_STORAGE_SPINOR) - zlp_timeout = 30000; + zlp_timeout = 60000; num_sectors = program->num_sectors; sector_size = program->sector_size ? : qdl->sector_size;