-
Notifications
You must be signed in to change notification settings - Fork 322
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
Closed
Conversation
This file contains 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
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
dabekjakub,
kv2019i,
lyakh,
iuliana-prodan,
dbaluta,
abonislawski,
pblaszko,
marcinszkudlinski,
LaurentiuM1234,
bhiregoudar,
sunilkumardommati,
lgirdwood,
plbossart,
mmaka1 and
lbetlej
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>
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.