boards/intel_adsp_cavs15: Newer, much simpler firmware load tool
This is a smaller firmware loader with fewer dependencies and much
faster operation:
+ No need for an externally built SOF diag_driver, it gets its DMA
memory in userspace and works with any unmodified kernel (that has
hugetlbfs anyway)
+ Does not leak kernel memory on failure (diag_driver was basically a
front end for kmalloc(), and if the script exited early...)
+ Much smaller: 230 lines of python in one file vs. 1600 in nine.
+ Much faster; no needless operations and sleeping steps. Completes
load and launches hello_world in 0.2s of real time.
+ Correctly resets the stream state and can actually recover form the
"wedged DSP" state that the previous loader would sometimes get
stuck in.
+ Clearer structure, easier to use as a testbed for driver-side
interaction.
Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
1 file changed