Skip to content
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

i.MX RT700 DSP support #79954

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

iuliana-prodan
Copy link
Collaborator

The i.MX RT700 has a Compute Subsystem which includes a primary ARM Cortex-M33 running at 325 MHz and Cadence Tensilica HiFi 4 DSP.
It also features an ultra-low power Sense Subsystem which includes a second ARM Cortex-M33 and Cadence Tensilica HiFi 1 DSP.

This pull request adds the soc and board support for the two HiFi cores.

@zephyrbot
Copy link
Collaborator

zephyrbot commented Oct 16, 2024

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_xtensa zephyrproject-rtos/hal_xtensa@baa56aa zephyrproject-rtos/hal_xtensa@b38620c zephyrproject-rtos/hal_xtensa@baa56aa3..b38620c7

All manifest checks OK

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@zephyrbot zephyrbot added manifest manifest-hal_xtensa manifest-hal_nxp DNM This PR should not be merged (Do Not Merge) labels Oct 16, 2024
@iuliana-prodan iuliana-prodan force-pushed the rt700_dsp_support branch 5 times, most recently from 9f51a11 to 2e37183 Compare October 18, 2024 14:51
dcpleung
dcpleung previously approved these changes Oct 18, 2024
@iuliana-prodan
Copy link
Collaborator Author

The twister tests are failing because the CI is using zephyr_sdk 0.16.8 which doesn't include the hifi1 and hifi4 toolchain for imxrt700.

Configuration saved to '/__w/zephyr/zephyr/twister-out/mimxrt700_evk_mimxrt798s_hifi1/samples/kernel/condition_variables/simple/sample.kernel.cond_var.simple/zephyr/.config'
Kconfig header saved to '/__w/zephyr/zephyr/twister-out/mimxrt700_evk_mimxrt798s_hifi1/samples/kernel/condition_variables/simple/sample.kernel.cond_var.simple/zephyr/include/generated/zephyr/autoconf.h'
CMake Error at /__w/zephyr/zephyr/cmake/compiler/gcc/target.cmake:12 (message):
  C compiler
  /opt/toolchains/zephyr-sdk-0.16.8/xtensa-nxp_rt700_hifi1_zephyr-elf/bin/xtensa-nxp_rt700_hifi1_zephyr-elf-gcc
  not found - Please check your toolchain installation

Locally I used zephyr-sdk-0.16.9-rc2 which had the 2 toolchain.

I see now that 0.17.0 was released.
@stephanosio when will the new toolchain be included in the CI?
Can I do the update?

nordicjm
nordicjm previously approved these changes Oct 30, 2024
dbaluta
dbaluta previously approved these changes Oct 30, 2024
@dcpleung
Copy link
Member

Waiting for hal_nxp to be updated.

Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Dec 30, 2024
@github-actions github-actions bot closed this Jan 13, 2025
@dleach02 dleach02 reopened this Feb 17, 2025
@zephyrbot zephyrbot added the DNM (manifest) This PR should not be merged (controlled by action-manifest) label Feb 17, 2025
@github-actions github-actions bot removed the Stale label Feb 18, 2025
@dleach02
Copy link
Member

@iuliana-prodan the RT700 HAL PR merged. Can you update this PR to move the NXP HAL SHA to the tip and then resolve the merge conflicts? We can get this ready to merge quickly after the upstream v4.1 release

@iuliana-prodan
Copy link
Collaborator Author

@iuliana-prodan the RT700 HAL PR merged. Can you update this PR to move the NXP HAL SHA to the tip and then resolve the merge conflicts? We can get this ready to merge quickly after the upstream v4.1 release

Yes, I have this on my list :)
I'll do it this week!

The i.MX RT700 has a compute subsystem which includes
a primary ARM Cortex-M33 running at 325 MHz and
Cadence Tensilica HiFi4 DSP.

Here, we add support for the HiFi4 core.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Add a basic device tree for the HiFi4 DSP from NXP i.MXRT700.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Add board support for the HiFi4 DSP core from NXP i.MXRT700.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
@iuliana-prodan iuliana-prodan dismissed stale reviews from dbaluta and nordicjm via f5d3313 March 4, 2025 16:58
@zephyrbot zephyrbot removed the DNM (manifest) This PR should not be merged (controlled by action-manifest) label Mar 4, 2025
The i.MX RT700 has an ultra-low power Sense Subsystem
which includes an ARM Cortex-M33 and
Cadence Tensilica HiFi 1 DSP.

Here, we add support for the HiFi1 core.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Add a basic device tree for the HiFi1 DSP from NXP i.MXRT700.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Add board support for the HiFi1 DSP core from NXP i.MXRT700.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Add documentation for the two HiFi1 and HiFi4 DSP cores from i.MXRT700.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Update Xtensa hal to support NXP i.MXRT700 DSP cores.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
@iuliana-prodan
Copy link
Collaborator Author

Changes since previous version:

  • rebase and resolve conflicts with the M33 Core 0 and Core1 support for i.MXRT700;
  • update west.yml only with commit id for Xtensa HAL (NXP hal was merged and updated in west.yml);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Xtensa Xtensa Architecture DNM This PR should not be merged (Do Not Merge) manifest manifest-hal_nxp manifest-hal_xtensa platform: NXP NXP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants