From 61d7c1b0c5d1fa186e3f78dd0073b4a7947e5da6 Mon Sep 17 00:00:00 2001 From: Stephen Sun Date: Sat, 2 Nov 2024 11:11:54 +0000 Subject: [PATCH] Extend wait time in cable firmware download flow Signed-off-by: Stephen Sun --- sonic_platform_base/sonic_xcvr/api/public/cmisCDB.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sonic_platform_base/sonic_xcvr/api/public/cmisCDB.py b/sonic_platform_base/sonic_xcvr/api/public/cmisCDB.py index 97d33337f..9ac5e55c4 100644 --- a/sonic_platform_base/sonic_xcvr/api/public/cmisCDB.py +++ b/sonic_platform_base/sonic_xcvr/api/public/cmisCDB.py @@ -284,7 +284,7 @@ def start_fw_download(self, startLPLsize, header, imagesize): cmd += header cmd[133-INIT_OFFSET] = self.cdb_chkcode(cmd) self.write_cdb(cmd) - time.sleep(2) + time.sleep(4) status = self.cdb1_chkstatus() if (status != 0x1): if status > 127: @@ -415,6 +415,7 @@ def validate_fw_image(self): cmd = bytearray(b'\x01\x07\x00\x00\x00\x00\x00\x00') cmd[133-INIT_OFFSET] = self.cdb_chkcode(cmd) self.write_cdb(cmd) + time.sleep(2) status = self.cdb1_chkstatus() if (status != 0x1): if status > 127: