Go to file
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
kmod_scripts soft: kmod_scripts: initial import 2018-02-22 15:56:05 +00:00
rimage/keys rimage: move rimage to sof firmware repo 2018-02-13 20:44:03 +00:00
rmbox rmbox: use 64bit trace data 2017-10-19 22:24:58 +01:00
topology topology: m4: add default_hw_conf_id 2018-02-13 09:23:07 +00:00
.gitignore topology: test: Add simple component test generator. 2017-12-13 21:08:57 +00:00
Makefile.am rimage: move rimage to sof firmware repo 2018-02-13 20:44:03 +00:00
README rimage: Initial import of rimage firmware tool. 2016-10-07 10:48:49 +01:00
autogen.sh rimage: Initial import of rimage firmware tool. 2016-10-07 10:48:49 +01:00
configure.ac rimage: move rimage to sof firmware repo 2018-02-13 20:44:03 +00:00

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