New platforms like TigerLake will need 3k RSA key for signing.
Generate new keys for SOF public key.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
We are going to have more hashing function,
so they should be named after hashing algorithms.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
New version of manifest introduced with TGL platform
uses SHA384 for component hash.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This argument is needed in case of platforms that have different
modules padding in xcc binaries.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
Thats because this function is used also to find optional sections so it will be decided later (outside of this func) if this is actually error
Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
Thats because this section is optional in FW, it will be created only with TRACE enabled
Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
In case of multiple modules, rimage should not expect these sections
in bootloader module: .bss, .static_log_entries .fw_ready.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
Some of interface headers are not needed by kernel,
but are needed by user-space applications, so we can split them
into multiple directories that indicate their purpose.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
Open brace '{' following function declaration get_mem_zone_type
goes on the next line.
Signed-off-by: Diana Ungureanu <diana-gabriela.ungureanu@nxp.com>
Size column in both cases instread of Bytes and Size
Hex view in both cases instead of Dec and Hex
Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
Use new block types added to describe memory for
a platform as an array of zones. The block type
will be an index into the array.
A memory zone is described by (base, size, host_offset).
With this map we can now easily find for a given section
in which memory zone it belongs.
Because we have 10 zones reserved this patch will allocate
extra 12 * 10 = 120 bytes that are not used yet.
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Change the name of the enums to reflect the type
of memory where the given block will be loaded.
DATA section is mapped to DRAM, TEXT section is mapped to
SRAM. No ABI breakage.
We also reserve several slots for future use.
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Fix bugs in Sue Creek support for rimage:
- use a correct manifest offset
- place the image higher into RAM to avoid overwriting itself when
copying the SOF proper.
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This is very useful when updating one of the types in UAPI
because with the current implementation one needs to be careful
to also update file_format.h
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Add pandding to each block if the block size is not divisible by 4.
Which can avoid unaligned memory accesses.
Signed-off-by: Bard liao <yung-chuan.liao@linux.intel.com>