This patch allows rimage to sign FW binaries using MEU tool.
Paths to MEU and private key have to be provided during config step.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
Currently rimage only supports building ELF images with know TEXT, DATA
and BSS addresses. This patch adds support to build runtime relocatable
modules that can be loaded linked into the base SOF FW at runtime.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
xcc has more strict rules than gcc:
- Add missing sections to linker scripts
- Fix compile warnings
- Extend memory enabling timeout to infinite (too small delay for xcc)
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
# Conflicts:
# src/platform/apollolake/platform.c
# src/platform/cannonlake/platform.c
text_offset was added to an immutable ROM structure that would break
some tools and cause instability. Fix this by creating a new structure
for rimage manifest data that can be modified without breaking the ROM
ABI.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
The actual text size will change and the hard code base_fw_text_size_fixup
could not fit the changing size. We should get the fixup size from the
module info just from the memory mapping.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
rimage is being moved from tools repo to sof repo since there is now a
cyclic dependency between both repos and sof needs rimage for it's
build.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>