* [PATCH] dspdce-fw: add recipe to build dspdce-fw from git source @ 2015-09-16 16:38 Hongmei Gou 2015-09-17 20:20 ` Denys Dmytriyenko 0 siblings, 1 reply; 4+ messages in thread From: Hongmei Gou @ 2015-09-16 16:38 UTC (permalink / raw) To: meta-ti Signed-off-by: Hongmei Gou <h-gou@ti.com> --- recipes-bsp/dspdce-fw/dspdce-fw_git.bb | 54 ++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw_git.bb diff --git a/recipes-bsp/dspdce-fw/dspdce-fw_git.bb b/recipes-bsp/dspdce-fw/dspdce-fw_git.bb new file mode 100644 index 0000000..79ba68c --- /dev/null +++ b/recipes-bsp/dspdce-fw/dspdce-fw_git.bb @@ -0,0 +1,54 @@ +DESCRIPTION = "Firmware for DSP for an example application called copycodectest" +LICENSE = "TI-TSPA" +LIC_FILES_CHKSUM = "file://src/ti/framework/dce/dce.c;startline=1;endline=31;md5=2c6e9aba6ed75f22b1a2b7544b1c809d" + +COMPATIBLE_MACHINE = "dra7xx" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +SRC_URI = "git://git.ti.com/glsdk/dspdce.git;protocol=git" +SRCREV = "71e8fbf8e4f91b60680cf18a0c202a222e9ae3ba" + +S = "${WORKDIR}/git" + +require recipes-ti/includes/ti-paths.inc +require recipes-ti/includes/ti-staging.inc + +PR = "r0" + +DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native" + +export HWVERSION="ES10" +export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti" + +export XDCVERSION="ti-xdctools-tree" +export BIOSVERSION="ti-sysbios-tree" +export IPCVERSION="ti-ipc-tree" +export CEVERSION="ti-codec-engine-tree" +export FCVERSION="ti-framework-components-tree" +export XDAISVERSION="ti-xdais-tree" +export OSALVERSION="ti-osal-tree" + +export IPCSRC="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" +export C66XCGTOOLSPATH="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" + +do_configure() { + cd ${S} + make unconfig + make vayu_config +} + +do_compile() { + cd ${S} + make dspbin +} + +TARGET = "dra7-dsp1-fw.xe66" + +do_install() { + mkdir -p ${D}${base_libdir}/firmware + cp ${S}/dra7xx-c66x-dsp.xe66 ${D}${base_libdir}/firmware/${TARGET} +} + +INSANE_SKIP_${PN} = "arch" + +FILES_${PN} += "${base_libdir}/firmware/${TARGET}" -- 1.9.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] dspdce-fw: add recipe to build dspdce-fw from git source 2015-09-16 16:38 [PATCH] dspdce-fw: add recipe to build dspdce-fw from git source Hongmei Gou @ 2015-09-17 20:20 ` Denys Dmytriyenko 2015-09-17 22:03 ` Gou, Hongmei 0 siblings, 1 reply; 4+ messages in thread From: Denys Dmytriyenko @ 2015-09-17 20:20 UTC (permalink / raw) To: Hongmei Gou; +Cc: meta-ti What's the version? The recipe is not versioned and you don't set PV... Also, is it really machine-specific? It is only compatible with DRA7 and AM57, but it doesn't seem to differentiate between them in the build steps. -- Denys On Wed, Sep 16, 2015 at 12:38:40PM -0400, Hongmei Gou wrote: > Signed-off-by: Hongmei Gou <h-gou@ti.com> > --- > recipes-bsp/dspdce-fw/dspdce-fw_git.bb | 54 ++++++++++++++++++++++++++++++++++ > 1 file changed, 54 insertions(+) > create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw_git.bb > > diff --git a/recipes-bsp/dspdce-fw/dspdce-fw_git.bb b/recipes-bsp/dspdce-fw/dspdce-fw_git.bb > new file mode 100644 > index 0000000..79ba68c > --- /dev/null > +++ b/recipes-bsp/dspdce-fw/dspdce-fw_git.bb > @@ -0,0 +1,54 @@ > +DESCRIPTION = "Firmware for DSP for an example application called copycodectest" > +LICENSE = "TI-TSPA" > +LIC_FILES_CHKSUM = "file://src/ti/framework/dce/dce.c;startline=1;endline=31;md5=2c6e9aba6ed75f22b1a2b7544b1c809d" > + > +COMPATIBLE_MACHINE = "dra7xx" > +PACKAGE_ARCH = "${MACHINE_ARCH}" > + > +SRC_URI = "git://git.ti.com/glsdk/dspdce.git;protocol=git" > +SRCREV = "71e8fbf8e4f91b60680cf18a0c202a222e9ae3ba" > + > +S = "${WORKDIR}/git" > + > +require recipes-ti/includes/ti-paths.inc > +require recipes-ti/includes/ti-staging.inc > + > +PR = "r0" > + > +DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native" > + > +export HWVERSION="ES10" > +export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti" > + > +export XDCVERSION="ti-xdctools-tree" > +export BIOSVERSION="ti-sysbios-tree" > +export IPCVERSION="ti-ipc-tree" > +export CEVERSION="ti-codec-engine-tree" > +export FCVERSION="ti-framework-components-tree" > +export XDAISVERSION="ti-xdais-tree" > +export OSALVERSION="ti-osal-tree" > + > +export IPCSRC="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" > +export C66XCGTOOLSPATH="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" > + > +do_configure() { > + cd ${S} > + make unconfig > + make vayu_config > +} > + > +do_compile() { > + cd ${S} > + make dspbin > +} > + > +TARGET = "dra7-dsp1-fw.xe66" > + > +do_install() { > + mkdir -p ${D}${base_libdir}/firmware > + cp ${S}/dra7xx-c66x-dsp.xe66 ${D}${base_libdir}/firmware/${TARGET} > +} > + > +INSANE_SKIP_${PN} = "arch" > + > +FILES_${PN} += "${base_libdir}/firmware/${TARGET}" > -- > 1.9.1 > > -- > _______________________________________________ > meta-ti mailing list > meta-ti@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-ti ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dspdce-fw: add recipe to build dspdce-fw from git source 2015-09-17 20:20 ` Denys Dmytriyenko @ 2015-09-17 22:03 ` Gou, Hongmei 2015-09-21 16:42 ` Denys Dmytriyenko 0 siblings, 1 reply; 4+ messages in thread From: Gou, Hongmei @ 2015-09-17 22:03 UTC (permalink / raw) To: Dmytriyenko, Denys; +Cc: meta-ti@yoctoproject.org > -----Original Message----- > From: Dmytriyenko, Denys > Sent: Thursday, September 17, 2015 4:21 PM > To: Gou, Hongmei > Cc: meta-ti@yoctoproject.org > Subject: Re: [meta-ti] [PATCH] dspdce-fw: add recipe to build dspdce-fw > from git source > > What's the version? The recipe is not versioned and you don't set PV... The version would be 1.00.00.06. Will sync up with automotive team to apply the tag, and add PV in the v2 patch. > > Also, is it really machine-specific? It is only compatible with DRA7 and AM57, > but it doesn't seem to differentiate between them in the build steps. Yes, this is machine-specific and compatible with DRA7 and AM57 only. The build steps for DRA7 and AM57 are common. > > -- > Denys > > > On Wed, Sep 16, 2015 at 12:38:40PM -0400, Hongmei Gou wrote: > > Signed-off-by: Hongmei Gou <h-gou@ti.com> > > --- > > recipes-bsp/dspdce-fw/dspdce-fw_git.bb | 54 > ++++++++++++++++++++++++++++++++++ > > 1 file changed, 54 insertions(+) > > create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw_git.bb > > > > diff --git a/recipes-bsp/dspdce-fw/dspdce-fw_git.bb b/recipes- > bsp/dspdce-fw/dspdce-fw_git.bb > > new file mode 100644 > > index 0000000..79ba68c > > --- /dev/null > > +++ b/recipes-bsp/dspdce-fw/dspdce-fw_git.bb > > @@ -0,0 +1,54 @@ > > +DESCRIPTION = "Firmware for DSP for an example application called > copycodectest" > > +LICENSE = "TI-TSPA" > > +LIC_FILES_CHKSUM = > "file://src/ti/framework/dce/dce.c;startline=1;endline=31;md5=2c6e9aba6e > d75f22b1a2b7544b1c809d" > > + > > +COMPATIBLE_MACHINE = "dra7xx" > > +PACKAGE_ARCH = "${MACHINE_ARCH}" > > + > > +SRC_URI = "git://git.ti.com/glsdk/dspdce.git;protocol=git" > > +SRCREV = "71e8fbf8e4f91b60680cf18a0c202a222e9ae3ba" > > + > > +S = "${WORKDIR}/git" > > + > > +require recipes-ti/includes/ti-paths.inc > > +require recipes-ti/includes/ti-staging.inc > > + > > +PR = "r0" > > + > > +DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework- > components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native" > > + > > +export HWVERSION="ES10" > > +export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti" > > + > > +export XDCVERSION="ti-xdctools-tree" > > +export BIOSVERSION="ti-sysbios-tree" > > +export IPCVERSION="ti-ipc-tree" > > +export CEVERSION="ti-codec-engine-tree" > > +export FCVERSION="ti-framework-components-tree" > > +export XDAISVERSION="ti-xdais-tree" > > +export OSALVERSION="ti-osal-tree" > > + > > +export IPCSRC="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" > > +export C66XCGTOOLSPATH="${STAGING_DIR_NATIVE}/usr/share/ti/cgt- > c6x" > > + > > +do_configure() { > > + cd ${S} > > + make unconfig > > + make vayu_config > > +} > > + > > +do_compile() { > > + cd ${S} > > + make dspbin > > +} > > + > > +TARGET = "dra7-dsp1-fw.xe66" > > + > > +do_install() { > > + mkdir -p ${D}${base_libdir}/firmware > > + cp ${S}/dra7xx-c66x-dsp.xe66 ${D}${base_libdir}/firmware/${TARGET} > > +} > > + > > +INSANE_SKIP_${PN} = "arch" > > + > > +FILES_${PN} += "${base_libdir}/firmware/${TARGET}" > > -- > > 1.9.1 > > > > -- > > _______________________________________________ > > meta-ti mailing list > > meta-ti@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/meta-ti ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dspdce-fw: add recipe to build dspdce-fw from git source 2015-09-17 22:03 ` Gou, Hongmei @ 2015-09-21 16:42 ` Denys Dmytriyenko 0 siblings, 0 replies; 4+ messages in thread From: Denys Dmytriyenko @ 2015-09-21 16:42 UTC (permalink / raw) To: Gou, Hongmei; +Cc: meta-ti@yoctoproject.org On Thu, Sep 17, 2015 at 06:03:55PM -0400, Gou, Hongmei wrote: > > -----Original Message----- > > From: Dmytriyenko, Denys > > Sent: Thursday, September 17, 2015 4:21 PM > > To: Gou, Hongmei > > Cc: meta-ti@yoctoproject.org > > Subject: Re: [meta-ti] [PATCH] dspdce-fw: add recipe to build dspdce-fw > > from git source > > > > What's the version? The recipe is not versioned and you don't set PV... > > The version would be 1.00.00.06. Will sync up with automotive team to apply > the tag, and add PV in the v2 patch. > > > > > Also, is it really machine-specific? It is only compatible with DRA7 and AM57, > > but it doesn't seem to differentiate between them in the build steps. > > Yes, this is machine-specific and compatible with DRA7 and AM57 only. The > build steps for DRA7 and AM57 are common. If the build steps are common for those 2 machines and those are the only compatible machines, why make it machine-specific? You'd end up building it twice unnecessarily. > > -- > > Denys > > > > > > On Wed, Sep 16, 2015 at 12:38:40PM -0400, Hongmei Gou wrote: > > > Signed-off-by: Hongmei Gou <h-gou@ti.com> > > > --- > > > recipes-bsp/dspdce-fw/dspdce-fw_git.bb | 54 > > ++++++++++++++++++++++++++++++++++ > > > 1 file changed, 54 insertions(+) > > > create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw_git.bb > > > > > > diff --git a/recipes-bsp/dspdce-fw/dspdce-fw_git.bb b/recipes- > > bsp/dspdce-fw/dspdce-fw_git.bb > > > new file mode 100644 > > > index 0000000..79ba68c > > > --- /dev/null > > > +++ b/recipes-bsp/dspdce-fw/dspdce-fw_git.bb > > > @@ -0,0 +1,54 @@ > > > +DESCRIPTION = "Firmware for DSP for an example application called > > copycodectest" > > > +LICENSE = "TI-TSPA" > > > +LIC_FILES_CHKSUM = > > "file://src/ti/framework/dce/dce.c;startline=1;endline=31;md5=2c6e9aba6e > > d75f22b1a2b7544b1c809d" > > > + > > > +COMPATIBLE_MACHINE = "dra7xx" > > > +PACKAGE_ARCH = "${MACHINE_ARCH}" > > > + > > > +SRC_URI = "git://git.ti.com/glsdk/dspdce.git;protocol=git" > > > +SRCREV = "71e8fbf8e4f91b60680cf18a0c202a222e9ae3ba" > > > + > > > +S = "${WORKDIR}/git" > > > + > > > +require recipes-ti/includes/ti-paths.inc > > > +require recipes-ti/includes/ti-staging.inc > > > + > > > +PR = "r0" > > > + > > > +DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework- > > components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native" > > > + > > > +export HWVERSION="ES10" > > > +export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti" > > > + > > > +export XDCVERSION="ti-xdctools-tree" > > > +export BIOSVERSION="ti-sysbios-tree" > > > +export IPCVERSION="ti-ipc-tree" > > > +export CEVERSION="ti-codec-engine-tree" > > > +export FCVERSION="ti-framework-components-tree" > > > +export XDAISVERSION="ti-xdais-tree" > > > +export OSALVERSION="ti-osal-tree" > > > + > > > +export IPCSRC="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" > > > +export C66XCGTOOLSPATH="${STAGING_DIR_NATIVE}/usr/share/ti/cgt- > > c6x" > > > + > > > +do_configure() { > > > + cd ${S} > > > + make unconfig > > > + make vayu_config > > > +} > > > + > > > +do_compile() { > > > + cd ${S} > > > + make dspbin > > > +} > > > + > > > +TARGET = "dra7-dsp1-fw.xe66" > > > + > > > +do_install() { > > > + mkdir -p ${D}${base_libdir}/firmware > > > + cp ${S}/dra7xx-c66x-dsp.xe66 ${D}${base_libdir}/firmware/${TARGET} > > > +} > > > + > > > +INSANE_SKIP_${PN} = "arch" > > > + > > > +FILES_${PN} += "${base_libdir}/firmware/${TARGET}" > > > -- > > > 1.9.1 > > > > > > -- > > > _______________________________________________ > > > meta-ti mailing list > > > meta-ti@yoctoproject.org > > > https://lists.yoctoproject.org/listinfo/meta-ti ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-21 16:43 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-09-16 16:38 [PATCH] dspdce-fw: add recipe to build dspdce-fw from git source Hongmei Gou 2015-09-17 20:20 ` Denys Dmytriyenko 2015-09-17 22:03 ` Gou, Hongmei 2015-09-21 16:42 ` Denys Dmytriyenko
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.