Skip to content

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

Closed
thesofproject/rimage
#173

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

Activity

  1. added
    bugSomething isn't working as expected
    MTLApplies to Meteor Lake platform
    on Aug 22, 2023
  2. added this to the v2.7 milestone on Aug 22, 2023
  3. added
    P1Blocker bugs or important features
    on Aug 22, 2023
  4. changed the title [-][BUG] sof_ri_info.oy fails on Intel MTL+ binaries[/-] [+][BUG] sof_ri_info.py fails on Intel MTL+ binaries[/+] on Aug 24, 2023
  5. marc-hb commented on Aug 24, 2023

    @marc-hb
    Collaborator

    Known issue: 842c39f

  6. self-assigned this
    on Aug 24, 2023
  7. added
    LNLApplies to Lunar Lake platform
    on Aug 24, 2023
  8. kv2019i commented on Aug 24, 2023

    @kv2019i
    CollaboratorAuthor

    Issue rootcaused, fix in thesofproject/rimage#173

  9. kv2019i commented on Aug 25, 2023

    @kv2019i
    CollaboratorAuthor

    Reopening until rimage update is done to SOF main with this fix.

    EDIT: rimage upgraded in SOF by

  10. marc-hb commented on Aug 28, 2023

    @marc-hb
    Collaborator

    Auto closed by insane https://github.com/orgs/community/discussions/17308
    when #8095 actually did it.

  11. marc-hb commented on Aug 28, 2023

    @marc-hb
    Collaborator

    Thanks @kv2019i ! Enabling sof_ri_info.py on MTL and LNL at last in:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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