dspdce-fw: add recipe to build dspdce-fw from git source
PATCH 1/1 dspdce-fw: add recipe to build dspdce-fw from git source
--- 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
recipes-bsp/dspdce-fw/dspdce-fw_git.bb new file +54 -0
@@ -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}"
Signature · 1 line
1.9.1
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.
Signature · 1 line
Denys
Quoted 74 lines · Hongmei Gou
Signed-off-by Hongmei Gou <[email protected]>--- recipes-bsp/dspdce-fw/dspdce-fw_git.bb | 54 ++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw_git.bbrecipes-bsp/dspdce-fw/dspdce-fw_git.bb new file +54
-0@@ -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}"Signature · 7 lines
1.9.1 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 9 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, September 17, 2015 4:21 PM
To: Gou, Hongmei
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] dspdce-fw: add recipe to build dspdce-fw from git sourceWhat'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.
Quoted 3 lines
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.
Quoted 87 lines
--
DenysQuoted 3 lines · Hongmei Gou
Signed-off-by Hongmei Gou <[email protected]>--- recipes-bsp/dspdce-fw/dspdce-fw_git.bb | 54++++++++++++++++++++++++++++++++++
recipes-
Quoted 4 lines
1 file changed, 54 insertions(+) create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw_git.bbrecipes- renamed from recipes-bsp/dspdce-fw/dspdce-fw_git.bb +0
-0bsp/dspdce-fw/dspdce-fw_git.bb
recipes-bsp/dspdce-fw/dspdce-fw_git.bb line 1
Quoted 6 lines
new file mode 100644
index 0000000..79ba68crecipes-bsp/dspdce-fw/dspdce-fw_git.bb new file +1
-0@@ -0,0 +1,54 @@ +DESCRIPTION = "Firmware for DSP for an example application calledcopycodectest"
recipes-bsp/dspdce-fw/dspdce-fw_git.bb line 3
Quoted 2 lines
recipes-bsp/dspdce-fw/dspdce-fw_git.bb new file +2
-0+LICENSE = "TI-TSPA" +LIC_FILES_CHKSUM ="file://src/ti/framework/dce/dce.c;startline=1;endline=31;md5=2c6e9aba6e
d75f22b1a2b7544b1c809d"Quoted 5 lines
recipes-bsp/dspdce-fw/dspdce-fw_git.bb new file +5
-0+ +COMPATIBLE_MACHINE = "dra7xx" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +SRC_URI = "git://git.ti.com/glsdk/dspdce.git;protocol=git"recipes-bsp/dspdce-fw/dspdce-fw_git.bb
Quoted 10 lines
recipes-bsp/dspdce-fw/dspdce-fw_git.bb new file +10
-0+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"
Quoted 4 lines
recipes-bsp/dspdce-fw/dspdce-fw_git.bb new file +4
-0+ +export HWVERSION="ES10" +export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti" +recipes-bsp/dspdce-fw/dspdce-fw_git.bb
Quoted 10 lines
recipes-bsp/dspdce-fw/dspdce-fw_git.bb new file +10
-0+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"
Quoted 30 lines
recipes-bsp/dspdce-fw/dspdce-fw_git.bb new file +22
-1+ +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
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 14 lines · Hongmei
Quoted 9 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, September 17, 2015 4:21 PM
To: Gou, Hongmei
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] dspdce-fw: add recipe to build dspdce-fw from git sourceWhat'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.
Quoted 1 line
Quoted 5 lines
Quoted 2 lines
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.
Quoted 86 lines
Quoted 86 lines
--
DenysQuoted 3 lines · Hongmei Gou
Signed-off-by Hongmei Gou <[email protected]>--- recipes-bsp/dspdce-fw/dspdce-fw_git.bb | 54++++++++++++++++++++++++++++++++++
recipes-
Quoted 4 lines
1 file changed, 54 insertions(+) create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw_git.bbrecipes- renamed from recipes-bsp/dspdce-fw/dspdce-fw_git.bb +0
-0bsp/dspdce-fw/dspdce-fw_git.bb
recipes-bsp/dspdce-fw/dspdce-fw_git.bb line 1
Quoted 6 lines
new file mode 100644
index 0000000..79ba68crecipes-bsp/dspdce-fw/dspdce-fw_git.bb new file +1
-0@@ -0,0 +1,54 @@ +DESCRIPTION = "Firmware for DSP for an example application calledcopycodectest"
recipes-bsp/dspdce-fw/dspdce-fw_git.bb line 3
Quoted 2 lines
recipes-bsp/dspdce-fw/dspdce-fw_git.bb new file +2
-0+LICENSE = "TI-TSPA" +LIC_FILES_CHKSUM ="file://src/ti/framework/dce/dce.c;startline=1;endline=31;md5=2c6e9aba6e
d75f22b1a2b7544b1c809d"Quoted 5 lines
recipes-bsp/dspdce-fw/dspdce-fw_git.bb new file +5
-0+ +COMPATIBLE_MACHINE = "dra7xx" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +SRC_URI = "git://git.ti.com/glsdk/dspdce.git;protocol=git"recipes-bsp/dspdce-fw/dspdce-fw_git.bb
Quoted 10 lines
recipes-bsp/dspdce-fw/dspdce-fw_git.bb new file +10
-0+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"
Quoted 4 lines
recipes-bsp/dspdce-fw/dspdce-fw_git.bb new file +4
-0+ +export HWVERSION="ES10" +export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti" +recipes-bsp/dspdce-fw/dspdce-fw_git.bb
Quoted 10 lines
recipes-bsp/dspdce-fw/dspdce-fw_git.bb new file +10
-0+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"
Quoted 30 lines
recipes-bsp/dspdce-fw/dspdce-fw_git.bb new file +22
-1+ +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
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti