Skip to content

[BUG] sof_ri_info.py fails on Intel MTL+ binaries #8073

@kv2019i

Description

@kv2019i

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

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
    • Kernel: {SHA}
    • SOF: {SHA}
  2. Name of the topology file
    • Topology: n/a
  3. Name of the platform(s) on which the bug is observed.
    • Platform: MTL

Metadata

Metadata

Assignees

Labels

LNLApplies to Lunar Lake platformMTLApplies to Meteor Lake platformP1Blocker bugs or important featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions