ti-ipc-rtos: Update to include examples and documentation with the package
PATCH 1/1 ti-ipc-rtos: Update to include examples and documentation with the package
Updated to new version 3.42.01.03
Added procedures and source urls for adding examples and documentation into src package.
Added dependency on doxygen for document creation
Added big endian c66 targets
Updated uniform formatting
--- recipes-ti/ipc/ti-ipc-rtos_git.bb | 119 ++++++++++++++++++++++++++++++++------ recipes-ti/ipc/ti-ipc.inc | 6 +- 2 files changed, 104 insertions(+), 21 deletions(-)
recipes-ti/ipc/ti-ipc-rtos_git.bb +101 -18
@@ -2,9 +2,44 @@ require recipes-ti/includes/ti-paths.inc require recipes-ti/includes/ti-staging.inc require ti-ipc.inc -PR = "${INC_PR}.4" +TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/ipc/ipc-examples.git" +TI_IPC_EXAMPLES_DEST_SUFFIX = "git/ipc-examples" +TI_IPC_EXAMPLES_GIT_PROTOCOL = "git" +TI_IPC_EXAMPLES_GIT_BRANCH = "master" +TI_IPC_EXAMPLES_NAME = "ipc-examples" -DEPENDS = "ti-xdctools ti-sysbios" +SRC_URI += "${TI_IPC_EXAMPLES_GIT_URI};\ +destsuffix=${TI_IPC_EXAMPLES_DEST_SUFFIX};\ +protocol=${TI_IPC_EXAMPLES_GIT_PROTOCOL};\ +branch=${TI_IPC_EXAMPLES_GIT_BRANCH};\ +name=${TI_IPC_EXAMPLES_NAME}" + +TI_IPC_METADATA_GIT_URI = "git://git.ti.com/ipc/ipc-metadata.git" +TI_IPC_METADATA_DEST_SUFFIX = "git/ipc-metadata" +TI_IPC_METADATA_GIT_PROTOCOL = "git" +TI_IPC_METADATA_GIT_BRANCH = "master" +TI_IPC_METADATA_NAME = "ipc-metadata" + +SRC_URI += "${TI_IPC_METADATA_GIT_URI};\ +destsuffix=${TI_IPC_METADATA_DEST_SUFFIX};\ +protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ +branch=${TI_IPC_METADATA_GIT_BRANCH};\ +name=${TI_IPC_METADATA_NAME}" + +# Corresponds to tag: 3.42.01.03 +SRCREV_ipc-examples = "bd4f28bd46467553e6610629ff13b4b5b3ba3af0" + +# Corresponds to tag: 3.42.01.03 +SRCREV_ipc-metadata = "4d01fe4a7c41d2ce76a62b4325e66753d59b298c" + +SRCREV_FORMAT = "ipc-metadata_ipc-examples" + +S_ipc-examples = "${WORKDIR}/git/ipc-examples" +S_ipc-metadata = "${WORKDIR}/git/ipc-metadata" + +PR = "${INC_PR}.0" + +DEPENDS = "ti-xdctools ti-sysbios doxygen-native" DEPENDS_append_keystone = " ti-cgt6x-native \ gcc-arm-none-eabi-native \ "
@@ -12,6 +47,8 @@ DEPENDS_append_omap-a15 = " ti-cgt6x-native \ ti-ccsv6-native \ gcc-arm-none-eabi-native \ " +DEPENDS_append_c66x = " ti-cgt6x-native \ +" PACKAGES =+ "${PN}-fw" FILES_${PN}-fw = "${base_libdir}/firmware/*"
@@ -26,6 +63,7 @@ IPC_TARGETS = "" IPC_TARGETS_omap-a15 = "\ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ + ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ ti.targets.arm.elf.M4="${M4_TOOLCHAIN_INSTALL_DIR}" \ ti.targets.arm.elf.M4F="${M4_TOOLCHAIN_INSTALL_DIR}" \ "
@@ -33,18 +71,66 @@ IPC_TARGETS_omap-a15 = "\ IPC_TARGETS_keystone = " \ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ + ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ +" + +IPC_TARGETS_c66x = " \ + ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ + ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ " EXTRA_OEMAKE = "\ PLATFORM=${PLATFORM} \ XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \ BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \ - ${IPC_TARGETS} -f ipc-bios.mak\ + ${IPC_TARGETS} \ " +RELEASE_TYPE = "GA" +RELEASE_SUFFIX = "" + +SRCIPK_SRC_DIR = "${D}${IPC_INSTALL_DIR_RECIPE}" +SRCIPK_INSTALL_DIR = "ipc_${@'${PV}'.replace('.', '_')}${RELEASE_SUFFIX}" + do_compile() { - oe_runmake clean - oe_runmake all + oe_runmake -f ipc-bios.mak clean + oe_runmake -f ipc-bios.mak release + + cd ${S_ipc-metadata} + oe_runmake .all-files IPC_INSTALL_DIR="${S}" \ + BUILD_HOST_OS="linux" \ + RELEASE_TYPE="${RELEASE_TYPE}" + + cd ${S_ipc-examples}/src + oe_runmake .examples \ + IPCTOOLS="${S_ipc-metadata}/src/etc" + + if [ "${PLATFORM}" != "UNKNOWN" ]; then + oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${S}" + oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${S}" + + if [ ! -z ${ALT_PLATFORM} ]; then + oe_runmake extract PLATFORM=${ALT_PLATFORM} HOSTOS="bios" IPC_INSTALL_DIR="${S}" + oe_runmake extract PLATFORM=${ALT_PLATFORM} HOSTOS="linux" IPC_INSTALL_DIR="${S}" + fi + fi + + IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` + # Copy docs and other meta files + install -d ${D}${IPC_INSTALL_DIR_RECIPE} + cp -pPrf ${S_ipc-metadata}/exports/ipc_${IPC_VERSION}/* -d ${D}${IPC_INSTALL_DIR_RECIPE} + + # Copy example folders corresponding to the platforms + if [ "${PLATFORM}" != "UNKNOWN" ]; then + install -d ${D}${IPC_INSTALL_DIR_RECIPE}/examples + cp -pPf ${S_ipc-examples}/src/examples/*.* ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ + cp -pPf ${S_ipc-examples}/src/examples/makefile ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ + cp -pPrf ${S_ipc-examples}/src/examples/${PLATFORM}* ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ + if [ ! -z ${ALT_PLATFORM} ]; then + cp -pPrf ${S_ipc-examples}/src/examples/${ALT_PLATFORM}* ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ + fi + find ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ -name "*zip" -type f | xargs -I {} rm {} + fi } do_compile_append() {
@@ -52,25 +138,22 @@ do_compile_append() { } do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} - - install -d ${D}${base_libdir}/firmware/ipc - cp -pPrf ${S}/packages/ti/ipc/tests/bin/* ${D}${base_libdir}/firmware/ipc + install -d ${D}${base_libdir}/firmware/ipc + cp -pPrf ${S}/packages/ti/ipc/tests/bin/* ${D}${base_libdir}/firmware/ipc } ALTERNATIVE_PRIORITY = "5" pkg_postinst_${PN}-fw_omap-a15 () { - update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 ${ALTERNATIVE_PRIORITY} - update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 ${ALTERNATIVE_PRIORITY} - update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 ${ALTERNATIVE_PRIORITY} - update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 ${ALTERNATIVE_PRIORITY} + update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 ${ALTERNATIVE_PRIORITY} + update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 ${ALTERNATIVE_PRIORITY} + update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 ${ALTERNATIVE_PRIORITY} + update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 ${ALTERNATIVE_PRIORITY} } pkg_postrm_${PN}-fw_omap-a15 () { - update-alternatives --remove dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 - update-alternatives --remove dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 - update-alternatives --remove dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 - update-alternatives --remove dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 + update-alternatives --remove dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 + update-alternatives --remove dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 + update-alternatives --remove dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 + update-alternatives --remove dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 }
recipes-ti/ipc/ti-ipc.inc +3 -3
@@ -8,15 +8,15 @@ TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git" TI_IPC_GIT_PROTOCOL = "git" TI_IPC_GIT_BRANCH = "3.42" -#Corresponds to 3.42.00.02 -TI_IPC_SRCREV = "a520969994378fb2629d7dfc25f306c3a711b5bc" +#Corresponds to 3.42.01.03 +TI_IPC_SRCREV = "dc6c5082f478225b7fbce4216173e6c5b36100b4" BRANCH = "${TI_IPC_GIT_BRANCH}" SRC_URI = "${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH}" SRCREV = "${TI_IPC_SRCREV}" S = "${WORKDIR}/git" -PV = "3.42.00.02" +PV = "3.42.01.03" INC_PR = "r0" PACKAGE_ARCH = "${MACHINE_ARCH}"
Signature · 1 line
1.9.1
Sam,
Is this v2? You didn't specify changes since v1, so I would have to dig out the previous submission and check that past comments were addressed.
Jake,
Do you have any comments here?
Quoted 218 lines · Sam Nelson
Updated to new version 3.42.01.03
Added procedures and source urls for adding examples and documentation into src package.
Added dependency on doxygen for document creation
Added big endian c66 targets
Updated uniform formattingSigned-off-by Sam Nelson <[email protected]>--- recipes-ti/ipc/ti-ipc-rtos_git.bb | 119 ++++++++++++++++++++++++++++++++------ recipes-ti/ipc/ti-ipc.inc | 6 +- 2 files changed, 104 insertions(+), 21 deletions(-)recipes-ti/ipc/ti-ipc-rtos_git.bb +101
-18@@ -2,9 +2,44 @@ require recipes-ti/includes/ti-paths.inc require recipes-ti/includes/ti-staging.inc require ti-ipc.inc -PR = "${INC_PR}.4" +TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/ipc/ipc-examples.git" +TI_IPC_EXAMPLES_DEST_SUFFIX = "git/ipc-examples" +TI_IPC_EXAMPLES_GIT_PROTOCOL = "git" +TI_IPC_EXAMPLES_GIT_BRANCH = "master" +TI_IPC_EXAMPLES_NAME = "ipc-examples" -DEPENDS = "ti-xdctools ti-sysbios" +SRC_URI += "${TI_IPC_EXAMPLES_GIT_URI};\ +destsuffix=${TI_IPC_EXAMPLES_DEST_SUFFIX};\ +protocol=${TI_IPC_EXAMPLES_GIT_PROTOCOL};\ +branch=${TI_IPC_EXAMPLES_GIT_BRANCH};\ +name=${TI_IPC_EXAMPLES_NAME}" + +TI_IPC_METADATA_GIT_URI = "git://git.ti.com/ipc/ipc-metadata.git" +TI_IPC_METADATA_DEST_SUFFIX = "git/ipc-metadata" +TI_IPC_METADATA_GIT_PROTOCOL = "git" +TI_IPC_METADATA_GIT_BRANCH = "master" +TI_IPC_METADATA_NAME = "ipc-metadata" + +SRC_URI += "${TI_IPC_METADATA_GIT_URI};\ +destsuffix=${TI_IPC_METADATA_DEST_SUFFIX};\ +protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ +branch=${TI_IPC_METADATA_GIT_BRANCH};\ +name=${TI_IPC_METADATA_NAME}" + +# Corresponds to tag: 3.42.01.03 +SRCREV_ipc-examples = "bd4f28bd46467553e6610629ff13b4b5b3ba3af0" + +# Corresponds to tag: 3.42.01.03 +SRCREV_ipc-metadata = "4d01fe4a7c41d2ce76a62b4325e66753d59b298c" + +SRCREV_FORMAT = "ipc-metadata_ipc-examples" + +S_ipc-examples = "${WORKDIR}/git/ipc-examples" +S_ipc-metadata = "${WORKDIR}/git/ipc-metadata" + +PR = "${INC_PR}.0" + +DEPENDS = "ti-xdctools ti-sysbios doxygen-native" DEPENDS_append_keystone = " ti-cgt6x-native \ gcc-arm-none-eabi-native \ "@@ -12,6 +47,8 @@ DEPENDS_append_omap-a15 = " ti-cgt6x-native \ ti-ccsv6-native \ gcc-arm-none-eabi-native \ " +DEPENDS_append_c66x = " ti-cgt6x-native \ +" PACKAGES =+ "${PN}-fw" FILES_${PN}-fw = "${base_libdir}/firmware/*"@@ -26,6 +63,7 @@ IPC_TARGETS = "" IPC_TARGETS_omap-a15 = "\ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ + ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ ti.targets.arm.elf.M4="${M4_TOOLCHAIN_INSTALL_DIR}" \ ti.targets.arm.elf.M4F="${M4_TOOLCHAIN_INSTALL_DIR}" \ "@@ -33,18 +71,66 @@ IPC_TARGETS_omap-a15 = "\ IPC_TARGETS_keystone = " \ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ + ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ +" + +IPC_TARGETS_c66x = " \ + ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ + ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ " EXTRA_OEMAKE = "\ PLATFORM=${PLATFORM} \ XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \ BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \ - ${IPC_TARGETS} -f ipc-bios.mak\ + ${IPC_TARGETS} \ " +RELEASE_TYPE = "GA" +RELEASE_SUFFIX = "" + +SRCIPK_SRC_DIR = "${D}${IPC_INSTALL_DIR_RECIPE}" +SRCIPK_INSTALL_DIR = "ipc_${@'${PV}'.replace('.', '_')}${RELEASE_SUFFIX}" + do_compile() { - oe_runmake clean - oe_runmake all + oe_runmake -f ipc-bios.mak clean + oe_runmake -f ipc-bios.mak release + + cd ${S_ipc-metadata} + oe_runmake .all-files IPC_INSTALL_DIR="${S}" \ + BUILD_HOST_OS="linux" \ + RELEASE_TYPE="${RELEASE_TYPE}" + + cd ${S_ipc-examples}/src + oe_runmake .examples \ + IPCTOOLS="${S_ipc-metadata}/src/etc" + + if [ "${PLATFORM}" != "UNKNOWN" ]; then + oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${S}" + oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${S}" + + if [ ! -z ${ALT_PLATFORM} ]; then + oe_runmake extract PLATFORM=${ALT_PLATFORM} HOSTOS="bios" IPC_INSTALL_DIR="${S}" + oe_runmake extract PLATFORM=${ALT_PLATFORM} HOSTOS="linux" IPC_INSTALL_DIR="${S}" + fi + fi + + IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` + # Copy docs and other meta files + install -d ${D}${IPC_INSTALL_DIR_RECIPE} + cp -pPrf ${S_ipc-metadata}/exports/ipc_${IPC_VERSION}/* -d ${D}${IPC_INSTALL_DIR_RECIPE} + + # Copy example folders corresponding to the platforms + if [ "${PLATFORM}" != "UNKNOWN" ]; then + install -d ${D}${IPC_INSTALL_DIR_RECIPE}/examples + cp -pPf ${S_ipc-examples}/src/examples/*.* ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ + cp -pPf ${S_ipc-examples}/src/examples/makefile ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ + cp -pPrf ${S_ipc-examples}/src/examples/${PLATFORM}* ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ + if [ ! -z ${ALT_PLATFORM} ]; then + cp -pPrf ${S_ipc-examples}/src/examples/${ALT_PLATFORM}* ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ + fi + find ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ -name "*zip" -type f | xargs -I {} rm {} + fi } do_compile_append() {@@ -52,25 +138,22 @@ do_compile_append() { } do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} - - install -d ${D}${base_libdir}/firmware/ipc - cp -pPrf ${S}/packages/ti/ipc/tests/bin/* ${D}${base_libdir}/firmware/ipc + install -d ${D}${base_libdir}/firmware/ipc + cp -pPrf ${S}/packages/ti/ipc/tests/bin/* ${D}${base_libdir}/firmware/ipc } ALTERNATIVE_PRIORITY = "5" pkg_postinst_${PN}-fw_omap-a15 () { - update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 ${ALTERNATIVE_PRIORITY} - update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 ${ALTERNATIVE_PRIORITY} - update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 ${ALTERNATIVE_PRIORITY} - update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 ${ALTERNATIVE_PRIORITY} + update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 ${ALTERNATIVE_PRIORITY} + update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 ${ALTERNATIVE_PRIORITY} + update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 ${ALTERNATIVE_PRIORITY} + update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 ${ALTERNATIVE_PRIORITY} } pkg_postrm_${PN}-fw_omap-a15 () { - update-alternatives --remove dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 - update-alternatives --remove dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 - update-alternatives --remove dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 - update-alternatives --remove dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 + update-alternatives --remove dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 + update-alternatives --remove dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 + update-alternatives --remove dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 + update-alternatives --remove dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 }recipes-ti/ipc/ti-ipc.inc +3
-3@@ -8,15 +8,15 @@ TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git" TI_IPC_GIT_PROTOCOL = "git" TI_IPC_GIT_BRANCH = "3.42" -#Corresponds to 3.42.00.02 -TI_IPC_SRCREV = "a520969994378fb2629d7dfc25f306c3a711b5bc" +#Corresponds to 3.42.01.03 +TI_IPC_SRCREV = "dc6c5082f478225b7fbce4216173e6c5b36100b4" BRANCH = "${TI_IPC_GIT_BRANCH}" SRC_URI = "${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH}" SRCREV = "${TI_IPC_SRCREV}" S = "${WORKDIR}/git" -PV = "3.42.00.02" +PV = "3.42.01.03" INC_PR = "r0" PACKAGE_ARCH = "${MACHINE_ARCH}"Signature · 7 lines
1.9.1 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 71 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Friday, May 13, 2016 2:57 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] ti-ipc-rtos: Update to include examples and documentation with the packageSam,
Is this v2? You didn't specify changes since v1, so I would have to dig out the previous submission and check that past comments were addressed.
Jake,
Do you have any comments here?
Quoted 2 lines · Sam Nelson
Updated to new version 3.42.01.03
Added procedures and source urls for adding examples anddocumentation
Quoted 8 lines
into src package.
Added dependency on doxygen for document creation
Added big endian c66 targets
Updated uniform formattingSigned-off-by Sam Nelson <[email protected]>--- recipes-ti/ipc/ti-ipc-rtos_git.bb | 119++++++++++++++++++++++++++++++++------
recipes-ti/ipc/ti-ipc-
Quoted 4 lines
recipes-ti/ipc/ti-ipc.inc | 6 +- 2 files changed, 104 insertions(+), 21 deletions(-)recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0rtos_git.bb
Quoted 32 lines
index 4c0fc74..8fb448f 100644
recipes-ti/ipc/ti-ipc-rtos_git.bb +22
-2@@ -2,9 +2,44 @@ require recipes-ti/includes/ti-paths.inc require recipes-ti/includes/ti-staging.inc require ti-ipc.inc -PR = "${INC_PR}.4" +TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/ipc/ipc-examples.git" +TI_IPC_EXAMPLES_DEST_SUFFIX = "git/ipc-examples" +TI_IPC_EXAMPLES_GIT_PROTOCOL = "git" +TI_IPC_EXAMPLES_GIT_BRANCH = "master" +TI_IPC_EXAMPLES_NAME = "ipc-examples" -DEPENDS = "ti-xdctools ti-sysbios" +SRC_URI += "${TI_IPC_EXAMPLES_GIT_URI};\ +destsuffix=${TI_IPC_EXAMPLES_DEST_SUFFIX};\ +protocol=${TI_IPC_EXAMPLES_GIT_PROTOCOL};\ +branch=${TI_IPC_EXAMPLES_GIT_BRANCH};\ +name=${TI_IPC_EXAMPLES_NAME}" + +TI_IPC_METADATA_GIT_URI = "git://git.ti.com/ipc/ipc-metadata.git" +TI_IPC_METADATA_DEST_SUFFIX = "git/ipc-metadata" +TI_IPC_METADATA_GIT_PROTOCOL = "git" +TI_IPC_METADATA_GIT_BRANCH = "master" +TI_IPC_METADATA_NAME = "ipc-metadata" + +SRC_URI += "${TI_IPC_METADATA_GIT_URI};\ +destsuffix=${TI_IPC_METADATA_DEST_SUFFIX};\ +protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ +branch=${TI_IPC_METADATA_GIT_BRANCH};\ +name=${TI_IPC_METADATA_NAME}"
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb require recipes-ti/includes/ti-paths.inc · line 35
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +8
-0+ +# Corresponds to tag: 3.42.01.03 +SRCREV_ipc-examples = "bd4f28bd46467553e6610629ff13b4b5b3ba3af0" + +# Corresponds to tag: 3.42.01.03 +SRCREV_ipc-metadata = "4d01fe4a7c41d2ce76a62b4325e66753d59b298c" + +SRCREV_FORMAT = "ipc-metadata_ipc-examples"
I'm not sure about this SRCREV_FORMAT. Should it also contain the main ipc git SRCREV? And is this needed if SRCPV is not in the PV?
Quoted 8 lines
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +7
-0+ +S_ipc-examples = "${WORKDIR}/git/ipc-examples" +S_ipc-metadata = "${WORKDIR}/git/ipc-metadata" + +PR = "${INC_PR}.0" + +DEPENDS = "ti-xdctools ti-sysbios doxygen-native" DEPENDS_append_keystone = " ti-cgt6x-native \
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb DEPENDS_append_omap-a15 = " ti-cgt6x-native \ · line 51
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0gcc-arm-none-eabi-native \ "@@ -12,6 +47,8 @@ DEPENDS_append_omap-a15 = " ti-cgt6x-native \ ti-ccsv6-native \ gcc-arm-none-eabi-native \ " +DEPENDS_append_c66x = " ti-cgt6x-native \ +"
These c66x machines have not yet been accepted into meta-ti.
Quoted 37 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS = "" · line 66
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0PACKAGES =+ "${PN}-fw" FILES_${PN}-fw = "${base_libdir}/firmware/*"@@ -26,6 +63,7 @@ IPC_TARGETS = "" IPC_TARGETS_omap-a15 = "\ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt- c6x" \
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 74
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0ti.targets.arm.elf.M4="${M4_TOOLCHAIN_INSTALL_DIR}" \ ti.targets.arm.elf.M4F="${M4_TOOLCHAIN_INSTALL_DIR}" \ "@@ -33,18 +71,66 @@ IPC_TARGETS_omap-a15 = "\ IPC_TARGETS_keystone = " \ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt- c6x" \
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 91
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +5
-0+" + +IPC_TARGETS_c66x = " \ + ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt- c6x" \
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-1" EXTRA_OEMAKE = "\ PLATFORM=${PLATFORM} \ XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \ BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \ - ${IPC_TARGETS} -f ipc-bios.mak\ + ${IPC_TARGETS} \ "
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +5
-0+RELEASE_TYPE = "GA" +RELEASE_SUFFIX = "" + +SRCIPK_SRC_DIR = "${D}${IPC_INSTALL_DIR_RECIPE}" +SRCIPK_INSTALL_DIR = "ipc_${@'${PV}'.replace('.','_')}${RELEASE_SUFFIX}"
This already specified in meta-arago's arago-source-ipk.conf?
Quoted 41 lines
Quoted 12 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +9
-2+ do_compile() { - oe_runmake clean - oe_runmake all + oe_runmake -f ipc-bios.mak clean + oe_runmake -f ipc-bios.mak release + + cd ${S_ipc-metadata} + oe_runmake .all-files IPC_INSTALL_DIR="${S}" \ + BUILD_HOST_OS="linux" \ + RELEASE_TYPE="${RELEASE_TYPE}" +recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +10
-0+ cd ${S_ipc-examples}/src + oe_runmake .examples \ + IPCTOOLS="${S_ipc-metadata}/src/etc" + + if [ "${PLATFORM}" != "UNKNOWN" ]; then + oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${S}" + oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${S}" + + if [ ! -z ${ALT_PLATFORM} ]; then + oe_runmake extract PLATFORM=${ALT_PLATFORM} HOSTOS="bios"IPC_INSTALL_DIR="${S}"
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 114
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ oe_runmake extract PLATFORM=${ALT_PLATFORM} HOSTOS="linux"IPC_INSTALL_DIR="${S}"
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 7 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +7
-0+ fi + fi + + IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` + # Copy docs and other meta files + install -d ${D}${IPC_INSTALL_DIR_RECIPE} + cp -pPrf ${S_ipc-metadata}/exports/ipc_${IPC_VERSION}/* -d${D}${IPC_INSTALL_DIR_RECIPE}
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +5
-0+ + # Copy example folders corresponding to the platforms + if [ "${PLATFORM}" != "UNKNOWN" ]; then + install -d ${D}${IPC_INSTALL_DIR_RECIPE}/examples + cp -pPf ${S_ipc-examples}/src/examples/*.*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 127
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ cp -pPf ${S_ipc-examples}/src/examples/makefile${D}${IPC_INSTALL_DIR_RECIPE}/examples/
Quoted 9 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 128
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ cp -pPrf ${S_ipc-examples}/src/examples/${PLATFORM}*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 130
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ if [ ! -z ${ALT_PLATFORM} ]; then + cp -pPrf ${S_ipc-examples}/src/examples/${ALT_PLATFORM}*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 132
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ fi + find ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ -name "*zip" -type f |xargs -I {} rm {}
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ fi
Why do all of this installation in the do_compile stage? Should it be in do_install?
Quoted 110 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { · line 59
Quoted 12 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-5} do_compile_append() {@@ -52,25 +138,22 @@ do_compile_append() { } do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} - - install -d ${D}${base_libdir}/firmware/ipc - cp -pPrf ${S}/packages/ti/ipc/tests/bin/*${D}${base_libdir}/firmware/ipc
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { · line 142
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ install -d ${D}${base_libdir}/firmware/ipc + cp -pPrf ${S}/packages/ti/ipc/tests/bin/*${D}${base_libdir}/firmware/ipc
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() {
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1} ALTERNATIVE_PRIORITY = "5" pkg_postinst_${PN}-fw_omap-a15 () { - update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { · line 66
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { · line 67
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { · line 68
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { · line 148
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { · line 149
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { · line 150
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { · line 151
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() {
Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1} pkg_postrm_${PN}-fw_omap-a15 () { - update-alternatives --remove dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { · line 73
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { · line 74
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { · line 75
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { · line 155
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ update-alternatives --remove dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { · line 156
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ update-alternatives --remove dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { · line 157
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ update-alternatives --remove dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { · line 158
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ update-alternatives --remove dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0}recipes-ti/ipc/ti-ipc.inc +0
-0recipes-ti/ipc/ti-ipc.inc TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git" · line 15
Quoted 10 lines
recipes-ti/ipc/ti-ipc.inc +2
-2@@ -8,15 +8,15 @@ TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git" TI_IPC_GIT_PROTOCOL = "git" TI_IPC_GIT_BRANCH = "3.42" -#Corresponds to 3.42.00.02 -TI_IPC_SRCREV = "a520969994378fb2629d7dfc25f306c3a711b5bc" +#Corresponds to 3.42.01.03 +TI_IPC_SRCREV = "dc6c5082f478225b7fbce4216173e6c5b36100b4" BRANCH = "${TI_IPC_GIT_BRANCH}" SRC_URI ="${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH}"
Quoted 11 lines
recipes-ti/ipc/ti-ipc.inc +1
-2SRCREV = "${TI_IPC_SRCREV}" S = "${WORKDIR}/git" -PV = "3.42.00.02" +PV = "3.42.01.03" INC_PR = "r0" PACKAGE_ARCH = "${MACHINE_ARCH}" --1.9.1
Quoted 5 lines
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Yes. I have addressed the couple of comments from the previous patch. I had to rebase the changes completely to the new baseline. (That is why I did not do a v2. Sorry for the confusion)
---
Here are the changes based on previous comments
- Added SRCREV_FORMAT.
- avoided creating source package after install and added the example steps to do_compile
---
Quoted 273 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, May 13, 2016 2:57 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] ti-ipc-rtos: Update to include examples and documentation with the packageSam,
Is this v2? You didn't specify changes since v1, so I would have to dig out the previous submission and check that past comments were addressed.
Jake,
Do you have any comments here?
Quoted 4 lines · Sam Nelson
Updated to new version 3.42.01.03
Added procedures and source urls for adding examples and documentation into src package.
Added dependency on doxygen for document creation Added big endianc66
Quoted 5 lines
targets Updated uniform formatting
Signed-off-by Sam Nelson <[email protected]>--- recipes-ti/ipc/ti-ipc-rtos_git.bb | 119++++++++++++++++++++++++++++++++------
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 71 lines
recipes-ti/ipc/ti-ipc.inc | 6 +- 2 files changed, 104 insertions(+), 21 deletions(-)recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0@@ -2,9 +2,44 @@ require recipes-ti/includes/ti-paths.inc requirerecipes-ti/includes/ti-staging.inc
require ti-ipc.increcipes-ti/ipc/ti-ipc-rtos_git.bb +41
-2-PR = "${INC_PR}.4" +TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/ipc/ipc-examples.git" +TI_IPC_EXAMPLES_DEST_SUFFIX = "git/ipc-examples" +TI_IPC_EXAMPLES_GIT_PROTOCOL = "git" +TI_IPC_EXAMPLES_GIT_BRANCH = "master" +TI_IPC_EXAMPLES_NAME = "ipc-examples" -DEPENDS = "ti-xdctools ti-sysbios" +SRC_URI += "${TI_IPC_EXAMPLES_GIT_URI};\ +destsuffix=${TI_IPC_EXAMPLES_DEST_SUFFIX};\ +protocol=${TI_IPC_EXAMPLES_GIT_PROTOCOL};\ +branch=${TI_IPC_EXAMPLES_GIT_BRANCH};\ +name=${TI_IPC_EXAMPLES_NAME}" + +TI_IPC_METADATA_GIT_URI = "git://git.ti.com/ipc/ipc-metadata.git" +TI_IPC_METADATA_DEST_SUFFIX = "git/ipc-metadata" +TI_IPC_METADATA_GIT_PROTOCOL = "git" +TI_IPC_METADATA_GIT_BRANCH = "master" +TI_IPC_METADATA_NAME = "ipc-metadata" + +SRC_URI += "${TI_IPC_METADATA_GIT_URI};\ +destsuffix=${TI_IPC_METADATA_DEST_SUFFIX};\ +protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ +branch=${TI_IPC_METADATA_GIT_BRANCH};\ +name=${TI_IPC_METADATA_NAME}" + +# Corresponds to tag: 3.42.01.03 +SRCREV_ipc-examples = "bd4f28bd46467553e6610629ff13b4b5b3ba3af0" + +# Corresponds to tag: 3.42.01.03 +SRCREV_ipc-metadata = "4d01fe4a7c41d2ce76a62b4325e66753d59b298c" + +SRCREV_FORMAT = "ipc-metadata_ipc-examples" + +S_ipc-examples = "${WORKDIR}/git/ipc-examples" +S_ipc-metadata = "${WORKDIR}/git/ipc-metadata" + +PR = "${INC_PR}.0" + +DEPENDS = "ti-xdctools ti-sysbios doxygen-native" DEPENDS_append_keystone = " ti-cgt6x-native \ gcc-arm-none-eabi-native \ "@@ -12,6 +47,8 @@ DEPENDS_append_omap-a15 = " ti-cgt6x-native \ ti-ccsv6-native \ gcc-arm-none-eabi-native \ " +DEPENDS_append_c66x = " ti-cgt6x-native \ " PACKAGES =+ "${PN}-fw" FILES_${PN}-fw = "${base_libdir}/firmware/*"@@ -26,6 +63,7 @@ IPC_TARGETS = "" IPC_TARGETS_omap-a15 = "\ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ + + ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cg + t-c6x" \ ti.targets.arm.elf.M4="${M4_TOOLCHAIN_INSTALL_DIR}" \ ti.targets.arm.elf.M4F="${M4_TOOLCHAIN_INSTALL_DIR}" \ "@@ -33,18 +71,66 @@ IPC_TARGETS_omap-a15 = "\
IPC_TARGETS_keystone=recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0" \ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ + +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ "
Quoted 33 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +21
-3+ +IPC_TARGETS_c66x = " \ + ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ + +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt +-c6x" \ " EXTRA_OEMAKE = "\ PLATFORM=${PLATFORM} \ XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \ BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \ - ${IPC_TARGETS} -f ipc-bios.mak\ + ${IPC_TARGETS} \ " +RELEASE_TYPE = "GA" +RELEASE_SUFFIX = "" + +SRCIPK_SRC_DIR = "${D}${IPC_INSTALL_DIR_RECIPE}" +SRCIPK_INSTALL_DIR = "ipc_${@'${PV}'.replace('.', '_')}${RELEASE_SUFFIX}" + do_compile() { - oe_runmake clean - oe_runmake all + oe_runmake -f ipc-bios.mak clean + oe_runmake -f ipc-bios.mak release + + cd ${S_ipc-metadata} + oe_runmake .all-files IPC_INSTALL_DIR="${S}" \ + BUILD_HOST_OS="linux" \ + RELEASE_TYPE="${RELEASE_TYPE}" +recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +10
-0+ cd ${S_ipc-examples}/src + oe_runmake .examples \ + IPCTOOLS="${S_ipc-metadata}/src/etc" + + if [ "${PLATFORM}" != "UNKNOWN" ]; then + oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${S}" + oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${S}" + + if [ ! -z ${ALT_PLATFORM} ]; then + oe_runmake extract PLATFORM=${ALT_PLATFORM} HOSTOS="bios"IPC_INSTALL_DIR="${S}"
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 116
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ oe_runmake extract PLATFORM=${ALT_PLATFORM} HOSTOS="linux"IPC_INSTALL_DIR="${S}"
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 129
Quoted 13 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +13
-0+ fi + fi + + IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` # + Copy docs and other meta files install -d + ${D}${IPC_INSTALL_DIR_RECIPE} cp -pPrf + ${S_ipc-metadata}/exports/ipc_${IPC_VERSION}/* -d + ${D}${IPC_INSTALL_DIR_RECIPE} + + # Copy example folders corresponding to the platforms if [ + "${PLATFORM}" != "UNKNOWN" ]; then + install -d ${D}${IPC_INSTALL_DIR_RECIPE}/examples + cp -pPf ${S_ipc-examples}/src/examples/*.*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 130
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ cp -pPf ${S_ipc-examples}/src/examples/makefile${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 131
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ cp -pPrf ${S_ipc-examples}/src/examples/${PLATFORM}*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 133
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ if [ ! -z ${ALT_PLATFORM} ]; then + cp -pPrf ${S_ipc-examples}/src/examples/${ALT_PLATFORM}*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
Quoted 12 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +3
-3+ fi + find ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ -name "*zip" -type f + | xargs -I {} rm {} fi } do_compile_append() {@@ -52,25 +138,22 @@ do_compile_append() { } do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} -recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 64
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-3- install -d ${D}${base_libdir}/firmware/ipc - cp -pPrf ${S}/packages/ti/ipc/tests/bin/* ${D}${base_libdir}/firmware/ipc + install -d ${D}${base_libdir}/firmware/ipc cp -pPrf + ${S}/packages/ti/ipc/tests/bin/* ${D}${base_libdir}/firmware/ipc } ALTERNATIVE_PRIORITY = "5" pkg_postinst_${PN}-fw_omap-a15 () { - update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 65
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 66
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 67
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4${ALTERNATIVE_PRIORITY}Quoted 7 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +7
-0+ update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 + dra7-dsp1-fw.xe66 + ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 + ${ALTERNATIVE_PRIORITY} update-alternatives --install + /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66 + ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 + ${ALTERNATIVE_PRIORITY} update-alternatives --installrecipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { }
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +6
-1+ /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4 + ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 + ${ALTERNATIVE_PRIORITY} update-alternatives --install + /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4 + ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 + ${ALTERNATIVE_PRIORITY} } pkg_postrm_${PN}-fw_omap-a15 () { - update-alternatives --remove dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4Quoted 14 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +8
-0+ update-alternatives --remove dra7-dsp1-fw.xe66 + ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 + update-alternatives --remove dra7-dsp2-fw.xe66 + ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 + update-alternatives --remove dra7-ipu1-fw.xem4 + ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 + update-alternatives --remove dra7-ipu2-fw.xem4 + ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 }recipes-ti/ipc/ti-ipc.inc +0
-0recipes-ti/ipc/ti-ipc.inc TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git" · line 15
Quoted 10 lines
recipes-ti/ipc/ti-ipc.inc +2
-2@@ -8,15 +8,15 @@ TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git" TI_IPC_GIT_PROTOCOL = "git" TI_IPC_GIT_BRANCH = "3.42" -#Corresponds to 3.42.00.02 -TI_IPC_SRCREV = "a520969994378fb2629d7dfc25f306c3a711b5bc" +#Corresponds to 3.42.01.03 +TI_IPC_SRCREV = "dc6c5082f478225b7fbce4216173e6c5b36100b4" BRANCH = "${TI_IPC_GIT_BRANCH}" SRC_URI ="${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH}"
Quoted 16 lines
recipes-ti/ipc/ti-ipc.inc +1
-2SRCREV = "${TI_IPC_SRCREV}" S = "${WORKDIR}/git" -PV = "3.42.00.02" +PV = "3.42.01.03" INC_PR = "r0" PACKAGE_ARCH = "${MACHINE_ARCH}" --1.9.1
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 90 lines
-----Original Message-----
From: Stiffler, Jacob
Sent: Friday, May 13, 2016 3:13 PM
To: Dmytriyenko, Denys; Nelson, Sam
Cc: [email protected]
Subject: RE: [meta-ti] [PATCH] ti-ipc-rtos: Update to include examples and documentation with the packageQuoted 9 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Friday, May 13, 2016 2:57 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] ti-ipc-rtos: Update to include examples and documentation with the packageQuoted 4 lines
Sam,
Is this v2? You didn't specify changes since v1, so I would have to dig out the previous submission and check that past comments were
addressed.
Quoted 51 lines
Jake,
Do you have any comments here?
Quoted 2 lines · Sam Nelson
Updated to new version 3.42.01.03
Added procedures and source urls for adding examples anddocumentation
Quoted 7 lines
into src package.
Added dependency on doxygen for document creation Added big endian c66 targets Updated uniform formattingSigned-off-by Sam Nelson <[email protected]>--- recipes-ti/ipc/ti-ipc-rtos_git.bb | 119++++++++++++++++++++++++++++++++------
recipes-ti/ipc/ti-ipc-
Quoted 5 lines
recipes-ti/ipc/ti-ipc.inc | 6 +- 2 files changed, 104 insertions(+), 21 deletions(-)recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0rtos_git.bb
Quoted 27 lines
index 4c0fc74..8fb448f 100644
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0@@ -2,9 +2,44 @@ require recipes-ti/includes/ti-paths.inc requirerecipes-ti/includes/ti-staging.inc
require ti-ipc.increcipes-ti/ipc/ti-ipc-rtos_git.bb +17
-2-PR = "${INC_PR}.4" +TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/ipc/ipc-examples.git" +TI_IPC_EXAMPLES_DEST_SUFFIX = "git/ipc-examples" +TI_IPC_EXAMPLES_GIT_PROTOCOL = "git" +TI_IPC_EXAMPLES_GIT_BRANCH = "master" +TI_IPC_EXAMPLES_NAME = "ipc-examples" -DEPENDS = "ti-xdctools ti-sysbios" +SRC_URI += "${TI_IPC_EXAMPLES_GIT_URI};\ +destsuffix=${TI_IPC_EXAMPLES_DEST_SUFFIX};\ +protocol=${TI_IPC_EXAMPLES_GIT_PROTOCOL};\ +branch=${TI_IPC_EXAMPLES_GIT_BRANCH};\ +name=${TI_IPC_EXAMPLES_NAME}" + +TI_IPC_METADATA_GIT_URI = "git://git.ti.com/ipc/ipc-metadata.git" +TI_IPC_METADATA_DEST_SUFFIX = "git/ipc-metadata" +TI_IPC_METADATA_GIT_PROTOCOL = "git" +TI_IPC_METADATA_GIT_BRANCH = "master" +TI_IPC_METADATA_NAME = "ipc-metadata" +Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb require recipes-ti/includes/ti-paths.inc
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +8
-0+SRC_URI += "${TI_IPC_METADATA_GIT_URI};\ +destsuffix=${TI_IPC_METADATA_DEST_SUFFIX};\ +protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ +branch=${TI_IPC_METADATA_GIT_BRANCH};\ +name=${TI_IPC_METADATA_NAME}" + +# Corresponds to tag: 3.42.01.03 +SRCREV_ipc-examples ="
bd4f28bd46467553e6610629ff13b4b5b3ba3af0"Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb require recipes-ti/includes/ti-paths.inc
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +3
-0+ +# Corresponds to tag: 3.42.01.03 +SRCREV_ipc-metadata ="
4d01fe4a7c41d2ce76a62b4325e66753d59b298c"
Quoted 5 lines
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ +SRCREV_FORMAT = "ipc-metadata_ipc-examples"I'm not sure about this
SRCREV_FORMAT. Should it also contain the main ipc git SRCREV? And is this needed if SRCPV is not in the PV?
Look like there is some confusion here. I am also not clear if this is needed if SRCREV is not used in PV.
Quoted 16 lines
Quoted 14 lines
Quoted 11 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +7
-0+ +S_ipc-examples = "${WORKDIR}/git/ipc-examples" +S_ipc-metadata = "${WORKDIR}/git/ipc-metadata" + +PR = "${INC_PR}.0" + +DEPENDS = "ti-xdctools ti-sysbios doxygen-native" DEPENDS_append_keystone = " ti-cgt6x-native \ gcc-arm-none-eabi-native \ "recipes-ti/ipc/ti-ipc-rtos_git.bb DEPENDS_append_omap-a15 = " ti-cgt6x-native \ · line 49
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0@@ -12,6 +47,8 @@ DEPENDS_append_omap-a15 = " ti-cgt6x-native \ ti-ccsv6-native \ gcc-arm-none-eabi-native \ " +DEPENDS_append_c66x = " ti-cgt6x-native \ "These c66x machines have not yet been accepted into meta-ti.
Ok. I will remove this for now.
Quoted 41 lines
Quoted 12 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS = "" · line 67
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0PACKAGES =+ "${PN}-fw" FILES_${PN}-fw = "${base_libdir}/firmware/*"@@ -26,6 +63,7 @@ IPC_TARGETS = "" IPC_TARGETS_omap-a15 = "\ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt- c6x" \
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0ti.targets.arm.elf.M4="${M4_TOOLCHAIN_INSTALL_DIR}" \ ti.targets.arm.elf.M4F="${M4_TOOLCHAIN_INSTALL_DIR}" \ "@@ -33,18 +71,66 @@ IPC_TARGETS_omap-a15 = "\
IPC_TARGETS_keystoneQuoted 25 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 75
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0= " \ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt- c6x" \
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 91
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +6
-0+" + +IPC_TARGETS_c66x = " \ + ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" +\ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt- c6x" \
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-1" EXTRA_OEMAKE = "\ PLATFORM=${PLATFORM} \ XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \ BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \ - ${IPC_TARGETS} -f ipc-bios.mak\ + ${IPC_TARGETS} \ "
Quoted 8 lines
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +5
-0+RELEASE_TYPE = "GA" +RELEASE_SUFFIX = "" + +SRCIPK_SRC_DIR = "${D}${IPC_INSTALL_DIR_RECIPE}" +SRCIPK_INSTALL_DIR = "ipc_${@'${PV}'.replace('.','_')}${RELEASE_SUFFIX}"
This already specified in meta-arago's arago-source-ipk.conf?
I don't see anything related ti-ipc-rtos, in the master branch meta-arago: arago-source-ipk.conf. Am I missing something?
Quoted 47 lines
Quoted 47 lines
Quoted 13 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +9
-2+ do_compile() { - oe_runmake clean - oe_runmake all + oe_runmake -f ipc-bios.mak clean + oe_runmake -f ipc-bios.mak release + + cd ${S_ipc-metadata} + oe_runmake .all-files IPC_INSTALL_DIR="${S}" \ + BUILD_HOST_OS="linux" \ + RELEASE_TYPE="${RELEASE_TYPE}" +recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +10
-0+ cd ${S_ipc-examples}/src + oe_runmake .examples \ + IPCTOOLS="${S_ipc-metadata}/src/etc" + + if [ "${PLATFORM}" != "UNKNOWN" ]; then + oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${S}" + oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${S}" + + if [ ! -z ${ALT_PLATFORM} ]; then + oe_runmake extract PLATFORM=${ALT_PLATFORM} HOSTOS="bios"IPC_INSTALL_DIR="${S}"
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 116
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ oe_runmake extract PLATFORM=${ALT_PLATFORM} HOSTOS="linux"IPC_INSTALL_DIR="${S}"
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 123
Quoted 7 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +7
-0+ fi + fi + + IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` # + Copy docs and other meta files install -d + ${D}${IPC_INSTALL_DIR_RECIPE} cp -pPrf + ${S_ipc-metadata}/exports/ipc_${IPC_VERSION}/* -d${D}${IPC_INSTALL_DIR_RECIPE}
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 128
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +5
-0+ + # Copy example folders corresponding to the platforms if [ + "${PLATFORM}" != "UNKNOWN" ]; then + install -d ${D}${IPC_INSTALL_DIR_RECIPE}/examples + cp -pPf ${S_ipc-examples}/src/examples/*.*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 129
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ cp -pPf ${S_ipc-examples}/src/examples/makefile${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 130
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ cp -pPrf ${S_ipc-examples}/src/examples/${PLATFORM}*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 132
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ if [ ! -z ${ALT_PLATFORM} ]; then + cp -pPrf ${S_ipc-examples}/src/examples/${ALT_PLATFORM}*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
Quoted 9 lines
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 135
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +3
-0+ fi + find ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ -name "*zip" -type + f |xargs -I {} rm {}
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ fiWhy do all of this installation in the
do_compilestage? Should it be indo_install?
This is rtos package and everything is that is created is part of the source package. Only what goes into file system is in the do_install step.
Quoted 114 lines
Quoted 84 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 58
Quoted 11 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-5} do_compile_append() {@@ -52,25 +138,22 @@ do_compile_append() { } do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} - - install -d ${D}${base_libdir}/firmware/ipc - cp -pPrf ${S}/packages/ti/ipc/tests/bin/*${D}${base_libdir}/firmware/ipc
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 141
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ install -d ${D}${base_libdir}/firmware/ipc cp -pPrf + ${S}/packages/ti/ipc/tests/bin/*${D}${base_libdir}/firmware/ipc
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() {
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1} ALTERNATIVE_PRIORITY = "5" pkg_postinst_${PN}-fw_omap-a15 () { - update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 65
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 66
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 67
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 148
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 + dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 150
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 + dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 152
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 + dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 154
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 + dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() {
Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1} pkg_postrm_${PN}-fw_omap-a15 () { - update-alternatives --remove dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 72
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 73
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 74
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 158
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ update-alternatives --remove dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 159
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ update-alternatives --remove dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66Quoted 1 line
+ update-alternatives --remove dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4Quoted 1 line
+ update-alternatives --remove dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4Quoted 9 lines
}
recipes-ti/ipc/ti-ipc.inc +0
-0@@ -8,15 +8,15 @@ TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git" TI_IPC_GIT_PROTOCOL = "git" TI_IPC_GIT_BRANCH = "3.42"Quoted 8 lines
recipes-ti/ipc/ti-ipc.inc TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git"
Quoted 7 lines
recipes-ti/ipc/ti-ipc.inc +2
-2-#Corresponds to 3.42.00.02 -TI_IPC_SRCREV = "a520969994378fb2629d7dfc25f306c3a711b5bc" +#Corresponds to 3.42.01.03 +TI_IPC_SRCREV = "dc6c5082f478225b7fbce4216173e6c5b36100b4" BRANCH = "${TI_IPC_GIT_BRANCH}" SRC_URI ="${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH}"
Quoted 21 lines
Quoted 11 lines
recipes-ti/ipc/ti-ipc.inc +1
-2SRCREV = "${TI_IPC_SRCREV}" S = "${WORKDIR}/git" -PV = "3.42.00.02" +PV = "3.42.01.03" INC_PR = "r0" PACKAGE_ARCH = "${MACHINE_ARCH}" --1.9.1
Quoted 5 lines
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 165 lines · Sam
Quoted 90 lines
-----Original Message-----
From: Stiffler, Jacob
Sent: Friday, May 13, 2016 3:13 PM
To: Dmytriyenko, Denys; Nelson, Sam
Cc: [email protected]
Subject: RE: [meta-ti] [PATCH] ti-ipc-rtos: Update to include examples and documentation with the packageQuoted 9 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Friday, May 13, 2016 2:57 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] ti-ipc-rtos: Update to include examples and documentation with the packageQuoted 4 lines
Sam,
Is this v2? You didn't specify changes since v1, so I would have to dig out the previous submission and check that past comments were
addressed.
Quoted 51 lines
Jake,
Do you have any comments here?
Quoted 2 lines · Sam Nelson
Updated to new version 3.42.01.03
Added procedures and source urls for adding examples anddocumentation
Quoted 7 lines
into src package.
Added dependency on doxygen for document creation Added big endian c66 targets Updated uniform formattingSigned-off-by Sam Nelson <[email protected]>--- recipes-ti/ipc/ti-ipc-rtos_git.bb | 119++++++++++++++++++++++++++++++++------
recipes-ti/ipc/ti-ipc-
Quoted 5 lines
recipes-ti/ipc/ti-ipc.inc | 6 +- 2 files changed, 104 insertions(+), 21 deletions(-)recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0rtos_git.bb
Quoted 27 lines
index 4c0fc74..8fb448f 100644
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0@@ -2,9 +2,44 @@ require recipes-ti/includes/ti-paths.inc requirerecipes-ti/includes/ti-staging.inc
require ti-ipc.increcipes-ti/ipc/ti-ipc-rtos_git.bb +17
-2-PR = "${INC_PR}.4" +TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/ipc/ipc-examples.git" +TI_IPC_EXAMPLES_DEST_SUFFIX = "git/ipc-examples" +TI_IPC_EXAMPLES_GIT_PROTOCOL = "git" +TI_IPC_EXAMPLES_GIT_BRANCH = "master" +TI_IPC_EXAMPLES_NAME = "ipc-examples" -DEPENDS = "ti-xdctools ti-sysbios" +SRC_URI += "${TI_IPC_EXAMPLES_GIT_URI};\ +destsuffix=${TI_IPC_EXAMPLES_DEST_SUFFIX};\ +protocol=${TI_IPC_EXAMPLES_GIT_PROTOCOL};\ +branch=${TI_IPC_EXAMPLES_GIT_BRANCH};\ +name=${TI_IPC_EXAMPLES_NAME}" + +TI_IPC_METADATA_GIT_URI = "git://git.ti.com/ipc/ipc-metadata.git" +TI_IPC_METADATA_DEST_SUFFIX = "git/ipc-metadata" +TI_IPC_METADATA_GIT_PROTOCOL = "git" +TI_IPC_METADATA_GIT_BRANCH = "master" +TI_IPC_METADATA_NAME = "ipc-metadata" +Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb require recipes-ti/includes/ti-paths.inc
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +8
-0+SRC_URI += "${TI_IPC_METADATA_GIT_URI};\ +destsuffix=${TI_IPC_METADATA_DEST_SUFFIX};\ +protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ +branch=${TI_IPC_METADATA_GIT_BRANCH};\ +name=${TI_IPC_METADATA_NAME}" + +# Corresponds to tag: 3.42.01.03 +SRCREV_ipc-examples ="
bd4f28bd46467553e6610629ff13b4b5b3ba3af0"Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb require recipes-ti/includes/ti-paths.inc
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +3
-0+ +# Corresponds to tag: 3.42.01.03 +SRCREV_ipc-metadata ="
4d01fe4a7c41d2ce76a62b4325e66753d59b298c"Quoted 5 lines
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ +SRCREV_FORMAT = "ipc-metadata_ipc-examples"I'm not sure about this
SRCREV_FORMAT. Should it also contain the main ipc git SRCREV? And is this needed if SRCPV is not in the PV?Look like there is some confusion here. I am also not clear if this is needed if SRCREV is not used in PV.
Quoted 16 lines
Quoted 14 lines
Quoted 11 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +7
-0+ +S_ipc-examples = "${WORKDIR}/git/ipc-examples" +S_ipc-metadata = "${WORKDIR}/git/ipc-metadata" + +PR = "${INC_PR}.0" + +DEPENDS = "ti-xdctools ti-sysbios doxygen-native" DEPENDS_append_keystone = " ti-cgt6x-native \ gcc-arm-none-eabi-native \ "recipes-ti/ipc/ti-ipc-rtos_git.bb DEPENDS_append_omap-a15 = " ti-cgt6x-native \ · line 49
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0@@ -12,6 +47,8 @@ DEPENDS_append_omap-a15 = " ti-cgt6x-native \ ti-ccsv6-native \ gcc-arm-none-eabi-native \ " +DEPENDS_append_c66x = " ti-cgt6x-native \ "These c66x machines have not yet been accepted into meta-ti.
Ok. I will remove this for now.
Quoted 48 lines
Quoted 12 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS = "" · line 67
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0PACKAGES =+ "${PN}-fw" FILES_${PN}-fw = "${base_libdir}/firmware/*"@@ -26,6 +63,7 @@ IPC_TARGETS = "" IPC_TARGETS_omap-a15 = "\ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt- c6x" \
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0ti.targets.arm.elf.M4="${M4_TOOLCHAIN_INSTALL_DIR}" \ ti.targets.arm.elf.M4F="${M4_TOOLCHAIN_INSTALL_DIR}" \ "@@ -33,18 +71,66 @@ IPC_TARGETS_omap-a15 = "\
IPC_TARGETS_keystoneQuoted 31 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 75
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0= " \ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt- c6x" \
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 91
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +6
-0+" + +IPC_TARGETS_c66x = " \ + ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" +\ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt- c6x" \
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0" EXTRA_OEMAKE = "\ PLATFORM=${PLATFORM} \ XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +6
-1BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \ - ${IPC_TARGETS} -f ipc-bios.mak\ + ${IPC_TARGETS} \ " +RELEASE_TYPE = "GA" +RELEASE_SUFFIX = "" + +SRCIPK_SRC_DIR = "${D}${IPC_INSTALL_DIR_RECIPE}" +SRCIPK_INSTALL_DIR = "ipc_${@'${PV}'.replace('.','_')}${RELEASE_SUFFIX}"
Quoted 4 lines
Quoted 1 line
This already specified in meta-arago's arago-source-ipk.conf?
I don't see anything related ti-ipc-rtos, in the master branch meta-arago: arago-source-ipk.conf. Am I missing something?
Yes, no SRCIPK stuff in meta-ti allowed.
Quoted 173 lines
Quoted 46 lines
Quoted 46 lines
Quoted 12 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +9
-2+ do_compile() { - oe_runmake clean - oe_runmake all + oe_runmake -f ipc-bios.mak clean + oe_runmake -f ipc-bios.mak release + + cd ${S_ipc-metadata} + oe_runmake .all-files IPC_INSTALL_DIR="${S}" \ + BUILD_HOST_OS="linux" \ + RELEASE_TYPE="${RELEASE_TYPE}" +recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +10
-0+ cd ${S_ipc-examples}/src + oe_runmake .examples \ + IPCTOOLS="${S_ipc-metadata}/src/etc" + + if [ "${PLATFORM}" != "UNKNOWN" ]; then + oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${S}" + oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${S}" + + if [ ! -z ${ALT_PLATFORM} ]; then + oe_runmake extract PLATFORM=${ALT_PLATFORM} HOSTOS="bios"IPC_INSTALL_DIR="${S}"
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 116
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ oe_runmake extract PLATFORM=${ALT_PLATFORM} HOSTOS="linux"IPC_INSTALL_DIR="${S}"
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 123
Quoted 7 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +7
-0+ fi + fi + + IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` # + Copy docs and other meta files install -d + ${D}${IPC_INSTALL_DIR_RECIPE} cp -pPrf + ${S_ipc-metadata}/exports/ipc_${IPC_VERSION}/* -d${D}${IPC_INSTALL_DIR_RECIPE}
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 128
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +5
-0+ + # Copy example folders corresponding to the platforms if [ + "${PLATFORM}" != "UNKNOWN" ]; then + install -d ${D}${IPC_INSTALL_DIR_RECIPE}/examples + cp -pPf ${S_ipc-examples}/src/examples/*.*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 129
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ cp -pPf ${S_ipc-examples}/src/examples/makefile${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 130
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ cp -pPrf ${S_ipc-examples}/src/examples/${PLATFORM}*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 132
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ if [ ! -z ${ALT_PLATFORM} ]; then + cp -pPrf ${S_ipc-examples}/src/examples/${ALT_PLATFORM}*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
Quoted 9 lines
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 135
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +3
-0+ fi + find ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ -name "*zip" -type + f |xargs -I {} rm {}
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ fiWhy do all of this installation in the
do_compilestage? Should it be indo_install?This is rtos package and everything is that is created is part of the source package. Only what goes into file system is in the
do_installstep.Quoted 114 lines
Quoted 84 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 58
Quoted 11 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-5} do_compile_append() {@@ -52,25 +138,22 @@ do_compile_append() { } do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} - - install -d ${D}${base_libdir}/firmware/ipc - cp -pPrf ${S}/packages/ti/ipc/tests/bin/*${D}${base_libdir}/firmware/ipc
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 141
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ install -d ${D}${base_libdir}/firmware/ipc cp -pPrf + ${S}/packages/ti/ipc/tests/bin/*${D}${base_libdir}/firmware/ipc
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() {
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1} ALTERNATIVE_PRIORITY = "5" pkg_postinst_${PN}-fw_omap-a15 () { - update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 65
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 66
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 67
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 148
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 + dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 150
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 + dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 152
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 + dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 154
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 + dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() {
Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1} pkg_postrm_${PN}-fw_omap-a15 () { - update-alternatives --remove dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 72
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 73
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 74
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 158
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ update-alternatives --remove dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 159
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ update-alternatives --remove dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66Quoted 1 line
+ update-alternatives --remove dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4Quoted 1 line
+ update-alternatives --remove dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4Quoted 9 lines
}
recipes-ti/ipc/ti-ipc.inc +0
-0@@ -8,15 +8,15 @@ TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git" TI_IPC_GIT_PROTOCOL = "git" TI_IPC_GIT_BRANCH = "3.42"Quoted 8 lines
recipes-ti/ipc/ti-ipc.inc TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git"
Quoted 7 lines
recipes-ti/ipc/ti-ipc.inc +2
-2-#Corresponds to 3.42.00.02 -TI_IPC_SRCREV = "a520969994378fb2629d7dfc25f306c3a711b5bc" +#Corresponds to 3.42.01.03 +TI_IPC_SRCREV = "dc6c5082f478225b7fbce4216173e6c5b36100b4" BRANCH = "${TI_IPC_GIT_BRANCH}" SRC_URI ="${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH}"
Quoted 21 lines
Quoted 11 lines
recipes-ti/ipc/ti-ipc.inc +1
-2SRCREV = "${TI_IPC_SRCREV}" S = "${WORKDIR}/git" -PV = "3.42.00.02" +PV = "3.42.01.03" INC_PR = "r0" PACKAGE_ARCH = "${MACHINE_ARCH}" --1.9.1
Quoted 5 lines
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 101 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Tuesday, May 17, 2016 2:57 PM
To: Nelson, Sam
Cc: Stiffler, Jacob; [email protected]
Subject: Re: [meta-ti] [PATCH] ti-ipc-rtos: Update to include examples and documentation with the packageQuoted 90 lines · Sam
Quoted 90 lines
-----Original Message-----
From: Stiffler, Jacob
Sent: Friday, May 13, 2016 3:13 PM
To: Dmytriyenko, Denys; Nelson, Sam
Cc: [email protected]
Subject: RE: [meta-ti] [PATCH] ti-ipc-rtos: Update to include examples and documentation with the packageQuoted 9 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Friday, May 13, 2016 2:57 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] ti-ipc-rtos: Update to include examples and documentation with the packageQuoted 5 lines
Sam,
Is this v2? You didn't specify changes since v1, so I would have to dig out the previous submission and check that past comments were
addressed.
Quoted 51 lines
Jake,
Do you have any comments here?
Quoted 2 lines · Sam Nelson
Updated to new version 3.42.01.03 Added procedures and source urls for adding examples and
documentation
Quoted 8 lines
into src package.
Added dependency on doxygen for document creation Added big endian
c66 targets Updated uniform formattingSigned-off-by Sam Nelson <[email protected]>--- recipes-ti/ipc/ti-ipc-rtos_git.bb | 119++++++++++++++++++++++++++++++++------
recipes-ti/ipc/ti-ipc-
Quoted 5 lines
recipes-ti/ipc/ti-ipc.inc | 6 +- 2 files changed, 104 insertions(+), 21 deletions(-)recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0rtos_git.bb
Quoted 26 lines
index 4c0fc74..8fb448f 100644
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0@@ -2,9 +2,44 @@ require recipes-ti/includes/ti-paths.increquire recipes-ti/includes/ti-staging.inc
require ti-ipc.increcipes-ti/ipc/ti-ipc-rtos_git.bb +16
-2-PR = "${INC_PR}.4" +TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/ipc/ipc-examples.git" +TI_IPC_EXAMPLES_DEST_SUFFIX = "git/ipc-examples" +TI_IPC_EXAMPLES_GIT_PROTOCOL = "git" +TI_IPC_EXAMPLES_GIT_BRANCH = "master" +TI_IPC_EXAMPLES_NAME = "ipc-examples" -DEPENDS = "ti-xdctools ti-sysbios" +SRC_URI += "${TI_IPC_EXAMPLES_GIT_URI};\ +destsuffix=${TI_IPC_EXAMPLES_DEST_SUFFIX};\ +protocol=${TI_IPC_EXAMPLES_GIT_PROTOCOL};\ +branch=${TI_IPC_EXAMPLES_GIT_BRANCH};\ +name=${TI_IPC_EXAMPLES_NAME}" + +TI_IPC_METADATA_GIT_URI = "git://git.ti.com/ipc/ipc-metadata.git" +TI_IPC_METADATA_DEST_SUFFIX = "git/ipc-metadata" +TI_IPC_METADATA_GIT_PROTOCOL = "git" +TI_IPC_METADATA_GIT_BRANCH = "master" +TI_IPC_METADATA_NAME = "ipc-metadata"Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb require recipes-ti/includes/ti-paths.inc
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +8
-0+ +SRC_URI += "${TI_IPC_METADATA_GIT_URI};\ +destsuffix=${TI_IPC_METADATA_DEST_SUFFIX};\ +protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ +branch=${TI_IPC_METADATA_GIT_BRANCH};\ +name=${TI_IPC_METADATA_NAME}" + +# Corresponds to tag: 3.42.01.03 SRCREV_ipc-examples ="
bd4f28bd46467553e6610629ff13b4b5b3ba3af0"Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ +# Corresponds to tag: 3.42.01.03 SRCREV_ipc-metadata ="
4d01fe4a7c41d2ce76a62b4325e66753d59b298c"
Quoted 8 lines
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ +SRCREV_FORMAT = "ipc-metadata_ipc-examples"I'm not sure about this
SRCREV_FORMAT. Should it also contain the main ipc git SRCREV? And is this needed if SRCPV is not in the PV?Look like there is some confusion here. I am also not clear if this is needed if
SRCREV is not used in PV.
Denys, Can you clarify on whether the SRCREV_FORMAT is really needed or not?
Quoted 71 lines
Quoted 71 lines
Quoted 17 lines
Quoted 15 lines
Quoted 12 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +7
-0+ +S_ipc-examples = "${WORKDIR}/git/ipc-examples" +S_ipc-metadata = "${WORKDIR}/git/ipc-metadata" + +PR = "${INC_PR}.0" + +DEPENDS = "ti-xdctools ti-sysbios doxygen-native" DEPENDS_append_keystone = " ti-cgt6x-native \ gcc-arm-none-eabi-native \ "recipes-ti/ipc/ti-ipc-rtos_git.bb DEPENDS_append_omap-a15 = " ti-cgt6x-native \ · line 49
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0@@ -12,6 +47,8 @@ DEPENDS_append_omap-a15 = " ti-cgt6x-native \ ti-ccsv6-native \ gcc-arm-none-eabi-native \ " +DEPENDS_append_c66x = " ti-cgt6x-native \ "These c66x machines have not yet been accepted into meta-ti.
Ok. I will remove this for now.
Quoted 51 lines
Quoted 13 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS = "" · line 67
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0PACKAGES =+ "${PN}-fw" FILES_${PN}-fw = "${base_libdir}/firmware/*"@@ -26,6 +63,7 @@ IPC_TARGETS = "" IPC_TARGETS_omap-a15 = "\ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/ cgt-
c6x" \Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0ti.targets.arm.elf.M4="${M4_TOOLCHAIN_INSTALL_DIR}" \ ti.targets.arm.elf.M4F="${M4_TOOLCHAIN_INSTALL_DIR}" \ "@@ -33,18 +71,66 @@ IPC_TARGETS_omap-a15 = "\
IPC_TARGETS_keystoneQuoted 33 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 75
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0= " \ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/ cgt-
c6x" \recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 91
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +6
-0+" + +IPC_TARGETS_c66x = " \ + ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" +\ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/ cgt-
c6x" \Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0" EXTRA_OEMAKE = "\ PLATFORM=${PLATFORM} \ XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +6
-1BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \ - ${IPC_TARGETS} -f ipc-bios.mak\ + ${IPC_TARGETS} \ " +RELEASE_TYPE = "GA" +RELEASE_SUFFIX = "" + +SRCIPK_SRC_DIR = "${D}${IPC_INSTALL_DIR_RECIPE}" +SRCIPK_INSTALL_DIR = "ipc_${@'${PV}'.replace('.','_')}${RELEASE_SUFFIX}"
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
This already specified in meta-arago's arago-source-ipk.conf?
I don't see anything related ti-ipc-rtos, in the master branch meta-arago:
arago-source-ipk.conf.
Quoted 1 line
Am I missing something?
Yes, no SRCIPK stuff in meta-ti allowed.
I see. I will remove from here and send update to meta-arago.
Quoted 178 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +11
-2+ do_compile() { - oe_runmake clean - oe_runmake all + oe_runmake -f ipc-bios.mak clean oe_runmake -f ipc-bios.mak + release + + cd ${S_ipc-metadata} + oe_runmake .all-files IPC_INSTALL_DIR="${S}" \ + BUILD_HOST_OS="linux" \ + RELEASE_TYPE="${RELEASE_TYPE}" + + cd ${S_ipc-examples}/src + oe_runmake .examples \Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +8
-0+ IPCTOOLS="${S_ipc-metadata}/src/etc" + + if [ "${PLATFORM}" != "UNKNOWN" ]; then + oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${S}" + oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${S}" + + if [ ! -z ${ALT_PLATFORM} ]; then + oe_runmake extract PLATFORM=${ALT_PLATFORM}HOSTOS="bios"
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
IPC_INSTALL_DIR="${S}"
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ oe_runmake extract PLATFORM=${ALT_PLATFORM}HOSTOS="linux"
Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
IPC_INSTALL_DIR="${S}"
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 7 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +7
-0+ fi + fi + + IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` + # Copy docs and other meta files install -d + ${D}${IPC_INSTALL_DIR_RECIPE} cp -pPrf + ${S_ipc-metadata}/exports/ipc_${IPC_VERSION}/* -d${D}${IPC_INSTALL_DIR_RECIPE}
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 128
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +5
-0+ + # Copy example folders corresponding to the platforms if [ + "${PLATFORM}" != "UNKNOWN" ]; then + install -d ${D}${IPC_INSTALL_DIR_RECIPE}/examples + cp -pPf ${S_ipc-examples}/src/examples/*.*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 129
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ cp -pPf ${S_ipc-examples}/src/examples/makefile${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 130
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ cp -pPrf ${S_ipc-examples}/src/examples/${PLATFORM}*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 132
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ if [ ! -z ${ALT_PLATFORM} ]; then + cp -pPrf ${S_ipc-examples}/src/examples/${ALT_PLATFORM}*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +3
-0+ fi + find ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ -name "*zip" + -type f |Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
xargs -I {} rm {}
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ fiWhy do all of this installation in the
do_compilestage? Should it be indo_install?This is rtos package and everything is that is created is part of the source
package.
Quoted 95 lines
Only what goes into file system is in the
do_installstep.Quoted 93 lines
Quoted 92 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 58
Quoted 11 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-5} do_compile_append() {@@ -52,25 +138,22 @@ do_compile_append() { } do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} - - install -d ${D}${base_libdir}/firmware/ipc - cp -pPrf ${S}/packages/ti/ipc/tests/bin/*${D}${base_libdir}/firmware/ipc
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 141
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ install -d ${D}${base_libdir}/firmware/ipc cp -pPrf + ${S}/packages/ti/ipc/tests/bin/*${D}${base_libdir}/firmware/ipc
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() {
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1} ALTERNATIVE_PRIORITY = "5" pkg_postinst_${PN}-fw_omap-a15 () { - update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 65
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 66
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 67
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 148
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 + dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 150
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 + dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 152
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 + dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 154
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 + dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() {
Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1} pkg_postrm_${PN}-fw_omap-a15 () { - update-alternatives --remove dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 72
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 73
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 74
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 158
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ update-alternatives --remove dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 159
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ update-alternatives --remove dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66Quoted 1 line
+ update-alternatives --remove dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4Quoted 1 line
+ update-alternatives --remove dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4Quoted 16 lines
}
(quoted diff) +0
-0b/recipes-ti/ipc/ti-ipc.inc index 69127aa..9c5dfed 100644
recipes-ti/ipc/ti-ipc.inc +2
-2@@ -8,15 +8,15 @@ TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git" TI_IPC_GIT_PROTOCOL = "git" TI_IPC_GIT_BRANCH = "3.42" -#Corresponds to 3.42.00.02 -TI_IPC_SRCREV = "a520969994378fb2629d7dfc25f306c3a711b5bc" +#Corresponds to 3.42.01.03 +TI_IPC_SRCREV = "dc6c5082f478225b7fbce4216173e6c5b36100b4" BRANCH = "${TI_IPC_GIT_BRANCH}" SRC_URI ="${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH}"
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
Quoted 11 lines
recipes-ti/ipc/ti-ipc.inc +1
-2SRCREV = "${TI_IPC_SRCREV}" S = "${WORKDIR}/git" -PV = "3.42.00.02" +PV = "3.42.01.03" INC_PR = "r0" PACKAGE_ARCH = "${MACHINE_ARCH}" --1.9.1
Quoted 5 lines
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 107 lines · Sam
Quoted 107 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Tuesday, May 17, 2016 2:57 PM
To: Nelson, Sam
Cc: Stiffler, Jacob; [email protected]
Subject: Re: [meta-ti] [PATCH] ti-ipc-rtos: Update to include examples and documentation with the packageQuoted 96 lines · Sam
Quoted 95 lines
-----Original Message-----
From: Stiffler, Jacob
Sent: Friday, May 13, 2016 3:13 PM
To: Dmytriyenko, Denys; Nelson, Sam
Cc: [email protected]
Subject: RE: [meta-ti] [PATCH] ti-ipc-rtos: Update to include examples and documentation with the packageQuoted 9 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Friday, May 13, 2016 2:57 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] ti-ipc-rtos: Update to include examples and documentation with the packageQuoted 5 lines
Sam,
Is this v2? You didn't specify changes since v1, so I would have to dig out the previous submission and check that past comments were
addressed.
Quoted 51 lines
Jake,
Do you have any comments here?
Quoted 2 lines · Sam Nelson
Updated to new version 3.42.01.03 Added procedures and source urls for adding examples and
documentation
Quoted 8 lines
into src package.
Added dependency on doxygen for document creation Added big endian
c66 targets Updated uniform formattingSigned-off-by Sam Nelson <[email protected]>--- recipes-ti/ipc/ti-ipc-rtos_git.bb | 119++++++++++++++++++++++++++++++++------
recipes-ti/ipc/ti-ipc-
Quoted 5 lines
recipes-ti/ipc/ti-ipc.inc | 6 +- 2 files changed, 104 insertions(+), 21 deletions(-)recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0rtos_git.bb
Quoted 26 lines
index 4c0fc74..8fb448f 100644
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0@@ -2,9 +2,44 @@ require recipes-ti/includes/ti-paths.increquire recipes-ti/includes/ti-staging.inc
require ti-ipc.increcipes-ti/ipc/ti-ipc-rtos_git.bb +16
-2-PR = "${INC_PR}.4" +TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/ipc/ipc-examples.git" +TI_IPC_EXAMPLES_DEST_SUFFIX = "git/ipc-examples" +TI_IPC_EXAMPLES_GIT_PROTOCOL = "git" +TI_IPC_EXAMPLES_GIT_BRANCH = "master" +TI_IPC_EXAMPLES_NAME = "ipc-examples" -DEPENDS = "ti-xdctools ti-sysbios" +SRC_URI += "${TI_IPC_EXAMPLES_GIT_URI};\ +destsuffix=${TI_IPC_EXAMPLES_DEST_SUFFIX};\ +protocol=${TI_IPC_EXAMPLES_GIT_PROTOCOL};\ +branch=${TI_IPC_EXAMPLES_GIT_BRANCH};\ +name=${TI_IPC_EXAMPLES_NAME}" + +TI_IPC_METADATA_GIT_URI = "git://git.ti.com/ipc/ipc-metadata.git" +TI_IPC_METADATA_DEST_SUFFIX = "git/ipc-metadata" +TI_IPC_METADATA_GIT_PROTOCOL = "git" +TI_IPC_METADATA_GIT_BRANCH = "master" +TI_IPC_METADATA_NAME = "ipc-metadata"Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb require recipes-ti/includes/ti-paths.inc
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +8
-0+ +SRC_URI += "${TI_IPC_METADATA_GIT_URI};\ +destsuffix=${TI_IPC_METADATA_DEST_SUFFIX};\ +protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ +branch=${TI_IPC_METADATA_GIT_BRANCH};\ +name=${TI_IPC_METADATA_NAME}" + +# Corresponds to tag: 3.42.01.03 SRCREV_ipc-examples ="
bd4f28bd46467553e6610629ff13b4b5b3ba3af0"Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ +# Corresponds to tag: 3.42.01.03 SRCREV_ipc-metadata ="
4d01fe4a7c41d2ce76a62b4325e66753d59b298c"Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ +SRCREV_FORMAT = "ipc-metadata_ipc-examples"I'm not sure about this
SRCREV_FORMAT. Should it also contain the main ipc git SRCREV? And is this needed if SRCPV is not in the PV?
Quoted 4 lines
Quoted 2 lines
Quoted 1 line
Look like there is some confusion here. I am also not clear if this is needed if
SRCREV is not used in PV.
Denys, Can you clarify on whether the
SRCREV_FORMATis really needed or not?
Do you get an error about SRCREV_FORMAT required w/o it?
Quoted 258 lines
Quoted 69 lines
Quoted 69 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +7
-0+ +S_ipc-examples = "${WORKDIR}/git/ipc-examples" +S_ipc-metadata = "${WORKDIR}/git/ipc-metadata" + +PR = "${INC_PR}.0" + +DEPENDS = "ti-xdctools ti-sysbios doxygen-native"Quoted 8 lines
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb DEPENDS_append_omap-a15 = " ti-cgt6x-native \ · line 49
Quoted 6 lines
DEPENDS_append_keystone= " ti-cgt6x-native \
gcc-arm-none-eabi-native \ "recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0@@ -12,6 +47,8 @@ DEPENDS_append_omap-a15 = " ti-cgt6x-native \ ti-ccsv6-native \ gcc-arm-none-eabi-native \ " +DEPENDS_append_c66x = " ti-cgt6x-native \ "These c66x machines have not yet been accepted into meta-ti.
Ok. I will remove this for now.
Quoted 51 lines
Quoted 13 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS = "" · line 67
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0PACKAGES =+ "${PN}-fw" FILES_${PN}-fw = "${base_libdir}/firmware/*"@@ -26,6 +63,7 @@ IPC_TARGETS = "" IPC_TARGETS_omap-a15 = "\ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/ cgt-
c6x" \Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0ti.targets.arm.elf.M4="${M4_TOOLCHAIN_INSTALL_DIR}" \ ti.targets.arm.elf.M4F="${M4_TOOLCHAIN_INSTALL_DIR}" \ "@@ -33,18 +71,66 @@ IPC_TARGETS_omap-a15 = "\
IPC_TARGETS_keystoneQuoted 33 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 75
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0= " \ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/ cgt-
c6x" \recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 91
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +6
-0+" + +IPC_TARGETS_c66x = " \ + ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" +\ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/ cgt-
c6x" \Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0" EXTRA_OEMAKE = "\ PLATFORM=${PLATFORM} \ XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +6
-1BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \ - ${IPC_TARGETS} -f ipc-bios.mak\ + ${IPC_TARGETS} \ " +RELEASE_TYPE = "GA" +RELEASE_SUFFIX = "" + +SRCIPK_SRC_DIR = "${D}${IPC_INSTALL_DIR_RECIPE}" +SRCIPK_INSTALL_DIR = "ipc_${@'${PV}'.replace('.','_')}${RELEASE_SUFFIX}"
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
This already specified in meta-arago's arago-source-ipk.conf?
I don't see anything related ti-ipc-rtos, in the master branch meta-arago:
arago-source-ipk.conf.
Quoted 1 line
Am I missing something?
Yes, no SRCIPK stuff in meta-ti allowed.
I see. I will remove from here and send update to meta-arago.
Quoted 178 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +11
-2+ do_compile() { - oe_runmake clean - oe_runmake all + oe_runmake -f ipc-bios.mak clean oe_runmake -f ipc-bios.mak + release + + cd ${S_ipc-metadata} + oe_runmake .all-files IPC_INSTALL_DIR="${S}" \ + BUILD_HOST_OS="linux" \ + RELEASE_TYPE="${RELEASE_TYPE}" + + cd ${S_ipc-examples}/src + oe_runmake .examples \Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +8
-0+ IPCTOOLS="${S_ipc-metadata}/src/etc" + + if [ "${PLATFORM}" != "UNKNOWN" ]; then + oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${S}" + oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${S}" + + if [ ! -z ${ALT_PLATFORM} ]; then + oe_runmake extract PLATFORM=${ALT_PLATFORM}HOSTOS="bios"
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
IPC_INSTALL_DIR="${S}"
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ oe_runmake extract PLATFORM=${ALT_PLATFORM}HOSTOS="linux"
Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
IPC_INSTALL_DIR="${S}"
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 7 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +7
-0+ fi + fi + + IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` + # Copy docs and other meta files install -d + ${D}${IPC_INSTALL_DIR_RECIPE} cp -pPrf + ${S_ipc-metadata}/exports/ipc_${IPC_VERSION}/* -d${D}${IPC_INSTALL_DIR_RECIPE}
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 128
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +5
-0+ + # Copy example folders corresponding to the platforms if [ + "${PLATFORM}" != "UNKNOWN" ]; then + install -d ${D}${IPC_INSTALL_DIR_RECIPE}/examples + cp -pPf ${S_ipc-examples}/src/examples/*.*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 129
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ cp -pPf ${S_ipc-examples}/src/examples/makefile${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 130
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ cp -pPrf ${S_ipc-examples}/src/examples/${PLATFORM}*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 132
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ if [ ! -z ${ALT_PLATFORM} ]; then + cp -pPrf ${S_ipc-examples}/src/examples/${ALT_PLATFORM}*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +3
-0+ fi + find ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ -name "*zip" + -type f |Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
xargs -I {} rm {}
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ fiWhy do all of this installation in the
do_compilestage? Should it be indo_install?This is rtos package and everything is that is created is part of the source
package.
Quoted 95 lines
Only what goes into file system is in the
do_installstep.Quoted 93 lines
Quoted 92 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 58
Quoted 11 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-5} do_compile_append() {@@ -52,25 +138,22 @@ do_compile_append() { } do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} - - install -d ${D}${base_libdir}/firmware/ipc - cp -pPrf ${S}/packages/ti/ipc/tests/bin/*${D}${base_libdir}/firmware/ipc
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 141
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ install -d ${D}${base_libdir}/firmware/ipc cp -pPrf + ${S}/packages/ti/ipc/tests/bin/*${D}${base_libdir}/firmware/ipc
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() {
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1} ALTERNATIVE_PRIORITY = "5" pkg_postinst_${PN}-fw_omap-a15 () { - update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 65
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 66
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 67
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 148
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 + dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 150
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 + dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 152
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 + dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 154
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 + dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() {
Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1} pkg_postrm_${PN}-fw_omap-a15 () { - update-alternatives --remove dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 72
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 73
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 74
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 158
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ update-alternatives --remove dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 159
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ update-alternatives --remove dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66Quoted 1 line
+ update-alternatives --remove dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4Quoted 1 line
+ update-alternatives --remove dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4Quoted 16 lines
}
(quoted diff) +0
-0b/recipes-ti/ipc/ti-ipc.inc index 69127aa..9c5dfed 100644
recipes-ti/ipc/ti-ipc.inc +2
-2@@ -8,15 +8,15 @@ TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git" TI_IPC_GIT_PROTOCOL = "git" TI_IPC_GIT_BRANCH = "3.42" -#Corresponds to 3.42.00.02 -TI_IPC_SRCREV = "a520969994378fb2629d7dfc25f306c3a711b5bc" +#Corresponds to 3.42.01.03 +TI_IPC_SRCREV = "dc6c5082f478225b7fbce4216173e6c5b36100b4" BRANCH = "${TI_IPC_GIT_BRANCH}" SRC_URI ="${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH}"
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
Quoted 11 lines
recipes-ti/ipc/ti-ipc.inc +1
-2SRCREV = "${TI_IPC_SRCREV}" S = "${WORKDIR}/git" -PV = "3.42.00.02" +PV = "3.42.01.03" INC_PR = "r0" PACKAGE_ARCH = "${MACHINE_ARCH}" --1.9.1
Quoted 5 lines
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 120 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Tuesday, May 17, 2016 10:41 PM
To: Nelson, Sam
Cc: Stiffler, Jacob; [email protected]
Subject: Re: [meta-ti] [PATCH] ti-ipc-rtos: Update to include examples and documentation with the packageQuoted 70 lines · Sam
Quoted 70 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Tuesday, May 17, 2016 2:57 PM
To: Nelson, Sam
Cc: Stiffler, Jacob; [email protected]
Subject: Re: [meta-ti] [PATCH] ti-ipc-rtos: Update to include examples and documentation with the packageQuoted 59 lines · Sam
Quoted 59 lines
-----Original Message-----
From: Stiffler, Jacob
Sent: Friday, May 13, 2016 3:13 PM
To: Dmytriyenko, Denys; Nelson, Sam
Cc: [email protected]
Subject: RE: [meta-ti] [PATCH] ti-ipc-rtos: Update to include examples and documentation with the packageQuoted 9 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Friday, May 13, 2016 2:57 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] ti-ipc-rtos: Update to include examples and documentation with the packageQuoted 5 lines
Sam,
Is this v2? You didn't specify changes since v1, so I would have to dig out the previous submission and check that past comments were
addressed.
Quoted 32 lines
Jake,
Do you have any comments here?
Quoted 2 lines · Sam Nelson
Updated to new version 3.42.01.03 Added procedures and source urls for adding examples and
documentation
Quoted 8 lines
into src package.
Added dependency on doxygen for document creation Added big endian
c66 targets Updated uniform formattingSigned-off-by Sam Nelson <[email protected]>--- recipes-ti/ipc/ti-ipc-rtos_git.bb | 119++++++++++++++++++++++++++++++++------
recipes-ti/ipc/ti-ipc-
Quoted 5 lines
recipes-ti/ipc/ti-ipc.inc | 6 +- 2 files changed, 104 insertions(+), 21 deletions(-)recipes-ti/ipc/ti-ipc- renamed from recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0rtos_git.bb
Quoted 7 lines
index 4c0fc74..8fb448f 100644
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0@@ -2,9 +2,44 @@ require recipes-ti/includes/ti-paths.increquire recipes-ti/includes/ti-staging.inc
require ti-ipc.incQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-1-PR = "${INC_PR}.4" +TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/ipc/ipc-examples.git"
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +4
-0+TI_IPC_EXAMPLES_DEST_SUFFIX = "git/ipc-examples" +TI_IPC_EXAMPLES_GIT_PROTOCOL = "git" +TI_IPC_EXAMPLES_GIT_BRANCH = "master" +TI_IPC_EXAMPLES_NAME = "ipc-examples"Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +7
-1-DEPENDS = "ti-xdctools ti-sysbios" +SRC_URI += "${TI_IPC_EXAMPLES_GIT_URI};\ +destsuffix=${TI_IPC_EXAMPLES_DEST_SUFFIX};\ +protocol=${TI_IPC_EXAMPLES_GIT_PROTOCOL};\ +branch=${TI_IPC_EXAMPLES_GIT_BRANCH};\ +name=${TI_IPC_EXAMPLES_NAME}" + +TI_IPC_METADATA_GIT_URI = "git://git.ti.com/ipc/ipc-metadata.git"
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 21 lines
Quoted 4 lines
Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +4
-0+TI_IPC_METADATA_DEST_SUFFIX = "git/ipc-metadata" +TI_IPC_METADATA_GIT_PROTOCOL = "git" +TI_IPC_METADATA_GIT_BRANCH = "master" +TI_IPC_METADATA_NAME = "ipc-metadata"Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +8
-0+ +SRC_URI += "${TI_IPC_METADATA_GIT_URI};\ +destsuffix=${TI_IPC_METADATA_DEST_SUFFIX};\ +protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\ +branch=${TI_IPC_METADATA_GIT_BRANCH};\ +name=${TI_IPC_METADATA_NAME}" + +# Corresponds to tag: 3.42.01.03 SRCREV_ipc-examples ="
bd4f28bd46467553e6610629ff13b4b5b3ba3af0"Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ +# Corresponds to tag: 3.42.01.03 SRCREV_ipc-metadata ="
4d01fe4a7c41d2ce76a62b4325e66753d59b298c"Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ +SRCREV_FORMAT = "ipc-metadata_ipc-examples"I'm not sure about this
SRCREV_FORMAT. Should it also contain the main ipc git SRCREV? And is this needed if SRCPV is not in the PV?
Quoted 9 lines
Quoted 5 lines
Quoted 3 lines
Quoted 2 lines
Look like there is some confusion here. I am also not clear if this is needed if
SRCREV is not used in PV.
Denys, Can you clarify on whether the
SRCREV_FORMATis really needed ornot?
Do you get an error about
SRCREV_FORMATrequired w/o it?
Not really. No errors reported without SRCREV_FORMAT.
Quoted 280 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb DEPENDS_append_omap-a15 = " ti-cgt6x-
Quoted 11 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +7
-0+ +S_ipc-examples = "${WORKDIR}/git/ipc-examples" +S_ipc-metadata = "${WORKDIR}/git/ipc-metadata" + +PR = "${INC_PR}.0" + +DEPENDS = "ti-xdctools ti-sysbios doxygen-native" DEPENDS_append_keystone = " ti-cgt6x-native \ gcc-arm-none-eabi-native \ "@@ -12,6 +47,8 @@ DEPENDS_append_omap-a15 = " ti-cgt6x-native \
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 5 lines
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb DEPENDS_append_omap-a15 = " ti-cgt6x- · line 49
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0ti-ccsv6-native \ gcc-arm-none-eabi-native \ " +DEPENDS_append_c66x = " ti-cgt6x-native \ "These c66x machines have not yet been accepted into meta-ti.
Ok. I will remove this for now.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS = "" · line 65
Quoted 6 lines
PACKAGES =+ "${PN}-fw"
FILES_${PN}-fw = "${base_libdir}/firmware/*"recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0@@ -26,6 +63,7 @@ IPC_TARGETS = "" IPC_TARGETS_omap-a15 = "\ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS = "" · line 67
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0\ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share /ti/
cgt-
c6x" \Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0ti.targets.arm.elf.M4="${M4_TOOLCHAIN_INSTALL_DIR}" \ ti.targets.arm.elf.M4F="${M4_TOOLCHAIN_INSTALL_DIR}" \ "@@ -33,18 +71,66 @@ IPC_TARGETS_omap-a15 = "\
IPC_TARGETS_keystoneQuoted 3 lines
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0= " \ gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \ ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 75
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0\ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share /ti/
cgt-
c6x" \recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 79
Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +4
-0+" + +IPC_TARGETS_c66x = " \ + ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
Quoted 113 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 22 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 81
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+\ +ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share /ti/
cgt-
c6x" \Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-0" EXTRA_OEMAKE = "\ PLATFORM=${PLATFORM} \ XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 95
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +6
-1BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \ - ${IPC_TARGETS} -f ipc-bios.mak\ + ${IPC_TARGETS} \ " +RELEASE_TYPE = "GA" +RELEASE_SUFFIX = "" + +SRCIPK_SRC_DIR = "${D}${IPC_INSTALL_DIR_RECIPE}" +SRCIPK_INSTALL_DIR = "ipc_${@'${PV}'.replace('.','_')}${RELEASE_SUFFIX}"
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
This already specified in meta-arago's arago-source-ipk.conf?
I don't see anything related ti-ipc-rtos, in the master branch meta-arago:
arago-source-ipk.conf.
Quoted 1 line
Am I missing something?
Yes, no SRCIPK stuff in meta-ti allowed.
I see. I will remove from here and send update to meta-arago.
Quoted 79 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +11
-2+ do_compile() { - oe_runmake clean - oe_runmake all + oe_runmake -f ipc-bios.mak clean oe_runmake -f + ipc-bios.mak release + + cd ${S_ipc-metadata} + oe_runmake .all-files IPC_INSTALL_DIR="${S}" \ + BUILD_HOST_OS="linux" \ + RELEASE_TYPE="${RELEASE_TYPE}" + + cd ${S_ipc-examples}/src + oe_runmake .examples \Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 115
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +8
-0+ IPCTOOLS="${S_ipc-metadata}/src/etc" + + if [ "${PLATFORM}" != "UNKNOWN" ]; then + oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${S}" + oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${S}" + + if [ ! -z ${ALT_PLATFORM} ]; then + oe_runmake extract PLATFORM=${ALT_PLATFORM}HOSTOS="bios"
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
IPC_INSTALL_DIR="${S}"
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ oe_runmake extract PLATFORM=${ALT_PLATFORM}HOSTOS="linux"
Quoted 27 lines
Quoted 27 lines
Quoted 27 lines
IPC_INSTALL_DIR="${S}"
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 123
Quoted 7 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +7
-0+ fi + fi + + IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e + 's|\.|_|g'` # Copy docs and other meta files install -d + ${D}${IPC_INSTALL_DIR_RECIPE} cp -pPrf + ${S_ipc-metadata}/exports/ipc_${IPC_VERSION}/* -d${D}${IPC_INSTALL_DIR_RECIPE}
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 128
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +5
-0+ + # Copy example folders corresponding to the platforms if + [ "${PLATFORM}" != "UNKNOWN" ]; then + install -d ${D}${IPC_INSTALL_DIR_RECIPE}/examples + cp -pPf ${S_ipc-examples}/src/examples/*.*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 129
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ cp -pPf ${S_ipc-examples}/src/examples/makefile${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 130
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +1
-0+ cp -pPrf ${S_ipc-examples}/src/examples/${PLATFORM}*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 133
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +3
-0+ if [ ! -z ${ALT_PLATFORM} ]; then + cp -pPrf + ${S_ipc-examples}/src/examples/${ALT_PLATFORM}*${D}${IPC_INSTALL_DIR_RECIPE}/examples/
recipes-ti/ipc/ti-ipc-rtos_git.bb IPC_TARGETS_omap-a15 = "\ · line 136
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +3
-0+ fi + find ${D}${IPC_INSTALL_DIR_RECIPE}/examples/ -name "*zip" + -type f |xargs -I {} rm {}
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
+ fi
Why do all of this installation in the
do_compilestage? Should it be indo_install?This is rtos package and everything is that is created is part of the source
package.
Quoted 16 lines
Only what goes into file system is in the
do_installstep.Quoted 14 lines
Quoted 14 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 58
Quoted 11 lines
}
do_compile_append(){recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-5@@ -52,25 +138,22 @@ do_compile_append() { } do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} - - install -d ${D}${base_libdir}/firmware/ipc - cp -pPrf ${S}/packages/ti/ipc/tests/bin/*${D}${base_libdir}/firmware/ipc
Quoted 2 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +2
-0+ install -d ${D}${base_libdir}/firmware/ipc cp -pPrf + ${S}/packages/ti/ipc/tests/bin/*Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
${D}${base_libdir}/firmware/ipc
recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 64
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1} ALTERNATIVE_PRIORITY = "5" pkg_postinst_${PN}-fw_omap-a15 () { - update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66dra7-
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 65
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66dra7-
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 66
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4dra7-
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 67
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4dra7-
Quoted 44 lines
Quoted 44 lines
Quoted 44 lines
Quoted 44 lines
Quoted 44 lines
ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 149
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +3
-0+ update-alternatives --install + /lib/firmware/dra7-dsp1-fw.xe66 + dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 152
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +3
-0+ update-alternatives --install + /lib/firmware/dra7-dsp2-fw.xe66 + dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 155
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +3
-0+ update-alternatives --install + /lib/firmware/dra7-ipu1-fw.xem4 + dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { } · line 158
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +3
-0+ update-alternatives --install + /lib/firmware/dra7-ipu2-fw.xem4 + dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4${ALTERNATIVE_PRIORITY}recipes-ti/ipc/ti-ipc-rtos_git.bb do_compile_append() { }
Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1} pkg_postrm_${PN}-fw_omap-a15 () { - update-alternatives --remove dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4recipes-ti/ipc/ti-ipc-rtos_git.bb
Quoted 1 line
recipes-ti/ipc/ti-ipc-rtos_git.bb +0
-1- update-alternatives --remove dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4Quoted 1 line
+ update-alternatives --remove dra7-dsp1-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66Quoted 1 line
+ update-alternatives --remove dra7-dsp2-fw.xe66
ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66Quoted 1 line
+ update-alternatives --remove dra7-ipu1-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
+ update-alternatives --remove dra7-ipu2-fw.xem4
ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4recipes-ti/ipc/ti-ipc.inc TI_IPC_GIT_URI =
Quoted 6 lines
}
(quoted diff) +0
-0b/recipes-ti/ipc/ti-ipc.inc index 69127aa..9c5dfed 100644
recipes-ti/ipc/ti-ipc.inc +0
-0@@ -8,15 +8,15 @@ TI_IPC_GIT_URI ="
git://git.ti.com/ipc/ipcdev.git"Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
recipes-ti/ipc/ti-ipc.inc TI_IPC_GIT_URI = · line 12
Quoted 5 lines
recipes-ti/ipc/ti-ipc.inc +0
-2TI_IPC_GIT_PROTOCOL = "git" TI_IPC_GIT_BRANCH = "3.42" -#Corresponds to 3.42.00.02 -TI_IPC_SRCREV ="
a520969994378fb2629d7dfc25f306c3a711b5bc"Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
recipes-ti/ipc/ti-ipc.inc TI_IPC_GIT_URI = · line 12
Quoted 2 lines
recipes-ti/ipc/ti-ipc.inc +2
-0+#Corresponds to 3.42.01.03 +TI_IPC_SRCREV ="
dc6c5082f478225b7fbce4216173e6c5b36100b4"Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
recipes-ti/ipc/ti-ipc.inc TI_IPC_GIT_URI = · line 14
Quoted 3 lines
recipes-ti/ipc/ti-ipc.inc +0
-0BRANCH = "${TI_IPC_GIT_BRANCH}" SRC_URI ="${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH}"
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
Quoted 11 lines
recipes-ti/ipc/ti-ipc.inc +1
-2SRCREV = "${TI_IPC_SRCREV}" S = "${WORKDIR}/git" -PV = "3.42.00.02" +PV = "3.42.01.03" INC_PR = "r0" PACKAGE_ARCH = "${MACHINE_ARCH}" --1.9.1
Quoted 5 lines
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti