Skip to content

Commit

Permalink
[Mellanox] enlarge the eeprom ready timeout from 20 to 60 (sonic-net#…
Browse files Browse the repository at this point in the history
…18983)

- Why I did it
Service like ZTP accesses EEPROM very early at the boot stage. It could cause an issue that EEPROM is not ready. The PR enlarge EEPROM ready timeout from 20s to 60s.

- How I did it
Enlarge EEPROM ready timeout from 20s to 60s.

- How to verify it
Manual test
  • Loading branch information
Junchao-Mellanox authored and mssonicbld committed May 31, 2024
1 parent 4025814 commit 975c2e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
os.makedirs(os.path.dirname(EEPROM_SYMLINK))
subprocess.check_call(['/usr/bin/xxd', '-r', '-p', 'syseeprom.hex', EEPROM_SYMLINK], cwd=platform_path)

WAIT_EEPROM_READY_SEC = 20
WAIT_EEPROM_READY_SEC = 60


class Eeprom(eeprom_tlvinfo.TlvInfoDecoder):
Expand Down

0 comments on commit 975c2e0

Please sign in to comment.