HI Denys,

My comments inline.

I have submitted a new patch for vps-lld incorporating these changes. (attached)



Regards

Mahesh



-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, August 24, 2017 4:07 PM
To: Radhakrishnan, Mahesh
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH v2 33/37] vps-lld-rtos: Added rtos recipe for 
vps-lld



Same exact questions/comments as for #25 pm-lld-rtos...

This recipe has been modified to use ti-pdk.bbclass (similar to the changes 
done for pm-lld-rtos)



On Tue, Jul 18, 2017 at 07:03:44PM -0400, Mahesh Radhakrishnan wrote:

> Upstreaming RTOS low level driver for Video processing subsystem.

>

> Signed-off-by: Mahesh Radhakrishnan 
> <[email protected]<mailto:[email protected]>>

> ---

>

> v2 - Added summary & merged in to a single recipe

>

>  recipes-bsp/vps-lld/vps-lld-rtos_git.bb | 94

> +++++++++++++++++++++++++++++++++

>  1 file changed, 94 insertions(+)

>  create mode 100644 recipes-bsp/vps-lld/vps-lld-rtos_git.bb

>

> diff --git a/recipes-bsp/vps-lld/vps-lld-rtos_git.bb

> b/recipes-bsp/vps-lld/vps-lld-rtos_git.bb

> new file mode 100644

> index 0000000..8f759b8

> --- /dev/null

> +++ b/recipes-bsp/vps-lld/vps-lld-rtos_git.bb

> @@ -0,0 +1,94 @@

> +SUMMARY = "TI RTOS Low level driver for Video Processing Subsystem (VPS) "

> +

> +require recipes-ti/includes/ti-paths.inc

> +

> +LICENSE = "BSD-3-Clause"

> +LIC_FILES_CHKSUM = 
> "file://COPYING.txt;beginline=1;endline=32;md5=4303d306ea53eb66132983d6901c137d<file:///\\COPYING.txt;beginline=1;endline=32;md5=4303d306ea53eb66132983d6901c137d>"

> +

> +COMPATIBLE_MACHINE = "omap-a15"

> +PACKAGE_ARCH = "${MACHINE_ARCH}"

> +

> +VPS_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/vps.git"

> +VPS_LLD_GIT_PROTOCOL = "git"

> +VPS_LLD_GIT_BRANCH = "master"

> +VPS_LLD_GIT_DESTSUFFIX = "git"

> +VPS_PACKAGE_BASE   = "${S}/../vps_base"

> +VPS_LLD_ROOTPATH = "${VPS_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/vps"

> +

> +# Below commit ID corresponds to "DEV.VPS_LLD.01.00.01.06B"

> +VPS_LLD_SRCREV = "58729317b65bdb24d4343cbb1f7f6cb90ca2faf0"

> +

> +BRANCH = "${VPS_LLD_GIT_BRANCH}"

> +SRC_URI = 
> "${VPS_LLD_GIT_URI};destsuffix=${VPS_LLD_GIT_DESTSUFFIX};protocol=${VPS_LLD_GIT_PROTOCOL};branch=${BRANCH}"

> +

> +SRCREV = "${VPS_LLD_SRCREV}"

> +PV = "01.00.01.06B"

> +PR = "r0"

> +

> +S = "${WORKDIR}/${VPS_LLD_GIT_DESTSUFFIX}"

> +

> +DEPENDS = " ti-cgt6x-native \

> +            ti-cgt-arm-native \

> +            ti-sysbios \

> +            common-csl-ip-rtos \

> +            gcc-arm-none-eabi-native \

> +            osal-rtos \

> +            ca-certificates-native \

> +            ti-pdk-setup \

> +            edma3-lld-rtos \

> +            board-rtos \

> +            uart-lld-rtos \

> +            i2c-lld-rtos \

> +            pm-lld-rtos \

> +"

> +

> +# Fetch task cannot be completed until after ca-certificates-native

> +populates sysroot with the SSL certificates do_fetch[depends] = 
> "ca-certificates-native:do_populate_sysroot"

> +

> +export TOOLCHAIN_PATH_A15 = "${GCC_ARM_NONE_TOOLCHAIN}"

> +export FPULIB_PATH = 
> "${GCC_ARM_NONE_TOOLCHAIN}/lib/gcc/arm-none-eabi/4.9.3/fpu/"

> +export TOOLCHAIN_PATH_M4 = "${M4_TOOLCHAIN_INSTALL_DIR}"

> +export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"

> +export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"

> +export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"

> +export XDC_INSTALL_PATH = "${XDC_INSTALL_DIR}"

> +export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"

> +

