|
34 | 34 | * sof-process-state.sh |
35 | 35 | <br> Shows the current state of a given process |
36 | 36 |
|
| 37 | + |
| 38 | +Topologies |
| 39 | +---------- |
| 40 | + |
| 41 | +Topologies provide important information for testing. |
| 42 | + |
37 | 43 | * sof-tplgreader.py |
38 | | -<br> tplgtool.py wrapper, it reads info from tplgtool.py to analyze topologies. |
| 44 | +<br> Front-end for the (old) tplgtool.py parsing library. Prints a list of PCMs found in a |
| 45 | + topology file. Provides advanced PCM filtering useful for testing. Warning: the tool |
| 46 | + confuses pipelines and PCMs and wrongly calls PCMs "pipelines" everywhere; but it |
| 47 | + really is about PCMs. Unlike other scripts, prints duplex PCMs on two separate lines: |
| 48 | + playback and capture. |
39 | 49 |
|
40 | 50 | * tplgtool2.py |
41 | | -<br> Dumps info from tplg binary file. |
42 | | - SOF CI uses this to generate a topology graph. |
| 51 | +<br> New, higher-level, "construct"-based, topology parsing library. Can also be invoked |
| 52 | + standalone to prints a list of PCMs and generates a graph with more information than |
| 53 | + the graph generated by the old tplgtoo.py. As of May 2024, the topology graph |
| 54 | + displayed in SOF test results has been generated by this. |
43 | 55 |
|
44 | 56 | * tplgtool.py |
45 | | -<br> Dumps info from tplg binary file. sof-tplgreader.py still use this but new features |
46 | | - will go to tplgtool2.py. When all functions are migrated to tplgtool2.py |
47 | | - it will be deprecated. |
| 57 | +<br> Old toplogy parsing library. Still used by sof-tplgreader.py but new features |
| 58 | + will go to tplgtool2.py. When all functions are migrated to tplgtool2.py it will be |
| 59 | + deprecated. Can also be invoked standalone to print a list of PCMs and to generate a |
| 60 | + graph (with less information than tplgtool2.py). |
| 61 | + |
| 62 | +* common.py |
| 63 | +<br> PCM formatting routines to bridge the gap from Python to shell scripts. |
| 64 | + |
| 65 | +* tplgfw-sanity-check.py |
| 66 | +<br> Matches UUID in topology and FW, then finds out whether all module in topoloy |
| 67 | + can be supported by this FW. Depends on tplgtool2.py for parsing. Implements a |
| 68 | + basic firmware file parser itself. |
| 69 | + |
0 commit comments