Skip to content

Commit

Permalink
rpi-eeprom-config: Increase the timeout for flashrom shell-cmd
Browse files Browse the repository at this point in the history
20 seconds is a little too short for safety with flashrom if every
page has to be erased and re-written. Bump this to 60 seconds
which is probably too long but nothing good will come from
interrupting flashrom.
  • Loading branch information
timgover authored and timg236 committed Sep 16, 2024
1 parent d53e3dd commit d05f05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpi-eeprom-config
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def apply_update(config, eeprom=None, config_src=None):

# If flashrom is used then the command will not return until the EEPROM
# has been updated so use a larger timeout.
shell_cmd(args, timeout=20, echo=True)
shell_cmd(args, timeout=60, echo=True)

def edit_config(eeprom=None):
"""
Expand Down

0 comments on commit d05f05c

Please sign in to comment.