a02abb7994
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> |
||
---|---|---|
kmod_scripts | ||
rimage/keys | ||
rmbox | ||
topology | ||
.gitignore | ||
Makefile.am | ||
README | ||
autogen.sh | ||
configure.ac |
README
Sound Open Firmware Tools ========================= This is a collection of open source tools used to develop open source audio DSP firmwares for ALSA. Building and Installing ======================= ./autogen.sh (only needed first time) ./configure make make install rimage ====== rimage is used to convert ELF executable firmware files to the firmware file formats used by the kernel drivers. e.g. rimage -i elf_file -o kernel_file -m machine rimage can also convert kernel firmware formats to flat binaries formats to assist in debugging :- e.g. convert to flat binary, then ELF then dissasemble rimage -i /lib/firmware/intel/reef-byt.ri -o image.bin -b -m byt xtensa-byt-elf-objcopy -I binary -O elf32-xtensa-le -B xtensa image.bin image.bin.elf xtensa-byt-elf-objdump -D image.bin.elf > image.dis.txt