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

Draft: Add support of Mediatek xtensa MVP6 0226 overlay #686

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ on:
- xtensa-nxp_imx_adsp_zephyr-elf
- xtensa-nxp_imx8m_adsp_zephyr-elf
- xtensa-sample_controller_zephyr-elf
- xtensa-mtk_mvpu6_0226_zephyr-elf
debug:
description: 'Debug'
type: choice
Expand Down Expand Up @@ -166,6 +167,7 @@ jobs:
xtensa-nxp_imx_adsp_zephyr-elf) build_target_xtensa_nxp_imx_adsp_zephyr_elf="y";;
xtensa-nxp_imx8m_adsp_zephyr-elf) build_target_xtensa_nxp_imx8m_adsp_zephyr_elf="y";;
xtensa-sample_controller_zephyr-elf) build_target_xtensa_sample_controller_zephyr_elf="y";;
xtensa-mtk_mvpu6_0226_zephyr-elf) build_target_xtensa_mtk_mvpu6_0226_zephyr_elf="y";;
esac
MATRIX_DEBUG="${{ github.event.inputs.debug }}"
Expand Down Expand Up @@ -202,6 +204,7 @@ jobs:
build_target_xtensa_nxp_imx_adsp_zephyr_elf="y"
build_target_xtensa_nxp_imx8m_adsp_zephyr_elf="y"
build_target_xtensa_sample_controller_zephyr_elf="y"
build_target_xtensa_mtk_mvpu6_0226_zephyr_elf="y"
fi
# Build 'linux_x86_64' by default if no host is selected
Expand Down Expand Up @@ -278,6 +281,7 @@ jobs:
[ "${build_target_xtensa_nxp_imx_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-nxp_imx_adsp_zephyr-elf",'
[ "${build_target_xtensa_nxp_imx8m_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-nxp_imx8m_adsp_zephyr-elf",'
[ "${build_target_xtensa_sample_controller_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-sample_controller_zephyr-elf",'
[ "${build_target_xtensa_mtk_mvpu6_0226_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-mtk_mvpu6_0226_zephyr-elf",'
MATRIX_TARGETS+=']'
# Generate test environment list
Expand Down Expand Up @@ -1540,6 +1544,9 @@ jobs:
xtensa-sample_controller_zephyr-elf)
PLATFORM_ARGS+="-p qemu_xtensa "
;;
xtensa-mtk_mvpu6_0226_zephyr-elf)
PLATFORM_ARGS+="-p mtk_mvpu6_0226 "
;;
esac
done
Expand Down
9 changes: 9 additions & 0 deletions configs/xtensa-mtk_mvpu6_0226_zephyr-elf.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CT_CONFIG_VERSION="3"
CT_EXPERIMENTAL=y
CT_OVERLAY_LOCATION="overlays"
CT_OVERLAY_NAME="mtk_mvpu6_0226"
CT_ARCH_XTENSA=y
CT_XTENSA_CUSTOM=y
CT_TARGET_VENDOR="mtk_mvpu6_0026_zephyr"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just looking at the code : should this be 0226 instead of 0026 ?

CT_TARGET_CFLAGS="-ftls-model=local-exec"
CT_CC_GCC_CONFIG_TLS=n
Loading
Loading