am: timeout sos start (#13776)

This commit is contained in:
nimlgen 2025-12-20 17:41:33 +03:00 committed by GitHub
commit 3db2104fb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -476,7 +476,7 @@ class AM_PSP(AM_IP):
if not self.is_sos_alive():
for fw, compid in sos_components: self._bootloader_load_component(fw, compid)
while not self.is_sos_alive(): time.sleep(0.01)
wait_cond(self.is_sos_alive, value=True, msg="sOS failed to start")
self._ring_create()
if am.PSP_FW_TYPE_PSP_TOC in self.adev.fw.sos_fw: self._tmr_init()