> +export PDK_VPS_ROOT_PATH = "${VPS_PACKAGE_BASE}/package/all/pdk_/packages"

> +

> +BOARD_PACKAGE = ""

> +BOARD_PACKAGE_am57xx-evm = "evmAM572x"

> +BOARD_PACKAGE_dra7xx-evm = "evmDRA75x"

> +

> +

> +do_configure() {

> +    rm -rf ${VPS_PACKAGE_BASE}

> +    cd ${S}

> +

> +    # remove any previous package

> +    rm -f ${VPS_PACKAGE_BASE}

> +

> +    # make the release package before building it

> +    make package BOARD=${BOARD_PACKAGE} DEST_ROOT=${VPS_PACKAGE_BASE}

> +PDK_VPS_COMP_PATH=${S} }

> +

> +do_compile() {

> +    echo "vps lld root path is ${VPS_LLD_ROOTPATH}"

> +    cd ${VPS_LLD_ROOTPATH}

> +

> +    # Build am572x and am571x libraries

> +    make clean lib xdc_meta doxygen LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" 
> LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}"

> +

> +    #archive

> +    tar -cf vps_lld.tar --exclude='*.tar' ./* }

> +

> +do_install() {

> +    cd ${VPS_LLD_ROOTPATH}

> +    install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/vps

> +    find -name "*.tar" -exec tar xf {} --no-same-owner -C

> +${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/vps \; }

> +

> +FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"

> +

> +INSANE_SKIP_${PN} = "arch ldflags"

> --

> 1.9.1

>

> --

> _______________________________________________

> meta-ti mailing list

> [email protected]<mailto:[email protected]>

> https://lists.yoctoproject.org/listinfo/meta-ti
--- Begin Message ---
RTOS low level driver for Video processing subsystem.

Signed-off-by: Mahesh Radhakrishnan <[email protected]>
---

 v4 - Modifications to use ti-pdk.bbclass
 v3 - Removed intermediate tar-untar for do-install
 v2 - Added summary

 recipes-bsp/vps-lld/vps-lld-rtos_git.bb | 52 +++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 recipes-bsp/vps-lld/vps-lld-rtos_git.bb

diff --git a/recipes-bsp/vps-lld/vps-lld-rtos_git.bb 
b/recipes-bsp/vps-lld/vps-lld-rtos_git.bb
new file mode 100644
index 0000000..f13e2fc
--- /dev/null
+++ b/recipes-bsp/vps-lld/vps-lld-rtos_git.bb
@@ -0,0 +1,52 @@
+SUMMARY = "TI RTOS Low level driver for Video Processing Subsystem (VPS) "
+
+require recipes-ti/includes/ti-paths.inc
+inherit ti-pdk
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"file://COPYING.txt;beginline=1;endline=32;md5=4303d306ea53eb66132983d6901c137d"
+
+COMPATIBLE_MACHINE = "omap-a15"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+VPS_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/vps.git"
+VPS_LLD_GIT_PROTOCOL = "git"
+VPS_LLD_GIT_BRANCH = "master"
+VPS_LLD_GIT_DESTSUFFIX = "git/ti/drv/vps"
+
+# Below commit ID corresponds to "DEV.VPS_LLD.01.00.01.06B"
+VPS_LLD_SRCREV = "58729317b65bdb24d4343cbb1f7f6cb90ca2faf0"
+
+BRANCH = "${VPS_LLD_GIT_BRANCH}"
+SRC_URI = 
"${VPS_LLD_GIT_URI};destsuffix=${VPS_LLD_GIT_DESTSUFFIX};protocol=${VPS_LLD_GIT_PROTOCOL};branch=${BRANCH}"
+
+SRCREV = "${VPS_LLD_SRCREV}"
+PV = "01.00.01.06B"
+PR = "r0"
+
+S = "${WORKDIR}/${VPS_LLD_GIT_DESTSUFFIX}"
+
+DEPENDS = " ti-sysbios \
+            osal-rtos \
+            edma3-lld-rtos \
+            board-rtos \
+            uart-lld-rtos \
+            i2c-lld-rtos \
+            pm-lld-rtos \
+"
+export PDK_VPS_COMP_PATH = "${WORKDIR}/build"
+export DEST_ROOT="${S}"
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+do_compile_append() {
+    # Delete archive created by XDC release command since it does not contain 
all content
+    find -name "*.tar" -exec rm -f {} \;
+
+    # Archive from build/ to capture ti/drv/pm/ in archive
+    cd ${B}
+    tar -cf pm_lld.tar --exclude='*.tar' ./*
+}
+
+INSANE_SKIP_${PN} = "arch ldflags"
--
1.9.1


--- End Message ---
-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to