Commit Graph

2 Commits

Author SHA1 Message Date
Pierre-Louis Bossart ea08faf5b0 kmod_scripts: look for timeout errors and stop loops
Timeout errors happen randomly but need to be checked.
This helps check issues reported at
https://github.com/thesofproject/sof/issues/209

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2018-08-07 20:55:19 -05:00
Pierre-Louis Bossart a02abb7994 soft: kmod_scripts: initial import
set of basic bash scripts to remove/insert SOF Linux kernel modules in
the right order.  This is typically used to avoid rebooting every time
the SOF image or topology are updated - and detect leaks on remove.

sof_remove.sh: remove all SOF modules
sof_insert.sh: probe SOF modules
sof_bootone.sh: combination of remove/insert in one shot
sof_bootloop.sh: boot loop to see if firmware boot is reliable over
time

This can probably be enhanced to remove spurious "module is not
currently loaded" logs.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2018-02-22 15:56:05 +00:00