[meta-ti] [PATCH v2] edma3-lld-rtos: Add support for omapl1
Jacob Stiffler
j-stiffler at ti.com
Wed Jul 12 11:30:00 PDT 2017
On 7/12/2017 2:17 PM, Mahesh Radhakrishnan wrote:
> Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2 at ti.com>
> ---
> recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb | 31 +++++++++++++++++++++++++++--
> recipes-bsp/edma3-lld/edma3-lld.inc | 6 +++---
> 2 files changed, 32 insertions(+), 5 deletions(-)
>
> diff --git a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
> index f524478..e9b17c1 100644
> --- a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
> +++ b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
> @@ -1,11 +1,11 @@
> require edma3-lld.inc
> require recipes-ti/includes/ti-paths.inc
>
> -PR = "${INC_PR}.1"
> +PR = "${INC_PR}.2"
>
> DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
>
> -COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
> +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1"
> PACKAGE_ARCH = "${MACHINE_ARCH}"
>
> PLATFORMLIST = ""
> @@ -43,6 +43,13 @@ PLATFORMLIST_keystone = " \
> tci6630k2l-evm \
> c66ak2e-evm \
> tci66ak2g02-evm \
> + c6657-evm \
> + c6678-evm \
> + tda3xx-evm \
> +"
> +PLATFORMLIST_omapl1 = " \
> + omapl137-evm \
> + omapl138-evm \
> "
>
> TARGETLIST_keystone = " \
> @@ -50,6 +57,10 @@ TARGETLIST_keystone = " \
> a15 \
> "
>
> +TARGETLIST_omapl1 = " \
> + arm9 \
> + 674 \
> +"
> FORMAT="ELF"
>
> S = "${WORKDIR}/git"
> @@ -73,6 +84,8 @@ export CROSSAR="${TARGET_PREFIX}ar"
> export CROSSLNK="${TARGET_PREFIX}gcc"
>
> do_configure () {
> + rm -rf ${S}/examples/edma3_driver/evmTCI6614
> + rm -rf ${S}/examples/edma3_driver/evmTCI6614BE
Just curious, why these need to be removed?
> sed -i -e "s|_config.bld|config.bld|g" ${S}/makerules/env.mk
> sed -i -e "s|^edma3_lld_PATH =.*$|edma3_lld_PATH = ${S}|g" ${S}/makerules/env.mk
> sed -i -e "s|^CODEGEN_PATH_M3 =.*$|CODEGEN_PATH_M3 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
> @@ -114,3 +127,17 @@ INSANE_SKIP_${PN}-dev = "arch ldflags file-rdeps"
>
> ALLOW_EMPTY_${PN} = "1"
> FILES_${PN}-dev += "${EDMA3_LLD_INSTALL_DIR_RECIPE}"
> +
> +EXTRA_OEMAKE_remove = "TARGET=66"
> +
> +inherit component_meta
> +CM_NAME = "EDMA3 LLD"
> +CM_VERSION = "${PV}"
> +CM_ROOT_DIR = "edma3_lld_${@'${PV}'.replace('.','_')}"
> +CM_DESCRIPTION = "EDMA3 low level driver that supports data transfers between two memory mapped devices"
Please remove the component-meta class configuration. This has not been
upstreamed, and will likely not go into meta-ti, but meta-arago instead.
> +
> +deltask do_create_srcipk
> +addtask create_srcipk after do_compile before do_install
> +
> +CREATE_SRCIPK = "1"
> +SRCIPK_INSTALL_DIR = "${CM_ROOT_DIR}"
Please remove the sourceipk class configuration. This belongs in meta-arago.
> \ No newline at end of file
> diff --git a/recipes-bsp/edma3-lld/edma3-lld.inc b/recipes-bsp/edma3-lld/edma3-lld.inc
> index 63f1cac..daf9268 100644
> --- a/recipes-bsp/edma3-lld/edma3-lld.inc
> +++ b/recipes-bsp/edma3-lld/edma3-lld.inc
> @@ -6,12 +6,12 @@ EDMA3_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
> EDMA3_LLD_GIT_PROTOCOL = "git"
> EDMA3_LLD_GIT_BRANCH = "master"
>
> -# Below commit ID corresponds to tag "DEV_EDMA3_LLD_02_12_03_27"
> -EDMA3_LLD_SRCREV = "ed434ef4019b696b753dae0f98fe6594a7ce35a3"
> +# Below commit ID corresponds to tag "DEV_EDMA3_LLD_02_12_04_28A"
> +EDMA3_LLD_SRCREV = "8a8ed96465b6625cc3446a65fecebd9c510f4342"
>
> BRANCH = "${EDMA3_LLD_GIT_BRANCH}"
> SRC_URI = "${EDMA3_LLD_GIT_URI};protocol=${EDMA3_LLD_GIT_PROTOCOL};branch=${BRANCH}"
> SRCREV = "${EDMA3_LLD_SRCREV}"
>
> -PV = "2.12.03.27"
> +PV = "2.12.04.28A"
> INC_PR = "r0"
More information about the meta-ti
mailing list