From 7d8da0f3dd75e2a840867539f4456c4f6e298e0b Mon Sep 17 00:00:00 2001 From: Andy Ross Date: Thu, 2 Sep 2021 07:48:56 -0700 Subject: [PATCH] soc: intel_adsp: Lengthen initialization sleep on the cavs 1.5 loader This was still observed to be failing occasionally. Seems like 100ms is more robust than 10ms. Signed-off-by: Andy Ross --- boards/xtensa/intel_adsp_cavs15/tools/cavs-fw-v15.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/xtensa/intel_adsp_cavs15/tools/cavs-fw-v15.py b/boards/xtensa/intel_adsp_cavs15/tools/cavs-fw-v15.py index a6051b00306..56080ebff5c 100755 --- a/boards/xtensa/intel_adsp_cavs15/tools/cavs-fw-v15.py +++ b/boards/xtensa/intel_adsp_cavs15/tools/cavs-fw-v15.py @@ -62,7 +62,7 @@ def main(): # sleep seems to be needed; if we're banging on the memory window # during initial boot (before/while the window control registers # are configured?) the DSP hardware will hang fairly reliably. - time.sleep(0.01) + time.sleep(0.1) while (dsp.SRAM_FW_STATUS >> 24) != 5: pass # Send the DSP an IPC message to tell the device how to boot