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

Build SOF with zephyr on acp_6_0 platform. #9549

Closed
wants to merge 13 commits into from

Conversation

DINESHKUMARK1
Copy link
Contributor

Integrate Zephyr support into the SOF build for AMD platforms.

Add config file for acp_6_0: amd_acp_6_0_adsp.conf.

Signed-off-by: DINESHKUMAR <DineshKumar.Kalva@amd.com>
Add support to build sof for acp_6_0 platform.

Signed-off-by: DINESHKUMAR <DineshKumar.Kalva@amd.com>
definitions and not enabling irqsteer with zephyr.

For the functions platform_interrupt_clear and platform_interrupt_set,
the existing definitions based on arch_interrupt_* do not compile with
the xt-clang 2023 toolchain for acp_6_0. Use the Zephyr wrapper
implementations for those for now.

Signed-off-by: DINESHKUMAR <DineshKumar.Kalva@amd.com
This commit introduces support in the CMakeLists.txt of Zephyr for
building SOF for acp_6_0 platform.

Signed-off-by: DINESHKUMAR <DineshKumar.Kalva@amd.com>
…tform.

There are a mapping between LOCAL and HOST on platform, then add macro
local_to_host, host_to_local.

DSP memory region has mapped to host memory region on acp_6_0.
Then if we want access the address from host, need to convert the address.

Signed-off-by: DINESHKUMAR <DineshKumar.Kalva@amd.com>
Replaced sof timer related functions with Zephyr alternative.

Signed-off-by: DINESHKUMAR <DineshKumar.Kalva@amd.com>
add heap memory allocation for .heap_mem section.

Signed-off-by: DINESHKUMAR <DineshKumar.Kalva@amd.com>
With Zephyr, SOF uses k_cycle_get_64() API in order to
count clock cycles.this API have a 64bit counter (e.g acp_6_0 dsp integration
only has xtensa timer which is limited to 32 bits).

Signed-off-by: DINESHKUMAR <DineshKumar.Kalva@amd.com>
In order to avoid  first level interrupt handling from
wrapper.c second level interrupt handling go through interrupt.c
define macros to rename the duplicated functions

Signed-off-by: DINESHKUMAR <DineshKumar.Kalva@amd.com>
needed in Zephyr build.

Definitions of mm_heap.h interface are not needed in Zephyr builds,
added a no-op version for Zephyr.

Signed-off-by: DINESHKUMAR <DineshKumar.Kalva@amd.com>
Add acp_6_0 toml file to support sof-acp_6_0.ri binary build.

Signed-off-by: DINESHKUMAR <DineshKumar.Kalva@amd.com>
Signed-off-by: DINESHKUMAR <119919751+DINESHKUMARK1@users.noreply.github.com>
Signed-off-by: DINESHKUMAR <119919751+DINESHKUMARK1@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant