Go to file
Liam Girdwood 04a535d508 rimage: Initial import of rimage firmware tool.
rimage converts ELF binaries to the firmware image file format understood
by the kernel audio drivers.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-10-07 10:48:49 +01:00
rimage rimage: Initial import of rimage firmware tool. 2016-10-07 10:48:49 +01:00
rmbox rimage: Initial import of rimage firmware tool. 2016-10-07 10:48:49 +01:00
.gitignore rimage: Initial import of rimage firmware tool. 2016-10-07 10:48:49 +01:00
Makefile.am rimage: Initial import of rimage firmware tool. 2016-10-07 10:48:49 +01: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: Initial import of rimage firmware tool. 2016-10-07 10:48:49 +01: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