Go to file
Tomasz Lauda 78ad1ccce5 rmbox: Close opened files
Input and output files in trace_read function should be closed after using.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-03-29 13:46:36 +01: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: Close opened files 2018-03-29 13:46:36 +01:00
topology topology: apl-tdf8532: add support for SSP2-Codec 2018-03-28 16:52:35 +01: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