Commit Graph

6 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 ef307ba684 kmod_scripts: filter out DMA trace overflow
The occurrence of DMA trace overflows has become so bad I need to
filter out these error messages to test module load/unload. Sad but
what can I say.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2018-08-07 20:02:46 -05:00
Zhang Keqiao e08ea66bd1 kmod_scripts: add rt274 and tdf8532 support
Signed-off-by: Zhang Keqiao <keqiao.zhang@linux.intel.com>
2018-07-19 21:20:55 +08:00
Pierre-Louis Bossart 446e415f6a kmod_scripts: clean-up and add pcm512x support
Update module names, only unload what is loaded and add pcm512x
support for Up^2 board.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2018-07-16 16:37:18 -05:00
Pierre-Louis Bossart b327539e98 kmod_scripts: handle nocodec machine driver
make sure it's removed

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2018-04-14 13:19:14 +01: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