Repository navigation
Build SOF with zephyr on acp_6_0 platform. - #9549
Closed
DINESHKUMARK1 wants to merge 13 commits into
Closed
DINESHKUMARK1 wants to merge 13 commits into
DINESHKUMARK1 wants to merge 13 commits into
Conversation
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>
DINESHKUMARK1
requested review from
LaurentiuM1234,
abonislawski,
bhiregoudar,
dabekjakub,
dbaluta,
iuliana-prodan,
kv2019i,
lbetlej,
lgirdwood,
lyakh,
marcinszkudlinski,
mmaka1,
pblaszko,
plbossart and
sunilkumardommati
as code owners
October 8, 2024 06:52
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Integrate Zephyr support into the SOF build for AMD platforms.