Skip to content

[BUG] PTL doesn't have an open source toolchain, "xtensa-build-zephyr.py ptl" fails by default #9262

Closed

Description

@andyross

The PTL platform merged without a toolchain added to the Zephyr SDK for the ace30_ptl SOC, or any other way to create one. This means that builds from a bare tree checkout are always going to fail without access to the Cadence SDK for the device. Also new work that might impact the platform (c.f #9261) can't be validated by the submitter.

At the very least, if there's resistance to adding another toolchain to the already huge Zephyr SDK[1] an overlay file should be added to the SOF xtensa-overlays project ( https://github.com/thesofproject/xtensa-overlay ) so that users can build their own.

[1] There are, to be sure, a lot of Xtensa variants in there now.

Activity

  1. added
    bugSomething isn't working as expected
    on Jun 26, 2024
  2. andyross commented on Jun 26, 2024

    @andyross
    ContributorAuthor

    FWIW: another side band option would be to get partners copies of the relevant Cadence SDK integration files so they could do the work themselves.

  3. abonislawski commented on Jul 2, 2024

    @abonislawski
    Member

    At the very least, if there's resistance to adding another toolchain to the already huge Zephyr SDK[1]

    Do you have this in mind?
    zephyrproject-rtos/sdk-ng#767

    @lgirdwood not sure about the current policy, we should have it also in xtensa-overlay repo or sdk-ng is enough?

  4. lgirdwood commented on Jul 5, 2024

    @lgirdwood
    Member

    At the very least, if there's resistance to adding another toolchain to the already huge Zephyr SDK[1]

    Do you have this in mind? zephyrproject-rtos/sdk-ng#767

    @lgirdwood not sure about the current policy, we should have it also in xtensa-overlay repo or sdk-ng is enough?

    I think CI needs it on SOF side i.e. for GCC front end static analysis for PR testing but IIRC it should all come via Zephyr SDK now.

  5. added this to the v2.11 milestone on Jul 5, 2024
  6. marc-hb commented on Aug 14, 2024

    @marc-hb
    Collaborator
  7. modified the milestones: v2.11, v2.12 on Sep 6, 2024
  8. kv2019i commented on Sep 6, 2024

    @kv2019i
    Collaborator

    zephyrproject-rtos/sdk-ng#767 is now merged, so support exists in Zephyr SDK.

    No activity on the xtensa-overlay and "ptl" is still marked in extras, so I'll keep this open until we have more clear concensus (either the Zephyr SDK is sufficient for Zephyr native SOF platform and/or xtensa-overlay is updated).

  9. kv2019i commented on Jan 3, 2025

    @kv2019i
    Collaborator

    With #9732 we can now close this.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions