ipc: ti-ipc, ti-ipc-rtos: Update to new version of IPC 3.41.0.3_eng
PATCH v4 1/1 ipc: ti-ipc, ti-ipc-rtos: Update to new version of IPC 3.41.0.3_eng
- Update to new version of IPC 3.41.0.3_eng
- Add recipe to build ti-ipc-rtos from git repo
- Remove K2G hack
---
Changes from the previous version of the patch
- Removed redundant platform definitions
---
--- recipes-ti/ipc/ti-ipc-rtos.inc | 19 ------------ recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb | 9 ------ recipes-ti/ipc/ti-ipc-rtos_git.bb | 51 ++++++++++++++++++++++++++++++++ recipes-ti/ipc/ti-ipc.inc | 26 ++++++++++++++++ recipes-ti/ipc/ti-ipc_git.bb | 27 +++-------------- 5 files changed, 81 insertions(+), 51 deletions(-) delete mode 100644 recipes-ti/ipc/ti-ipc-rtos.inc delete mode 100644 recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb create mode 100644 recipes-ti/ipc/ti-ipc-rtos_git.bb create mode 100644 recipes-ti/ipc/ti-ipc.inc
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0 -19
@@ -1,19 +0,0 @@ -DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)" -HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" - -LICENSE = "BSD" - -require recipes-ti/includes/ti-paths.inc -require recipes-ti/includes/ti-staging.inc - -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/${PV}/exports/ipc_${PV}.zip;name=ipczip" - -S = "${WORKDIR}/ipc_${PV}" - -do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} -} - -ALLOW_EMPTY_${PN} = "1" -FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}"
recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0 -9
@@ -1,9 +0,0 @@ -require ti-ipc-rtos.inc - -PV = "3_40_01_08" -PR = "r0" - -LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec79255" - -SRC_URI[ipczip.md5sum] = "738e1d54da9fab94899ad162f1ad78de" -SRC_URI[ipczip.sha256sum] = "8cc7d40ad7eab916eae109b355dc7e7876c6ab82e3b40bf5b6bf60474312d6cf"
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +51 -0
51 lines not on this page · raw message
recipes-ti/ipc/ti-ipc.inc new file +26 -0
@@ -0,0 +1,26 @@ +DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)" +HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" + +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec79255" + +BRANCH = "ipc-next" + +SRC_URI = "git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH}" + +#Corresponds to 3.41.00.03_eng +SRCREV = "354db7d3b6aa397e6ab4b86fdbd312746fd46a07" + +S = "${WORKDIR}/git" +PV = "3.41.00.03" +PR = "r1" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +PLATFORM = "UNKNOWN" +PLATFORM_omap5-evm = "OMAP54XX" +PLATFORM_dra7xx = "DRA7XX" +PLATFORM_k2hk-evm = "TCI6638" +PLATFORM_k2l-evm = "TCI6630" +PLATFORM_k2e-evm = "66AK2E" +PLATFORM_k2g-evm = "66AK2G"
recipes-ti/ipc/ti-ipc_git.bb +4 -23
@@ -1,32 +1,13 @@ DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)" HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec79255" +require ti-ipc.inc DEPENDS += "virtual/kernel" -PV = "3.41.00.02" - -BRANCH = "ipc-next" -SRC_URI = "git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH} \ - file://tiipclad-daemon.sh \ - file://0001-Add-kernel-build-dir.patch \ +SRC_URI += "file://tiipclad-daemon.sh \ + file://0001-Add-kernel-build-dir.patch \ " -# Commit corresponds to 3.41.00.02-eng -SRCREV = "b34c8ada4ed243cd52e504bf2c6fb3451dc730f8" - -S = "${WORKDIR}/git" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -PLATFORM = "UNKNOWN" -PLATFORM_omap5-evm = "OMAP54XX" -PLATFORM_dra7xx = "DRA7XX" -PLATFORM_k2hk-evm = "TCI6638" -PLATFORM_k2l-evm = "TCI6630" -PLATFORM_k2e-evm = "66AK2E" -PLATFORM_k2g-evm = "66AK2E" DAEMON = "UNKNOWN" DAEMON_omap5-evm = "lad_omap54xx_smp"
@@ -34,7 +15,7 @@ DAEMON_dra7xx = "lad_dra7xx" DAEMON_k2hk-evm = "lad_tci6638" DAEMON_k2l-evm = "lad_tci6630" DAEMON_k2e-evm = "lad_66ak2e" -DAEMON_k2g-evm = "lad_66ak2e" +DAEMON_k2g-evm = "lad_66ak2g" inherit autotools-brokensep pkgconfig update-rc.d
Signature · 1 line
1.9.1
Quoted 10 lines · Sam Nelson
- Update to new version of IPC 3.41.0.3_eng
- Add recipe to build ti-ipc-rtos from git repo
- Remove K2G hackSigned-off-by Sam Nelson <[email protected]>---
Changes from the previous version of the patch
- Removed redundant platform definitions
---
Quoted 8 lines
--- recipes-ti/ipc/ti-ipc-rtos.inc | 19 ------------ recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb | 9 ------ recipes-ti/ipc/ti-ipc-rtos_git.bb | 51 ++++++++++++++++++++++++++++++++ recipes-ti/ipc/ti-ipc.inc | 26 ++++++++++++++++ recipes-ti/ipc/ti-ipc_git.bb | 27 +++-------------- 5 files changed, 81 insertions(+), 51 deletions(-)delete mode 100644 recipes-ti/ipc/ti-ipc-rtos.inc
Other layers use this file. Do we want to keep it, or should those layers make a copy of it?
Quoted 63 lines
delete mode 100644 recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb create mode 100644 recipes-ti/ipc/ti-ipc-rtos_git.bb create mode 100644 recipes-ti/ipc/ti-ipc.inc
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-19@@ -1,19 +0,0 @@ -DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)" -HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" - -LICENSE = "BSD" - -require recipes-ti/includes/ti-paths.inc -require recipes-ti/includes/ti-staging.inc - -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/${PV}/exports/ipc_${PV}.zip;name=ipczip" - -S = "${WORKDIR}/ipc_${PV}" - -do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} -} - -ALLOW_EMPTY_${PN} = "1" -FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}"recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-9@@ -1,9 +0,0 @@ -require ti-ipc-rtos.inc - -PV = "3_40_01_08" -PR = "r0" - -LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec79255" - -SRC_URI[ipczip.md5sum] = "738e1d54da9fab94899ad162f1ad78de" -SRC_URI[ipczip.sha256sum] = "8cc7d40ad7eab916eae109b355dc7e7876c6ab82e3b40bf5b6bf60474312d6cf"recipes-ti/ipc/ti-ipc-rtos_git.bb new file +13
-0@@ -0,0 +1,51 @@ +require recipes-ti/includes/ti-paths.inc +require recipes-ti/includes/ti-staging.inc +require ti-ipc.inc + +DEPENDS += "ti-cgt6x-native ti-xdctools ti-sysbios" + +PACKAGES =+ "${PN}-fw" +FILES_${PN}-fw = "${libdir}/firmware/*" +FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}" + +INSANE_SKIP_${PN}-fw += "arch" +INSANE_SKIP_${PN}-dev += "arch" +
recipes-ti/ipc/ti-ipc-rtos_git.bb line 23
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +10
-0+ALLOW_EMPTY_${PN} = "1" + +IPC_TARGETS = "" +IPC_TARGETS_omap-a15 = "\ + gnu.targets.arm.A15F="${A15_TOOLCHAIN_INSTALL_DIR}" \ + ti.targets.elf.C66="${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}" \ +" +
If you are building for the baremetal A15 and M4, you need to add gcc-arm-none-eabi-native and ti-ccsv6-native to the dependencies.
Quoted 40 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +28
-0+IPC_TARGETS_keystone = " \ + gnu.targets.arm.A15F="${A15_TOOLCHAIN_INSTALL_DIR}" \ + ti.targets.elf.C66="${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} \ +" + +do_compile() { + oe_runmake -f ipc-bios.mak clean + oe_runmake -f ipc-bios.mak all +} + +do_compile_append() { + sourceipk_do_create_srcipk +} + +do_install() { + install -d ${D}${IPC_INSTALL_DIR_RECIPE} + cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} + + install -d ${D}${libdir}/firmware + find . -name "*.xe66" -type f | xargs -I {} install -m 0644 {} ${D}${libdir}/firmware/ +}recipes-ti/ipc/ti-ipc.inc new file +6
-0@@ -0,0 +1,26 @@ +DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)" +HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" + +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec79255" +
recipes-ti/ipc/ti-ipc.inc line 16
Quoted 10 lines
recipes-ti/ipc/ti-ipc.inc new file +10
-0+BRANCH = "ipc-next" + +SRC_URI = "git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH}" + +#Corresponds to 3.41.00.03_eng +SRCREV = "354db7d3b6aa397e6ab4b86fdbd312746fd46a07" + +S = "${WORKDIR}/git" +PV = "3.41.00.03" +PR = "r1"
Can you use "INC_PR"?
Quoted 59 lines
recipes-ti/ipc/ti-ipc.inc new file +10
-0+ +PACKAGE_ARCH = "${MACHINE_ARCH}" + +PLATFORM = "UNKNOWN" +PLATFORM_omap5-evm = "OMAP54XX" +PLATFORM_dra7xx = "DRA7XX" +PLATFORM_k2hk-evm = "TCI6638" +PLATFORM_k2l-evm = "TCI6630" +PLATFORM_k2e-evm = "66AK2E" +PLATFORM_k2g-evm = "66AK2G"recipes-ti/ipc/ti-ipc_git.bb +4
-23@@ -1,32 +1,13 @@ DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)" HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec79255" +require ti-ipc.inc DEPENDS += "virtual/kernel" -PV = "3.41.00.02" - -BRANCH = "ipc-next" -SRC_URI = "git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH} \ - file://tiipclad-daemon.sh \ - file://0001-Add-kernel-build-dir.patch \ +SRC_URI += "file://tiipclad-daemon.sh \ + file://0001-Add-kernel-build-dir.patch \ " -# Commit corresponds to 3.41.00.02-eng -SRCREV = "b34c8ada4ed243cd52e504bf2c6fb3451dc730f8" - -S = "${WORKDIR}/git" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -PLATFORM = "UNKNOWN" -PLATFORM_omap5-evm = "OMAP54XX" -PLATFORM_dra7xx = "DRA7XX" -PLATFORM_k2hk-evm = "TCI6638" -PLATFORM_k2l-evm = "TCI6630" -PLATFORM_k2e-evm = "66AK2E" -PLATFORM_k2g-evm = "66AK2E" DAEMON = "UNKNOWN" DAEMON_omap5-evm = "lad_omap54xx_smp"@@ -34,7 +15,7 @@ DAEMON_dra7xx = "lad_dra7xx" DAEMON_k2hk-evm = "lad_tci6638" DAEMON_k2l-evm = "lad_tci6630" DAEMON_k2e-evm = "lad_66ak2e" -DAEMON_k2g-evm = "lad_66ak2e" +DAEMON_k2g-evm = "lad_66ak2g" inherit autotools-brokensep pkgconfig update-rc.d
Quoted 105 lines · Jacob Stiffler
Quoted 18 lines · Sam Nelson
- Update to new version of IPC 3.41.0.3_eng
- Add recipe to build ti-ipc-rtos from git repo
- Remove K2G hackSigned-off-by Sam Nelson <[email protected]>---
Changes from the previous version of the patch
- Removed redundant platform definitions
------ recipes-ti/ipc/ti-ipc-rtos.inc | 19 ------------ recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb | 9 ------ recipes-ti/ipc/ti-ipc-rtos_git.bb | 51 ++++++++++++++++++++++++++++++++ recipes-ti/ipc/ti-ipc.inc | 26 ++++++++++++++++ recipes-ti/ipc/ti-ipc_git.bb | 27 +++-------------- 5 files changed, 81 insertions(+), 51 deletions(-)Quoted 1 line
delete mode 100644 recipes-ti/ipc/ti-ipc-rtos.inc
Other layers use this file. Do we want to keep it, or should those layers make a copy of it?
Quoted 67 lines
delete mode 100644 recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb create mode 100644 recipes-ti/ipc/ti-ipc-rtos_git.bb create mode 100644 recipes-ti/ipc/ti-ipc.inc
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-1@@ -1,19 +0,0 @@ -DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)"
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-8-HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" - -LICENSE = "BSD" - -require recipes-ti/includes/ti-paths.inc -require recipes-ti/includes/ti-staging.inc - -SRC_URI =recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-10- -S = "${WORKDIR}/ipc_${PV}" - -do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} -} - -ALLOW_EMPTY_${PN} = "1" -FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}"recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-6@@ -1,9 +0,0 @@ -require ti-ipc-rtos.inc - -PV = "3_40_01_08" -PR = "r0" - -LIC_FILES_CHKSUM ="file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec79255"
recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-3- -SRC_URI[ipczip.md5sum] = "738e1d54da9fab94899ad162f1ad78de" -SRC_URI[ipczip.sha256sum] ="
8cc7d40ad7eab916eae109b355dc7e7876c6ab82e3b40bf5b6bf60474312d6cf"recipes-ti/ipc/ti-ipc-rtos_git.bb new file +13
-0@@ -0,0 +1,51 @@ +require recipes-ti/includes/ti-paths.inc +require recipes-ti/includes/ti-staging.inc +require ti-ipc.inc + +DEPENDS += "ti-cgt6x-native ti-xdctools ti-sysbios" + +PACKAGES =+ "${PN}-fw" +FILES_${PN}-fw = "${libdir}/firmware/*" +FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}" + +INSANE_SKIP_${PN}-fw += "arch" +INSANE_SKIP_${PN}-dev += "arch" +recipes-ti/ipc/ti-ipc-rtos_git.bb line 23
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +10
-0+ALLOW_EMPTY_${PN} = "1" + +IPC_TARGETS = "" +IPC_TARGETS_omap-a15 = "\ + gnu.targets.arm.A15F="${A15_TOOLCHAIN_INSTALL_DIR}" \ + ti.targets.elf.C66="${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}" \ +" +If you are building for the baremetal A15 and M4, you need to add gcc-arm-none-eabi-native and ti-ccsv6-native to the dependencies.
Quoted 15 lines
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +5
-0+IPC_TARGETS_keystone = " \ + gnu.targets.arm.A15F="${A15_TOOLCHAIN_INSTALL_DIR}" \ + ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ +" +recipes-ti/ipc/ti-ipc-rtos_git.bb line 38
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +10
-0+EXTRA_OEMAKE = "\ + PLATFORM=${PLATFORM} \ + XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \ + BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \ + ${IPC_TARGETS} \ +" + +do_compile() { + oe_runmake -f ipc-bios.mak clean + oe_runmake -f ipc-bios.mak all
I just checked with how we were doing this internally, and we were only building the libs. Do we also want to make the tests also?
Quoted 99 lines
Quoted 32 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +12
-0+} + +do_compile_append() { + sourceipk_do_create_srcipk +} + +do_install() { + install -d ${D}${IPC_INSTALL_DIR_RECIPE} + cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} + + install -d ${D}${libdir}/firmware + find . -name "*.xe66" -type f | xargs -I {} install -m 0644 {}${D}${libdir}/firmware/
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +1
-0+}recipes-ti/ipc/ti-ipc.inc new file +1
-0@@ -0,0 +1,26 @@ +DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)"
recipes-ti/ipc/ti-ipc.inc new file +4
-0+HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" + +LICENSE = "BSD" +LIC_FILES_CHKSUM ="file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec79255"
recipes-ti/ipc/ti-ipc.inc new file +4
-0+ +BRANCH = "ipc-next" + +SRC_URI ="
git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH}"recipes-ti/ipc/ti-ipc.inc line 16
Quoted 7 lines
recipes-ti/ipc/ti-ipc.inc new file +7
-0+ +#Corresponds to 3.41.00.03_eng +SRCREV = "354db7d3b6aa397e6ab4b86fdbd312746fd46a07" + +S = "${WORKDIR}/git" +PV = "3.41.00.03" +PR = "r1"Can you use "
INC_PR"?Quoted 56 lines
recipes-ti/ipc/ti-ipc.inc new file +10
-0+ +PACKAGE_ARCH = "${MACHINE_ARCH}" + +PLATFORM = "UNKNOWN" +PLATFORM_omap5-evm = "OMAP54XX" +PLATFORM_dra7xx = "DRA7XX" +PLATFORM_k2hk-evm = "TCI6638" +PLATFORM_k2l-evm = "TCI6630" +PLATFORM_k2e-evm = "66AK2E" +PLATFORM_k2g-evm = "66AK2G"recipes-ti/ipc/ti-ipc_git.bb +0
-0@@ -1,32 +1,13 @@ DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)" HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec79255"recipes-ti/ipc/ti-ipc_git.bb +1
-3+require ti-ipc.inc DEPENDS += "virtual/kernel" -PV = "3.41.00.02" - -BRANCH = "ipc-next" -SRC_URI ="
git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH}\recipes-ti/ipc/ti-ipc_git.bb +3
-17- file://tiipclad-daemon.sh \ - file://0001-Add-kernel-build-dir.patch \ +SRC_URI += "file://tiipclad-daemon.sh \ + file://0001-Add-kernel-build-dir.patch \ " -# Commit corresponds to 3.41.00.02-eng -SRCREV = "b34c8ada4ed243cd52e504bf2c6fb3451dc730f8" - -S = "${WORKDIR}/git" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -PLATFORM = "UNKNOWN" -PLATFORM_omap5-evm = "OMAP54XX" -PLATFORM_dra7xx = "DRA7XX" -PLATFORM_k2hk-evm = "TCI6638" -PLATFORM_k2l-evm = "TCI6630" -PLATFORM_k2e-evm = "66AK2E" -PLATFORM_k2g-evm = "66AK2E" DAEMON = "UNKNOWN" DAEMON_omap5-evm = "lad_omap54xx_smp"@@ -34,7 +15,7 @@ DAEMON_dra7xx = "lad_dra7xx" DAEMON_k2hk-evm = "lad_tci6638" DAEMON_k2l-evm = "lad_tci6630" DAEMON_k2e-evm = "lad_66ak2e" -DAEMON_k2g-evm = "lad_66ak2e" +DAEMON_k2g-evm = "lad_66ak2g" inherit autotools-brokensep pkgconfig update-rc.d
Quoted 100 lines · Jacob Stiffler
Quoted 97 lines · Jacob Stiffler
Quoted 18 lines · Sam Nelson
- Update to new version of IPC 3.41.0.3_eng
- Add recipe to build ti-ipc-rtos from git repo
- Remove K2G hackSigned-off-by Sam Nelson <[email protected]>---
Changes from the previous version of the patch
- Removed redundant platform definitions
------ recipes-ti/ipc/ti-ipc-rtos.inc | 19 ------------ recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb | 9 ------ recipes-ti/ipc/ti-ipc-rtos_git.bb | 51 ++++++++++++++++++++++++++++++++ recipes-ti/ipc/ti-ipc.inc | 26 ++++++++++++++++ recipes-ti/ipc/ti-ipc_git.bb | 27 +++-------------- 5 files changed, 81 insertions(+), 51 deletions(-)Quoted 1 line
delete mode 100644 recipes-ti/ipc/ti-ipc-rtos.inc
Other layers use this file. Do we want to keep it, or should those layers make a copy of it?
Quoted 72 lines
delete mode 100644 recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb create mode 100644 recipes-ti/ipc/ti-ipc-rtos_git.bb create mode 100644 recipes-ti/ipc/ti-ipc.inc
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-1@@ -1,19 +0,0 @@ -DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)"
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-8-HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" - -LICENSE = "BSD" - -require recipes-ti/includes/ti-paths.inc -require recipes-ti/includes/ti-staging.inc - -SRC_URI =recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-10- -S = "${WORKDIR}/ipc_${PV}" - -do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} -} - -ALLOW_EMPTY_${PN} = "1" -FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}"recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-6@@ -1,9 +0,0 @@ -require ti-ipc-rtos.inc - -PV = "3_40_01_08" -PR = "r0" - -LIC_FILES_CHKSUM ="file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec79255"
recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-3- -SRC_URI[ipczip.md5sum] = "738e1d54da9fab94899ad162f1ad78de" -SRC_URI[ipczip.sha256sum] ="
8cc7d40ad7eab916eae109b355dc7e7876c6ab82e3b40bf5b6bf60474312d6cf"recipes-ti/ipc/ti-ipc-rtos_git.bb new file +18
-0@@ -0,0 +1,51 @@ +require recipes-ti/includes/ti-paths.inc +require recipes-ti/includes/ti-staging.inc +require ti-ipc.inc + +DEPENDS += "ti-cgt6x-native ti-xdctools ti-sysbios" + +PACKAGES =+ "${PN}-fw" +FILES_${PN}-fw = "${libdir}/firmware/*" +FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}" + +INSANE_SKIP_${PN}-fw += "arch" +INSANE_SKIP_${PN}-dev += "arch" + +ALLOW_EMPTY_${PN} = "1" + +IPC_TARGETS = "" +IPC_TARGETS_omap-a15 = "\ + gnu.targets.arm.A15F="${A15_TOOLCHAIN_INSTALL_DIR}" \
Quoted 8 lines
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb line 23
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +5
-0+ ti.targets.elf.C66="${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}" \ +" +If you are building for the baremetal A15 and M4, you need to add gcc-arm-none-eabi-native and ti-ccsv6-native to the dependencies.
And "A15_TOOLCHAIN_INSTALL_DIR" is not defined, so the A15 targets will not get built. This is now "GCC_ARM_NONE_TOOLCHAIN".
Quoted 118 lines
Quoted 7 lines
Quoted 7 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +7
-0+IPC_TARGETS_keystone = " \ + gnu.targets.arm.A15F="${A15_TOOLCHAIN_INSTALL_DIR}" \ + ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ +" + +EXTRA_OEMAKE = "\ + PLATFORM=${PLATFORM} \Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb line 38
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +8
-0+ XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \ + BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \ + ${IPC_TARGETS} \ +" + +do_compile() { + oe_runmake -f ipc-bios.mak clean + oe_runmake -f ipc-bios.mak allI just checked with how we were doing this internally, and we were only building the libs. Do we also want to make the tests also?
Quoted 99 lines
Quoted 32 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +12
-0+} + +do_compile_append() { + sourceipk_do_create_srcipk +} + +do_install() { + install -d ${D}${IPC_INSTALL_DIR_RECIPE} + cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} + + install -d ${D}${libdir}/firmware + find . -name "*.xe66" -type f | xargs -I {} install -m 0644 {}${D}${libdir}/firmware/
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +1
-0+}recipes-ti/ipc/ti-ipc.inc new file +1
-0@@ -0,0 +1,26 @@ +DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)"
recipes-ti/ipc/ti-ipc.inc new file +4
-0+HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" + +LICENSE = "BSD" +LIC_FILES_CHKSUM ="file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec79255"
recipes-ti/ipc/ti-ipc.inc new file +4
-0+ +BRANCH = "ipc-next" + +SRC_URI ="
git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH}"recipes-ti/ipc/ti-ipc.inc line 16
Quoted 7 lines
recipes-ti/ipc/ti-ipc.inc new file +7
-0+ +#Corresponds to 3.41.00.03_eng +SRCREV = "354db7d3b6aa397e6ab4b86fdbd312746fd46a07" + +S = "${WORKDIR}/git" +PV = "3.41.00.03" +PR = "r1"Can you use "
INC_PR"?Quoted 56 lines
recipes-ti/ipc/ti-ipc.inc new file +10
-0+ +PACKAGE_ARCH = "${MACHINE_ARCH}" + +PLATFORM = "UNKNOWN" +PLATFORM_omap5-evm = "OMAP54XX" +PLATFORM_dra7xx = "DRA7XX" +PLATFORM_k2hk-evm = "TCI6638" +PLATFORM_k2l-evm = "TCI6630" +PLATFORM_k2e-evm = "66AK2E" +PLATFORM_k2g-evm = "66AK2G"recipes-ti/ipc/ti-ipc_git.bb +0
-0@@ -1,32 +1,13 @@ DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms(for Uni- and Multi- Processor Configurations)" HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec79255"recipes-ti/ipc/ti-ipc_git.bb +1
-3+require ti-ipc.inc DEPENDS += "virtual/kernel" -PV = "3.41.00.02" - -BRANCH = "ipc-next" -SRC_URI ="
git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH}\recipes-ti/ipc/ti-ipc_git.bb +3
-17- file://tiipclad-daemon.sh \ - file://0001-Add-kernel-build-dir.patch \ +SRC_URI += "file://tiipclad-daemon.sh \ + file://0001-Add-kernel-build-dir.patch \ " -# Commit corresponds to 3.41.00.02-eng -SRCREV = "b34c8ada4ed243cd52e504bf2c6fb3451dc730f8" - -S = "${WORKDIR}/git" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -PLATFORM = "UNKNOWN" -PLATFORM_omap5-evm = "OMAP54XX" -PLATFORM_dra7xx = "DRA7XX" -PLATFORM_k2hk-evm = "TCI6638" -PLATFORM_k2l-evm = "TCI6630" -PLATFORM_k2e-evm = "66AK2E" -PLATFORM_k2g-evm = "66AK2E" DAEMON = "UNKNOWN" DAEMON_omap5-evm = "lad_omap54xx_smp"@@ -34,7 +15,7 @@ DAEMON_dra7xx = "lad_dra7xx" DAEMON_k2hk-evm = "lad_tci6638" DAEMON_k2l-evm = "lad_tci6630" DAEMON_k2e-evm = "lad_66ak2e" -DAEMON_k2g-evm = "lad_66ak2e" +DAEMON_k2g-evm = "lad_66ak2g" inherit autotools-brokensep pkgconfig update-rc.d
Quoted 135 lines
-----Original Message-----
From: Stiffler, Jacob
Sent: Wednesday, November 18, 2015 8:39 AM
To: Nelson, Sam; [email protected]
Subject: Re: [meta-ti] [PATCH v4] ipc: ti-ipc, ti-ipc-rtos: Update to new version of IPC 3.41.0.3_engQuoted 39 lines · Jacob Stiffler
Quoted 18 lines · Sam Nelson
- Update to new version of IPC 3.41.0.3_eng
- Add recipe to build ti-ipc-rtos from git repo
- Remove K2G hackSigned-off-by Sam Nelson <[email protected]>---
Changes from the previous version of the patch
- Removed redundant platform definitions
------ recipes-ti/ipc/ti-ipc-rtos.inc | 19 ------------ recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb | 9 ------ recipes-ti/ipc/ti-ipc-rtos_git.bb | 51 ++++++++++++++++++++++++++++++++ recipes-ti/ipc/ti-ipc.inc | 26 ++++++++++++++++ recipes-ti/ipc/ti-ipc_git.bb | 27 +++-------------- 5 files changed, 81 insertions(+), 51 deletions(-)Quoted 1 line
delete mode 100644 recipes-ti/ipc/ti-ipc-rtos.inc
Other layers use this file. Do we want to keep it, or should those layers make a copy of it?
Quoted 13 lines
delete mode 100644 recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb create mode 100644 recipes-ti/ipc/ti-ipc-rtos_git.bb create mode 100644 recipes-ti/ipc/ti-ipc.inc
(quoted diff) +0
-0b/recipes-ti/ipc/ti-ipc-rtos.inc deleted file mode 100644 index d14c756..0000000
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-1@@ -1,19 +0,0 @@ -DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)" -HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"
Quoted 8 lines
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-4- -LICENSE = "BSD" - -require recipes-ti/includes/ti-paths.inc -requirerecipes-ti/includes/ti-staging.inc
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-2- -SRC_URI =dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/${PV}/exports/ipc _${PV}.zip;name=ipczip"
Quoted 16 lines
Quoted 16 lines
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-10- -S = "${WORKDIR}/ipc_${PV}" - -do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} -} - -ALLOW_EMPTY_${PN} = "1" -FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}"recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-0Quoted 8 lines
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-6@@ -1,9 +0,0 @@ -require ti-ipc-rtos.inc - -PV = "3_40_01_08" -PR = "r0" - -LIC_FILES_CHKSUM ="file://${S}/ipc-
linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec7925 5"
Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb
Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-3- -SRC_URI[ipczip.md5sum] = "738e1d54da9fab94899ad162f1ad78de" -SRC_URI[ipczip.sha256sum] ="
8cc7d40ad7eab916eae109b355dc7e7876c6ab82e3b40bf5b6bf60474312d6cf"Quoted 42 lines
Quoted 19 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +12
-0@@ -0,0 +1,51 @@ +require recipes-ti/includes/ti-paths.inc require +recipes-ti/includes/ti-staging.inc +require ti-ipc.inc + +DEPENDS += "ti-cgt6x-native ti-xdctools ti-sysbios" + +PACKAGES =+ "${PN}-fw" +FILES_${PN}-fw = "${libdir}/firmware/*" +FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}" + +INSANE_SKIP_${PN}-fw += "arch" +INSANE_SKIP_${PN}-dev += "arch"recipes-ti/ipc/ti-ipc-rtos_git.bb line 22
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +10
-0+ +ALLOW_EMPTY_${PN} = "1" + +IPC_TARGETS = "" +IPC_TARGETS_omap-a15 = "\ + gnu.targets.arm.A15F="${A15_TOOLCHAIN_INSTALL_DIR}" \ +ti.targets.elf.C66="${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}" \ " +If you are building for the baremetal A15 and M4, you need to add gcc-arm-none-eabi-native and ti-ccsv6-native to the dependencies.
Quoted 9 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +9
-0+IPC_TARGETS_keystone = " \ + gnu.targets.arm.A15F="${A15_TOOLCHAIN_INSTALL_DIR}" \ +ti.targets.elf.C66="${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} \
Quoted 8 lines
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb line 38
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +5
-0+" + +do_compile() { + oe_runmake -f ipc-bios.mak clean + oe_runmake -f ipc-bios.mak allI just checked with how we were doing this internally, and we were only building the libs. Do we also want to make the tests also?
Yes. Tests are needed as well for testing. Is there an issue?
Quoted 103 lines
Quoted 19 lines
Quoted 19 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +12
-0+} + +do_compile_append() { + sourceipk_do_create_srcipk +} + +do_install() { + install -d ${D}${IPC_INSTALL_DIR_RECIPE} + cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} + + install -d ${D}${libdir}/firmware + find . -name "*.xe66" -type f | xargs -I {} install -m 0644 {}${D}${libdir}/firmware/
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +1
-0+}recipes-ti/ipc/ti-ipc.inc new file +0
-0Quoted 8 lines
Quoted 8 lines
recipes-ti/ipc/ti-ipc.inc new file +1
-0@@ -0,0 +1,26 @@ +DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)"
recipes-ti/ipc/ti-ipc.inc new file +4
-0+HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" + +LICENSE = "BSD" +LIC_FILES_CHKSUM ="file://${S}/ipc-
linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec7925 5"
Quoted 28 lines
recipes-ti/ipc/ti-ipc.inc line 16
Quoted 12 lines
recipes-ti/ipc/ti-ipc.inc new file +4
-0+ +BRANCH = "ipc-next" + +SRC_URI ="
git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH}"recipes-ti/ipc/ti-ipc.inc new file +7
-0+ +#Corresponds to 3.41.00.03_eng +SRCREV = "354db7d3b6aa397e6ab4b86fdbd312746fd46a07" + +S = "${WORKDIR}/git" +PV = "3.41.00.03" +PR = "r1"Can you use "
INC_PR"?Quoted 13 lines
recipes-ti/ipc/ti-ipc.inc new file +10
-0+ +PACKAGE_ARCH = "${MACHINE_ARCH}" + +PLATFORM = "UNKNOWN" +PLATFORM_omap5-evm = "OMAP54XX" +PLATFORM_dra7xx = "DRA7XX" +PLATFORM_k2hk-evm = "TCI6638" +PLATFORM_k2l-evm = "TCI6630" +PLATFORM_k2e-evm = "66AK2E" +PLATFORM_k2g-evm = "66AK2G"(quoted diff) +0
-0b/recipes-ti/ipc/ti-ipc_git.bb index a6b6a90..070247b 100644 --- a/recipes-ti/ipc/ti-ipc_git.bb
Quoted 8 lines
Quoted 8 lines
+++ b/recipes-ti/ipc/ti-ipc_git.bb
(quoted diff) +0
-0@@ -1,32 +1,13 @@ DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)" HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM =
"file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec7925 5"
Quoted 36 lines
Quoted 35 lines
recipes-ti/ipc/ti-ipc_git.bb +1
-3+require ti-ipc.inc DEPENDS += "virtual/kernel" -PV = "3.41.00.02" - -BRANCH = "ipc-next" -SRC_URI ="
git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH}\recipes-ti/ipc/ti-ipc_git.bb +2
-3- file://tiipclad-daemon.sh \ - file://0001-Add-kernel-build-dir.patch \ +SRC_URI += "file://tiipclad-daemon.sh \ + file://0001-Add-kernel-build-dir.patch \ " -# Commit corresponds to 3.41.00.02-eng -SRCREV ="
b34c8ada4ed243cd52e504bf2c6fb3451dc730f8"recipes-ti/ipc/ti-ipc_git.bb +1
-13- -S = "${WORKDIR}/git" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -PLATFORM = "UNKNOWN" -PLATFORM_omap5-evm = "OMAP54XX" -PLATFORM_dra7xx = "DRA7XX" -PLATFORM_k2hk-evm = "TCI6638" -PLATFORM_k2l-evm = "TCI6630" -PLATFORM_k2e-evm = "66AK2E" -PLATFORM_k2g-evm = "66AK2E" DAEMON = "UNKNOWN" DAEMON_omap5-evm = "lad_omap54xx_smp"@@ -34,7 +15,7 @@ DAEMON_dra7xx = "lad_dra7xx" DAEMON_k2hk-evm = "lad_tci6638" DAEMON_k2l-evm = "lad_tci6630" DAEMON_k2e-evm = "lad_66ak2e" -DAEMON_k2g-evm = "lad_66ak2e" +DAEMON_k2g-evm = "lad_66ak2g" inherit autotools-brokensep pkgconfig update-rc.d
Quoted 138 lines · Sam
Quoted 122 lines
-----Original Message-----
From: Stiffler, Jacob
Sent: Wednesday, November 18, 2015 8:39 AM
To: Nelson, Sam; [email protected]
Subject: Re: [meta-ti] [PATCH v4] ipc: ti-ipc, ti-ipc-rtos: Update to new version of IPC 3.41.0.3_engQuoted 37 lines · Jacob Stiffler
Quoted 18 lines · Sam Nelson
- Update to new version of IPC 3.41.0.3_eng
- Add recipe to build ti-ipc-rtos from git repo
- Remove K2G hackSigned-off-by Sam Nelson <[email protected]>---
Changes from the previous version of the patch
- Removed redundant platform definitions
------ recipes-ti/ipc/ti-ipc-rtos.inc | 19 ------------ recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb | 9 ------ recipes-ti/ipc/ti-ipc-rtos_git.bb | 51 ++++++++++++++++++++++++++++++++ recipes-ti/ipc/ti-ipc.inc | 26 ++++++++++++++++ recipes-ti/ipc/ti-ipc_git.bb | 27 +++-------------- 5 files changed, 81 insertions(+), 51 deletions(-)Quoted 1 line
delete mode 100644 recipes-ti/ipc/ti-ipc-rtos.inc
Other layers use this file. Do we want to keep it, or should those layers make a copy of it?
Quoted 13 lines
delete mode 100644 recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb create mode 100644 recipes-ti/ipc/ti-ipc-rtos_git.bb create mode 100644 recipes-ti/ipc/ti-ipc.inc
(quoted diff) +0
-0b/recipes-ti/ipc/ti-ipc-rtos.inc deleted file mode 100644 index d14c756..0000000
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-1@@ -1,19 +0,0 @@ -DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)" -HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"
Quoted 8 lines
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-4- -LICENSE = "BSD" - -require recipes-ti/includes/ti-paths.inc -requirerecipes-ti/includes/ti-staging.inc
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-2- -SRC_URI =dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/${PV}/exports/ipc _${PV}.zip;name=ipczip"
Quoted 16 lines
Quoted 16 lines
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-10- -S = "${WORKDIR}/ipc_${PV}" - -do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} -} - -ALLOW_EMPTY_${PN} = "1" -FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}"recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-0Quoted 8 lines
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-6@@ -1,9 +0,0 @@ -require ti-ipc-rtos.inc - -PV = "3_40_01_08" -PR = "r0" - -LIC_FILES_CHKSUM ="file://${S}/ipc-
linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec7925 5"
Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb
Quoted 4 lines
recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-3- -SRC_URI[ipczip.md5sum] = "738e1d54da9fab94899ad162f1ad78de" -SRC_URI[ipczip.sha256sum] ="
8cc7d40ad7eab916eae109b355dc7e7876c6ab82e3b40bf5b6bf60474312d6cf"Quoted 32 lines
Quoted 19 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +12
-0@@ -0,0 +1,51 @@ +require recipes-ti/includes/ti-paths.inc require +recipes-ti/includes/ti-staging.inc +require ti-ipc.inc + +DEPENDS += "ti-cgt6x-native ti-xdctools ti-sysbios" + +PACKAGES =+ "${PN}-fw" +FILES_${PN}-fw = "${libdir}/firmware/*" +FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}" + +INSANE_SKIP_${PN}-fw += "arch" +INSANE_SKIP_${PN}-dev += "arch"recipes-ti/ipc/ti-ipc-rtos_git.bb line 22
Quoted 10 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +10
-0+ +ALLOW_EMPTY_${PN} = "1" + +IPC_TARGETS = "" +IPC_TARGETS_omap-a15 = "\ + gnu.targets.arm.A15F="${A15_TOOLCHAIN_INSTALL_DIR}" \ +ti.targets.elf.C66="${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}" \ " +If you are building for the baremetal A15 and M4, you need to add gcc-arm-none-eabi-native and ti-ccsv6-native to the dependencies.
Quoted 16 lines
Quoted 6 lines
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +6
-0+IPC_TARGETS_keystone = " \ + gnu.targets.arm.A15F="${A15_TOOLCHAIN_INSTALL_DIR}" \ +ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \ " + +EXTRA_OEMAKE = "\ + PLATFORM=${PLATFORM} \Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb line 38
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +8
-0+ XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \ + BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \ + ${IPC_TARGETS} \ +" + +do_compile() { + oe_runmake -f ipc-bios.mak clean + oe_runmake -f ipc-bios.mak allI just checked with how we were doing this internally, and we were only building the libs. Do we also want to make the tests also?
Quoted 1 line
Yes. Tests are needed as well for testing. Is there an issue?
It increases the build time, so I just wanted to make sure this was intentional.
Quoted 100 lines
Quoted 100 lines
Quoted 18 lines
Quoted 18 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +12
-0+} + +do_compile_append() { + sourceipk_do_create_srcipk +} + +do_install() { + install -d ${D}${IPC_INSTALL_DIR_RECIPE} + cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} + + install -d ${D}${libdir}/firmware + find . -name "*.xe66" -type f | xargs -I {} install -m 0644 {}${D}${libdir}/firmware/
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +1
-0+}recipes-ti/ipc/ti-ipc.inc new file +0
-0Quoted 8 lines
Quoted 8 lines
recipes-ti/ipc/ti-ipc.inc new file +1
-0@@ -0,0 +1,26 @@ +DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)"
recipes-ti/ipc/ti-ipc.inc new file +4
-0+HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" + +LICENSE = "BSD" +LIC_FILES_CHKSUM ="file://${S}/ipc-
linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec7925 5"
Quoted 27 lines
recipes-ti/ipc/ti-ipc.inc line 16
Quoted 12 lines
recipes-ti/ipc/ti-ipc.inc new file +4
-0+ +BRANCH = "ipc-next" + +SRC_URI ="
git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH}"recipes-ti/ipc/ti-ipc.inc new file +7
-0+ +#Corresponds to 3.41.00.03_eng +SRCREV = "354db7d3b6aa397e6ab4b86fdbd312746fd46a07" + +S = "${WORKDIR}/git" +PV = "3.41.00.03" +PR = "r1"Can you use "
INC_PR"?Quoted 13 lines
recipes-ti/ipc/ti-ipc.inc new file +10
-0+ +PACKAGE_ARCH = "${MACHINE_ARCH}" + +PLATFORM = "UNKNOWN" +PLATFORM_omap5-evm = "OMAP54XX" +PLATFORM_dra7xx = "DRA7XX" +PLATFORM_k2hk-evm = "TCI6638" +PLATFORM_k2l-evm = "TCI6630" +PLATFORM_k2e-evm = "66AK2E" +PLATFORM_k2g-evm = "66AK2G"(quoted diff) +0
-0b/recipes-ti/ipc/ti-ipc_git.bb index a6b6a90..070247b 100644 --- a/recipes-ti/ipc/ti-ipc_git.bb
Quoted 8 lines
Quoted 8 lines
+++ b/recipes-ti/ipc/ti-ipc_git.bb
(quoted diff) +0
-0@@ -1,32 +1,13 @@ DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)" HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM =
"file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec7925 5"
Quoted 35 lines
Quoted 35 lines
recipes-ti/ipc/ti-ipc_git.bb +1
-3+require ti-ipc.inc DEPENDS += "virtual/kernel" -PV = "3.41.00.02" - -BRANCH = "ipc-next" -SRC_URI ="
git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH}\recipes-ti/ipc/ti-ipc_git.bb +2
-3- file://tiipclad-daemon.sh \ - file://0001-Add-kernel-build-dir.patch \ +SRC_URI += "file://tiipclad-daemon.sh \ + file://0001-Add-kernel-build-dir.patch \ " -# Commit corresponds to 3.41.00.02-eng -SRCREV ="
b34c8ada4ed243cd52e504bf2c6fb3451dc730f8"recipes-ti/ipc/ti-ipc_git.bb +1
-13- -S = "${WORKDIR}/git" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -PLATFORM = "UNKNOWN" -PLATFORM_omap5-evm = "OMAP54XX" -PLATFORM_dra7xx = "DRA7XX" -PLATFORM_k2hk-evm = "TCI6638" -PLATFORM_k2l-evm = "TCI6630" -PLATFORM_k2e-evm = "66AK2E" -PLATFORM_k2g-evm = "66AK2E" DAEMON = "UNKNOWN" DAEMON_omap5-evm = "lad_omap54xx_smp"@@ -34,7 +15,7 @@ DAEMON_dra7xx = "lad_dra7xx" DAEMON_k2hk-evm = "lad_tci6638" DAEMON_k2l-evm = "lad_tci6630" DAEMON_k2e-evm = "lad_66ak2e" -DAEMON_k2g-evm = "lad_66ak2e" +DAEMON_k2g-evm = "lad_66ak2g" inherit autotools-brokensep pkgconfig update-rc.d
Quoted 26 lines
-----Original Message-----
From: Stiffler, Jacob
Sent: Wednesday, November 18, 2015 7:59 AM
To: Nelson, Sam; [email protected]
Subject: Re: [meta-ti] [PATCH v4] ipc: ti-ipc, ti-ipc-rtos: Update to new version of IPC 3.41.0.3_engQuoted 6 lines · Sam Nelson
- Update to new version of IPC 3.41.0.3_eng
- Add recipe to build ti-ipc-rtos from git repo
- Remove K2G hackSigned-off-by Sam Nelson <[email protected]>Quoted 8 lines
---
Changes from the previous version of the patch
- Removed redundant platform definitions
------ recipes-ti/ipc/ti-ipc-rtos.inc | 19 ------------ recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb | 9 ------ recipes-ti/ipc/ti-ipc-rtos_git.bb | 51
Quoted 9 lines
++++++++++++++++++++++++++++++++
Quoted 4 lines
recipes-ti/ipc/ti-ipc.inc | 26 ++++++++++++++++ recipes-ti/ipc/ti-ipc_git.bb | 27 +++-------------- 5 files changed, 81 insertions(+), 51 deletions(-)delete mode 100644 recipes-ti/ipc/ti-ipc-rtos.inc
Other layers use this file. Do we want to keep it, or should those layers make a copy of it?
Can you be specific? What layer is using this .inc file. I guess the other layers has to change to new structure even if they are using right?
Quoted 76 lines
recipes-ti/ipc/ti-ipc-rtos.inc line 1
Quoted 11 lines
delete mode 100644 recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb create mode 100644 recipes-ti/ipc/ti-ipc-rtos_git.bb create mode 100644 recipes-ti/ipc/ti-ipc.inc
(quoted diff) +0
-0b/recipes-ti/ipc/ti-ipc-rtos.inc deleted file mode 100644 index d14c756..0000000
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-1@@ -1,19 +0,0 @@ -DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)"
recipes-ti/ipc/ti-ipc-rtos.inc
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-5-HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" - -LICENSE = "BSD" - -require recipes-ti/includes/ti-paths.inc -requirerecipes-ti/includes/ti-staging.inc
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-2- -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/${PV}/exports/ipc _${PV}.zip;name=ipczip"
Quoted 17 lines
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-10- -S = "${WORKDIR}/ipc_${PV}" - -do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} -} - -ALLOW_EMPTY_${PN} = "1" -FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}"recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-0recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb line 6
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-6@@ -1,9 +0,0 @@ -require ti-ipc-rtos.inc - -PV = "3_40_01_08" -PR = "r0" - -LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec7925 5"
recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-3- -SRC_URI[ipczip.md5sum] = "738e1d54da9fab94899ad162f1ad78de" -SRC_URI[ipczip.sha256sum] ="
8cc7d40ad7eab916eae109b355dc7e7876c6ab82e3b40bf5b6bf60474312d6cf"Quoted 24 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +17
-0@@ -0,0 +1,51 @@ +require recipes-ti/includes/ti-paths.inc require +recipes-ti/includes/ti-staging.inc +require ti-ipc.inc + +DEPENDS += "ti-cgt6x-native ti-xdctools ti-sysbios" + +PACKAGES =+ "${PN}-fw" +FILES_${PN}-fw = "${libdir}/firmware/*" +FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}" + +INSANE_SKIP_${PN}-fw += "arch" +INSANE_SKIP_${PN}-dev += "arch" + +ALLOW_EMPTY_${PN} = "1" + +IPC_TARGETS = "" +IPC_TARGETS_omap-a15 = "\
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb line 23
Quoted 5 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +5
-0+ gnu.targets.arm.A15F="${A15_TOOLCHAIN_INSTALL_DIR}" \ + ti.targets.elf.C66="${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}" \ " +If you are building for the baremetal A15 and M4, you need to add gcc-arm- none-eabi-native and ti-ccsv6-native to the dependencies.
Ok. I will add that.
Quoted 42 lines
Quoted 34 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +28
-0+IPC_TARGETS_keystone = " \ + gnu.targets.arm.A15F="${A15_TOOLCHAIN_INSTALL_DIR}" \ + ti.targets.elf.C66="${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} \ +" + +do_compile() { + oe_runmake -f ipc-bios.mak clean + oe_runmake -f ipc-bios.mak all +} + +do_compile_append() { + sourceipk_do_create_srcipk +} + +do_install() { + install -d ${D}${IPC_INSTALL_DIR_RECIPE} + cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} + + install -d ${D}${libdir}/firmware + find . -name "*.xe66" -type f | xargs -I {} install -m 0644 {} +${D}${libdir}/firmware/ }recipes-ti/ipc/ti-ipc.inc new renamed from recipes-ti/ipc/ti-ipc.inc +0
-0file mode 100644 index 0000000..325fbc4
recipes-ti/ipc/ti-ipc.inc line 1
Quoted 1 line
recipes-ti/ipc/ti-ipc.inc new file +1
-0@@ -0,0 +1,26 @@ +DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)"
recipes-ti/ipc/ti-ipc.inc
Quoted 4 lines
recipes-ti/ipc/ti-ipc.inc new file +4
-0+HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" + +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec7925 5"
Quoted 13 lines
recipes-ti/ipc/ti-ipc.inc line 16
Quoted 11 lines
recipes-ti/ipc/ti-ipc.inc new file +11
-0+ +BRANCH = "ipc-next" + +SRC_URI = "git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH}" + +#Corresponds to 3.41.00.03_eng +SRCREV = "354db7d3b6aa397e6ab4b86fdbd312746fd46a07" + +S = "${WORKDIR}/git" +PV = "3.41.00.03" +PR = "r1"Can you use "
INC_PR"?
Ok.
Quoted 63 lines
Quoted 16 lines
recipes-ti/ipc/ti-ipc.inc new file +10
-0+ +PACKAGE_ARCH = "${MACHINE_ARCH}" + +PLATFORM = "UNKNOWN" +PLATFORM_omap5-evm = "OMAP54XX" +PLATFORM_dra7xx = "DRA7XX" +PLATFORM_k2hk-evm = "TCI6638" +PLATFORM_k2l-evm = "TCI6630" +PLATFORM_k2e-evm = "66AK2E" +PLATFORM_k2g-evm = "66AK2G"(quoted diff) +0
-0b/recipes-ti/ipc/ti-ipc_git.bb index a6b6a90..070247b 100644
recipes-ti/ipc/ti-ipc_git.bb line 1
Quoted 1 line
recipes-ti/ipc/ti-ipc_git.bb +0
-0@@ -1,32 +1,13 @@ DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)"
recipes-ti/ipc/ti-ipc_git.bb
Quoted 4 lines
recipes-ti/ipc/ti-ipc_git.bb +0
-2HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec7925 5"
Quoted 39 lines
recipes-ti/ipc/ti-ipc_git.bb +3
-7+require ti-ipc.inc DEPENDS += "virtual/kernel" -PV = "3.41.00.02" - -BRANCH = "ipc-next" -SRC_URI = "git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH} \ - file://tiipclad-daemon.sh \ - file://0001-Add-kernel-build-dir.patch \ +SRC_URI += "file://tiipclad-daemon.sh \ + file://0001-Add-kernel-build-dir.patch \ " -# Commit corresponds to 3.41.00.02-eng -SRCREV ="
b34c8ada4ed243cd52e504bf2c6fb3451dc730f8"recipes-ti/ipc/ti-ipc_git.bb +1
-13- -S = "${WORKDIR}/git" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -PLATFORM = "UNKNOWN" -PLATFORM_omap5-evm = "OMAP54XX" -PLATFORM_dra7xx = "DRA7XX" -PLATFORM_k2hk-evm = "TCI6638" -PLATFORM_k2l-evm = "TCI6630" -PLATFORM_k2e-evm = "66AK2E" -PLATFORM_k2g-evm = "66AK2E" DAEMON = "UNKNOWN" DAEMON_omap5-evm = "lad_omap54xx_smp"@@ -34,7 +15,7 @@ DAEMON_dra7xx = "lad_dra7xx" DAEMON_k2hk-evm = "lad_tci6638" DAEMON_k2l-evm = "lad_tci6630" DAEMON_k2e-evm = "lad_66ak2e" -DAEMON_k2g-evm = "lad_66ak2e" +DAEMON_k2g-evm = "lad_66ak2g" inherit autotools-brokensep pkgconfig update-rc.d
Quoted 26 lines · Sam
Quoted 26 lines
-----Original Message-----
From: Stiffler, Jacob
Sent: Wednesday, November 18, 2015 7:59 AM
To: Nelson, Sam; [email protected]
Subject: Re: [meta-ti] [PATCH v4] ipc: ti-ipc, ti-ipc-rtos: Update to new version of IPC 3.41.0.3_engQuoted 6 lines · Sam Nelson
- Update to new version of IPC 3.41.0.3_eng
- Add recipe to build ti-ipc-rtos from git repo
- Remove K2G hackSigned-off-by Sam Nelson <[email protected]>Quoted 8 lines
---
Changes from the previous version of the patch
- Removed redundant platform definitions
------ recipes-ti/ipc/ti-ipc-rtos.inc | 19 ------------ recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb | 9 ------ recipes-ti/ipc/ti-ipc-rtos_git.bb | 51++++++++++++++++++++++++++++++++
Quoted 8 lines
Quoted 7 lines
Quoted 4 lines
recipes-ti/ipc/ti-ipc.inc | 26 ++++++++++++++++ recipes-ti/ipc/ti-ipc_git.bb | 27 +++-------------- 5 files changed, 81 insertions(+), 51 deletions(-)delete mode 100644 recipes-ti/ipc/ti-ipc-rtos.inc
Other layers use this file. Do we want to keep it, or should those layers make a copy of it?
Can you be specific? What layer is using this .inc file. I guess the other layers has to change to new structure even if they are using right?
Our internal layers use it for the zip file. I don't have a preference either way. If this is fully deprecated, then we can move it to the internal layer.
Quoted 200 lines
Quoted 75 lines
recipes-ti/ipc/ti-ipc-rtos.inc line 1
Quoted 11 lines
delete mode 100644 recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb create mode 100644 recipes-ti/ipc/ti-ipc-rtos_git.bb create mode 100644 recipes-ti/ipc/ti-ipc.inc
(quoted diff) +0
-0b/recipes-ti/ipc/ti-ipc-rtos.inc deleted file mode 100644 index d14c756..0000000
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-1@@ -1,19 +0,0 @@ -DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)"
recipes-ti/ipc/ti-ipc-rtos.inc
Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-5-HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" - -LICENSE = "BSD" - -require recipes-ti/includes/ti-paths.inc -requirerecipes-ti/includes/ti-staging.inc
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-2- -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/${PV}/exports/ipc _${PV}.zip;name=ipczip"
Quoted 17 lines
recipes-ti/ipc/ti-ipc-rtos.inc deleted +0
-10- -S = "${WORKDIR}/ipc_${PV}" - -do_install() { - install -d ${D}${IPC_INSTALL_DIR_RECIPE} - cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} -} - -ALLOW_EMPTY_${PN} = "1" -FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}"recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-0recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb line 6
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-6@@ -1,9 +0,0 @@ -require ti-ipc-rtos.inc - -PV = "3_40_01_08" -PR = "r0" - -LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec7925 5"
recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb
Quoted 3 lines
recipes-ti/ipc/ti-ipc-rtos_3.40.01.08.bb deleted +0
-3- -SRC_URI[ipczip.md5sum] = "738e1d54da9fab94899ad162f1ad78de" -SRC_URI[ipczip.sha256sum] ="
8cc7d40ad7eab916eae109b355dc7e7876c6ab82e3b40bf5b6bf60474312d6cf"Quoted 23 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +16
-0@@ -0,0 +1,51 @@ +require recipes-ti/includes/ti-paths.inc require +recipes-ti/includes/ti-staging.inc +require ti-ipc.inc + +DEPENDS += "ti-cgt6x-native ti-xdctools ti-sysbios" + +PACKAGES =+ "${PN}-fw" +FILES_${PN}-fw = "${libdir}/firmware/*" +FILES_${PN}-dev += "${IPC_INSTALL_DIR_RECIPE}" + +INSANE_SKIP_${PN}-fw += "arch" +INSANE_SKIP_${PN}-dev += "arch" + +ALLOW_EMPTY_${PN} = "1" + +IPC_TARGETS = ""Quoted 8 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb line 23
Quoted 6 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +6
-0+IPC_TARGETS_omap-a15 = "\ + gnu.targets.arm.A15F="${A15_TOOLCHAIN_INSTALL_DIR}" \ + ti.targets.elf.C66="${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}" \ " +If you are building for the baremetal A15 and M4, you need to add gcc-arm- none-eabi-native and ti-ccsv6-native to the dependencies.
Ok. I will add that.
Quoted 41 lines
Quoted 33 lines
recipes-ti/ipc/ti-ipc-rtos_git.bb new file +28
-0+IPC_TARGETS_keystone = " \ + gnu.targets.arm.A15F="${A15_TOOLCHAIN_INSTALL_DIR}" \ + ti.targets.elf.C66="${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} \ +" + +do_compile() { + oe_runmake -f ipc-bios.mak clean + oe_runmake -f ipc-bios.mak all +} + +do_compile_append() { + sourceipk_do_create_srcipk +} + +do_install() { + install -d ${D}${IPC_INSTALL_DIR_RECIPE} + cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE} + + install -d ${D}${libdir}/firmware + find . -name "*.xe66" -type f | xargs -I {} install -m 0644 {} +${D}${libdir}/firmware/ }recipes-ti/ipc/ti-ipc.inc new renamed from recipes-ti/ipc/ti-ipc.inc +0
-0file mode 100644 index 0000000..325fbc4
recipes-ti/ipc/ti-ipc.inc line 1
Quoted 1 line
recipes-ti/ipc/ti-ipc.inc new file +1
-0@@ -0,0 +1,26 @@ +DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)"
recipes-ti/ipc/ti-ipc.inc
Quoted 4 lines
recipes-ti/ipc/ti-ipc.inc new file +4
-0+HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" + +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec7925 5"
Quoted 12 lines
recipes-ti/ipc/ti-ipc.inc line 16
Quoted 11 lines
recipes-ti/ipc/ti-ipc.inc new file +11
-0+ +BRANCH = "ipc-next" + +SRC_URI = "git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH}" + +#Corresponds to 3.41.00.03_eng +SRCREV = "354db7d3b6aa397e6ab4b86fdbd312746fd46a07" + +S = "${WORKDIR}/git" +PV = "3.41.00.03" +PR = "r1"Can you use "
INC_PR"?Ok.
Quoted 62 lines
Quoted 15 lines
recipes-ti/ipc/ti-ipc.inc new file +10
-0+ +PACKAGE_ARCH = "${MACHINE_ARCH}" + +PLATFORM = "UNKNOWN" +PLATFORM_omap5-evm = "OMAP54XX" +PLATFORM_dra7xx = "DRA7XX" +PLATFORM_k2hk-evm = "TCI6638" +PLATFORM_k2l-evm = "TCI6630" +PLATFORM_k2e-evm = "66AK2E" +PLATFORM_k2g-evm = "66AK2G"(quoted diff) +0
-0b/recipes-ti/ipc/ti-ipc_git.bb index a6b6a90..070247b 100644
recipes-ti/ipc/ti-ipc_git.bb line 1
Quoted 1 line
recipes-ti/ipc/ti-ipc_git.bb +0
-0@@ -1,32 +1,13 @@ DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (forUni- and Multi- Processor Configurations)"
recipes-ti/ipc/ti-ipc_git.bb
Quoted 4 lines
recipes-ti/ipc/ti-ipc_git.bb +0
-2HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec7925 5"
Quoted 39 lines
recipes-ti/ipc/ti-ipc_git.bb +3
-7+require ti-ipc.inc DEPENDS += "virtual/kernel" -PV = "3.41.00.02" - -BRANCH = "ipc-next" -SRC_URI = "git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH} \ - file://tiipclad-daemon.sh \ - file://0001-Add-kernel-build-dir.patch \ +SRC_URI += "file://tiipclad-daemon.sh \ + file://0001-Add-kernel-build-dir.patch \ " -# Commit corresponds to 3.41.00.02-eng -SRCREV ="
b34c8ada4ed243cd52e504bf2c6fb3451dc730f8"recipes-ti/ipc/ti-ipc_git.bb +1
-13- -S = "${WORKDIR}/git" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -PLATFORM = "UNKNOWN" -PLATFORM_omap5-evm = "OMAP54XX" -PLATFORM_dra7xx = "DRA7XX" -PLATFORM_k2hk-evm = "TCI6638" -PLATFORM_k2l-evm = "TCI6630" -PLATFORM_k2e-evm = "66AK2E" -PLATFORM_k2g-evm = "66AK2E" DAEMON = "UNKNOWN" DAEMON_omap5-evm = "lad_omap54xx_smp"@@ -34,7 +15,7 @@ DAEMON_dra7xx = "lad_dra7xx" DAEMON_k2hk-evm = "lad_tci6638" DAEMON_k2l-evm = "lad_tci6630" DAEMON_k2e-evm = "lad_66ak2e" -DAEMON_k2g-evm = "lad_66ak2e" +DAEMON_k2g-evm = "lad_66ak2g" inherit autotools-brokensep pkgconfig update-rc.d