-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] sof_ri_info.py fails on Intel MTL+ binaries #8073
Labels
Milestone
Comments
kv2019i
added
bug
Something isn't working as expected
MTL
Applies to Meteor Lake platform
labels
Aug 22, 2023
marc-hb
changed the title
[BUG] sof_ri_info.oy fails on Intel MTL+ binaries
[BUG] sof_ri_info.py fails on Intel MTL+ binaries
Aug 24, 2023
Known issue: 842c39f |
kv2019i
added a commit
to kv2019i/rimage
that referenced
this issue
Aug 24, 2023
The ADSP.man contents is different for ACE_V1_5 layout compared to CAVS_V2_5 layout. so the ADSP.man length should be adjusted accordingly. With this fix, sof_ri_info.py can be used to analyze LNL and MTL firmware images created with rimage. Closes: thesofproject/sof#8073 Signed-off-by: Kai Vehmanen <[email protected]>
Issue rootcaused, fix in thesofproject/rimage#173 |
Reopening until rimage update is done to SOF main with this fix. EDIT: rimage upgraded in SOF by |
Auto closed by insane https://github.com/orgs/community/discussions/17308 |
Thanks @kv2019i ! Enabling |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Following error is seen when using the script on recent MTL binaries:
$ ./sof_ri_info.py sof-mtl.ri
Traceback (most recent call last):
File "./sof_ri_info.py", line 1717, in
main(ARGS)
File "./sof_ri_info.py", line 1694, in main
fw_bin = parse_fw_bin(args.sof_ri_path, args.no_cse, args.verbose)
File "./sof_ri_info.py", line 906, in parse_fw_bin
parsed_bin.add_comp(parse_cse_manifest(reader))
File "./sof_ri_info.py", line 681, in parse_cse_manifest
entry_file_offset + entry_length)
File "./sof_ri_info.py", line 704, in parse_css_manifest
return parse_css_manifest_4(css_mft, reader, limit)
File "./sof_ri_info.py", line 769, in parse_css_manifest_4
assert reader.get_offset() == size_limit # wrong extension length
AssertionError
To Reproduce
Reproduction Rate
Expected behavior
Impact
Environment
The text was updated successfully, but these errors were encountered: