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

Add support for i.MX8ULP DSP core, or imx8ulp_evk//adsp board, in openamp_rsc_table sample #83049

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

Conversation

iuliana-prodan
Copy link
Collaborator

Add mailbox, resource table section in linker and the dts and config overlay for i.MX8ULP DSP core in order
to have the openamp_rsc_table sample working on imx8ulp_evk//adsp board.

@zephyrbot
Copy link
Collaborator

zephyrbot commented Dec 16, 2024

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

Name Old Revision New Revision Diff

All manifest checks OK

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

LaurentiuM1234
LaurentiuM1234 previously approved these changes Dec 16, 2024
dbaluta
dbaluta previously approved these changes Dec 18, 2024
@dleach02 dleach02 dismissed stale reviews from dbaluta and LaurentiuM1234 via 6b59502 December 19, 2024 03:09
@dleach02 dleach02 force-pushed the 8ulp_openamp_rsc_table branch from 74e80fa to 6b59502 Compare December 19, 2024 03:09
dleach02
dleach02 previously approved these changes Dec 19, 2024
@zephyrbot zephyrbot removed the DNM This PR should not be merged (Do Not Merge) label Dec 19, 2024
@dleach02
Copy link
Member

@iuliana-prodan @dbaluta I've merged the HAL and updated your Zephyr side PR.

@doki-nordic can we get your review on this PR?

dbaluta
dbaluta previously approved these changes Dec 19, 2024
LaurentiuM1234
LaurentiuM1234 previously approved these changes Dec 19, 2024
Fix the following compile warning:
"Warning (unique_unit_address_if_enabled):
/cpus/cpu@0: duplicate unit-address (also used
in node /cpus/interrupt-controller@0)"

Signed-off-by: Iuliana Prodan <[email protected]>
Add resource_table section in linker script
for i.MX8ULP, for inter-process communication.

Signed-off-by: Iuliana Prodan <[email protected]>
Add mailbox node used for inter-process communication.

Signed-off-by: Iuliana Prodan <[email protected]>
Add the dts and config overlay for imx8ulp_evk//adsp
to have the openamp_rsc_table sample working on
HiFi4 DSP from i.MX8ULP.

Since openamp_rsc_table sample uses IPM API and i.MX8ULP
has a mbox driver for messaging unit, we need a mailbox node.
This will load the ipm_mbox driver that exposes the IPM
interface while using a MBOX driver in the back-end.

On i.MX8ULP, for DSP, the physical and virtual address are
different.
Therefore add 2 register blocks in ipc_shm node: first is
the virtual address and the second one is the
physical address.

Signed-off-by: Iuliana Prodan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants