Skip to content

Commit 7014a0e

Browse files
committed
xtensa-build-zephyr.py: checksum dsp_basefw.bin
When using --fw-naming AVS the .ri file is renamed to `dsp_basefw.bin`. Also explain why it's still useful to identify non-deterministic images. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent f493010 commit 7014a0e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/xtensa-build-zephyr.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,12 @@ class InstFile:
825825
BIN_NAME = 'zephyr'
826826

827827
CHECKSUM_WANTED = [
828-
'*.ri', # Some .ri files have a non-deterministic signature, others not
828+
# Some .ri files have a deterministic signature, others use
829+
# a cryptographic salt. Even for the latter a checksum is still
830+
# useful to match an artefact with a specific build log.
831+
'*.ri',
832+
'dsp_basefw.bin',
833+
829834
'*version*.h',
830835
'*configs.c', # deterministic unlike .config
831836
'*.strip', '*stripped*', # stripped ELF files are reproducible

0 commit comments

Comments
 (0)