Skip to content

Commit

Permalink
WIP: Add support of Mediatek i350 VP6
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
  • Loading branch information
anobli committed Jun 29, 2023
1 parent 8d9b4fe commit de3e469
Show file tree
Hide file tree
Showing 12 changed files with 425,296 additions and 0 deletions.
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"
CT_TARGET_CFLAGS="-ftls-model=local-exec"
CT_CC_GCC_CONFIG_TLS=n
Loading

0 comments on commit de3e469

Please sign in to comment.