Commit Graph

16 Commits

Author SHA1 Message Date
Liam Girdwood 72d797d9dd rimage: move rimage to sof firmware repo
This removes cyclic dependency between both repos.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-02-13 20:44:03 +00:00
Pan Xiuli 57be4f5b8c rimage: fix manifest header path
We moved header manifest.h is sof/upai now. Modify the configure path
and include path.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-02-06 16:33:09 +00:00
Pan Xiuli b5cea7f966 rimage: add check for .bss section
We may have heap buffers for base FW, but they are handled by the
runtime function. We did not need to set them as bss in FW manifest.
So add check to mark the .bss segment as BSS and other segment as HEAP.
Then we only update manifest BSS segmet with BSS section.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-02-06 15:19:50 +00:00
Luo Xionghu 8c9ebfe9c4 2/3] rimage: add return for non-void function.
Signed-off-by: Luo Xionghu <xionghu.luo@intel.com>
2018-01-27 17:01:04 +00:00
Liam Girdwood 59d81995f6 rimage: Add support for multiple modules with code signing
Add support so that rimage can take as it's input multiple ELF modules
and merge them into a single signed manifest and firmware binary.

Remove all hard coded module descriptions. Module metadata is now read
from the ELF "module" section.

Remove duplicated and unused code for creating simple firmware images as
used on Baytrail and Haswell.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-01-23 21:30:35 +00:00
Pan Xiuli bd40145123 rimage: Fix some memory leak error
Handle pointers and memory when error happens.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2017-12-20 15:27:56 +00:00
Liam Girdwood 8d47a54f5c rimage: remove flat file builder.
No longer needed so can be safely removed.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-12-20 09:07:44 +00:00
Liam Girdwood bd363e1631 rimage: update to new SOF driver file format.
Support the SOF driver file format.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-12-20 09:07:40 +00:00
Liam Girdwood 76d5b55b8a Merge branch '1.0-dev' 2017-12-19 14:51:05 +00:00
Liam Girdwood 4ca4028d2c Revert "rimage: remove flat file builder."
This reverts commit 072fb5c43f.
2017-08-27 17:11:06 +01:00
Liam Girdwood 91bee9eb50 Revert "rimage: update to new SOF driver file format."
This reverts commit 03acfd640d.
2017-08-27 17:10:08 +01:00
Liam Girdwood b424e981ec rimage: free ELF program and section allocations
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-06-15 14:34:01 +01:00
Liam Girdwood 321aa0504d rimage: show correct error on write failure.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-06-15 14:33:39 +01:00
Liam Girdwood 03acfd640d rimage: update to new SOF driver file format.
Support the SOF driver file format.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-06-09 14:25:36 +01:00
Liam Girdwood 072fb5c43f rimage: remove flat file builder.
No longer needed so can be safely removed.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-06-09 14:24:51 +01:00
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