[meta-ti] [master/thud][PATCH 41/42] fvid2: TI RTOS Video Driver Interface

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/fvid2/fvid2-rtos_git.bb | 70 +
 1 file changed, 70 insertions(+)
 create mode 100755 recipes-bsp/fvid2/fvid2-rtos_git.bb

diff --git a/recipes-bsp/fvid2/fvid2-rtos_git.bb 
b/recipes-bsp/fvid2/fvid2-rtos_git.bb
new file mode 100755
index 000..07f2c34
--- /dev/null
+++ b/recipes-bsp/fvid2/fvid2-rtos_git.bb
@@ -0,0 +1,70 @@
+SUMMARY = "TI RTOS Video Driver Interface"
+
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.fvid2"
+
+PE = "1"
+
+require recipes-ti/includes/ti-paths.inc
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"file://fvid2.h;beginline=1;endline=31;md5=83d177cf3df55c16b27ae4102b6ade9a"
+
+COMPATIBLE_MACHINE = "k3"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+PR = "r0"
+
+DEPENDS_append = " osal-rtos \
+"
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+FVID2_PACKAGE_BASE   = "${WORKDIR}/fvid2_base"
+FVID2_ROOTPATH = "${FVID2_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/fvid2"
+
+export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
+export PDK_FVID2_ROOT_PATH = "${FVID2_PACKAGE_BASE}/package/all/pdk_/packages"
+
+
+BOARD_PACKAGE = ""
+BOARD_PACKAGE_am65xx-evm = "am65xx_evm"
+BOARD_PACKAGE_am65xx-hs-evm = "am65xx_evm"
+BOARD_PACKAGE_j7-evm = "j721e_evm"
+
+# HTML doc link params
+PDK_COMP_LINK_TEXT = "FVID2"
+
+do_configure() {
+rm -rf ${FVID2_PACKAGE_BASE}
+cd ${S}
+
+# remove any previous package
+rm -f ${FVID2_PACKAGE_BASE}
+
+# make the release package before building it
+make package BOARD=${BOARD_PACKAGE} DEST_ROOT=${FVID2_PACKAGE_BASE} 
PDK_FVID2_COMP_PATH=${S}
+}
+
+do_compile() {
+echo "fvid2 root path is ${FVID2_ROOTPATH}"
+cd ${FVID2_ROOTPATH}
+
+# Build am65xx libraries
+make clean lib xdc_meta LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" 
LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}"  LIMIT_CORES="${TI_PDK_LIMIT_CORES}"
+
+#archive
+tar -cf fvid2.tar --exclude='*.tar' ./*
+}
+
+do_install() {
+cd ${FVID2_ROOTPATH}
+install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/fvid2
+find -name "*.tar" -exec tar xf {} --no-same-owner -C 
${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/fvid2 \;
+}
+
+FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
+
+INSANE_SKIP_${PN} = "arch ldflags"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 40/42] cal-lld: TI RTOS low level driver for CAL

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/cal-lld/cal-lld-rtos_git.bb | 78 +
 1 file changed, 78 insertions(+)
 create mode 100644 recipes-bsp/cal-lld/cal-lld-rtos_git.bb

diff --git a/recipes-bsp/cal-lld/cal-lld-rtos_git.bb 
b/recipes-bsp/cal-lld/cal-lld-rtos_git.bb
new file mode 100644
index 000..9a34cd2
--- /dev/null
+++ b/recipes-bsp/cal-lld/cal-lld-rtos_git.bb
@@ -0,0 +1,78 @@
+SUMMARY = "TI RTOS low level driver for CAL"
+
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.cal"
+
+PE = "1"
+
+require recipes-ti/includes/ti-paths.inc
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"file://cal.h;beginline=1;endline=31;md5=83d177cf3df55c16b27ae4102b6ade9a"
+
+COMPATIBLE_MACHINE = "k3"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+
+PR = "r0"
+
+DEPENDS_append = " osal-rtos \
+   fvid2-rtos \
+"
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+CAL_PACKAGE_BASE   = "${WORKDIR}/cal_base"
+CAL_LLD_ROOTPATH = "${CAL_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/cal"
+
+export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
+export PDK_CAL_ROOT_PATH = "${CAL_PACKAGE_BASE}/package/all/pdk_/packages"
+
+LIMSOCS = ""
+LIMSOCS_am65xx-evm = "am65xx"
+LIMSOCS_am65xx-hs-evm = "am65xx"
+
+LIMBOARDS = ""
+LIMBOARDS_am65xx-evm = "am65xx_evm"
+LIMBOARDS_am65xx-hs-evm = "am65xx_evm"
+
+BOARD_PACKAGE = ""
+BOARD_PACKAGE_am65xx-evm = "am65xx_evm"
+BOARD_PACKAGE_am65xx-hs-evm = "am65xx_evm"
+
+# HTML doc link params
+PDK_COMP_LINK_TEXT = "CAL"
+
+do_configure() {
+rm -rf ${CAL_PACKAGE_BASE}
+cd ${S}
+
+# remove any previous package
+rm -f ${CAL_PACKAGE_BASE}
+
+# make the release package before building it
+make package BOARD=${BOARD_PACKAGE} DEST_ROOT=${CAL_PACKAGE_BASE} 
PDK_CAL_COMP_PATH=${S}
+}
+
+do_compile() {
+echo "cal lld root path is ${CAL_LLD_ROOTPATH}"
+cd ${CAL_LLD_ROOTPATH}
+
+# Build am65xx libraries
+make clean lib xdc_meta doxygen LIMIT_SOCS="${LIMSOCS}" 
LIMIT_BOARDS="${LIMBOARDS}"
+
+#archive
+tar -cf cal_lld.tar --exclude='*.tar' ./*
+}
+
+do_install() {
+cd ${CAL_LLD_ROOTPATH}
+install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/cal
+find -name "*.tar" -exec tar xf {} --no-same-owner -C 
${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/cal \;
+}
+
+FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
+
+INSANE_SKIP_${PN} = "arch ldflags"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 42/42] iolink-lld: TI RTOS low level driver for IO-Link Master

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb | 33 +++
 1 file changed, 33 insertions(+)
 create mode 100644 recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb

diff --git a/recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb 
b/recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb
new file mode 100644
index 000..c0c27b6
--- /dev/null
+++ b/recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb
@@ -0,0 +1,33 @@
+SUMMARY = "TI RTOS low level driver for IO-Link Master"
+
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.iolink"
+
+PE = "1"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"file://IOLINK.h;beginline=1;endline=32;md5=da669339a4b8594ed3edbe7ca30c726e"
+
+COMPATIBLE_MACHINE = "ti43x"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+PR = "r2"
+
+DEPENDS_append = " osal-rtos \
+"
+DEPENDS_append_ti43x = " starterware-rtos \
+ pruss-lld-rtos \
+"
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+
+export PDK_IOLINK_ROOT_PATH ="${WORKDIR}/build"
+export DEST_ROOT="${S}"
+
+INSANE_SKIP_${PN} = "arch"
+
+# HTML doc link params
+PDK_COMP_LINK_TEXT = "IOLINK LLD"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 30/42] spi-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/spi-lld/spi-lld-rtos_git.bb | 18 +-
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/spi-lld/spi-lld-rtos_git.bb 
b/recipes-bsp/spi-lld/spi-lld-rtos_git.bb
index 1dab251..7d53d15 100644
--- a/recipes-bsp/spi-lld/spi-lld-rtos_git.bb
+++ b/recipes-bsp/spi-lld/spi-lld-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI RTOS low level driver for Serial Peripheral Interface (SPI)"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.spi"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://SPI.h;beginline=1;endline=31;md5=8580f9c5c0de8d5d13518cf18a0122b8"
@@ -8,18 +12,6 @@ LIC_FILES_CHKSUM = 
"file://SPI.h;beginline=1;endline=31;md5=8580f9c5c0de8d5d1351
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-SPI_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/spi-lld.git"
-SPI_LLD_GIT_PROTOCOL = "git"
-SPI_LLD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.SPI_LLD.01.00.00.16A"
-SPI_LLD_SRCREV = "4319424ca55676d25758f3e05797fac707b0b1f8"
-
-BRANCH = "${SPI_LLD_GIT_BRANCH}"
-SRC_URI = 
"${SPI_LLD_GIT_URI};protocol=${SPI_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${SPI_LLD_SRCREV}"
-PV = "01.00.00.16A"
 PR = "r0"
 
 DEPENDS_append = " osal-rtos \
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 36/42] udma-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/udma-lld/udma-lld-rtos_git.bb | 20 ++--
 1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/recipes-bsp/udma-lld/udma-lld-rtos_git.bb 
b/recipes-bsp/udma-lld/udma-lld-rtos_git.bb
index c3352c1..214317c 100644
--- a/recipes-bsp/udma-lld/udma-lld-rtos_git.bb
+++ b/recipes-bsp/udma-lld/udma-lld-rtos_git.bb
@@ -1,7 +1,11 @@
 SUMMARY = "TI RTOS low level driver for UDMA"
 DESCRIPTION = "TI RTOS low level driver for Universal DMA module "
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.udma"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://udma.h;beginline=1;endline=31;md5=83d177cf3df55c16b27ae4102b6ade9a"
@@ -9,18 +13,6 @@ LIC_FILES_CHKSUM = 
"file://udma.h;beginline=1;endline=31;md5=83d177cf3df55c16b27
 COMPATIBLE_MACHINE = "k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-UDMA_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/udma-lld.git"
-UDMA_LLD_GIT_PROTOCOL = "git"
-UDMA_LLD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.UDMA_LLD.01.00.00.04"
-UDMA_LLD_SRCREV = "67edfa436beb3362051a097b456ba07c95faa4a6"
-
-BRANCH = "${UDMA_LLD_GIT_BRANCH}"
-SRC_URI = 
"${UDMA_LLD_GIT_URI};protocol=${UDMA_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${UDMA_LLD_SRCREV}"
-PV = "01.00.00.04"
 PR = "r0"
 
 DEPENDS_append = " osal-rtos \
@@ -30,7 +22,7 @@ DEPENDS_append = " osal-rtos \
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
 
-UDMA_PACKAGE_BASE   = "${S}/../udma_base"
+UDMA_PACKAGE_BASE   = "${WORKDIR}/udma_base"
 UDMA_LLD_ROOTPATH = 
"${UDMA_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/udma"
 
 export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 35/42] uart-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/uart-lld/uart-lld-rtos_git.bb | 18 +-
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/uart-lld/uart-lld-rtos_git.bb 
b/recipes-bsp/uart-lld/uart-lld-rtos_git.bb
index f279a67..f293fdd 100644
--- a/recipes-bsp/uart-lld/uart-lld-rtos_git.bb
+++ b/recipes-bsp/uart-lld/uart-lld-rtos_git.bb
@@ -1,7 +1,11 @@
 SUMMARY = "TI RTOS low level driver for UART"
 DESCRIPTION = "TI RTOS low level driver for Universal Asynchronous 
Receiver/Transmitter (UART) module "
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.uart"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://COPYING.txt;beginline=1;endline=31;md5=94b6a199da1caf777f6756cb70aca4a7"
@@ -9,18 +13,6 @@ LIC_FILES_CHKSUM = 
"file://COPYING.txt;beginline=1;endline=31;md5=94b6a199da1caf
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-UART_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/uart-lld.git"
-UART_LLD_GIT_PROTOCOL = "git"
-UART_LLD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.UART_LLD.01.00.00.16B"
-UART_LLD_SRCREV = "227feb6e1da72bf0a785d95b7aaffd3216885f95"
-
-BRANCH = "${UART_LLD_GIT_BRANCH}"
-SRC_URI = 
"${UART_LLD_GIT_URI};protocol=${UART_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${UART_LLD_SRCREV}"
-PV = "01.00.00.16B"
 PR = "r0"
 
 DEPENDS_append = " edma3-lld-rtos \
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 37/42] usb-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/usb-lld/usb-lld-rtos_git.bb | 18 +-
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/usb-lld/usb-lld-rtos_git.bb 
b/recipes-bsp/usb-lld/usb-lld-rtos_git.bb
index 6a212e3..7aa0d1b 100644
--- a/recipes-bsp/usb-lld/usb-lld-rtos_git.bb
+++ b/recipes-bsp/usb-lld/usb-lld-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI RTOS USB low level driver"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.usb"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://USBver.h;beginline=16;endline=46;md5=5394fa32763383d2c8e2aca5a1c67805"
@@ -8,18 +12,6 @@ LIC_FILES_CHKSUM = 
"file://USBver.h;beginline=16;endline=46;md5=5394fa32763383d2
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-USB_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/usb.git"
-USB_LLD_GIT_PROTOCOL = "git"
-USB_LLD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.USB_LLD.01.00.00.19"
-USB_LLD_SRCREV = "1304fbdc7e0d67dd3722ac1a450a547a5d82d20a"
-
-BRANCH = "${USB_LLD_GIT_BRANCH}"
-SRC_URI = 
"${USB_LLD_GIT_URI};protocol=${USB_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${USB_LLD_SRCREV}"
-PV = "01.00.00.19"
 PR = "r0"
 
 DEPENDS_append = " osal-rtos"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 39/42] ti-pdk-build: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb | 17 +++--
 1 file changed, 3 insertions(+), 14 deletions(-)

diff --git a/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb 
b/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb
index 6667fe0..9664881 100644
--- a/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb
+++ b/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb
@@ -4,28 +4,17 @@ LIC_FILES_CHKSUM = 
"file://COPYING.txt;beginline=1;endline=31;md5=92ab6f5e10f150
 
 require recipes-ti/includes/ti-paths.inc
 
-PV = "01.00.00.14B"
 PR = "r0"
 
-PDK_BUILD_GIT_URI = "git://git.ti.com/keystone-rtos/processor-pdk-build.git"
-PDK_BUILD_GIT_PROTOCOL = "git"
-PDK_BUILD_GIT_BRANCH = "master"
+inherit ti-pdk-fetch
 
-# Below Commit ID corresponds to "DEV.PDK_BUILD.01.00.00.14B"
-PDK_BUILD_SRCREV = "ace03765311d61234e86f6ba04912ab808d37d30"
+TI_PDK_COMP = "ti.build"
 
-BRANCH = "${PDK_BUILD_GIT_BRANCH}"
-SRC_URI = "\
-${PDK_BUILD_GIT_URI};protocol=${PDK_BUILD_GIT_PROTOCOL};branch=${BRANCH} \
-"
-
-SRCREV = "${PDK_BUILD_SRCREV}"
+PE = "1"
 
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-S = "${WORKDIR}/git/"
-
 PARALLEL_MAKE = ""
 CLEANBROKEN = "1"
 
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 38/42] utils-rtos: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/utils-rtos/profiling-rtos_git.bb | 18 +-
 recipes-bsp/utils-rtos/trace-rtos_git.bb | 18 +-
 2 files changed, 10 insertions(+), 26 deletions(-)

diff --git a/recipes-bsp/utils-rtos/profiling-rtos_git.bb 
b/recipes-bsp/utils-rtos/profiling-rtos_git.bb
index 134a0f9..9846804 100644
--- a/recipes-bsp/utils-rtos/profiling-rtos_git.bb
+++ b/recipes-bsp/utils-rtos/profiling-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI RTOS profiling utilities"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.utils.profiling"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://profilingver.h;beginline=1;endline=46;md5=974494ad60f33cfc0340e421c5a5a7a0"
@@ -8,21 +12,9 @@ LIC_FILES_CHKSUM = 
"file://profilingver.h;beginline=1;endline=46;md5=974494ad60f
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-PROFILING_GIT_URI = "git://git.ti.com/keystone-rtos/utils.git"
-PROFILING_GIT_PROTOCOL = "git"
-PROFILING_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.UTILS.01.00.00.10"
-PROFILING_SRCREV = "dbd2683d80326165d078282b1ef7dce44667e972"
-
-BRANCH = "${PROFILING_GIT_BRANCH}"
-SRC_URI = 
"${PROFILING_GIT_URI};protocol=${PROFILING_GIT_PROTOCOL};branch=${BRANCH}"
 
-SRCREV = "${PROFILING_SRCREV}"
-PV = "01.00.00.10"
 PR = "r0"
 
-S = "${WORKDIR}/git/profiling"
 
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
diff --git a/recipes-bsp/utils-rtos/trace-rtos_git.bb 
b/recipes-bsp/utils-rtos/trace-rtos_git.bb
index 48b3bf2..249ffc7 100644
--- a/recipes-bsp/utils-rtos/trace-rtos_git.bb
+++ b/recipes-bsp/utils-rtos/trace-rtos_git.bb
@@ -2,7 +2,11 @@ SUMMARY = "TI RTOS Trace utility"
 
 DESCRIPTION = "This utility allows for tracing support in PDK drivers"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.utils.trace"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://tracever.h;beginline=19;endline=47;md5=983f531ecfc9fc8c4bc3af9333ab6696"
@@ -10,21 +14,9 @@ LIC_FILES_CHKSUM = 
"file://tracever.h;beginline=19;endline=47;md5=983f531ecfc9fc
 COMPATIBLE_MACHINE = "k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-TRACE_GIT_URI = "git://git.ti.com/keystone-rtos/utils.git"
-TRACE_GIT_PROTOCOL = "git"
-TRACE_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.UTILS.01.00.00.09"
-TRACE_SRCREV = "84802d7a787a53f33a24254069c90208c5d87d1e"
-
-BRANCH = "${TRACE_GIT_BRANCH}"
-SRC_URI = "${TRACE_GIT_URI};protocol=${TRACE_GIT_PROTOCOL};branch=${BRANCH}"
 
-SRCREV = "${TRACE_SRCREV}"
-PV = "01.00.00.09"
 PR = "r0"
 
-S = "${WORKDIR}/git/trace"
 
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 32/42] tcp3d-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb | 21 +
 1 file changed, 5 insertions(+), 16 deletions(-)

diff --git a/recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb 
b/recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb
index 31922c2..0f7c52b 100644
--- a/recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb
+++ b/recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI third generation Turbo Coprocessor (TCP3) low level driver"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.tcp3d"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://tcp3dver.h;beginline=1;endline=47;md5=3fe46c6320fb9ca4ac6692961402beb7"
@@ -8,23 +12,8 @@ LIC_FILES_CHKSUM = 
"file://tcp3dver.h;beginline=1;endline=47;md5=3fe46c6320fb9ca
 COMPATIBLE_MACHINE = "k2hk|k2l|c66x"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-TCP3D_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/tcp3d-lld.git"
-TCP3D_LLD_GIT_PROTOCOL = "git"
-TCP3D_LLD_GIT_BRANCH = "master"
-TCP3D_LLD_GIT_DESTSUFFIX = "git/ti/drv/bcp"
-
-# Below commit ID corresponds to "DEV.TCP3D_LLD.02.01.00.06B"
-TCP3D_LLD_SRCREV = "a8b3791044edf632e8348cdbd287d48a754d11ac"
-
-BRANCH = "${TCP3D_LLD_GIT_BRANCH}"
-SRC_URI = 
"${TCP3D_LLD_GIT_URI};destsuffix=${TCP3D_LLD_GIT_DESTSUFFIX};protocol=${TCP3D_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${TCP3D_LLD_SRCREV}"
-PV = "02.01.00.06B"
 PR = "r0"
 
-S = "${WORKDIR}/${TCP3D_LLD_GIT_DESTSUFFIX}"
-
 DEPENDS_append = " edma3-lld-rtos"
 
 export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 33/42] transport-rtos: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
* Add new recipe for timesync-rtos

Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb  |  4 +--
 recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb |  4 +--
 recipes-bsp/transport-rtos/nimu-rtos_git.bb  |  4 +--
 recipes-bsp/transport-rtos/timesync-rtos_git.bb  | 32 
 recipes-bsp/transport-rtos/transport.inc | 12 +++--
 5 files changed, 38 insertions(+), 18 deletions(-)
 create mode 100644 recipes-bsp/transport-rtos/timesync-rtos_git.bb

diff --git a/recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb 
b/recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb
index 137476e..f14161f 100644
--- a/recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb
+++ b/recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb
@@ -13,9 +13,7 @@ DEPENDS_append = " qmss-lld-rtos \
cppi-lld-rtos \
 "
 
-BMET_ETH_DESTSUFFIX = "git/bmet_eth"
-
-S = "${WORKDIR}/${BMET_ETH_DESTSUFFIX}"
+TI_PDK_COMP = "ti.transport.bmet_eth"
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "Baremetal Ethernet Transport"
diff --git a/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb 
b/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb
index 4750e04..02ddc47 100644
--- a/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb
+++ b/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb
@@ -17,13 +17,11 @@ DEPENDS_append_c665x-evm = " emac-lld-rtos"
 DEPENDS_append_c667x-evm = " pa-lld-rtos"
 DEPENDS_append_omapl1 = " emac-lld-rtos"
 
-NIMU_ICSS_DESTSUFFIX = "git/ndk/nimu_icss"
+TI_PDK_COMP = "ti.transport.ndk.nimu_icss"
 
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
 
-S = "${WORKDIR}/${NIMU_ICSS_DESTSUFFIX}"
-
 export PDK_NIMU_ICSS_ROOT_PATH ="${WORKDIR}/build"
 export DEST_ROOT="${S}"
 
diff --git a/recipes-bsp/transport-rtos/nimu-rtos_git.bb 
b/recipes-bsp/transport-rtos/nimu-rtos_git.bb
index 1e3bc18..4389b1e 100644
--- a/recipes-bsp/transport-rtos/nimu-rtos_git.bb
+++ b/recipes-bsp/transport-rtos/nimu-rtos_git.bb
@@ -9,9 +9,7 @@ LIC_FILES_CHKSUM = 
"file://nimu_eth.h;beginline=1;endline=35;md5=ee9c662c39d4584
 
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1|k3"
 
-NIMU_DESTSUFFIX = "git/ndk/nimu"
-
-S = "${WORKDIR}/${NIMU_DESTSUFFIX}"
+TI_PDK_COMP = "ti.transport.ndk.nimu"
 
 DEPENDS_append = " ti-ndk osal-rtos"
 DEPENDS_append_ti33x = " starterware-rtos emac-lld-rtos"
diff --git a/recipes-bsp/transport-rtos/timesync-rtos_git.bb 
b/recipes-bsp/transport-rtos/timesync-rtos_git.bb
new file mode 100644
index 000..e776c66
--- /dev/null
+++ b/recipes-bsp/transport-rtos/timesync-rtos_git.bb
@@ -0,0 +1,32 @@
+SUMMARY = "RTOS driver for timesync driver"
+
+inherit ti-pdk
+require recipes-ti/includes/ti-paths.inc
+require recipes-bsp/transport-rtos/transport.inc
+
+PR = "${INC_PR}.0"
+
+LIC_FILES_CHKSUM = 
"file://timeSync_ver.h;beginline=23;endline=45;md5=4bd873035e47065aaa811e53622992e9"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"
+
+DEPENDS_append = " ti-ndk \
+   osal-rtos \
+   pruss-lld-rtos \
+   icss-emac-lld-rtos \
+   nimu-icss-rtos \
+   edma3-lld-rtos \
+"
+
+TI_PDK_COMP = "ti.transport.timeSync"
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+export PDK_TIMESYNC_ROOT_PATH ="${WORKDIR}/build"
+export DEST_ROOT="${S}"
+
+export NDK_INSTALL_PATH = "${NDK_INSTALL_DIR}"
+export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
+
+XDCPATH_append = ";${NDK_INSTALL_DIR}/packages"
diff --git a/recipes-bsp/transport-rtos/transport.inc 
b/recipes-bsp/transport-rtos/transport.inc
index 345cd6d..866d7a3 100644
--- a/recipes-bsp/transport-rtos/transport.inc
+++ b/recipes-bsp/transport-rtos/transport.inc
@@ -2,16 +2,10 @@ LICENSE = "BSD-3-Clause"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-TRANSPORT_GIT_URI = "git://git.ti.com/keystone-rtos/transport.git"
-TRANSPORT_GIT_PROTOCOL = "git"
-TRANSPORT_GIT_BRANCH = "master"
+inherit ti-pdk-fetch
 
-# Below commit ID corresponds to "DEV.TRANSPORT.01.00.00.17A"
-TRANSPORT_SRCREV = "9ed171c476a5606777d2dcb4e831c279a5160245"
+TI_PDK_COMP = "ti.transport"
 
-BRANCH = "${TRANSPORT_GIT_BRANCH}"
-SRC_URI = 
"${TRANSPORT_GIT_URI};protocol=${TRANSPORT_GIT_PROTOCOL};branch=${BRANCH}"
+PE = "1"
 
-SRCREV = "${TRANSPORT_SRCREV}"
-PV = "01.00.00.17A"
 INC_PR = "r0"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 34/42] tsip-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb | 18 +-
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb 
b/recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb
index 6da80dd..bd8a6e3 100644
--- a/recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb
+++ b/recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI RTOS low level driver for Telecom Serial Interface Port (TSIP)"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.tsip"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://tsip.h;beginline=1;endline=32;md5=dab2257b0b8a3678c26915f6eb49b71e"
@@ -8,18 +12,6 @@ LIC_FILES_CHKSUM = 
"file://tsip.h;beginline=1;endline=32;md5=dab2257b0b8a3678c26
 COMPATIBLE_MACHINE = "k2e|c667x-evm"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-TSIP_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/tsip-lld.git"
-TSIP_LLD_GIT_PROTOCOL = "git"
-TSIP_LLD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.TSIP_LLD.01.00.00.08A"
-TSIP_LLD_SRCREV = "368ff5fbd963f4b5d5c81bbfaf3daca23beb2a87"
-
-BRANCH = "${TSIP_LLD_GIT_BRANCH}"
-SRC_URI = 
"${TSIP_LLD_GIT_URI};protocol=${TSIP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${TSIP_LLD_SRCREV}"
-PV = "01.00.00.08A"
 PR = "r0"
 
 # HTML doc link params
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 31/42] srio-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/srio-lld/srio-lld.inc | 14 +++---
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/recipes-bsp/srio-lld/srio-lld.inc 
b/recipes-bsp/srio-lld/srio-lld.inc
index 0512f0f..efe379f 100644
--- a/recipes-bsp/srio-lld/srio-lld.inc
+++ b/recipes-bsp/srio-lld/srio-lld.inc
@@ -3,24 +3,16 @@ LIC_FILES_CHKSUM = 
"file://${WORKDIR}/git/ti/drv/srio/srio_drv.h;beginline=1;end
 
 COMPATIBLE_MACHINE = "k2hk"
 
-SRIO_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/srio-lld.git"
-SRIO_LLD_GIT_PROTOCOL = "git"
-SRIO_LLD_GIT_BRANCH = "master"
-SRIO_LLD_GIT_DESTSUFFIX = "git/ti/drv/srio"
+inherit ti-pdk-fetch
 
-# commit ID corresponding to "DEV.SRIO_LLD.02.00.00.17A"
-SRIO_LLD_SRCREV = "8f230bda0a5a4c510101834bb7bb403182ac2ed8"
+TI_PDK_COMP = "ti.drv.srio"
 
-BRANCH = "${SRIO_LLD_GIT_BRANCH}"
-SRC_URI = 
"${SRIO_LLD_GIT_URI};destsuffix=${SRIO_LLD_GIT_DESTSUFFIX};protocol=${SRIO_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${SRIO_LLD_SRCREV}"
+PE = "1"
 
-PV = "02.00.00.17A"
 INC_PR = "r0"
 
 DEVICELIST = "k2h k2k"
 
 BASEDIR = "${WORKDIR}/git"
-S = "${BASEDIR}/ti/drv/srio"
 
 EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 25/42] prueth-fw: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
* LIC_FILES_CHKSUM changed to due to a corresponding change in the
  S directory.

Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb | 6 --
 recipes-bsp/prueth-fw/prueth-fw_git.bb   | 7 ---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb 
b/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb
index 08ef7f0..430e2a4 100644
--- a/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb
+++ b/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb
@@ -4,11 +4,13 @@ require recipes-ti/includes/ti-paths.inc
 require recipes-bsp/emac-lld/emac-lld.inc
 
 LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = 
"file://src/makefile;beginline=6;endline=53;md5=3f9129d208f240940749757214bdc191"
+LIC_FILES_CHKSUM = 
"file://icss_dualmac/src/makefile;beginline=6;endline=53;md5=3f9129d208f240940749757214bdc191"
 
 PR = "r0"
 
-S = "${WORKDIR}/git/firmware/icss_dualmac"
+TI_PDK_COMP = "ti.drv.emac.firmware"
+
+B = "${S}/icss_dualmac"
 
 COMPATIBLE_MACHINE = "am65xx"
 
diff --git a/recipes-bsp/prueth-fw/prueth-fw_git.bb 
b/recipes-bsp/prueth-fw/prueth-fw_git.bb
index 573a428..14518e1 100644
--- a/recipes-bsp/prueth-fw/prueth-fw_git.bb
+++ b/recipes-bsp/prueth-fw/prueth-fw_git.bb
@@ -4,12 +4,13 @@ require recipes-ti/includes/ti-paths.inc
 require recipes-bsp/icss-emac-lld/icss-emac-lld.inc
 
 LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = 
"file://src/firmware_version.h;beginline=6;endline=53;md5=1f0a640a261059cdcbbcf01e6a739ff3"
+LIC_FILES_CHKSUM = 
"file://icss_dualemac/src/firmware_version.h;beginline=6;endline=53;md5=1f0a640a261059cdcbbcf01e6a739ff3"
 
-PV = "${PV_DUALEMAC_FW}"
 PR = "${INC_PR}.0"
 
-S = "${WORKDIR}/${ICSS_EMAC_LLD_GIT_DESTSUFFIX}/firmware/icss_dualemac"
+TI_PDK_COMP = "ti.drv.icss_emac.firmware"
+
+B = "${S}/icss_dualemac"
 
 COMPATIBLE_MACHINE = "am57xx-evm|am437x-evm|am335x-evm|k2g"
 
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 22/42] pa-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/pa-lld/pa-lld.inc | 14 +++---
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/recipes-bsp/pa-lld/pa-lld.inc b/recipes-bsp/pa-lld/pa-lld.inc
index 5af0e71..83c57e3 100644
--- a/recipes-bsp/pa-lld/pa-lld.inc
+++ b/recipes-bsp/pa-lld/pa-lld.inc
@@ -4,22 +4,14 @@ LIC_FILES_CHKSUM = 
"file://${WORKDIR}/git/ti/drv/pa/COPYING.txt;md5=cd04fb087063
 COMPATIBLE_MACHINE = "keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-PA_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pa-lld.git"
-PA_LLD_GIT_PROTOCOL = "git"
-PA_LLD_GIT_BRANCH = "master"
-PA_LLD_GIT_DESTSUFFIX = "git/ti/drv/pa"
+inherit ti-pdk-fetch
 
-# Below commit ID corresponding to "DEV.PA_LLD.03.00.02.08A"
-PA_LLD_SRCREV = "02e790bdeba574c0bcca9c0bfe2c071c180c53c8"
+TI_PDK_COMP = "ti.drv.pa"
 
-BRANCH = "${PA_LLD_GIT_BRANCH}"
-SRC_URI = 
"${PA_LLD_GIT_URI};destsuffix=${PA_LLD_GIT_DESTSUFFIX};protocol=${PA_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${PA_LLD_SRCREV}"
+PE = "1"
 
-PV = "03.00.02.08A"
 INC_PR = "r0"
 
-S = "${WORKDIR}/${PA_LLD_GIT_DESTSUFFIX}"
 
 DEVICELIST = "k2h k2k k2l k2e"
 DEVICELIST_k2hk = "k2h k2k"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 23/42] pcie-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb | 20 +---
 1 file changed, 5 insertions(+), 15 deletions(-)

diff --git a/recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb 
b/recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb
index 51a24e7..cbf15a3 100644
--- a/recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb
+++ b/recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI RTOS low lever driver for Peripheral Interconnect Express (PCIE)"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.pcie"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://pcie.h;beginline=1;endline=34;md5=566a784d78790a716d641764d5d60b74"
@@ -8,25 +12,11 @@ LIC_FILES_CHKSUM = 
"file://pcie.h;beginline=1;endline=34;md5=566a784d78790a716d6
 COMPATIBLE_MACHINE = "omap-a15|keystone|c66x|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-PCIE_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pcie-lld.git"
-PCIE_LLD_GIT_PROTOCOL = "git"
-PCIE_LLD_GIT_BRANCH = "master"
-PCIE_LLD_GIT_DESTSUFFIX = "git/ti/drv/pcie"
-
-# Below commit ID corresponds to "DEV.PCIE_LLD.02.03.00.05"
-PCIE_LLD_SRCREV = "3cdbb5e4e4ccced496a4ca91b203965fafffc3e9"
-
-BRANCH = "${PCIE_LLD_GIT_BRANCH}"
-SRC_URI = 
"${PCIE_LLD_GIT_URI};destsuffix=${PCIE_LLD_GIT_DESTSUFFIX};protocol=${PCIE_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${PCIE_LLD_SRCREV}"
-PV = "02.03.00.05"
 PR = "r0"
 
 DEPENDS_append_k3 = " udma-lld-rtos \
 "
 
-S = "${WORKDIR}/${PCIE_LLD_GIT_DESTSUFFIX}"
 
 export PDK_PCIE_ROOT_PATH ="${WORKDIR}/build"
 export DEST_ROOT="${S}"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 28/42] rm-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/rm-lld/rm-lld.inc | 14 +++---
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/recipes-bsp/rm-lld/rm-lld.inc b/recipes-bsp/rm-lld/rm-lld.inc
index 69f950e..e6e61af 100644
--- a/recipes-bsp/rm-lld/rm-lld.inc
+++ b/recipes-bsp/rm-lld/rm-lld.inc
@@ -2,22 +2,14 @@ DESCRIPTION = "TI Resource Manager Low Level Driver"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc"
 
-RM_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/rm-lld.git"
-RM_LLD_GIT_PROTOCOL = "git"
-RM_LLD_GIT_BRANCH = "master"
-RM_LLD_GIT_DESTSUFFIX = "git/ti/drv/rm"
+inherit ti-pdk-fetch
 
-# Below commit ID corresponds to "DEV.RM_LLD.02.02.00.03B"
-RM_LLD_SRCREV = "dbe616355318981999c2f7a70a14377fcda913c8"
+TI_PDK_COMP = "ti.drv.rm"
 
-BRANCH = "${RM_LLD_GIT_BRANCH}"
-SRC_URI = 
"${RM_LLD_GIT_URI};destsuffix=${RM_LLD_GIT_DESTSUFFIX};protocol=${RM_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${RM_LLD_SRCREV}"
+PE = "1"
 
-PV = "02.02.00.03B"
 INC_PR = "r0"
 
 COMPATIBLE_MACHINE = "keystone"
 
 BASEDIR = "${WORKDIR}/git"
-S = "${BASEDIR}/ti/drv/rm"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 21/42] osal: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/osal/osal-rtos_git.bb |  2 --
 recipes-bsp/osal/osal-test_git.bb |  2 --
 recipes-bsp/osal/osal.inc | 14 --
 recipes-bsp/osal/osal_git.bb  |  2 --
 4 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/recipes-bsp/osal/osal-rtos_git.bb 
b/recipes-bsp/osal/osal-rtos_git.bb
index 62d1f99..a718f7c 100644
--- a/recipes-bsp/osal/osal-rtos_git.bb
+++ b/recipes-bsp/osal/osal-rtos_git.bb
@@ -5,8 +5,6 @@ PR = "${INC_PR}.0"
 
 COMPATIBLE_MACHINE_append = "|c66x|k3"
 
-S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
-
 DEPENDS_append_ti33x = " starterware-rtos"
 DEPENDS_append_ti43x = " starterware-rtos"
 
diff --git a/recipes-bsp/osal/osal-test_git.bb 
b/recipes-bsp/osal/osal-test_git.bb
index 58156e3..354aa79 100644
--- a/recipes-bsp/osal/osal-test_git.bb
+++ b/recipes-bsp/osal/osal-test_git.bb
@@ -6,8 +6,6 @@ include osal.inc
 
 PR = "${INC_PR}.1"
 
-S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
-
 EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} 
OSAL_SRC_DIR=${S}"
 
 do_compile () {
diff --git a/recipes-bsp/osal/osal.inc b/recipes-bsp/osal/osal.inc
index b0b015c..1f0a077 100644
--- a/recipes-bsp/osal/osal.inc
+++ b/recipes-bsp/osal/osal.inc
@@ -4,17 +4,11 @@ LIC_FILES_CHKSUM = 
"file://osal.h;beginline=1;endline=31;md5=6fbde6922f8bca1e6cd
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-OSAL_GIT_URI = "git://git.ti.com/keystone-rtos/osal.git"
-OSAL_GIT_PROTOCOL = "git"
-OSAL_GIT_BRANCH = "master"
-OSAL_GIT_DESTSUFFIX = "git/ti/osal"
+inherit ti-pdk-fetch
 
-# Below commit ID corresponding to "DEV.OSAL.01.00.00.16B"
-OSAL_SRCREV = "b78489d9d78d9366f1865aa847b743b1b29f6fd4"
+TI_PDK_COMP = "ti.osal"
 
-BRANCH = "${OSAL_GIT_BRANCH}"
-SRC_URI = 
"${OSAL_GIT_URI};destsuffix=${OSAL_GIT_DESTSUFFIX};protocol=${OSAL_GIT_PROTOCOL};branch=${BRANCH}"
+PE = "1"
 
-SRCREV = "${OSAL_SRCREV}"
-PV = "01.00.00.16B"
 INC_PR = "r0"
+
diff --git a/recipes-bsp/osal/osal_git.bb b/recipes-bsp/osal/osal_git.bb
index 8f58937..4f881d2 100644
--- a/recipes-bsp/osal/osal_git.bb
+++ b/recipes-bsp/osal/osal_git.bb
@@ -6,8 +6,6 @@ include osal.inc
 
 PR = "${INC_PR}.1"
 
-S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
-
 EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
 
 do_compile () {
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 27/42] qmss-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/qmss-lld/qmss-lld.inc | 14 +++---
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/recipes-bsp/qmss-lld/qmss-lld.inc 
b/recipes-bsp/qmss-lld/qmss-lld.inc
index f42f16e..5c9620f 100644
--- a/recipes-bsp/qmss-lld/qmss-lld.inc
+++ b/recipes-bsp/qmss-lld/qmss-lld.inc
@@ -4,19 +4,12 @@ LIC_FILES_CHKSUM = 
"file://${WORKDIR}/git/ti/drv/qmss/COPYING.txt;md5=cd04fb0870
 COMPATIBLE_MACHINE = "keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-QMSS_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/qmss-lld.git"
-QMSS_LLD_GIT_PROTOCOL = "git"
-QMSS_LLD_GIT_BRANCH = "master"
-QMSS_LLD_GIT_DESTSUFFIX = "git/ti/drv/qmss"
+inherit ti-pdk-fetch
 
-# Below commit ID corresponding to "DEV.QMSS_LLD.02.01.00.16A"
-QMSS_LLD_SRCREV = "7ca6e92b2081bd2eb64fa3dc9ca33df78b3ce292"
+TI_PDK_COMP = "ti.drv.qmss"
 
-BRANCH ="${QMSS_LLD_GIT_BRANCH}"
-SRC_URI = 
"${QMSS_LLD_GIT_URI};destsuffix=${QMSS_LLD_GIT_DESTSUFFIX};protocol=${QMSS_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${QMSS_LLD_SRCREV}"
+PE = "1"
 
-PV = "02.01.00.16A"
 INC_PR = "r0"
 
 DEVICELIST = "k2h k2k k2l k2e"
@@ -24,4 +17,3 @@ DEVICELIST_k2hk = "k2h k2k"
 DEVICELIST_k2l = "k2l"
 DEVICELIST_k2e = "k2e"
 
-S = "${WORKDIR}/${QMSS_LLD_GIT_DESTSUFFIX}"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 26/42] pruss-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/pruss-lld/pruss-lld-apps_git.bb |  2 --
 recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb |  2 --
 recipes-bsp/pruss-lld/pruss-lld-test_git.bb |  2 --
 recipes-bsp/pruss-lld/pruss-lld.inc | 13 +++--
 recipes-bsp/pruss-lld/pruss-lld_git.bb  |  2 --
 5 files changed, 3 insertions(+), 18 deletions(-)

diff --git a/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb 
b/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb
index 5867984..48eab40 100644
--- a/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb
@@ -9,8 +9,6 @@ include pruss-lld.inc
 
 PR = "${INC_PR}.0"
 
-S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
-
 EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} 
PDK_PKG_PATH=${STAGING_DATADIR}/ti/ti-pdk-tree/packages PRUSS_SRC_DIR=${S}"
 
 
diff --git a/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb 
b/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb
index b8db20e..9ab09b6 100644
--- a/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb
@@ -6,8 +6,6 @@ require recipes-bsp/pruss-lld/pruss-lld.inc
 COMPATIBLE_MACHINE_append = "|k3"
 PR = "${INC_PR}.0"
 
-S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
-
 DEPENDS_append = " osal-rtos"
 DEPENDS_append_ti33x = " starterware-rtos"
 DEPENDS_append_ti43x = " starterware-rtos"
diff --git a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb 
b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
index 93f1901..8007f65 100644
--- a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
@@ -6,8 +6,6 @@ include pruss-lld.inc
 
 PR = "${INC_PR}.2"
 
-S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
-
 EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} 
PRUSS_SRC_DIR=${S}"
 
 DEVICE_LIST ?= "${TI_PDK_LIMIT_SOCS}"
diff --git a/recipes-bsp/pruss-lld/pruss-lld.inc 
b/recipes-bsp/pruss-lld/pruss-lld.inc
index 1fd3fb7..793ba83 100644
--- a/recipes-bsp/pruss-lld/pruss-lld.inc
+++ b/recipes-bsp/pruss-lld/pruss-lld.inc
@@ -4,18 +4,11 @@ LIC_FILES_CHKSUM = 
"file://pruicss.h;beginline=1;endline=31;md5=315177aa03d58bcd
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-PRUSS_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pruss-lld.git"
-PRUSS_LLD_GIT_PROTOCOL = "git"
-PRUSS_LLD_GIT_BRANCH = "master"
-PRUSS_LLD_GIT_DESTSUFFIX = "git/ti/drv/pruss"
+inherit ti-pdk-fetch
 
-# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.15B"
-PRUSS_LLD_SRCREV = "989f802266d52f50a6db8f2be6967eacd9d2b409"
+TI_PDK_COMP = "ti.drv.pruss"
 
-BRANCH = "${PRUSS_LLD_GIT_BRANCH}"
-SRC_URI = 
"${PRUSS_LLD_GIT_URI};destsuffix=${PRUSS_LLD_GIT_DESTSUFFIX};protocol=${PRUSS_LLD_GIT_PROTOCOL};branch=${BRANCH}"
+PE = "1"
 
-SRCREV = "${PRUSS_LLD_SRCREV}"
-PV = "01.00.00.15B"
 INC_PR = "r0"
 
diff --git a/recipes-bsp/pruss-lld/pruss-lld_git.bb 
b/recipes-bsp/pruss-lld/pruss-lld_git.bb
index 5b0a257..f1e93cd 100644
--- a/recipes-bsp/pruss-lld/pruss-lld_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld_git.bb
@@ -6,8 +6,6 @@ include pruss-lld.inc
 
 PR = "${INC_PR}.2"
 
-S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
-
 EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
 
 do_compile () {
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 24/42] pru: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/pru/pru-pwm-fw_git.bb| 11 +--
 recipes-bsp/pru/pru-swuart-fw_git.bb | 12 ++--
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/recipes-bsp/pru/pru-pwm-fw_git.bb 
b/recipes-bsp/pru/pru-pwm-fw_git.bb
index 0fe7987..a8c7103 100644
--- a/recipes-bsp/pru/pru-pwm-fw_git.bb
+++ b/recipes-bsp/pru/pru-pwm-fw_git.bb
@@ -8,17 +8,16 @@ require recipes-ti/includes/ti-paths.inc
 COMPATIBLE_MACHINE = "am65xx"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.15B"
-SRCREV = "989f802266d52f50a6db8f2be6967eacd9d2b409"
 
-PV = "01.00.00.15B"
 
-BRANCH = "master"
-SRC_URI = 
"git://git.ti.com/keystone-rtos/pruss-lld.git;protocol=git;branch=${BRANCH}"
+inherit ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.pruss.example.apps.icssg_pwm.firmware.src"
+
+PE = "1"
 
 DEPENDS = "ti-cgt-pru-native pru-icss common-csl-ip-rtos"
 
-S = "${WORKDIR}/git/example/apps/icssg_pwm/firmware/src"
 
 EXTRA_OEMAKE += " \
 PRU_CGT="${TI_CGT_PRU_INSTALL_DIR}" \
diff --git a/recipes-bsp/pru/pru-swuart-fw_git.bb 
b/recipes-bsp/pru/pru-swuart-fw_git.bb
index e22b3be..1cb51f3 100644
--- a/recipes-bsp/pru/pru-swuart-fw_git.bb
+++ b/recipes-bsp/pru/pru-swuart-fw_git.bb
@@ -8,20 +8,20 @@ require recipes-ti/includes/ti-paths.inc
 COMPATIBLE_MACHINE = "ti33x"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-# Below commit ID corresponds to "DEV.UART_LLD.01.00.00.15"
-SRCREV = "4493f456549c85749a05b1f46bf0b75d23976db1"
 
-PV = "01.00.00.15"
+inherit ti-pdk-fetch
 
-BRANCH = "master"
-SRC_URI = 
"git://git.ti.com/keystone-rtos/uart-lld.git;protocol=git;branch=${BRANCH} \
+TI_PDK_COMP = "ti.drv.uart"
+
+PE = "1"
+
+SRC_URI_append = " \
file://0001-icss_uart-add-Makefile-for-building-firmware.patch \
file://0001-icss_uart-remove-dependency-on-PDK-CSL.patch \
 "
 
 DEPENDS = "ti-cgt-pru-native pru-icss"
 
-S = "${WORKDIR}/git"
 
 export PRU_CGT = "${TI_CGT_PRU_INSTALL_DIR}"
 export PRU_SSP = "${STAGING_DIR_TARGET}/usr"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 29/42] sciclient: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/sciclient/sciclient-rtos_git.bb | 20 ++--
 1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/recipes-bsp/sciclient/sciclient-rtos_git.bb 
b/recipes-bsp/sciclient/sciclient-rtos_git.bb
index bfaa84a..6a3d79c 100644
--- a/recipes-bsp/sciclient/sciclient-rtos_git.bb
+++ b/recipes-bsp/sciclient/sciclient-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI RTOS low level driver for SCICLIENT"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.sciclient"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://sciclient.h;beginline=1;endline=31;md5=7224b2eeca1444815f1737bfcdfa892a"
@@ -8,18 +12,6 @@ LIC_FILES_CHKSUM = 
"file://sciclient.h;beginline=1;endline=31;md5=7224b2eeca1444
 COMPATIBLE_MACHINE = "k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-SCICLIENT_GIT_URI = "git://git.ti.com/keystone-rtos/sciclient.git"
-SCICLIENT_GIT_PROTOCOL = "git"
-SCICLIENT_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.SCICLIENT.01.00.00.04"
-SCICLIENT_SRCREV = "287fe553ef548a60cce59e6a41d2e173ecbbc18a"
-
-BRANCH = "${SCICLIENT_GIT_BRANCH}"
-SRC_URI = 
"${SCICLIENT_GIT_URI};protocol=${SCICLIENT_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${SCICLIENT_SRCREV}"
-PV = "01.00.00.04"
 PR = "r0"
 
 DEPENDS_append = " osal-rtos common-csl-ip-rtos"
@@ -27,7 +19,7 @@ DEPENDS_append = " osal-rtos common-csl-ip-rtos"
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
 
-SCICLIENT_PACKAGE_BASE   = "${S}/../sciclient_base"
+SCICLIENT_PACKAGE_BASE = "${WORKDIR}/sciclient_base"
 SCICLIENT_ROOTPATH = 
"${SCICLIENT_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/sciclient"
 
 export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 20/42] nwal-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
LIC_FILES_CHKSUM changed to use a relative path.

Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/nwal-lld/nwal-lld.inc | 15 ---
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/recipes-bsp/nwal-lld/nwal-lld.inc 
b/recipes-bsp/nwal-lld/nwal-lld.inc
index 024aeef..3a593c7 100644
--- a/recipes-bsp/nwal-lld/nwal-lld.inc
+++ b/recipes-bsp/nwal-lld/nwal-lld.inc
@@ -1,25 +1,18 @@
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = 
"file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
 
 COMPATIBLE_MACHINE = "keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-NWAL_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/nwal-lld.git"
-NWAL_LLD_GIT_PROTOCOL = "git"
-NWAL_LLD_GIT_BRANCH = "master"
+inherit ti-pdk-fetch
 
-# Below commit ID corresponds to "DEV.NWAL.02.01.00.13"
-NWAL_LLD_SRCREV = "dd41b84a985ef2824068e57525158c350e0d51be"
+TI_PDK_COMP = "ti.drv.nwal"
 
-BRANCH = "${NWAL_LLD_GIT_BRANCH}"
-SRC_URI = 
"${NWAL_LLD_GIT_URI};protocol=${NWAL_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${NWAL_LLD_SRCREV}"
+PE = "1"
 
-PV = "02.01.00.13"
 INC_PR = "r0"
 
 BASEDIR = "${WORKDIR}/git"
-S = "${BASEDIR}/ti/drv/nwal"
 
 DEVICELIST_k2hk = "k2h k2k"
 DEVICELIST_k2l  = "k2l"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 19/42] mmcsd-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb | 19 +--
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb 
b/recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb
index e94d8c8..8c027cd 100644
--- a/recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb
+++ b/recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI Multimedia card(MMC)/Secure Digital(SD) low level driver for 
RTOS "
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.mmcsd"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://MMCSD.h;beginline=1;endline=32;md5=f74069541d4d165a000a66b4043cb065"
@@ -8,22 +12,9 @@ LIC_FILES_CHKSUM = 
"file://MMCSD.h;beginline=1;endline=32;md5=f74069541d4d165a00
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-MMCSD_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/sd-mmc.git"
-MMCSD_LLD_GIT_PROTOCOL = "git"
-MMCSD_LLD_GIT_BRANCH = "master"
-MMCSD_LLD_GIT_DESTSUFFIX = "git/ti/drv/mmcsd"
-
-# Below commit ID corresponds to "DEV.MMCSD_LLD.01.00.00.17D"
-MMCSD_LLD_SRCREV = "d723e336b917989b08bef590c3e125010c0d3461"
-
-BRANCH = "${MMCSD_LLD_GIT_BRANCH}"
-SRC_URI = 
"${MMCSD_LLD_GIT_URI};destsuffix=${MMCSD_LLD_GIT_DESTSUFFIX};protocol=${MMCSD_LLD_GIT_PROTOCOL};branch=${BRANCH}"
 
-SRCREV = "${MMCSD_LLD_SRCREV}"
-PV = "01.00.00.17D"
 PR = "r0"
 
-S = "${WORKDIR}/${MMCSD_LLD_GIT_DESTSUFFIX}"
 
 DEPENDS_append = " edma3-lld-rtos \
osal-rtos \
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 15/42] ipc-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/ipc-lld/ipc-lld.inc | 20 ++--
 1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/recipes-bsp/ipc-lld/ipc-lld.inc b/recipes-bsp/ipc-lld/ipc-lld.inc
index 243678f..66bbf32 100644
--- a/recipes-bsp/ipc-lld/ipc-lld.inc
+++ b/recipes-bsp/ipc-lld/ipc-lld.inc
@@ -1,4 +1,8 @@
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.ipc"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=7eae093f2b09fd39307f30028a068b91"
@@ -6,24 +10,12 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=7eae093f2b09fd39307f30028a068b91"
 COMPATIBLE_MACHINE = "k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-IPCLLD_GIT_URI = "git://git.ti.com/keystone-rtos/ipc-lld.git"
-IPCLLD_GIT_PROTOCOL = "git"
-IPCLLD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "01.00.00.00"
-IPCLLD_SRCREV = "c695ca99aa4b7242e808889cfeacf848f14112c7"
-
-BRANCH = "${IPCLLD_GIT_BRANCH}"
-SRC_URI = "${IPCLLD_GIT_URI};protocol=${IPCLLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${IPCLLD_SRCREV}"
-PV = "01.00.00.00"
 PR = "r2"
 
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
 
-IPCLLD_PACKAGE_BASE   = "${S}/../ipclld_base"
+IPCLLD_PACKAGE_BASE   = "${WORKDIR}/ipclld_base"
 IPCLLD_ROOTPATH = "${IPCLLD_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/ipc"
 
 export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 17/42] mcasp-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb | 19 +--
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb 
b/recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb
index 808a02a..5775d84 100644
--- a/recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb
+++ b/recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI RTOS low level driver for Multi channel Audio Serial port 
(McASP)"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.mcasp"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://mcaspver.h;beginline=19;endline=47;md5=75a9adc782a6df0d3a5419743e9a9f18"
@@ -8,22 +12,9 @@ LIC_FILES_CHKSUM = 
"file://mcaspver.h;beginline=19;endline=47;md5=75a9adc782a6df
 COMPATIBLE_MACHINE = "ti43x|omap-a15|k2g|ti33x|omapl1|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-MCASP_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/mcasp-lld.git"
-MCASP_LLD_GIT_PROTOCOL = "git"
-MCASP_LLD_GIT_BRANCH = "master"
-MCASP_LLD_GIT_DESTSUFFIX = "git/ti/drv/mcasp"
-
-# Below commit ID corresponds to "DEV.MCASP_LLD.01.01.00.15C"
-MCASP_LLD_SRCREV = "3b206c0081cc3e78122982948b40a16e2e24522c"
-
-BRANCH = "${MCASP_LLD_GIT_BRANCH}"
-SRC_URI = 
"${MCASP_LLD_GIT_URI};destsuffix=${MCASP_LLD_GIT_DESTSUFFIX};protocol=${MCASP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
 
-SRCREV = "${MCASP_LLD_SRCREV}"
-PV = "01.01.00.15C"
 PR = "r0"
 
-S = "${WORKDIR}/${MCASP_LLD_GIT_DESTSUFFIX}"
 
 DEPENDS_append = " edma3-lld-rtos \
osal-rtos \
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 18/42] mcbsp-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb | 20 +---
 1 file changed, 5 insertions(+), 15 deletions(-)

diff --git a/recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb 
b/recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb
index 10c782e..96ac5d7 100644
--- a/recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb
+++ b/recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI RTOS low level driver for Multi-channel Buffered Serial Port 
(McBSP)"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.mcbsp"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://mcbspver.h;beginline=1;endline=47;md5=a8a39efd13fa6fe66da5461b898d620e"
@@ -8,22 +12,8 @@ LIC_FILES_CHKSUM = 
"file://mcbspver.h;beginline=1;endline=47;md5=a8a39efd13fa6fe
 COMPATIBLE_MACHINE = "k2g|c665x-evm|omapl1"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-MCBSP_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/mcbsp-lld.git"
-MCBSP_LLD_GIT_PROTOCOL = "git"
-MCBSP_LLD_GIT_BRANCH = "master"
-MCBSP_LLD_GIT_DESTSUFFIX = "git/ti/drv/mcbsp"
-
-# Below commit ID corresponds to "DEV.MCBSP_LLD.01.00.00.12"
-MCBSP_LLD_SRCREV = "cd201419a8b4e4aefee6b9323d9a84f4ea467d6a"
-
-BRANCH = "${MCBSP_LLD_GIT_BRANCH}"
-SRC_URI = 
"${MCBSP_LLD_GIT_URI};destsuffix=${MCBSP_LLD_GIT_DESTSUFFIX};protocol=${MCBSP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${MCBSP_LLD_SRCREV}"
-PV = "01.00.00.12"
 PR = "r0"
 
-S = "${WORKDIR}/${MCBSP_LLD_GIT_DESTSUFFIX}"
 
 DEPENDS_append = " edma3-lld-rtos \
 "
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 11/42] gpmc-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb | 17 +
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb 
b/recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb
index b9f0088..6054d6b 100644
--- a/recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb
+++ b/recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI RTOS low level driver for General Purpose Memory Controller 
(GPMC)"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.gpmc"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://GPMC.h;beginline=1;endline=31;md5=485ec97c36f809bf92323fde3e988c72"
@@ -8,18 +12,7 @@ LIC_FILES_CHKSUM = 
"file://GPMC.h;beginline=1;endline=31;md5=485ec97c36f809bf923
 COMPATIBLE_MACHINE = "ti33x|ti43x"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-GPMC_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/gpmc-lld.git"
-GPMC_LLD_GIT_PROTOCOL = "git"
-GPMC_LLD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.GPMC_LLD.01.00.00.03A"
-GPMC_LLD_SRCREV = "9169c04d80fae0a50734527e54ec4f4f53c3a1ef"
-
-BRANCH = "${GPMC_LLD_GIT_BRANCH}"
-SRC_URI = 
"${GPMC_LLD_GIT_URI};protocol=${GPMC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
 
-SRCREV = "${GPMC_LLD_SRCREV}"
-PV = "01.00.00.03A"
 PR = "r0"
 
 DEPENDS_append = " osal-rtos \
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 13/42] i2c-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb | 19 +--
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb 
b/recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb
index bf64abf..1cd1c99 100644
--- a/recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb
+++ b/recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI RTOS low level driver for Inter-IC module (I2C)"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.i2c"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://I2C.h;beginline=1;endline=32;md5=50084375278c1a2779571be134f98f7c"
@@ -8,19 +12,7 @@ LIC_FILES_CHKSUM = 
"file://I2C.h;beginline=1;endline=32;md5=50084375278c1a277957
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-I2C_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/i2c-lld.git"
-I2C_LLD_GIT_PROTOCOL = "git"
-I2C_LLD_GIT_BRANCH = "master"
-I2C_LLD_GIT_DESTSUFFIX = "git/ti/drv/i2c"
-
-# Below commit ID corresponds to "DEV.I2C_LLD.01.00.00.16A"
-I2C_LLD_SRCREV = "1524f975a96de004000ce7e5b3367d6640b7d193"
-
-BRANCH = "${I2C_LLD_GIT_BRANCH}"
-SRC_URI = 
"${I2C_LLD_GIT_URI};destsuffix=${I2C_LLD_GIT_DESTSUFFIX};protocol=${I2C_LLD_GIT_PROTOCOL};branch=${BRANCH}"
 
-SRCREV = "${I2C_LLD_SRCREV}"
-PV = "01.00.00.16A"
 PR = "r0"
 
 DEPENDS_append = " osal-rtos \
@@ -43,7 +35,6 @@ DEPENDS_append_j7-evm = " sciclient-rtos \
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
 
-S = "${WORKDIR}/${I2C_LLD_GIT_DESTSUFFIX}"
 
 export PDK_I2C_ROOT_PATH ="${WORKDIR}/build"
 export DEST_ROOT="${S}"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 16/42] iqn2-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/iqn2-lld/iqn2-lld.inc | 14 +++---
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/recipes-bsp/iqn2-lld/iqn2-lld.inc 
b/recipes-bsp/iqn2-lld/iqn2-lld.inc
index 29b230a..078509f 100644
--- a/recipes-bsp/iqn2-lld/iqn2-lld.inc
+++ b/recipes-bsp/iqn2-lld/iqn2-lld.inc
@@ -1,21 +1,13 @@
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
 LICENSE = "BSD-3-Clause"
 
-IQN2_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/iqn2-lld.git"
-IQN2_LLD_GIT_PROTOCOL = "git"
-IQN2_LLD_GIT_BRANCH = "master"
-IQN2_LLD_GIT_DESTSUFFIX = "git/ti/drv/iqn2"
+inherit ti-pdk-fetch
 
-# Following commit corresponds to DEV.IQN_LLD.01.00.00.11A
-IQN2_LLD_SRCREV = "41c0cd3cb4fc25453904f8c583ebd0a7a0e5b940"
+TI_PDK_COMP = "ti.drv.iqn2"
 
-BRANCH = "${IQN2_LLD_GIT_BRANCH}"
-SRC_URI = 
"${IQN2_LLD_GIT_URI};destsuffix=${IQN2_LLD_GIT_DESTSUFFIX};protocol=${IQN2_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${IQN2_LLD_SRCREV}"
+PE = "1"
 
-PV = "1.0.0.11A"
 INC_PR = "r0"
 
 COMPATIBLE_MACHINE = "k2l"
 
-S = "${WORKDIR}/${IQN2_LLD_GIT_DESTSUFFIX}"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 12/42] hyplnk-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
LIC_FILES_CHKSUM changed to use a relative path.

Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/hyplnk-lld/hyplnk-lld.inc | 16 
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/recipes-bsp/hyplnk-lld/hyplnk-lld.inc 
b/recipes-bsp/hyplnk-lld/hyplnk-lld.inc
index a73f513..849c2ee 100644
--- a/recipes-bsp/hyplnk-lld/hyplnk-lld.inc
+++ b/recipes-bsp/hyplnk-lld/hyplnk-lld.inc
@@ -6,24 +6,16 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 LLDNAME="hyplnk"
 
-LIC_FILES_CHKSUM = 
"file://${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}/COPYING.txt;md5=623325cc19e613a4e770fbb749922592"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=623325cc19e613a4e770fbb749922592"
 
-HYPLNK_GIT_URI = "git://git.ti.com/keystone-rtos/hyplnk-lld.git"
-HYPLNK_GIT_PROTOCOL = "git"
-HYPLNK_GIT_BRANCH = "master"
-HYPLNK_GIT_DESTSUFFIX = "git/ti/drv/${LLDNAME}"
+inherit ti-pdk-fetch
 
-# Following commit corresponds to tag DEV.HYPLNK_LLD.02.01.00.08A
-HYPLNK_SRCREV = "67fc593f28d243d25a5e19720eba8b3e53a5efc0"
+TI_PDK_COMP = "ti.drv.hyplnk"
 
-BRANCH="${HYPLNK_GIT_BRANCH}"
-SRC_URI = 
"${HYPLNK_GIT_URI};destsuffix=${HYPLNK_GIT_DESTSUFFIX};protocol=${HYPLNK_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${HYPLNK_SRCREV}"
+PE = "1"
 
-PV = "2.1.0.8A"
 INC_PR = "r0"
 
 DEVICELIST_k2hk = "k2h k2k"
 DEVICELIST_k2e  = "k2e"
 
-S = "${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 10/42] gpio-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb | 20 +---
 1 file changed, 5 insertions(+), 15 deletions(-)

diff --git a/recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb 
b/recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb
index 93f97d0..bfdb16c 100644
--- a/recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb
+++ b/recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI RTOS driver for General Purpose IO (GPIO)"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.gpio"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://GPIO.h;beginline=1;endline=31;md5=8580f9c5c0de8d5d13518cf18a0122b8"
@@ -8,22 +12,8 @@ LIC_FILES_CHKSUM = 
"file://GPIO.h;beginline=1;endline=31;md5=8580f9c5c0de8d5d135
 COMPATIBLE_MACHINE = 
"ti33x|ti43x|omap-a15|keystone|omapl1|c667x-evm|c665x-evm|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-GPIO_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/gpio-lld.git"
-GPIO_LLD_GIT_PROTOCOL = "git"
-GPIO_LLD_GIT_BRANCH = "master"
-GPIO_LLD_GIT_DESTSUFFIX = "git/ti/drv/gpio"
-
-# Below commit ID corresponds to "DEV.GPIO_LLD.01.00.00.16B"
-GPIO_LLD_SRCREV = "14e59e948fb949e244edcc3161f21ec4228fb15c"
-
-BRANCH = "${GPIO_LLD_GIT_BRANCH}"
-SRC_URI = 
"${GPIO_LLD_GIT_URI};destsuffix=${GPIO_LLD_GIT_DESTSUFFIX};protocol=${GPIO_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${GPIO_LLD_SRCREV}"
-PV = "01.00.00.16B"
 PR = "r0"
 
-S = "${WORKDIR}/${GPIO_LLD_GIT_DESTSUFFIX}"
 
 DEPENDS_append = " osal-rtos \
 "
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 14/42] icss-emac-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/icss-emac-lld/icss-emac-lld.inc | 20 +++-
 1 file changed, 3 insertions(+), 17 deletions(-)

diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld.inc 
b/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
index 72d546b..4809e1f 100644
--- a/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
+++ b/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
@@ -4,25 +4,11 @@ LIC_FILES_CHKSUM = 
"file://COPYING.txt;md5=76cafd87d8495b42c2355f7681de15a2"
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-ICSS_EMAC_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/icss-emac.git"
-ICSS_EMAC_LLD_GIT_PROTOCOL = "git"
-ICSS_EMAC_LLD_GIT_BRANCH = "master"
-ICSS_EMAC_LLD_GIT_DESTSUFFIX = "git/ti/drv/icss_emac"
+inherit ti-pdk-fetch
 
-# Below commit ID corresponds to "DEV.ICSS_EMAC_LLD.01.00.00.17"
-ICSS_EMAC_LLD_SRCREV = "5978212c59468eab68e232a538ee005162b6902f"
+TI_PDK_COMP = "ti.drv.icss_emac"
 
-BRANCH = "${ICSS_EMAC_LLD_GIT_BRANCH}"
-SRC_URI = 
"${ICSS_EMAC_LLD_GIT_URI};destsuffix=${ICSS_EMAC_LLD_GIT_DESTSUFFIX};protocol=${ICSS_EMAC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${ICSS_EMAC_LLD_SRCREV}"
-
-# The LLD version
-PV = "01.00.00.17"
-
-# The FW version(s)
-PV_DUALEMAC_FW = "5.2.7"
+PE = "1"
 
 INC_PR = "r0"
 
-S = "${WORKDIR}/${ICSS_EMAC_LLD_GIT_DESTSUFFIX}"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 05/42] cppi-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/cppi-lld/cppi-lld.inc | 14 +++---
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/recipes-bsp/cppi-lld/cppi-lld.inc 
b/recipes-bsp/cppi-lld/cppi-lld.inc
index dec5b7d..40810f7 100644
--- a/recipes-bsp/cppi-lld/cppi-lld.inc
+++ b/recipes-bsp/cppi-lld/cppi-lld.inc
@@ -4,19 +4,12 @@ LIC_FILES_CHKSUM = 
"file://${WORKDIR}/git/ti/drv/cppi/COPYING.txt;md5=e8f6789acd
 COMPATIBLE_MACHINE = "keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-CPPI_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/cppi-lld.git"
-CPPI_LLD_GIT_PROTOCOL = "git"
-CPPI_LLD_GIT_BRANCH = "master"
-CPPI_LLD_GIT_DESTSUFFIX = "git/ti/drv/cppi"
+inherit ti-pdk-fetch
 
-# Below Commit ID corresponds to "DEV.CPPI_LLD.02.01.00.14A"
-CPPI_LLD_SRCREV = "d9b51bfc77ee0c97ed11dc6753667cfadc0285f6"
+TI_PDK_COMP = "ti.drv.cppi"
 
-BRANCH = "${CPPI_LLD_GIT_BRANCH}"
-SRC_URI = 
"${CPPI_LLD_GIT_URI};destsuffix=${CPPI_LLD_GIT_DESTSUFFIX};protocol=${CPPI_LLD_GIT_PROTOCOL};branch=${BRANCH}"
+PE = "1"
 
-SRCREV = "${CPPI_LLD_SRCREV}"
-PV = "02.01.00.14A"
 INC_PR = "r0"
 
 DEVICELIST = "k2h k2k k2l k2e"
@@ -24,4 +17,3 @@ DEVICELIST_k2hk = "k2h k2k"
 DEVICELIST_k2l  = "k2l"
 DEVICELIST_k2e  = "k2e"
 
-S = "${WORKDIR}/${CPPI_LLD_GIT_DESTSUFFIX}"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 08/42] fatfs-rtos: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb | 18 +-
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb 
b/recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb
index a08e046..20d8ba8 100644
--- a/recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb
+++ b/recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI RTOS driver for FAT filesystem"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.fs.fatfs"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://FATFS.h;beginline=1;endline=32;md5=6619832755598d1cc2b01f2e6a1801d6"
@@ -8,18 +12,6 @@ LIC_FILES_CHKSUM = 
"file://FATFS.h;beginline=1;endline=32;md5=6619832755598d1cc2
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-FATFS_GIT_URI = "git://git.ti.com/keystone-rtos/fatfs.git"
-FATFS_GIT_PROTOCOL = "git"
-FATFS_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.FATFS_LLD.01.00.00.15"
-FATFS_SRCREV = "d30f2c1492b2226a7ce31e43a72df29df5db9986"
-
-BRANCH = "${FATFS_GIT_BRANCH}"
-SRC_URI = "${FATFS_GIT_URI};protocol=${FATFS_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${FATFS_SRCREV}"
-PV = "01.00.00.15"
 PR = "r0"
 
 DEPENDS_append = " mmcsd-lld-rtos \
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 09/42] fftc-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb | 22 +-
 1 file changed, 5 insertions(+), 17 deletions(-)

diff --git a/recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb 
b/recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb
index 9103639..c8668c9 100644
--- a/recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb
+++ b/recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI FFT Coprocessor (FFTC) low level driver "
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.fftc"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://fftc.h;beginline=1;endline=39;md5=2f1010c47d364414644caf6d30a2b7df"
@@ -8,24 +12,8 @@ LIC_FILES_CHKSUM = 
"file://fftc.h;beginline=1;endline=39;md5=2f1010c47d364414644
 COMPATIBLE_MACHINE = "k2hk|k2l"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-FFTC_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/fftc-lld.git"
-FFTC_LLD_GIT_PROTOCOL = "git"
-FFTC_LLD_GIT_BRANCH = "master"
-FFTC_LLD_GIT_DESTSUFFIX = "git/ti/drv/fftc"
-
-# Below commit ID corresponds to "DEV.FFTC_LLD.02.02.00.07B"
-FFTC_LLD_SRCREV = "962d899e1e81a4d02ad59368032cf24956cde5f2"
-
-BRANCH = "${FFTC_LLD_GIT_BRANCH}"
-SRC_URI = 
"${FFTC_LLD_GIT_URI};destsuffix=${FFTC_LLD_GIT_DESTSUFFIX};protocol=${FFTC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${FFTC_LLD_SRCREV}"
-PV = "02.02.00.07B"
 PR = "r0"
 
-S = "${WORKDIR}/${FFTC_LLD_GIT_DESTSUFFIX}"
-
-
 DEPENDS_append= " qmss-lld-rtos \
   cppi-lld-rtos \
 "
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 04/42] board-rtos: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/board-rtos/board-rtos_git.bb | 16 +---
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/recipes-bsp/board-rtos/board-rtos_git.bb 
b/recipes-bsp/board-rtos/board-rtos_git.bb
index be5f90c..99530d1 100644
--- a/recipes-bsp/board-rtos/board-rtos_git.bb
+++ b/recipes-bsp/board-rtos/board-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI RTOS Board Library"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.board"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://board.h;beginline=1;endline=32;md5=9bed8e4ac2fb37fc627cefe49eb1c919"
@@ -8,18 +12,8 @@ LIC_FILES_CHKSUM = 
"file://board.h;beginline=1;endline=32;md5=9bed8e4ac2fb37fc62
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-BOARD_GIT_URI = "git://git.ti.com/keystone-rtos/board.git"
-BOARD_GIT_PROTOCOL = "git"
-BOARD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.BOARD.01.00.10.06G"
-BOARD_SRCREV = "8f5b3079847937f97c7b27d76f8aac52fa1c11b5"
 
-BRANCH ="${BOARD_GIT_BRANCH}"
-SRC_URI = "${BOARD_GIT_URI};protocol=${BOARD_GIT_PROTOCOL};branch=${BRANCH}"
 
-SRCREV = "${BOARD_SRCREV}"
-PV = "01.00.10.06G"
 PR = "r0"
 
 DEPENDS_append = " i2c-lld-rtos \
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 07/42] emac-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/emac-lld/emac-lld.inc | 13 +++--
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/recipes-bsp/emac-lld/emac-lld.inc 
b/recipes-bsp/emac-lld/emac-lld.inc
index 318be3d..eea56b3 100644
--- a/recipes-bsp/emac-lld/emac-lld.inc
+++ b/recipes-bsp/emac-lld/emac-lld.inc
@@ -1,14 +1,7 @@
-EMAC_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/emac-lld.git"
-EMAC_LLD_GIT_PROTOCOL = "git"
-EMAC_LLD_GIT_BRANCH = "master"
+inherit ti-pdk-fetch
 
-# Below commit ID corresponds to "DEV.EMAC_LLD.01.00.03.18A"
-EMAC_LLD_SRCREV = "42716931cfddac093de9b5e885b0a5139f7403fb"
+TI_PDK_COMP = "ti.drv.emac"
 
-BRANCH ="${EMAC_LLD_GIT_BRANCH}"
-SRC_URI = 
"${EMAC_LLD_GIT_URI};protocol=${EMAC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${EMAC_LLD_SRCREV}"
+PE = "1"
 
 # The LLD version
-PV = "01.00.03.18A+git${SRCPV}"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 02/42] aif2-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/aif2-lld/aif2-lld.inc | 14 +++---
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/recipes-bsp/aif2-lld/aif2-lld.inc 
b/recipes-bsp/aif2-lld/aif2-lld.inc
index f06dde1..718f3a7 100644
--- a/recipes-bsp/aif2-lld/aif2-lld.inc
+++ b/recipes-bsp/aif2-lld/aif2-lld.inc
@@ -2,21 +2,13 @@ LICENSE = "BSD-3-Clause"
 
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
 
-AIF2_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/aif2-lld.git"
-AIF2_LLD_GIT_PROTOCOL = "git"
-AIF2_LLD_GIT_BRANCH = "master"
-AIF2_LLD_GIT_DESTSUFFIX = "git/ti/drv/aif2"
+inherit ti-pdk-fetch
 
-# The following commit correspond to DEV.AIF2LLD.01.02.00.02B
-AIF2_LLD_SRCREV = "5304fdbca98b7f1aed8cb66bc6750f99d8bb7094"
+TI_PDK_COMP = "ti.drv.aif2"
 
-BRANCH = "${AIF2_LLD_GIT_BRANCH}"
-SRC_URI = 
"${AIF2_LLD_GIT_URI};destsuffix=${AIF2_LLD_GIT_DESTSUFFIX};protocol=${AIF2_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${AIF2_LLD_SRCREV}"
+PE = "1"
 
-PV = "1.2.0.2B"
 INC_PR = "r0"
 
 COMPATIBLE_MACHINE = "k2hk"
 
-S = "${WORKDIR}/${AIF2_LLD_GIT_DESTSUFFIX}"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 03/42] bcp-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb | 20 +---
 1 file changed, 5 insertions(+), 15 deletions(-)

diff --git a/recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb 
b/recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb
index dc5cef5..62cee07 100644
--- a/recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb
+++ b/recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb
@@ -1,6 +1,10 @@
 SUMMARY = "TI Bit Coprocessor (BCP) low level driver"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.bcp"
+
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://bcp.h;beginline=1;endline=40;md5=4f6e6128dd075a89548c0287a39b8896"
@@ -8,22 +12,8 @@ LIC_FILES_CHKSUM = 
"file://bcp.h;beginline=1;endline=40;md5=4f6e6128dd075a89548c
 COMPATIBLE_MACHINE = "k2hk|k2l|c667x-evm"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-BCP_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/bcp-lld.git"
-BCP_LLD_GIT_PROTOCOL = "git"
-BCP_LLD_GIT_BRANCH = "master"
-BCP_LLD_GIT_DESTSUFFIX = "git/ti/drv/bcp"
-
-# Below commit ID corresponds to "DEV.BCP_LLD.02.01.00.07B"
-BCP_LLD_SRCREV = "2a13d5e3b26180dd4f1010327f1daed9b3330752"
-
-BRANCH = "${BCP_LLD_GIT_BRANCH}"
-SRC_URI = 
"${BCP_LLD_GIT_URI};destsuffix=${BCP_LLD_GIT_DESTSUFFIX};protocol=${BCP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${BCP_LLD_SRCREV}"
-PV = "02.01.00.07B"
 PR = "r0"
 
-S = "${WORKDIR}/${BCP_LLD_GIT_DESTSUFFIX}"
 
 DEPENDS_append = " qmss-lld-rtos \
cppi-lld-rtos \
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 06/42] dfe-lld: migrate to ti-pdk-fetch.bbclass

2019-11-15 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/dfe-lld/dfe-lld.inc | 14 +++---
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/recipes-bsp/dfe-lld/dfe-lld.inc b/recipes-bsp/dfe-lld/dfe-lld.inc
index 1f278a2..9ac317d 100644
--- a/recipes-bsp/dfe-lld/dfe-lld.inc
+++ b/recipes-bsp/dfe-lld/dfe-lld.inc
@@ -2,21 +2,13 @@ LICENSE = "BSD-3-Clause"
 
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=1f4217b705bf98762a302fd720649dcc"
 
-DFE_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/dfe-lld.git"
-DFE_LLD_GIT_PROTOCOL = "git"
-DFE_LLD_GIT_BRANCH = "master"
-DFE_LLD_GIT_DESTSUFFIX = "git/ti/drv/dfe"
+inherit ti-pdk-fetch
 
-# Below commit ID corresponds to "DEV.DFE_LLD.01.00.00.09A"
-DFE_LLD_SRCREV = "023af1b39ec1df7f463797cb8be94e5985dbaefd"
+TI_PDK_COMP = "ti.drv.dfe"
 
-BRANCH = "${DFE_LLD_GIT_BRANCH}"
-SRC_URI = 
"${DFE_LLD_GIT_URI};destsuffix=${DFE_LLD_GIT_DESTSUFFIX};protocol=${DFE_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${DFE_LLD_SRCREV}"
+PE = "1"
 
-PV = "1.0.0.9A"
 INC_PR = "r0"
 
 COMPATIBLE_MACHINE = "k2l"
 
-S = "${WORKDIR}/${DFE_LLD_GIT_DESTSUFFIX}"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH 00/42] Unify PDK sources

2019-11-15 Thread Jacob Stiffler
The PDK sources have been unified in a single git repository. To
simplify maintenance, a bbclass is added to specify the source
information. This class also extends the unpack task so that each
recipe is only presented with its component sources. This leaves
subsequent tasks (do_compile, etc) identical to previous sources.

Changes from RFC:
* Use real SRC_URI information.
* In recipes, move setting of TI_PDK_COMP closer to inheriting
  ti-pdk-fetch.
* When LIC_FILES_CHKSUM change, mention in the commit log that it was
  due to a change in the path.

Jacob Stiffler (42):
  ti-pdk-fetch: add class for common pdk sources
  aif2-lld: migrate to ti-pdk-fetch.bbclass
  bcp-lld: migrate to ti-pdk-fetch.bbclass
  board-rtos: migrate to ti-pdk-fetch.bbclass
  cppi-lld: migrate to ti-pdk-fetch.bbclass
  dfe-lld: migrate to ti-pdk-fetch.bbclass
  emac-lld: migrate to ti-pdk-fetch.bbclass
  fatfs-rtos: migrate to ti-pdk-fetch.bbclass
  fftc-lld: migrate to ti-pdk-fetch.bbclass
  gpio-lld: migrate to ti-pdk-fetch.bbclass
  gpmc-lld: migrate to ti-pdk-fetch.bbclass
  hyplnk-lld: migrate to ti-pdk-fetch.bbclass
  i2c-lld: migrate to ti-pdk-fetch.bbclass
  icss-emac-lld: migrate to ti-pdk-fetch.bbclass
  ipc-lld: migrate to ti-pdk-fetch.bbclass
  iqn2-lld: migrate to ti-pdk-fetch.bbclass
  mcasp-lld: migrate to ti-pdk-fetch.bbclass
  mcbsp-lld: migrate to ti-pdk-fetch.bbclass
  mmcsd-lld: migrate to ti-pdk-fetch.bbclass
  nwal-lld: migrate to ti-pdk-fetch.bbclass
  osal: migrate to ti-pdk-fetch.bbclass
  pa-lld: migrate to ti-pdk-fetch.bbclass
  pcie-lld: migrate to ti-pdk-fetch.bbclass
  pru: migrate to ti-pdk-fetch.bbclass
  prueth-fw: migrate to ti-pdk-fetch.bbclass
  pruss-lld: migrate to ti-pdk-fetch.bbclass
  qmss-lld: migrate to ti-pdk-fetch.bbclass
  rm-lld: migrate to ti-pdk-fetch.bbclass
  sciclient: migrate to ti-pdk-fetch.bbclass
  spi-lld: migrate to ti-pdk-fetch.bbclass
  srio-lld: migrate to ti-pdk-fetch.bbclass
  tcp3d-lld: migrate to ti-pdk-fetch.bbclass
  transport-rtos: migrate to ti-pdk-fetch.bbclass
  tsip-lld: migrate to ti-pdk-fetch.bbclass
  uart-lld: migrate to ti-pdk-fetch.bbclass
  udma-lld: migrate to ti-pdk-fetch.bbclass
  usb-lld: migrate to ti-pdk-fetch.bbclass
  utils-rtos: migrate to ti-pdk-fetch.bbclass
  ti-pdk-build: migrate to ti-pdk-fetch.bbclass
  cal-lld: TI RTOS low level driver for CAL
  fvid2: TI RTOS Video Driver Interface
  iolink-lld: TI RTOS low level driver for IO-Link Master

 classes/ti-pdk-fetch.bbclass | 31 ++
 recipes-bsp/aif2-lld/aif2-lld.inc| 14 +
 recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb  | 20 ++
 recipes-bsp/board-rtos/board-rtos_git.bb | 16 ++---
 recipes-bsp/cal-lld/cal-lld-rtos_git.bb  | 78 
 recipes-bsp/cppi-lld/cppi-lld.inc| 14 +
 recipes-bsp/dfe-lld/dfe-lld.inc  | 14 +
 recipes-bsp/emac-lld/emac-lld.inc| 13 +---
 recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb | 18 ++
 recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb| 22 ++-
 recipes-bsp/fvid2/fvid2-rtos_git.bb  | 70 +
 recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb| 20 ++
 recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb| 17 ++
 recipes-bsp/hyplnk-lld/hyplnk-lld.inc| 16 ++---
 recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb  | 19 ++
 recipes-bsp/icss-emac-lld/icss-emac-lld.inc  | 20 +-
 recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb| 33 ++
 recipes-bsp/ipc-lld/ipc-lld.inc  | 20 ++
 recipes-bsp/iqn2-lld/iqn2-lld.inc| 14 +
 recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb  | 19 ++
 recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb  | 20 ++
 recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb  | 19 ++
 recipes-bsp/nwal-lld/nwal-lld.inc| 15 ++---
 recipes-bsp/osal/osal-rtos_git.bb|  2 -
 recipes-bsp/osal/osal-test_git.bb|  2 -
 recipes-bsp/osal/osal.inc| 14 ++---
 recipes-bsp/osal/osal_git.bb |  2 -
 recipes-bsp/pa-lld/pa-lld.inc| 14 +
 recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb| 20 ++
 recipes-bsp/pru/pru-pwm-fw_git.bb| 11 ++--
 recipes-bsp/pru/pru-swuart-fw_git.bb | 12 ++--
 recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb |  6 +-
 recipes-bsp/prueth-fw/prueth-fw_git.bb   |  7 ++-
 recipes-bsp/pruss-lld/pruss-lld-apps_git.bb  |  2 -
 recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb  |  2 -
 recipes-bsp/pruss-lld/pruss-lld-test_git.bb  |  2 -
 recipes-bsp/pruss-lld/pruss-lld.inc  | 13 +---
 recipes-bsp/pruss-lld/pruss-lld_git.bb   |  2 -
 recipes-bsp/qmss-lld/qmss-lld.inc| 14 +
 recipes-bsp/rm-lld/rm-lld.inc| 14 +
 recipes-bsp/sciclient/sciclient-rtos_git.bb  | 20 ++
 recipes-bsp/spi-lld

[meta-ti] [master/thud][PATCH 01/42] ti-pdk-fetch: add class for common pdk sources

2019-11-15 Thread Jacob Stiffler
Recently individual components and LLD sources have been combined
into a single PDK repo. Use this class to specify the common source.
Also use this class to keep the sources separate from each other when
building. This keeps the build identical to previous recipes while
keeping control on interdependencies.

Signed-off-by: Jacob Stiffler 
---
 classes/ti-pdk-fetch.bbclass | 31 +++
 1 file changed, 31 insertions(+)
 create mode 100644 classes/ti-pdk-fetch.bbclass

diff --git a/classes/ti-pdk-fetch.bbclass b/classes/ti-pdk-fetch.bbclass
new file mode 100644
index 000..6e36e3b
--- /dev/null
+++ b/classes/ti-pdk-fetch.bbclass
@@ -0,0 +1,31 @@
+TI_PDK_GIT_URI ?= "git://git.ti.com/processor-sdk/pdk.git"
+TI_PDK_GIT_BRANCH ?= "master"
+TI_PDK_GIT_PROTOCOL ?= "git"
+TI_PDK_SRCREV ?= "a609fa636c4d899e5dd3d7a89a1c070b854849b0"
+
+TI_PDK_VERSION ?= "2019.11.0+git${SRCPV}"
+
+TI_PDK_SRC = "_tmp_pdk"
+SRC_URI = 
"${TI_PDK_GIT_URI};branch=${TI_PDK_GIT_BRANCH};protocol=${TI_PDK_GIT_PROTOCOL};destsuffix=${TI_PDK_SRC}"
+SRCREV = "${TI_PDK_SRCREV}"
+
+PV = "${TI_PDK_VERSION}"
+
+TI_PDK_COMP ?= ""
+TI_PDK_COMP_PATH = "${@'${TI_PDK_COMP}'.replace('.','/')}"
+
+S = "${WORKDIR}/git/${TI_PDK_COMP_PATH}"
+
+# Extract only required sources from PDK
+python do_unpack_append() {
+if len(d.getVar('TI_PDK_COMP') or '') > 0:
+import subprocess
+
+src = 
os.path.join(d.getVar('TI_PDK_SRC'),'packages',d.getVar('TI_PDK_COMP_PATH'))
+
+# Package up only the required sources
+cmd = 'tar -cf - -C %s -p -S . | tar -xf - -C %s' % (src, 
d.getVar('S'))
+subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT)
+
+bb.utils.remove(d.getVar('TI_PDK_SRC'), recurse=True)
+}
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [master/thud][RFC 00/42] Unify PDK sources

2019-11-11 Thread Jacob Stiffler



On 11/8/2019 3:00 PM, Denys Dmytriyenko wrote:

On Thu, Nov 07, 2019 at 12:49:55PM -0500, Jacob Stiffler wrote:

The PDK sources have been unified in a single git repository. To
simplify maintenance, a bbclass is added to specify the source
information. This class also extends the unpack task so that each
recipe is only presented with its component sources. This leaves
subsequent tasks (do_compile, etc) identical to previous sources.

The source repo is not yet available, so submit as an RFC for now.

Overall seems fine, but not clear about the version strategy - most recipes
drop PV and bump PE, but not all. How would that be handled? Also, not clear
about the licensing - will it be the same for entire PDK? I noticed at least
one recipe changed LIC_FILES_CHKSUM w/o details...



There will be a common version across these recipes, aand this will be 
set in the ti-pdk-fetch.bbclass. I will look back over these to check 
for consistency. As for the specific version, I will check with the team.


For now, these recipes will retain the individual licenses. The only 
change to LIC_FILES_CHKSUM should have been the path prefix. This change 
was necessary due to the new fetch/unpack methods. Neither the files nor 
the checksums should have changed.



--
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 40/42] cal-lld: TI RTOS low level driver for CAL

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/cal-lld/cal-lld-rtos_git.bb | 76 +
 1 file changed, 76 insertions(+)
 create mode 100644 recipes-bsp/cal-lld/cal-lld-rtos_git.bb

diff --git a/recipes-bsp/cal-lld/cal-lld-rtos_git.bb 
b/recipes-bsp/cal-lld/cal-lld-rtos_git.bb
new file mode 100644
index 000..8c6fe13
--- /dev/null
+++ b/recipes-bsp/cal-lld/cal-lld-rtos_git.bb
@@ -0,0 +1,76 @@
+SUMMARY = "TI RTOS low level driver for CAL"
+
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
+
+require recipes-ti/includes/ti-paths-append.inc
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"file://cal.h;beginline=1;endline=31;md5=83d177cf3df55c16b27ae4102b6ade9a"
+
+COMPATIBLE_MACHINE = "k3"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+
+PR = "r0"
+
+DEPENDS_append = " osal-rtos \
+   fvid2-rtos \
+"
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+CAL_PACKAGE_BASE   = "${WORKDIR}/cal_base"
+CAL_LLD_ROOTPATH = "${CAL_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/cal"
+
+export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
+export PDK_CAL_ROOT_PATH = "${CAL_PACKAGE_BASE}/package/all/pdk_/packages"
+
+LIMSOCS = ""
+LIMSOCS_am65xx-evm = "am65xx"
+LIMSOCS_am65xx-hs-evm = "am65xx"
+
+LIMBOARDS = ""
+LIMBOARDS_am65xx-evm = "am65xx_evm"
+LIMBOARDS_am65xx-hs-evm = "am65xx_evm"
+
+BOARD_PACKAGE = ""
+BOARD_PACKAGE_am65xx-evm = "am65xx_evm"
+BOARD_PACKAGE_am65xx-hs-evm = "am65xx_evm"
+
+# HTML doc link params
+PDK_COMP_LINK_TEXT = "CAL"
+
+do_configure() {
+rm -rf ${CAL_PACKAGE_BASE}
+cd ${S}
+
+# remove any previous package
+rm -f ${CAL_PACKAGE_BASE}
+
+# make the release package before building it
+make package BOARD=${BOARD_PACKAGE} DEST_ROOT=${CAL_PACKAGE_BASE} 
PDK_CAL_COMP_PATH=${S}
+}
+
+do_compile() {
+echo "cal lld root path is ${CAL_LLD_ROOTPATH}"
+cd ${CAL_LLD_ROOTPATH}
+
+# Build am65xx libraries
+make clean lib xdc_meta doxygen LIMIT_SOCS="${LIMSOCS}" 
LIMIT_BOARDS="${LIMBOARDS}"
+
+#archive
+tar -cf cal_lld.tar --exclude='*.tar' ./*
+}
+
+do_install() {
+cd ${CAL_LLD_ROOTPATH}
+install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/cal
+find -name "*.tar" -exec tar xf {} --no-same-owner -C 
${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/cal \;
+}
+
+FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
+
+INSANE_SKIP_${PN} = "arch ldflags"
+TI_PDK_COMP = "ti.drv.cal"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 42/42] iolink-lld: TI RTOS low level driver for IO-Link Master

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb | 31 +++
 1 file changed, 31 insertions(+)
 create mode 100644 recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb

diff --git a/recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb 
b/recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb
new file mode 100644
index 000..154ffeb
--- /dev/null
+++ b/recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb
@@ -0,0 +1,31 @@
+SUMMARY = "TI RTOS low level driver for IO-Link Master"
+
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"file://IOLINK.h;beginline=1;endline=32;md5=da669339a4b8594ed3edbe7ca30c726e"
+
+COMPATIBLE_MACHINE = "ti43x"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+PR = "r2"
+
+DEPENDS_append = " osal-rtos \
+"
+DEPENDS_append_ti43x = " starterware-rtos \
+ pruss-lld-rtos \
+"
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+
+export PDK_IOLINK_ROOT_PATH ="${WORKDIR}/build"
+export DEST_ROOT="${S}"
+
+INSANE_SKIP_${PN} = "arch"
+
+# HTML doc link params
+PDK_COMP_LINK_TEXT = "IOLINK LLD"
+TI_PDK_COMP = "ti.drv.iolink"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 33/42] transport-rtos: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb  |  4 +--
 recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb |  4 +--
 recipes-bsp/transport-rtos/nimu-rtos_git.bb  |  4 +--
 recipes-bsp/transport-rtos/timesync-rtos_git.bb  | 32 
 recipes-bsp/transport-rtos/transport.inc | 14 +++
 5 files changed, 38 insertions(+), 20 deletions(-)
 create mode 100644 recipes-bsp/transport-rtos/timesync-rtos_git.bb

diff --git a/recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb 
b/recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb
index 137476e..f14161f 100644
--- a/recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb
+++ b/recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb
@@ -13,9 +13,7 @@ DEPENDS_append = " qmss-lld-rtos \
cppi-lld-rtos \
 "
 
-BMET_ETH_DESTSUFFIX = "git/bmet_eth"
-
-S = "${WORKDIR}/${BMET_ETH_DESTSUFFIX}"
+TI_PDK_COMP = "ti.transport.bmet_eth"
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "Baremetal Ethernet Transport"
diff --git a/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb 
b/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb
index 4750e04..02ddc47 100644
--- a/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb
+++ b/recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb
@@ -17,13 +17,11 @@ DEPENDS_append_c665x-evm = " emac-lld-rtos"
 DEPENDS_append_c667x-evm = " pa-lld-rtos"
 DEPENDS_append_omapl1 = " emac-lld-rtos"
 
-NIMU_ICSS_DESTSUFFIX = "git/ndk/nimu_icss"
+TI_PDK_COMP = "ti.transport.ndk.nimu_icss"
 
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
 
-S = "${WORKDIR}/${NIMU_ICSS_DESTSUFFIX}"
-
 export PDK_NIMU_ICSS_ROOT_PATH ="${WORKDIR}/build"
 export DEST_ROOT="${S}"
 
diff --git a/recipes-bsp/transport-rtos/nimu-rtos_git.bb 
b/recipes-bsp/transport-rtos/nimu-rtos_git.bb
index 1e3bc18..4389b1e 100644
--- a/recipes-bsp/transport-rtos/nimu-rtos_git.bb
+++ b/recipes-bsp/transport-rtos/nimu-rtos_git.bb
@@ -9,9 +9,7 @@ LIC_FILES_CHKSUM = 
"file://nimu_eth.h;beginline=1;endline=35;md5=ee9c662c39d4584
 
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1|k3"
 
-NIMU_DESTSUFFIX = "git/ndk/nimu"
-
-S = "${WORKDIR}/${NIMU_DESTSUFFIX}"
+TI_PDK_COMP = "ti.transport.ndk.nimu"
 
 DEPENDS_append = " ti-ndk osal-rtos"
 DEPENDS_append_ti33x = " starterware-rtos emac-lld-rtos"
diff --git a/recipes-bsp/transport-rtos/timesync-rtos_git.bb 
b/recipes-bsp/transport-rtos/timesync-rtos_git.bb
new file mode 100644
index 000..e39096a
--- /dev/null
+++ b/recipes-bsp/transport-rtos/timesync-rtos_git.bb
@@ -0,0 +1,32 @@
+SUMMARY = "RTOS driver for timesync driver"
+
+inherit ti-pdk
+require recipes-ti/includes/ti-paths-append.inc
+require recipes-bsp/transport-rtos/transport.inc
+
+PR = "${INC_PR}.0"
+
+LIC_FILES_CHKSUM = 
"file://timeSync_ver.h;beginline=23;endline=45;md5=4bd873035e47065aaa811e53622992e9"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"
+
+DEPENDS_append = " ti-ndk \
+   osal-rtos \
+   pruss-lld-rtos \
+   icss-emac-lld-rtos \
+   nimu-icss-rtos \
+   edma3-lld-rtos \
+"
+
+TI_PDK_COMP = "ti.transport.timeSync"
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+export PDK_TIMESYNC_ROOT_PATH ="${WORKDIR}/build"
+export DEST_ROOT="${S}"
+
+export NDK_INSTALL_PATH = "${NDK_INSTALL_DIR}"
+export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
+
+XDCPATH_append = ";${NDK_INSTALL_DIR}/packages"
diff --git a/recipes-bsp/transport-rtos/transport.inc 
b/recipes-bsp/transport-rtos/transport.inc
index 345cd6d..2d6c8d6 100644
--- a/recipes-bsp/transport-rtos/transport.inc
+++ b/recipes-bsp/transport-rtos/transport.inc
@@ -2,16 +2,8 @@ LICENSE = "BSD-3-Clause"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-TRANSPORT_GIT_URI = "git://git.ti.com/keystone-rtos/transport.git"
-TRANSPORT_GIT_PROTOCOL = "git"
-TRANSPORT_GIT_BRANCH = "master"
+inherit ti-pdk-fetch
+PE = "1"
 
-# Below commit ID corresponds to "DEV.TRANSPORT.01.00.00.17A"
-TRANSPORT_SRCREV = "9ed171c476a5606777d2dcb4e831c279a5160245"
-
-BRANCH = "${TRANSPORT_GIT_BRANCH}"
-SRC_URI = 
"${TRANSPORT_GIT_URI};protocol=${TRANSPORT_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${TRANSPORT_SRCREV}"
-PV = "01.00.00.17A"
 INC_PR = "r0"
+TI_PDK_COMP = "ti.transport"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 39/42] ti-pdk-build: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb | 19 +++
 1 file changed, 3 insertions(+), 16 deletions(-)

diff --git a/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb 
b/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb
index 6667fe0..49d6c1b 100644
--- a/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb
+++ b/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb
@@ -4,28 +4,14 @@ LIC_FILES_CHKSUM = 
"file://COPYING.txt;beginline=1;endline=31;md5=92ab6f5e10f150
 
 require recipes-ti/includes/ti-paths.inc
 
-PV = "01.00.00.14B"
 PR = "r0"
 
-PDK_BUILD_GIT_URI = "git://git.ti.com/keystone-rtos/processor-pdk-build.git"
-PDK_BUILD_GIT_PROTOCOL = "git"
-PDK_BUILD_GIT_BRANCH = "master"
-
-# Below Commit ID corresponds to "DEV.PDK_BUILD.01.00.00.14B"
-PDK_BUILD_SRCREV = "ace03765311d61234e86f6ba04912ab808d37d30"
-
-BRANCH = "${PDK_BUILD_GIT_BRANCH}"
-SRC_URI = "\
-${PDK_BUILD_GIT_URI};protocol=${PDK_BUILD_GIT_PROTOCOL};branch=${BRANCH} \
-"
-
-SRCREV = "${PDK_BUILD_SRCREV}"
+inherit ti-pdk-fetch
+PE = "1"
 
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-S = "${WORKDIR}/git/"
-
 PARALLEL_MAKE = ""
 CLEANBROKEN = "1"
 
@@ -41,3 +27,4 @@ do_install() {
 
 FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/*"
 INSANE_SKIP_${PN} += " file-rdeps"
+TI_PDK_COMP = "ti.build"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 31/42] srio-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/srio-lld/srio-lld.inc | 16 +++-
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/srio-lld/srio-lld.inc 
b/recipes-bsp/srio-lld/srio-lld.inc
index 0512f0f..90b86c8 100644
--- a/recipes-bsp/srio-lld/srio-lld.inc
+++ b/recipes-bsp/srio-lld/srio-lld.inc
@@ -3,24 +3,14 @@ LIC_FILES_CHKSUM = 
"file://${WORKDIR}/git/ti/drv/srio/srio_drv.h;beginline=1;end
 
 COMPATIBLE_MACHINE = "k2hk"
 
-SRIO_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/srio-lld.git"
-SRIO_LLD_GIT_PROTOCOL = "git"
-SRIO_LLD_GIT_BRANCH = "master"
-SRIO_LLD_GIT_DESTSUFFIX = "git/ti/drv/srio"
+inherit ti-pdk-fetch
+PE = "1"
 
-# commit ID corresponding to "DEV.SRIO_LLD.02.00.00.17A"
-SRIO_LLD_SRCREV = "8f230bda0a5a4c510101834bb7bb403182ac2ed8"
-
-BRANCH = "${SRIO_LLD_GIT_BRANCH}"
-SRC_URI = 
"${SRIO_LLD_GIT_URI};destsuffix=${SRIO_LLD_GIT_DESTSUFFIX};protocol=${SRIO_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${SRIO_LLD_SRCREV}"
-
-PV = "02.00.00.17A"
 INC_PR = "r0"
 
 DEVICELIST = "k2h k2k"
 
 BASEDIR = "${WORKDIR}/git"
-S = "${BASEDIR}/ti/drv/srio"
 
 EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
+TI_PDK_COMP = "ti.drv.srio"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 41/42] fvid2: TI RTOS Video Driver Interface

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/fvid2/fvid2-rtos_git.bb | 68 +
 1 file changed, 68 insertions(+)
 create mode 100755 recipes-bsp/fvid2/fvid2-rtos_git.bb

diff --git a/recipes-bsp/fvid2/fvid2-rtos_git.bb 
b/recipes-bsp/fvid2/fvid2-rtos_git.bb
new file mode 100755
index 000..491e6b2
--- /dev/null
+++ b/recipes-bsp/fvid2/fvid2-rtos_git.bb
@@ -0,0 +1,68 @@
+SUMMARY = "TI RTOS Video Driver Interface"
+
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
+
+require recipes-ti/includes/ti-paths-append.inc
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"file://fvid2.h;beginline=1;endline=31;md5=83d177cf3df55c16b27ae4102b6ade9a"
+
+COMPATIBLE_MACHINE = "k3"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+PR = "r0"
+
+DEPENDS_append = " osal-rtos \
+"
+
+# Build with make instead of XDC
+TI_PDK_XDCMAKE = "0"
+
+FVID2_PACKAGE_BASE   = "${WORKDIR}/fvid2_base"
+FVID2_ROOTPATH = "${FVID2_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/fvid2"
+
+export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
+export PDK_FVID2_ROOT_PATH = "${FVID2_PACKAGE_BASE}/package/all/pdk_/packages"
+
+
+BOARD_PACKAGE = ""
+BOARD_PACKAGE_am65xx-evm = "am65xx_evm"
+BOARD_PACKAGE_am65xx-hs-evm = "am65xx_evm"
+BOARD_PACKAGE_j7-evm = "j721e_evm"
+
+# HTML doc link params
+PDK_COMP_LINK_TEXT = "FVID2"
+
+do_configure() {
+rm -rf ${FVID2_PACKAGE_BASE}
+cd ${S}
+
+# remove any previous package
+rm -f ${FVID2_PACKAGE_BASE}
+
+# make the release package before building it
+make package BOARD=${BOARD_PACKAGE} DEST_ROOT=${FVID2_PACKAGE_BASE} 
PDK_FVID2_COMP_PATH=${S}
+}
+
+do_compile() {
+echo "fvid2 root path is ${FVID2_ROOTPATH}"
+cd ${FVID2_ROOTPATH}
+
+# Build am65xx libraries
+make clean lib xdc_meta LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" 
LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}"  LIMIT_CORES="${TI_PDK_LIMIT_CORES}"
+
+#archive
+tar -cf fvid2.tar --exclude='*.tar' ./*
+}
+
+do_install() {
+cd ${FVID2_ROOTPATH}
+install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/fvid2
+find -name "*.tar" -exec tar xf {} --no-same-owner -C 
${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/fvid2 \;
+}
+
+FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
+
+INSANE_SKIP_${PN} = "arch ldflags"
+TI_PDK_COMP = "ti.drv.fvid2"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 32/42] tcp3d-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb | 19 +++
 1 file changed, 3 insertions(+), 16 deletions(-)

diff --git a/recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb 
b/recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb
index 31922c2..5428cc9 100644
--- a/recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb
+++ b/recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI third generation Turbo Coprocessor (TCP3) low level driver"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://tcp3dver.h;beginline=1;endline=47;md5=3fe46c6320fb9ca4ac6692961402beb7"
@@ -8,23 +9,8 @@ LIC_FILES_CHKSUM = 
"file://tcp3dver.h;beginline=1;endline=47;md5=3fe46c6320fb9ca
 COMPATIBLE_MACHINE = "k2hk|k2l|c66x"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-TCP3D_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/tcp3d-lld.git"
-TCP3D_LLD_GIT_PROTOCOL = "git"
-TCP3D_LLD_GIT_BRANCH = "master"
-TCP3D_LLD_GIT_DESTSUFFIX = "git/ti/drv/bcp"
-
-# Below commit ID corresponds to "DEV.TCP3D_LLD.02.01.00.06B"
-TCP3D_LLD_SRCREV = "a8b3791044edf632e8348cdbd287d48a754d11ac"
-
-BRANCH = "${TCP3D_LLD_GIT_BRANCH}"
-SRC_URI = 
"${TCP3D_LLD_GIT_URI};destsuffix=${TCP3D_LLD_GIT_DESTSUFFIX};protocol=${TCP3D_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${TCP3D_LLD_SRCREV}"
-PV = "02.01.00.06B"
 PR = "r0"
 
-S = "${WORKDIR}/${TCP3D_LLD_GIT_DESTSUFFIX}"
-
 DEPENDS_append = " edma3-lld-rtos"
 
 export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
@@ -32,3 +18,4 @@ XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "TCP3D LLD"
+TI_PDK_COMP = "ti.drv.tcp3d"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 38/42] utils-rtos: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/utils-rtos/profiling-rtos_git.bb | 16 +++-
 recipes-bsp/utils-rtos/trace-rtos_git.bb | 16 +++-
 2 files changed, 6 insertions(+), 26 deletions(-)

diff --git a/recipes-bsp/utils-rtos/profiling-rtos_git.bb 
b/recipes-bsp/utils-rtos/profiling-rtos_git.bb
index 134a0f9..27a4f45 100644
--- a/recipes-bsp/utils-rtos/profiling-rtos_git.bb
+++ b/recipes-bsp/utils-rtos/profiling-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI RTOS profiling utilities"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://profilingver.h;beginline=1;endline=46;md5=974494ad60f33cfc0340e421c5a5a7a0"
@@ -8,21 +9,9 @@ LIC_FILES_CHKSUM = 
"file://profilingver.h;beginline=1;endline=46;md5=974494ad60f
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-PROFILING_GIT_URI = "git://git.ti.com/keystone-rtos/utils.git"
-PROFILING_GIT_PROTOCOL = "git"
-PROFILING_GIT_BRANCH = "master"
 
-# Below commit ID corresponds to "DEV.UTILS.01.00.00.10"
-PROFILING_SRCREV = "dbd2683d80326165d078282b1ef7dce44667e972"
-
-BRANCH = "${PROFILING_GIT_BRANCH}"
-SRC_URI = 
"${PROFILING_GIT_URI};protocol=${PROFILING_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${PROFILING_SRCREV}"
-PV = "01.00.00.10"
 PR = "r0"
 
-S = "${WORKDIR}/git/profiling"
 
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
@@ -32,3 +21,4 @@ export DEST_ROOT="${S}"
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "Profiling Utility Library"
+TI_PDK_COMP = "ti.utils.profiling"
diff --git a/recipes-bsp/utils-rtos/trace-rtos_git.bb 
b/recipes-bsp/utils-rtos/trace-rtos_git.bb
index 48b3bf2..c63bc17 100644
--- a/recipes-bsp/utils-rtos/trace-rtos_git.bb
+++ b/recipes-bsp/utils-rtos/trace-rtos_git.bb
@@ -2,7 +2,8 @@ SUMMARY = "TI RTOS Trace utility"
 
 DESCRIPTION = "This utility allows for tracing support in PDK drivers"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://tracever.h;beginline=19;endline=47;md5=983f531ecfc9fc8c4bc3af9333ab6696"
@@ -10,21 +11,9 @@ LIC_FILES_CHKSUM = 
"file://tracever.h;beginline=19;endline=47;md5=983f531ecfc9fc
 COMPATIBLE_MACHINE = "k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-TRACE_GIT_URI = "git://git.ti.com/keystone-rtos/utils.git"
-TRACE_GIT_PROTOCOL = "git"
-TRACE_GIT_BRANCH = "master"
 
-# Below commit ID corresponds to "DEV.UTILS.01.00.00.09"
-TRACE_SRCREV = "84802d7a787a53f33a24254069c90208c5d87d1e"
-
-BRANCH = "${TRACE_GIT_BRANCH}"
-SRC_URI = "${TRACE_GIT_URI};protocol=${TRACE_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${TRACE_SRCREV}"
-PV = "01.00.00.09"
 PR = "r0"
 
-S = "${WORKDIR}/git/trace"
 
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
@@ -34,3 +23,4 @@ export DEST_ROOT="${S}"
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "Trace Utility"
+TI_PDK_COMP = "ti.utils.trace"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 35/42] uart-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/uart-lld/uart-lld-rtos_git.bb | 16 +++-
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/uart-lld/uart-lld-rtos_git.bb 
b/recipes-bsp/uart-lld/uart-lld-rtos_git.bb
index f279a67..9cf7b4d 100644
--- a/recipes-bsp/uart-lld/uart-lld-rtos_git.bb
+++ b/recipes-bsp/uart-lld/uart-lld-rtos_git.bb
@@ -1,7 +1,8 @@
 SUMMARY = "TI RTOS low level driver for UART"
 DESCRIPTION = "TI RTOS low level driver for Universal Asynchronous 
Receiver/Transmitter (UART) module "
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://COPYING.txt;beginline=1;endline=31;md5=94b6a199da1caf777f6756cb70aca4a7"
@@ -9,18 +10,6 @@ LIC_FILES_CHKSUM = 
"file://COPYING.txt;beginline=1;endline=31;md5=94b6a199da1caf
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-UART_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/uart-lld.git"
-UART_LLD_GIT_PROTOCOL = "git"
-UART_LLD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.UART_LLD.01.00.00.16B"
-UART_LLD_SRCREV = "227feb6e1da72bf0a785d95b7aaffd3216885f95"
-
-BRANCH = "${UART_LLD_GIT_BRANCH}"
-SRC_URI = 
"${UART_LLD_GIT_URI};protocol=${UART_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${UART_LLD_SRCREV}"
-PV = "01.00.00.16B"
 PR = "r0"
 
 DEPENDS_append = " edma3-lld-rtos \
@@ -47,3 +36,4 @@ XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
 PDK_COMP_LINK_TEXT = "UART LLD"
 
 INSANE_SKIP_${PN} = "arch"
+TI_PDK_COMP = "ti.drv.uart"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 36/42] udma-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/udma-lld/udma-lld-rtos_git.bb | 18 --
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/recipes-bsp/udma-lld/udma-lld-rtos_git.bb 
b/recipes-bsp/udma-lld/udma-lld-rtos_git.bb
index c3352c1..8a58764 100644
--- a/recipes-bsp/udma-lld/udma-lld-rtos_git.bb
+++ b/recipes-bsp/udma-lld/udma-lld-rtos_git.bb
@@ -1,7 +1,8 @@
 SUMMARY = "TI RTOS low level driver for UDMA"
 DESCRIPTION = "TI RTOS low level driver for Universal DMA module "
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://udma.h;beginline=1;endline=31;md5=83d177cf3df55c16b27ae4102b6ade9a"
@@ -9,18 +10,6 @@ LIC_FILES_CHKSUM = 
"file://udma.h;beginline=1;endline=31;md5=83d177cf3df55c16b27
 COMPATIBLE_MACHINE = "k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-UDMA_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/udma-lld.git"
-UDMA_LLD_GIT_PROTOCOL = "git"
-UDMA_LLD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.UDMA_LLD.01.00.00.04"
-UDMA_LLD_SRCREV = "67edfa436beb3362051a097b456ba07c95faa4a6"
-
-BRANCH = "${UDMA_LLD_GIT_BRANCH}"
-SRC_URI = 
"${UDMA_LLD_GIT_URI};protocol=${UDMA_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${UDMA_LLD_SRCREV}"
-PV = "01.00.00.04"
 PR = "r0"
 
 DEPENDS_append = " osal-rtos \
@@ -30,7 +19,7 @@ DEPENDS_append = " osal-rtos \
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
 
-UDMA_PACKAGE_BASE   = "${S}/../udma_base"
+UDMA_PACKAGE_BASE   = "${WORKDIR}/udma_base"
 UDMA_LLD_ROOTPATH = 
"${UDMA_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/udma"
 
 export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
@@ -71,3 +60,4 @@ do_install() {
 FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
 
 INSANE_SKIP_${PN} = "arch ldflags"
+TI_PDK_COMP = "ti.drv.udma"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 34/42] tsip-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb | 16 +++-
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb 
b/recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb
index 6da80dd..de6f4ee 100644
--- a/recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb
+++ b/recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI RTOS low level driver for Telecom Serial Interface Port (TSIP)"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://tsip.h;beginline=1;endline=32;md5=dab2257b0b8a3678c26915f6eb49b71e"
@@ -8,19 +9,8 @@ LIC_FILES_CHKSUM = 
"file://tsip.h;beginline=1;endline=32;md5=dab2257b0b8a3678c26
 COMPATIBLE_MACHINE = "k2e|c667x-evm"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-TSIP_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/tsip-lld.git"
-TSIP_LLD_GIT_PROTOCOL = "git"
-TSIP_LLD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.TSIP_LLD.01.00.00.08A"
-TSIP_LLD_SRCREV = "368ff5fbd963f4b5d5c81bbfaf3daca23beb2a87"
-
-BRANCH = "${TSIP_LLD_GIT_BRANCH}"
-SRC_URI = 
"${TSIP_LLD_GIT_URI};protocol=${TSIP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${TSIP_LLD_SRCREV}"
-PV = "01.00.00.08A"
 PR = "r0"
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "TSIP LLD"
+TI_PDK_COMP = "ti.drv.tsip"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 37/42] usb-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/usb-lld/usb-lld-rtos_git.bb | 16 +++-
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/usb-lld/usb-lld-rtos_git.bb 
b/recipes-bsp/usb-lld/usb-lld-rtos_git.bb
index 6a212e3..3a0f5ee 100644
--- a/recipes-bsp/usb-lld/usb-lld-rtos_git.bb
+++ b/recipes-bsp/usb-lld/usb-lld-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI RTOS USB low level driver"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://USBver.h;beginline=16;endline=46;md5=5394fa32763383d2c8e2aca5a1c67805"
@@ -8,18 +9,6 @@ LIC_FILES_CHKSUM = 
"file://USBver.h;beginline=16;endline=46;md5=5394fa32763383d2
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-USB_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/usb.git"
-USB_LLD_GIT_PROTOCOL = "git"
-USB_LLD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.USB_LLD.01.00.00.19"
-USB_LLD_SRCREV = "1304fbdc7e0d67dd3722ac1a450a547a5d82d20a"
-
-BRANCH = "${USB_LLD_GIT_BRANCH}"
-SRC_URI = 
"${USB_LLD_GIT_URI};protocol=${USB_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${USB_LLD_SRCREV}"
-PV = "01.00.00.19"
 PR = "r0"
 
 DEPENDS_append = " osal-rtos"
@@ -35,3 +24,4 @@ export DEST_ROOT="${S}"
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "USB LLD"
+TI_PDK_COMP = "ti.drv.usb"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 20/42] nwal-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/nwal-lld/nwal-lld.inc | 17 -
 1 file changed, 4 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/nwal-lld/nwal-lld.inc 
b/recipes-bsp/nwal-lld/nwal-lld.inc
index 024aeef..7718554 100644
--- a/recipes-bsp/nwal-lld/nwal-lld.inc
+++ b/recipes-bsp/nwal-lld/nwal-lld.inc
@@ -1,28 +1,19 @@
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = 
"file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
 
 COMPATIBLE_MACHINE = "keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-NWAL_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/nwal-lld.git"
-NWAL_LLD_GIT_PROTOCOL = "git"
-NWAL_LLD_GIT_BRANCH = "master"
+inherit ti-pdk-fetch
+PE = "1"
 
-# Below commit ID corresponds to "DEV.NWAL.02.01.00.13"
-NWAL_LLD_SRCREV = "dd41b84a985ef2824068e57525158c350e0d51be"
-
-BRANCH = "${NWAL_LLD_GIT_BRANCH}"
-SRC_URI = 
"${NWAL_LLD_GIT_URI};protocol=${NWAL_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${NWAL_LLD_SRCREV}"
-
-PV = "02.01.00.13"
 INC_PR = "r0"
 
 BASEDIR = "${WORKDIR}/git"
-S = "${BASEDIR}/ti/drv/nwal"
 
 DEVICELIST_k2hk = "k2h k2k"
 DEVICELIST_k2l  = "k2l"
 DEVICELIST_k2e  = "k2e"
 
 CHOICELIST = "yes no"
+TI_PDK_COMP = "ti.drv.nwal"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 21/42] osal: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/osal/osal-rtos_git.bb |  2 --
 recipes-bsp/osal/osal-test_git.bb |  2 --
 recipes-bsp/osal/osal.inc | 16 
 recipes-bsp/osal/osal_git.bb  |  2 --
 4 files changed, 4 insertions(+), 18 deletions(-)

diff --git a/recipes-bsp/osal/osal-rtos_git.bb 
b/recipes-bsp/osal/osal-rtos_git.bb
index 62d1f99..a718f7c 100644
--- a/recipes-bsp/osal/osal-rtos_git.bb
+++ b/recipes-bsp/osal/osal-rtos_git.bb
@@ -5,8 +5,6 @@ PR = "${INC_PR}.0"
 
 COMPATIBLE_MACHINE_append = "|c66x|k3"
 
-S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
-
 DEPENDS_append_ti33x = " starterware-rtos"
 DEPENDS_append_ti43x = " starterware-rtos"
 
diff --git a/recipes-bsp/osal/osal-test_git.bb 
b/recipes-bsp/osal/osal-test_git.bb
index 58156e3..354aa79 100644
--- a/recipes-bsp/osal/osal-test_git.bb
+++ b/recipes-bsp/osal/osal-test_git.bb
@@ -6,8 +6,6 @@ include osal.inc
 
 PR = "${INC_PR}.1"
 
-S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
-
 EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} 
OSAL_SRC_DIR=${S}"
 
 do_compile () {
diff --git a/recipes-bsp/osal/osal.inc b/recipes-bsp/osal/osal.inc
index b0b015c..2cfe27b 100644
--- a/recipes-bsp/osal/osal.inc
+++ b/recipes-bsp/osal/osal.inc
@@ -4,17 +4,9 @@ LIC_FILES_CHKSUM = 
"file://osal.h;beginline=1;endline=31;md5=6fbde6922f8bca1e6cd
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-OSAL_GIT_URI = "git://git.ti.com/keystone-rtos/osal.git"
-OSAL_GIT_PROTOCOL = "git"
-OSAL_GIT_BRANCH = "master"
-OSAL_GIT_DESTSUFFIX = "git/ti/osal"
+inherit ti-pdk-fetch
+PE = "1"
 
-# Below commit ID corresponding to "DEV.OSAL.01.00.00.16B"
-OSAL_SRCREV = "b78489d9d78d9366f1865aa847b743b1b29f6fd4"
-
-BRANCH = "${OSAL_GIT_BRANCH}"
-SRC_URI = 
"${OSAL_GIT_URI};destsuffix=${OSAL_GIT_DESTSUFFIX};protocol=${OSAL_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${OSAL_SRCREV}"
-PV = "01.00.00.16B"
 INC_PR = "r0"
+
+TI_PDK_COMP = "ti.osal"
diff --git a/recipes-bsp/osal/osal_git.bb b/recipes-bsp/osal/osal_git.bb
index 8f58937..4f881d2 100644
--- a/recipes-bsp/osal/osal_git.bb
+++ b/recipes-bsp/osal/osal_git.bb
@@ -6,8 +6,6 @@ include osal.inc
 
 PR = "${INC_PR}.1"
 
-S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
-
 EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
 
 do_compile () {
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 19/42] mmcsd-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb | 17 +++--
 1 file changed, 3 insertions(+), 14 deletions(-)

diff --git a/recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb 
b/recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb
index e94d8c8..c9d9d12 100644
--- a/recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb
+++ b/recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI Multimedia card(MMC)/Secure Digital(SD) low level driver for 
RTOS "
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://MMCSD.h;beginline=1;endline=32;md5=f74069541d4d165a000a66b4043cb065"
@@ -8,22 +9,9 @@ LIC_FILES_CHKSUM = 
"file://MMCSD.h;beginline=1;endline=32;md5=f74069541d4d165a00
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-MMCSD_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/sd-mmc.git"
-MMCSD_LLD_GIT_PROTOCOL = "git"
-MMCSD_LLD_GIT_BRANCH = "master"
-MMCSD_LLD_GIT_DESTSUFFIX = "git/ti/drv/mmcsd"
 
-# Below commit ID corresponds to "DEV.MMCSD_LLD.01.00.00.17D"
-MMCSD_LLD_SRCREV = "d723e336b917989b08bef590c3e125010c0d3461"
-
-BRANCH = "${MMCSD_LLD_GIT_BRANCH}"
-SRC_URI = 
"${MMCSD_LLD_GIT_URI};destsuffix=${MMCSD_LLD_GIT_DESTSUFFIX};protocol=${MMCSD_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${MMCSD_LLD_SRCREV}"
-PV = "01.00.00.17D"
 PR = "r0"
 
-S = "${WORKDIR}/${MMCSD_LLD_GIT_DESTSUFFIX}"
 
 DEPENDS_append = " edma3-lld-rtos \
osal-rtos \
@@ -48,3 +36,4 @@ XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "MMCSD LLD"
+TI_PDK_COMP = "ti.drv.mmcsd"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 29/42] sciclient: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/sciclient/sciclient-rtos_git.bb | 18 --
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/recipes-bsp/sciclient/sciclient-rtos_git.bb 
b/recipes-bsp/sciclient/sciclient-rtos_git.bb
index bfaa84a..18f93bb 100644
--- a/recipes-bsp/sciclient/sciclient-rtos_git.bb
+++ b/recipes-bsp/sciclient/sciclient-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI RTOS low level driver for SCICLIENT"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://sciclient.h;beginline=1;endline=31;md5=7224b2eeca1444815f1737bfcdfa892a"
@@ -8,18 +9,6 @@ LIC_FILES_CHKSUM = 
"file://sciclient.h;beginline=1;endline=31;md5=7224b2eeca1444
 COMPATIBLE_MACHINE = "k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-SCICLIENT_GIT_URI = "git://git.ti.com/keystone-rtos/sciclient.git"
-SCICLIENT_GIT_PROTOCOL = "git"
-SCICLIENT_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.SCICLIENT.01.00.00.04"
-SCICLIENT_SRCREV = "287fe553ef548a60cce59e6a41d2e173ecbbc18a"
-
-BRANCH = "${SCICLIENT_GIT_BRANCH}"
-SRC_URI = 
"${SCICLIENT_GIT_URI};protocol=${SCICLIENT_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${SCICLIENT_SRCREV}"
-PV = "01.00.00.04"
 PR = "r0"
 
 DEPENDS_append = " osal-rtos common-csl-ip-rtos"
@@ -27,7 +16,7 @@ DEPENDS_append = " osal-rtos common-csl-ip-rtos"
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
 
-SCICLIENT_PACKAGE_BASE   = "${S}/../sciclient_base"
+SCICLIENT_PACKAGE_BASE = "${WORKDIR}/sciclient_base"
 SCICLIENT_ROOTPATH = 
"${SCICLIENT_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/sciclient"
 
 export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
@@ -79,3 +68,4 @@ FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
 INSANE_SKIP_${PN} = "arch ldflags file-rdeps"
 
 INSANE_SKIP_${PN}-dbg = "arch"
+TI_PDK_COMP = "ti.drv.sciclient"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 27/42] qmss-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/qmss-lld/qmss-lld.inc | 16 +++-
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/qmss-lld/qmss-lld.inc 
b/recipes-bsp/qmss-lld/qmss-lld.inc
index f42f16e..813fcca 100644
--- a/recipes-bsp/qmss-lld/qmss-lld.inc
+++ b/recipes-bsp/qmss-lld/qmss-lld.inc
@@ -4,19 +4,9 @@ LIC_FILES_CHKSUM = 
"file://${WORKDIR}/git/ti/drv/qmss/COPYING.txt;md5=cd04fb0870
 COMPATIBLE_MACHINE = "keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-QMSS_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/qmss-lld.git"
-QMSS_LLD_GIT_PROTOCOL = "git"
-QMSS_LLD_GIT_BRANCH = "master"
-QMSS_LLD_GIT_DESTSUFFIX = "git/ti/drv/qmss"
+inherit ti-pdk-fetch
+PE = "1"
 
-# Below commit ID corresponding to "DEV.QMSS_LLD.02.01.00.16A"
-QMSS_LLD_SRCREV = "7ca6e92b2081bd2eb64fa3dc9ca33df78b3ce292"
-
-BRANCH ="${QMSS_LLD_GIT_BRANCH}"
-SRC_URI = 
"${QMSS_LLD_GIT_URI};destsuffix=${QMSS_LLD_GIT_DESTSUFFIX};protocol=${QMSS_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${QMSS_LLD_SRCREV}"
-
-PV = "02.01.00.16A"
 INC_PR = "r0"
 
 DEVICELIST = "k2h k2k k2l k2e"
@@ -24,4 +14,4 @@ DEVICELIST_k2hk = "k2h k2k"
 DEVICELIST_k2l = "k2l"
 DEVICELIST_k2e = "k2e"
 
-S = "${WORKDIR}/${QMSS_LLD_GIT_DESTSUFFIX}"
+TI_PDK_COMP = "ti.drv.qmss"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 30/42] spi-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/spi-lld/spi-lld-rtos_git.bb | 16 +++-
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/spi-lld/spi-lld-rtos_git.bb 
b/recipes-bsp/spi-lld/spi-lld-rtos_git.bb
index 1dab251..6264ef5 100644
--- a/recipes-bsp/spi-lld/spi-lld-rtos_git.bb
+++ b/recipes-bsp/spi-lld/spi-lld-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI RTOS low level driver for Serial Peripheral Interface (SPI)"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://SPI.h;beginline=1;endline=31;md5=8580f9c5c0de8d5d13518cf18a0122b8"
@@ -8,18 +9,6 @@ LIC_FILES_CHKSUM = 
"file://SPI.h;beginline=1;endline=31;md5=8580f9c5c0de8d5d1351
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-SPI_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/spi-lld.git"
-SPI_LLD_GIT_PROTOCOL = "git"
-SPI_LLD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.SPI_LLD.01.00.00.16A"
-SPI_LLD_SRCREV = "4319424ca55676d25758f3e05797fac707b0b1f8"
-
-BRANCH = "${SPI_LLD_GIT_BRANCH}"
-SRC_URI = 
"${SPI_LLD_GIT_URI};protocol=${SPI_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${SPI_LLD_SRCREV}"
-PV = "01.00.00.16A"
 PR = "r0"
 
 DEPENDS_append = " osal-rtos \
@@ -43,3 +32,4 @@ XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "SPI LLD"
+TI_PDK_COMP = "ti.drv.spi"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 22/42] pa-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/pa-lld/pa-lld.inc | 16 +++-
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/pa-lld/pa-lld.inc b/recipes-bsp/pa-lld/pa-lld.inc
index 5af0e71..46d2d60 100644
--- a/recipes-bsp/pa-lld/pa-lld.inc
+++ b/recipes-bsp/pa-lld/pa-lld.inc
@@ -4,22 +4,11 @@ LIC_FILES_CHKSUM = 
"file://${WORKDIR}/git/ti/drv/pa/COPYING.txt;md5=cd04fb087063
 COMPATIBLE_MACHINE = "keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-PA_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pa-lld.git"
-PA_LLD_GIT_PROTOCOL = "git"
-PA_LLD_GIT_BRANCH = "master"
-PA_LLD_GIT_DESTSUFFIX = "git/ti/drv/pa"
+inherit ti-pdk-fetch
+PE = "1"
 
-# Below commit ID corresponding to "DEV.PA_LLD.03.00.02.08A"
-PA_LLD_SRCREV = "02e790bdeba574c0bcca9c0bfe2c071c180c53c8"
-
-BRANCH = "${PA_LLD_GIT_BRANCH}"
-SRC_URI = 
"${PA_LLD_GIT_URI};destsuffix=${PA_LLD_GIT_DESTSUFFIX};protocol=${PA_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${PA_LLD_SRCREV}"
-
-PV = "03.00.02.08A"
 INC_PR = "r0"
 
-S = "${WORKDIR}/${PA_LLD_GIT_DESTSUFFIX}"
 
 DEVICELIST = "k2h k2k k2l k2e"
 DEVICELIST_k2hk = "k2h k2k"
@@ -30,3 +19,4 @@ LIBPA = "libpa"
 LIBPA_k2hk = "libpa"
 LIBPA_k2e = "libpa2"
 LIBPA_k2l = "libpa2"
+TI_PDK_COMP = "ti.drv.pa"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 23/42] pcie-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb | 18 +++---
 1 file changed, 3 insertions(+), 15 deletions(-)

diff --git a/recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb 
b/recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb
index 51a24e7..70bd724 100644
--- a/recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb
+++ b/recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI RTOS low lever driver for Peripheral Interconnect Express (PCIE)"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://pcie.h;beginline=1;endline=34;md5=566a784d78790a716d641764d5d60b74"
@@ -8,25 +9,11 @@ LIC_FILES_CHKSUM = 
"file://pcie.h;beginline=1;endline=34;md5=566a784d78790a716d6
 COMPATIBLE_MACHINE = "omap-a15|keystone|c66x|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-PCIE_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pcie-lld.git"
-PCIE_LLD_GIT_PROTOCOL = "git"
-PCIE_LLD_GIT_BRANCH = "master"
-PCIE_LLD_GIT_DESTSUFFIX = "git/ti/drv/pcie"
-
-# Below commit ID corresponds to "DEV.PCIE_LLD.02.03.00.05"
-PCIE_LLD_SRCREV = "3cdbb5e4e4ccced496a4ca91b203965fafffc3e9"
-
-BRANCH = "${PCIE_LLD_GIT_BRANCH}"
-SRC_URI = 
"${PCIE_LLD_GIT_URI};destsuffix=${PCIE_LLD_GIT_DESTSUFFIX};protocol=${PCIE_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${PCIE_LLD_SRCREV}"
-PV = "02.03.00.05"
 PR = "r0"
 
 DEPENDS_append_k3 = " udma-lld-rtos \
 "
 
-S = "${WORKDIR}/${PCIE_LLD_GIT_DESTSUFFIX}"
 
 export PDK_PCIE_ROOT_PATH ="${WORKDIR}/build"
 export DEST_ROOT="${S}"
@@ -36,3 +23,4 @@ TI_PDK_XDCMAKE = "0"
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "PCIe LLD"
+TI_PDK_COMP = "ti.drv.pcie"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 26/42] pruss-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/pruss-lld/pruss-lld-apps_git.bb |  2 --
 recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb |  2 --
 recipes-bsp/pruss-lld/pruss-lld-test_git.bb |  2 --
 recipes-bsp/pruss-lld/pruss-lld.inc | 15 +++
 recipes-bsp/pruss-lld/pruss-lld_git.bb  |  2 --
 5 files changed, 3 insertions(+), 20 deletions(-)

diff --git a/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb 
b/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb
index 5867984..48eab40 100644
--- a/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb
@@ -9,8 +9,6 @@ include pruss-lld.inc
 
 PR = "${INC_PR}.0"
 
-S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
-
 EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} 
PDK_PKG_PATH=${STAGING_DATADIR}/ti/ti-pdk-tree/packages PRUSS_SRC_DIR=${S}"
 
 
diff --git a/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb 
b/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb
index b8db20e..9ab09b6 100644
--- a/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb
@@ -6,8 +6,6 @@ require recipes-bsp/pruss-lld/pruss-lld.inc
 COMPATIBLE_MACHINE_append = "|k3"
 PR = "${INC_PR}.0"
 
-S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
-
 DEPENDS_append = " osal-rtos"
 DEPENDS_append_ti33x = " starterware-rtos"
 DEPENDS_append_ti43x = " starterware-rtos"
diff --git a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb 
b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
index 93f1901..8007f65 100644
--- a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
@@ -6,8 +6,6 @@ include pruss-lld.inc
 
 PR = "${INC_PR}.2"
 
-S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
-
 EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} 
PRUSS_SRC_DIR=${S}"
 
 DEVICE_LIST ?= "${TI_PDK_LIMIT_SOCS}"
diff --git a/recipes-bsp/pruss-lld/pruss-lld.inc 
b/recipes-bsp/pruss-lld/pruss-lld.inc
index 1fd3fb7..0b24faa 100644
--- a/recipes-bsp/pruss-lld/pruss-lld.inc
+++ b/recipes-bsp/pruss-lld/pruss-lld.inc
@@ -4,18 +4,9 @@ LIC_FILES_CHKSUM = 
"file://pruicss.h;beginline=1;endline=31;md5=315177aa03d58bcd
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-PRUSS_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pruss-lld.git"
-PRUSS_LLD_GIT_PROTOCOL = "git"
-PRUSS_LLD_GIT_BRANCH = "master"
-PRUSS_LLD_GIT_DESTSUFFIX = "git/ti/drv/pruss"
+inherit ti-pdk-fetch
+PE = "1"
 
-# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.15B"
-PRUSS_LLD_SRCREV = "989f802266d52f50a6db8f2be6967eacd9d2b409"
-
-BRANCH = "${PRUSS_LLD_GIT_BRANCH}"
-SRC_URI = 
"${PRUSS_LLD_GIT_URI};destsuffix=${PRUSS_LLD_GIT_DESTSUFFIX};protocol=${PRUSS_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${PRUSS_LLD_SRCREV}"
-PV = "01.00.00.15B"
 INC_PR = "r0"
 
+TI_PDK_COMP = "ti.drv.pruss"
diff --git a/recipes-bsp/pruss-lld/pruss-lld_git.bb 
b/recipes-bsp/pruss-lld/pruss-lld_git.bb
index 5b0a257..f1e93cd 100644
--- a/recipes-bsp/pruss-lld/pruss-lld_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld_git.bb
@@ -6,8 +6,6 @@ include pruss-lld.inc
 
 PR = "${INC_PR}.2"
 
-S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
-
 EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
 
 do_compile () {
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 24/42] pru: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/pru/pru-pwm-fw_git.bb|  9 +++--
 recipes-bsp/pru/pru-swuart-fw_git.bb | 10 --
 2 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/recipes-bsp/pru/pru-pwm-fw_git.bb 
b/recipes-bsp/pru/pru-pwm-fw_git.bb
index 0fe7987..4fc7251 100644
--- a/recipes-bsp/pru/pru-pwm-fw_git.bb
+++ b/recipes-bsp/pru/pru-pwm-fw_git.bb
@@ -8,17 +8,13 @@ require recipes-ti/includes/ti-paths.inc
 COMPATIBLE_MACHINE = "am65xx"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.15B"
-SRCREV = "989f802266d52f50a6db8f2be6967eacd9d2b409"
 
-PV = "01.00.00.15B"
 
-BRANCH = "master"
-SRC_URI = 
"git://git.ti.com/keystone-rtos/pruss-lld.git;protocol=git;branch=${BRANCH}"
+inherit ti-pdk-fetch
+PE = "1"
 
 DEPENDS = "ti-cgt-pru-native pru-icss common-csl-ip-rtos"
 
-S = "${WORKDIR}/git/example/apps/icssg_pwm/firmware/src"
 
 EXTRA_OEMAKE += " \
 PRU_CGT="${TI_CGT_PRU_INSTALL_DIR}" \
@@ -38,3 +34,4 @@ do_install() {
 FILES_${PN} = "/lib/firmware"
 
 INSANE_SKIP_${PN} = "arch"
+TI_PDK_COMP = "ti.drv.pruss"
diff --git a/recipes-bsp/pru/pru-swuart-fw_git.bb 
b/recipes-bsp/pru/pru-swuart-fw_git.bb
index e22b3be..a5e89ce 100644
--- a/recipes-bsp/pru/pru-swuart-fw_git.bb
+++ b/recipes-bsp/pru/pru-swuart-fw_git.bb
@@ -8,20 +8,17 @@ require recipes-ti/includes/ti-paths.inc
 COMPATIBLE_MACHINE = "ti33x"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-# Below commit ID corresponds to "DEV.UART_LLD.01.00.00.15"
-SRCREV = "4493f456549c85749a05b1f46bf0b75d23976db1"
 
-PV = "01.00.00.15"
+inherit ti-pdk-fetch
+PE = "1"
 
-BRANCH = "master"
-SRC_URI = 
"git://git.ti.com/keystone-rtos/uart-lld.git;protocol=git;branch=${BRANCH} \
+SRC_URI_append = " \
file://0001-icss_uart-add-Makefile-for-building-firmware.patch \
file://0001-icss_uart-remove-dependency-on-PDK-CSL.patch \
 "
 
 DEPENDS = "ti-cgt-pru-native pru-icss"
 
-S = "${WORKDIR}/git"
 
 export PRU_CGT = "${TI_CGT_PRU_INSTALL_DIR}"
 export PRU_SSP = "${STAGING_DIR_TARGET}/usr"
@@ -38,3 +35,4 @@ do_install() {
 FILES_${PN} = "/lib/firmware"
 
 INSANE_SKIP_${PN} = "arch"
+TI_PDK_COMP = "ti.drv.uart"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 28/42] rm-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/rm-lld/rm-lld.inc | 16 +++-
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/rm-lld/rm-lld.inc b/recipes-bsp/rm-lld/rm-lld.inc
index 69f950e..0e46d1d 100644
--- a/recipes-bsp/rm-lld/rm-lld.inc
+++ b/recipes-bsp/rm-lld/rm-lld.inc
@@ -2,22 +2,12 @@ DESCRIPTION = "TI Resource Manager Low Level Driver"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc"
 
-RM_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/rm-lld.git"
-RM_LLD_GIT_PROTOCOL = "git"
-RM_LLD_GIT_BRANCH = "master"
-RM_LLD_GIT_DESTSUFFIX = "git/ti/drv/rm"
+inherit ti-pdk-fetch
+PE = "1"
 
-# Below commit ID corresponds to "DEV.RM_LLD.02.02.00.03B"
-RM_LLD_SRCREV = "dbe616355318981999c2f7a70a14377fcda913c8"
-
-BRANCH = "${RM_LLD_GIT_BRANCH}"
-SRC_URI = 
"${RM_LLD_GIT_URI};destsuffix=${RM_LLD_GIT_DESTSUFFIX};protocol=${RM_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${RM_LLD_SRCREV}"
-
-PV = "02.02.00.03B"
 INC_PR = "r0"
 
 COMPATIBLE_MACHINE = "keystone"
 
 BASEDIR = "${WORKDIR}/git"
-S = "${BASEDIR}/ti/drv/rm"
+TI_PDK_COMP = "ti.drv.rm"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 18/42] mcbsp-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb | 18 +++---
 1 file changed, 3 insertions(+), 15 deletions(-)

diff --git a/recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb 
b/recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb
index 10c782e..6427aea 100644
--- a/recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb
+++ b/recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI RTOS low level driver for Multi-channel Buffered Serial Port 
(McBSP)"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://mcbspver.h;beginline=1;endline=47;md5=a8a39efd13fa6fe66da5461b898d620e"
@@ -8,22 +9,8 @@ LIC_FILES_CHKSUM = 
"file://mcbspver.h;beginline=1;endline=47;md5=a8a39efd13fa6fe
 COMPATIBLE_MACHINE = "k2g|c665x-evm|omapl1"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-MCBSP_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/mcbsp-lld.git"
-MCBSP_LLD_GIT_PROTOCOL = "git"
-MCBSP_LLD_GIT_BRANCH = "master"
-MCBSP_LLD_GIT_DESTSUFFIX = "git/ti/drv/mcbsp"
-
-# Below commit ID corresponds to "DEV.MCBSP_LLD.01.00.00.12"
-MCBSP_LLD_SRCREV = "cd201419a8b4e4aefee6b9323d9a84f4ea467d6a"
-
-BRANCH = "${MCBSP_LLD_GIT_BRANCH}"
-SRC_URI = 
"${MCBSP_LLD_GIT_URI};destsuffix=${MCBSP_LLD_GIT_DESTSUFFIX};protocol=${MCBSP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${MCBSP_LLD_SRCREV}"
-PV = "01.00.00.12"
 PR = "r0"
 
-S = "${WORKDIR}/${MCBSP_LLD_GIT_DESTSUFFIX}"
 
 DEPENDS_append = " edma3-lld-rtos \
 "
@@ -38,3 +25,4 @@ export DEST_ROOT = "${S}"
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "MCBSP LLD"
+TI_PDK_COMP = "ti.drv.mcbsp"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 25/42] prueth-fw: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb | 6 --
 recipes-bsp/prueth-fw/prueth-fw_git.bb   | 7 ---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb 
b/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb
index 08ef7f0..430e2a4 100644
--- a/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb
+++ b/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb
@@ -4,11 +4,13 @@ require recipes-ti/includes/ti-paths.inc
 require recipes-bsp/emac-lld/emac-lld.inc
 
 LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = 
"file://src/makefile;beginline=6;endline=53;md5=3f9129d208f240940749757214bdc191"
+LIC_FILES_CHKSUM = 
"file://icss_dualmac/src/makefile;beginline=6;endline=53;md5=3f9129d208f240940749757214bdc191"
 
 PR = "r0"
 
-S = "${WORKDIR}/git/firmware/icss_dualmac"
+TI_PDK_COMP = "ti.drv.emac.firmware"
+
+B = "${S}/icss_dualmac"
 
 COMPATIBLE_MACHINE = "am65xx"
 
diff --git a/recipes-bsp/prueth-fw/prueth-fw_git.bb 
b/recipes-bsp/prueth-fw/prueth-fw_git.bb
index 573a428..14518e1 100644
--- a/recipes-bsp/prueth-fw/prueth-fw_git.bb
+++ b/recipes-bsp/prueth-fw/prueth-fw_git.bb
@@ -4,12 +4,13 @@ require recipes-ti/includes/ti-paths.inc
 require recipes-bsp/icss-emac-lld/icss-emac-lld.inc
 
 LICENSE = "TI-TFL"
-LIC_FILES_CHKSUM = 
"file://src/firmware_version.h;beginline=6;endline=53;md5=1f0a640a261059cdcbbcf01e6a739ff3"
+LIC_FILES_CHKSUM = 
"file://icss_dualemac/src/firmware_version.h;beginline=6;endline=53;md5=1f0a640a261059cdcbbcf01e6a739ff3"
 
-PV = "${PV_DUALEMAC_FW}"
 PR = "${INC_PR}.0"
 
-S = "${WORKDIR}/${ICSS_EMAC_LLD_GIT_DESTSUFFIX}/firmware/icss_dualemac"
+TI_PDK_COMP = "ti.drv.icss_emac.firmware"
+
+B = "${S}/icss_dualemac"
 
 COMPATIBLE_MACHINE = "am57xx-evm|am437x-evm|am335x-evm|k2g"
 
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 13/42] i2c-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb | 17 +++--
 1 file changed, 3 insertions(+), 14 deletions(-)

diff --git a/recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb 
b/recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb
index bf64abf..95bc1b6 100644
--- a/recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb
+++ b/recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI RTOS low level driver for Inter-IC module (I2C)"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://I2C.h;beginline=1;endline=32;md5=50084375278c1a2779571be134f98f7c"
@@ -8,19 +9,7 @@ LIC_FILES_CHKSUM = 
"file://I2C.h;beginline=1;endline=32;md5=50084375278c1a277957
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-I2C_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/i2c-lld.git"
-I2C_LLD_GIT_PROTOCOL = "git"
-I2C_LLD_GIT_BRANCH = "master"
-I2C_LLD_GIT_DESTSUFFIX = "git/ti/drv/i2c"
 
-# Below commit ID corresponds to "DEV.I2C_LLD.01.00.00.16A"
-I2C_LLD_SRCREV = "1524f975a96de004000ce7e5b3367d6640b7d193"
-
-BRANCH = "${I2C_LLD_GIT_BRANCH}"
-SRC_URI = 
"${I2C_LLD_GIT_URI};destsuffix=${I2C_LLD_GIT_DESTSUFFIX};protocol=${I2C_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${I2C_LLD_SRCREV}"
-PV = "01.00.00.16A"
 PR = "r0"
 
 DEPENDS_append = " osal-rtos \
@@ -43,7 +32,6 @@ DEPENDS_append_j7-evm = " sciclient-rtos \
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
 
-S = "${WORKDIR}/${I2C_LLD_GIT_DESTSUFFIX}"
 
 export PDK_I2C_ROOT_PATH ="${WORKDIR}/build"
 export DEST_ROOT="${S}"
@@ -52,3 +40,4 @@ INSANE_SKIP_${PN} = "arch"
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "I2C LLD"
+TI_PDK_COMP = "ti.drv.i2c"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 17/42] mcasp-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb | 17 +++--
 1 file changed, 3 insertions(+), 14 deletions(-)

diff --git a/recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb 
b/recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb
index 808a02a..e2c7207 100644
--- a/recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb
+++ b/recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI RTOS low level driver for Multi channel Audio Serial port 
(McASP)"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://mcaspver.h;beginline=19;endline=47;md5=75a9adc782a6df0d3a5419743e9a9f18"
@@ -8,22 +9,9 @@ LIC_FILES_CHKSUM = 
"file://mcaspver.h;beginline=19;endline=47;md5=75a9adc782a6df
 COMPATIBLE_MACHINE = "ti43x|omap-a15|k2g|ti33x|omapl1|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-MCASP_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/mcasp-lld.git"
-MCASP_LLD_GIT_PROTOCOL = "git"
-MCASP_LLD_GIT_BRANCH = "master"
-MCASP_LLD_GIT_DESTSUFFIX = "git/ti/drv/mcasp"
 
-# Below commit ID corresponds to "DEV.MCASP_LLD.01.01.00.15C"
-MCASP_LLD_SRCREV = "3b206c0081cc3e78122982948b40a16e2e24522c"
-
-BRANCH = "${MCASP_LLD_GIT_BRANCH}"
-SRC_URI = 
"${MCASP_LLD_GIT_URI};destsuffix=${MCASP_LLD_GIT_DESTSUFFIX};protocol=${MCASP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${MCASP_LLD_SRCREV}"
-PV = "01.01.00.15C"
 PR = "r0"
 
-S = "${WORKDIR}/${MCASP_LLD_GIT_DESTSUFFIX}"
 
 DEPENDS_append = " edma3-lld-rtos \
osal-rtos \
@@ -48,3 +36,4 @@ XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "MCASP LLD"
+TI_PDK_COMP = "ti.drv.mcasp"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 14/42] icss-emac-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/icss-emac-lld/icss-emac-lld.inc | 16 +++-
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld.inc 
b/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
index 72d546b..4266cf4 100644
--- a/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
+++ b/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
@@ -4,25 +4,15 @@ LIC_FILES_CHKSUM = 
"file://COPYING.txt;md5=76cafd87d8495b42c2355f7681de15a2"
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-ICSS_EMAC_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/icss-emac.git"
-ICSS_EMAC_LLD_GIT_PROTOCOL = "git"
-ICSS_EMAC_LLD_GIT_BRANCH = "master"
-ICSS_EMAC_LLD_GIT_DESTSUFFIX = "git/ti/drv/icss_emac"
+inherit ti-pdk-fetch
+PE = "1"
 
-# Below commit ID corresponds to "DEV.ICSS_EMAC_LLD.01.00.00.17"
-ICSS_EMAC_LLD_SRCREV = "5978212c59468eab68e232a538ee005162b6902f"
-
-BRANCH = "${ICSS_EMAC_LLD_GIT_BRANCH}"
-SRC_URI = 
"${ICSS_EMAC_LLD_GIT_URI};destsuffix=${ICSS_EMAC_LLD_GIT_DESTSUFFIX};protocol=${ICSS_EMAC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${ICSS_EMAC_LLD_SRCREV}"
 
 # The LLD version
-PV = "01.00.00.17"
 
 # The FW version(s)
 PV_DUALEMAC_FW = "5.2.7"
 
 INC_PR = "r0"
 
-S = "${WORKDIR}/${ICSS_EMAC_LLD_GIT_DESTSUFFIX}"
+TI_PDK_COMP = "ti.drv.icss_emac"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 16/42] iqn2-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/iqn2-lld/iqn2-lld.inc | 16 +++-
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/iqn2-lld/iqn2-lld.inc 
b/recipes-bsp/iqn2-lld/iqn2-lld.inc
index 29b230a..a203dc4 100644
--- a/recipes-bsp/iqn2-lld/iqn2-lld.inc
+++ b/recipes-bsp/iqn2-lld/iqn2-lld.inc
@@ -1,21 +1,11 @@
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
 LICENSE = "BSD-3-Clause"
 
-IQN2_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/iqn2-lld.git"
-IQN2_LLD_GIT_PROTOCOL = "git"
-IQN2_LLD_GIT_BRANCH = "master"
-IQN2_LLD_GIT_DESTSUFFIX = "git/ti/drv/iqn2"
+inherit ti-pdk-fetch
+PE = "1"
 
-# Following commit corresponds to DEV.IQN_LLD.01.00.00.11A
-IQN2_LLD_SRCREV = "41c0cd3cb4fc25453904f8c583ebd0a7a0e5b940"
-
-BRANCH = "${IQN2_LLD_GIT_BRANCH}"
-SRC_URI = 
"${IQN2_LLD_GIT_URI};destsuffix=${IQN2_LLD_GIT_DESTSUFFIX};protocol=${IQN2_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${IQN2_LLD_SRCREV}"
-
-PV = "1.0.0.11A"
 INC_PR = "r0"
 
 COMPATIBLE_MACHINE = "k2l"
 
-S = "${WORKDIR}/${IQN2_LLD_GIT_DESTSUFFIX}"
+TI_PDK_COMP = "ti.drv.iqn2"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 15/42] ipc-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/ipc-lld/ipc-lld.inc | 18 --
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/recipes-bsp/ipc-lld/ipc-lld.inc b/recipes-bsp/ipc-lld/ipc-lld.inc
index 243678f..2909c20 100644
--- a/recipes-bsp/ipc-lld/ipc-lld.inc
+++ b/recipes-bsp/ipc-lld/ipc-lld.inc
@@ -1,4 +1,5 @@
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=7eae093f2b09fd39307f30028a068b91"
@@ -6,24 +7,12 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=7eae093f2b09fd39307f30028a068b91"
 COMPATIBLE_MACHINE = "k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-IPCLLD_GIT_URI = "git://git.ti.com/keystone-rtos/ipc-lld.git"
-IPCLLD_GIT_PROTOCOL = "git"
-IPCLLD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "01.00.00.00"
-IPCLLD_SRCREV = "c695ca99aa4b7242e808889cfeacf848f14112c7"
-
-BRANCH = "${IPCLLD_GIT_BRANCH}"
-SRC_URI = "${IPCLLD_GIT_URI};protocol=${IPCLLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${IPCLLD_SRCREV}"
-PV = "01.00.00.00"
 PR = "r2"
 
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
 
-IPCLLD_PACKAGE_BASE   = "${S}/../ipclld_base"
+IPCLLD_PACKAGE_BASE   = "${WORKDIR}/ipclld_base"
 IPCLLD_ROOTPATH = "${IPCLLD_PACKAGE_BASE}/package/all/pdk_/packages/ti/drv/ipc"
 
 export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
@@ -35,3 +24,4 @@ PDK_COMP_LINK_TEXT = "IPCLLD"
 EXTRA_OEMAKE = "PDK_INSTALL_PATH=${PDK_INSTALL_PATH} "
 
 TI_PDK_LIMIT_CORES_append_am65xx-evm = " mcu1_1 "
+TI_PDK_COMP = "ti.drv.ipc"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 05/42] cppi-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/cppi-lld/cppi-lld.inc | 16 +++-
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/cppi-lld/cppi-lld.inc 
b/recipes-bsp/cppi-lld/cppi-lld.inc
index dec5b7d..dec146c 100644
--- a/recipes-bsp/cppi-lld/cppi-lld.inc
+++ b/recipes-bsp/cppi-lld/cppi-lld.inc
@@ -4,19 +4,9 @@ LIC_FILES_CHKSUM = 
"file://${WORKDIR}/git/ti/drv/cppi/COPYING.txt;md5=e8f6789acd
 COMPATIBLE_MACHINE = "keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-CPPI_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/cppi-lld.git"
-CPPI_LLD_GIT_PROTOCOL = "git"
-CPPI_LLD_GIT_BRANCH = "master"
-CPPI_LLD_GIT_DESTSUFFIX = "git/ti/drv/cppi"
+inherit ti-pdk-fetch
+PE = "1"
 
-# Below Commit ID corresponds to "DEV.CPPI_LLD.02.01.00.14A"
-CPPI_LLD_SRCREV = "d9b51bfc77ee0c97ed11dc6753667cfadc0285f6"
-
-BRANCH = "${CPPI_LLD_GIT_BRANCH}"
-SRC_URI = 
"${CPPI_LLD_GIT_URI};destsuffix=${CPPI_LLD_GIT_DESTSUFFIX};protocol=${CPPI_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${CPPI_LLD_SRCREV}"
-PV = "02.01.00.14A"
 INC_PR = "r0"
 
 DEVICELIST = "k2h k2k k2l k2e"
@@ -24,4 +14,4 @@ DEVICELIST_k2hk = "k2h k2k"
 DEVICELIST_k2l  = "k2l"
 DEVICELIST_k2e  = "k2e"
 
-S = "${WORKDIR}/${CPPI_LLD_GIT_DESTSUFFIX}"
+TI_PDK_COMP = "ti.drv.cppi"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 12/42] hyplnk-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/hyplnk-lld/hyplnk-lld.inc | 18 --
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/recipes-bsp/hyplnk-lld/hyplnk-lld.inc 
b/recipes-bsp/hyplnk-lld/hyplnk-lld.inc
index a73f513..36cf136 100644
--- a/recipes-bsp/hyplnk-lld/hyplnk-lld.inc
+++ b/recipes-bsp/hyplnk-lld/hyplnk-lld.inc
@@ -6,24 +6,14 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 LLDNAME="hyplnk"
 
-LIC_FILES_CHKSUM = 
"file://${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}/COPYING.txt;md5=623325cc19e613a4e770fbb749922592"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=623325cc19e613a4e770fbb749922592"
 
-HYPLNK_GIT_URI = "git://git.ti.com/keystone-rtos/hyplnk-lld.git"
-HYPLNK_GIT_PROTOCOL = "git"
-HYPLNK_GIT_BRANCH = "master"
-HYPLNK_GIT_DESTSUFFIX = "git/ti/drv/${LLDNAME}"
+inherit ti-pdk-fetch
+PE = "1"
 
-# Following commit corresponds to tag DEV.HYPLNK_LLD.02.01.00.08A
-HYPLNK_SRCREV = "67fc593f28d243d25a5e19720eba8b3e53a5efc0"
-
-BRANCH="${HYPLNK_GIT_BRANCH}"
-SRC_URI = 
"${HYPLNK_GIT_URI};destsuffix=${HYPLNK_GIT_DESTSUFFIX};protocol=${HYPLNK_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${HYPLNK_SRCREV}"
-
-PV = "2.1.0.8A"
 INC_PR = "r0"
 
 DEVICELIST_k2hk = "k2h k2k"
 DEVICELIST_k2e  = "k2e"
 
-S = "${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}"
+TI_PDK_COMP = "ti.drv.hyplnk"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 10/42] gpio-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb | 18 +++---
 1 file changed, 3 insertions(+), 15 deletions(-)

diff --git a/recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb 
b/recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb
index 93f97d0..4de064a 100644
--- a/recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb
+++ b/recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI RTOS driver for General Purpose IO (GPIO)"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://GPIO.h;beginline=1;endline=31;md5=8580f9c5c0de8d5d13518cf18a0122b8"
@@ -8,22 +9,8 @@ LIC_FILES_CHKSUM = 
"file://GPIO.h;beginline=1;endline=31;md5=8580f9c5c0de8d5d135
 COMPATIBLE_MACHINE = 
"ti33x|ti43x|omap-a15|keystone|omapl1|c667x-evm|c665x-evm|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-GPIO_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/gpio-lld.git"
-GPIO_LLD_GIT_PROTOCOL = "git"
-GPIO_LLD_GIT_BRANCH = "master"
-GPIO_LLD_GIT_DESTSUFFIX = "git/ti/drv/gpio"
-
-# Below commit ID corresponds to "DEV.GPIO_LLD.01.00.00.16B"
-GPIO_LLD_SRCREV = "14e59e948fb949e244edcc3161f21ec4228fb15c"
-
-BRANCH = "${GPIO_LLD_GIT_BRANCH}"
-SRC_URI = 
"${GPIO_LLD_GIT_URI};destsuffix=${GPIO_LLD_GIT_DESTSUFFIX};protocol=${GPIO_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${GPIO_LLD_SRCREV}"
-PV = "01.00.00.16B"
 PR = "r0"
 
-S = "${WORKDIR}/${GPIO_LLD_GIT_DESTSUFFIX}"
 
 DEPENDS_append = " osal-rtos \
 "
@@ -42,3 +29,4 @@ export DEST_ROOT="${S}"
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "GPIO LLD"
+TI_PDK_COMP = "ti.drv.gpio"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 09/42] fftc-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb | 20 +++-
 1 file changed, 3 insertions(+), 17 deletions(-)

diff --git a/recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb 
b/recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb
index 9103639..1feac80 100644
--- a/recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb
+++ b/recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI FFT Coprocessor (FFTC) low level driver "
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://fftc.h;beginline=1;endline=39;md5=2f1010c47d364414644caf6d30a2b7df"
@@ -8,27 +9,12 @@ LIC_FILES_CHKSUM = 
"file://fftc.h;beginline=1;endline=39;md5=2f1010c47d364414644
 COMPATIBLE_MACHINE = "k2hk|k2l"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-FFTC_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/fftc-lld.git"
-FFTC_LLD_GIT_PROTOCOL = "git"
-FFTC_LLD_GIT_BRANCH = "master"
-FFTC_LLD_GIT_DESTSUFFIX = "git/ti/drv/fftc"
-
-# Below commit ID corresponds to "DEV.FFTC_LLD.02.02.00.07B"
-FFTC_LLD_SRCREV = "962d899e1e81a4d02ad59368032cf24956cde5f2"
-
-BRANCH = "${FFTC_LLD_GIT_BRANCH}"
-SRC_URI = 
"${FFTC_LLD_GIT_URI};destsuffix=${FFTC_LLD_GIT_DESTSUFFIX};protocol=${FFTC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${FFTC_LLD_SRCREV}"
-PV = "02.02.00.07B"
 PR = "r0"
 
-S = "${WORKDIR}/${FFTC_LLD_GIT_DESTSUFFIX}"
-
-
 DEPENDS_append= " qmss-lld-rtos \
   cppi-lld-rtos \
 "
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "FFTC LLD"
+TI_PDK_COMP = "ti.drv.fftc"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 07/42] emac-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/emac-lld/emac-lld.inc | 15 +++
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/recipes-bsp/emac-lld/emac-lld.inc 
b/recipes-bsp/emac-lld/emac-lld.inc
index 318be3d..5012cda 100644
--- a/recipes-bsp/emac-lld/emac-lld.inc
+++ b/recipes-bsp/emac-lld/emac-lld.inc
@@ -1,14 +1,5 @@
-EMAC_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/emac-lld.git"
-EMAC_LLD_GIT_PROTOCOL = "git"
-EMAC_LLD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.EMAC_LLD.01.00.03.18A"
-EMAC_LLD_SRCREV = "42716931cfddac093de9b5e885b0a5139f7403fb"
-
-BRANCH ="${EMAC_LLD_GIT_BRANCH}"
-SRC_URI = 
"${EMAC_LLD_GIT_URI};protocol=${EMAC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${EMAC_LLD_SRCREV}"
+inherit ti-pdk-fetch
+PE = "1"
 
 # The LLD version
-PV = "01.00.03.18A+git${SRCPV}"
+TI_PDK_COMP = "ti.drv.emac"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 11/42] gpmc-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb | 15 +++
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb 
b/recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb
index b9f0088..844e9dd 100644
--- a/recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb
+++ b/recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI RTOS low level driver for General Purpose Memory Controller 
(GPMC)"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://GPMC.h;beginline=1;endline=31;md5=485ec97c36f809bf92323fde3e988c72"
@@ -8,18 +9,7 @@ LIC_FILES_CHKSUM = 
"file://GPMC.h;beginline=1;endline=31;md5=485ec97c36f809bf923
 COMPATIBLE_MACHINE = "ti33x|ti43x"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-GPMC_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/gpmc-lld.git"
-GPMC_LLD_GIT_PROTOCOL = "git"
-GPMC_LLD_GIT_BRANCH = "master"
 
-# Below commit ID corresponds to "DEV.GPMC_LLD.01.00.00.03A"
-GPMC_LLD_SRCREV = "9169c04d80fae0a50734527e54ec4f4f53c3a1ef"
-
-BRANCH = "${GPMC_LLD_GIT_BRANCH}"
-SRC_URI = 
"${GPMC_LLD_GIT_URI};protocol=${GPMC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${GPMC_LLD_SRCREV}"
-PV = "01.00.00.03A"
 PR = "r0"
 
 DEPENDS_append = " osal-rtos \
@@ -37,3 +27,4 @@ PDK_COMP_LINK_TEXT = "GPMC LLD"
 
 export PDK_GPMC_ROOT_PATH ="${WORKDIR}/build"
 export DEST_ROOT="${S}"
+TI_PDK_COMP = "ti.drv.gpmc"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 08/42] fatfs-rtos: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb | 16 +++-
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb 
b/recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb
index a08e046..489fbcd 100644
--- a/recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb
+++ b/recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI RTOS driver for FAT filesystem"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://FATFS.h;beginline=1;endline=32;md5=6619832755598d1cc2b01f2e6a1801d6"
@@ -8,18 +9,6 @@ LIC_FILES_CHKSUM = 
"file://FATFS.h;beginline=1;endline=32;md5=6619832755598d1cc2
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-FATFS_GIT_URI = "git://git.ti.com/keystone-rtos/fatfs.git"
-FATFS_GIT_PROTOCOL = "git"
-FATFS_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.FATFS_LLD.01.00.00.15"
-FATFS_SRCREV = "d30f2c1492b2226a7ce31e43a72df29df5db9986"
-
-BRANCH = "${FATFS_GIT_BRANCH}"
-SRC_URI = "${FATFS_GIT_URI};protocol=${FATFS_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${FATFS_SRCREV}"
-PV = "01.00.00.15"
 PR = "r0"
 
 DEPENDS_append = " mmcsd-lld-rtos \
@@ -34,3 +23,4 @@ export DEST_ROOT="${S}"
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "FATFS Library"
+TI_PDK_COMP = "ti.fs.fatfs"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 04/42] board-rtos: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/board-rtos/board-rtos_git.bb | 14 +++---
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/recipes-bsp/board-rtos/board-rtos_git.bb 
b/recipes-bsp/board-rtos/board-rtos_git.bb
index be5f90c..e6284a3 100644
--- a/recipes-bsp/board-rtos/board-rtos_git.bb
+++ b/recipes-bsp/board-rtos/board-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI RTOS Board Library"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://board.h;beginline=1;endline=32;md5=9bed8e4ac2fb37fc627cefe49eb1c919"
@@ -8,18 +9,8 @@ LIC_FILES_CHKSUM = 
"file://board.h;beginline=1;endline=32;md5=9bed8e4ac2fb37fc62
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-BOARD_GIT_URI = "git://git.ti.com/keystone-rtos/board.git"
-BOARD_GIT_PROTOCOL = "git"
-BOARD_GIT_BRANCH = "master"
 
-# Below commit ID corresponds to "DEV.BOARD.01.00.10.06G"
-BOARD_SRCREV = "8f5b3079847937f97c7b27d76f8aac52fa1c11b5"
 
-BRANCH ="${BOARD_GIT_BRANCH}"
-SRC_URI = "${BOARD_GIT_URI};protocol=${BOARD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${BOARD_SRCREV}"
-PV = "01.00.10.06G"
 PR = "r0"
 
 DEPENDS_append = " i2c-lld-rtos \
@@ -81,3 +72,4 @@ export DEST_ROOT="${S}"
 XDCPATH_append = 
";${PDK_INSTALL_DIR}/packages/ti/csl;${NDK_INSTALL_DIR}/packages"
 
 INSANE_SKIP_${PN} = "arch"
+TI_PDK_COMP = "ti.board"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 06/42] dfe-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/dfe-lld/dfe-lld.inc | 16 +++-
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/dfe-lld/dfe-lld.inc b/recipes-bsp/dfe-lld/dfe-lld.inc
index 1f278a2..1012949 100644
--- a/recipes-bsp/dfe-lld/dfe-lld.inc
+++ b/recipes-bsp/dfe-lld/dfe-lld.inc
@@ -2,21 +2,11 @@ LICENSE = "BSD-3-Clause"
 
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=1f4217b705bf98762a302fd720649dcc"
 
-DFE_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/dfe-lld.git"
-DFE_LLD_GIT_PROTOCOL = "git"
-DFE_LLD_GIT_BRANCH = "master"
-DFE_LLD_GIT_DESTSUFFIX = "git/ti/drv/dfe"
+inherit ti-pdk-fetch
+PE = "1"
 
-# Below commit ID corresponds to "DEV.DFE_LLD.01.00.00.09A"
-DFE_LLD_SRCREV = "023af1b39ec1df7f463797cb8be94e5985dbaefd"
-
-BRANCH = "${DFE_LLD_GIT_BRANCH}"
-SRC_URI = 
"${DFE_LLD_GIT_URI};destsuffix=${DFE_LLD_GIT_DESTSUFFIX};protocol=${DFE_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${DFE_LLD_SRCREV}"
-
-PV = "1.0.0.9A"
 INC_PR = "r0"
 
 COMPATIBLE_MACHINE = "k2l"
 
-S = "${WORKDIR}/${DFE_LLD_GIT_DESTSUFFIX}"
+TI_PDK_COMP = "ti.drv.dfe"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 02/42] aif2-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/aif2-lld/aif2-lld.inc | 16 +++-
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/recipes-bsp/aif2-lld/aif2-lld.inc 
b/recipes-bsp/aif2-lld/aif2-lld.inc
index f06dde1..a1fa012 100644
--- a/recipes-bsp/aif2-lld/aif2-lld.inc
+++ b/recipes-bsp/aif2-lld/aif2-lld.inc
@@ -2,21 +2,11 @@ LICENSE = "BSD-3-Clause"
 
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
 
-AIF2_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/aif2-lld.git"
-AIF2_LLD_GIT_PROTOCOL = "git"
-AIF2_LLD_GIT_BRANCH = "master"
-AIF2_LLD_GIT_DESTSUFFIX = "git/ti/drv/aif2"
+inherit ti-pdk-fetch
+PE = "1"
 
-# The following commit correspond to DEV.AIF2LLD.01.02.00.02B
-AIF2_LLD_SRCREV = "5304fdbca98b7f1aed8cb66bc6750f99d8bb7094"
-
-BRANCH = "${AIF2_LLD_GIT_BRANCH}"
-SRC_URI = 
"${AIF2_LLD_GIT_URI};destsuffix=${AIF2_LLD_GIT_DESTSUFFIX};protocol=${AIF2_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-SRCREV = "${AIF2_LLD_SRCREV}"
-
-PV = "1.2.0.2B"
 INC_PR = "r0"
 
 COMPATIBLE_MACHINE = "k2hk"
 
-S = "${WORKDIR}/${AIF2_LLD_GIT_DESTSUFFIX}"
+TI_PDK_COMP = "ti.drv.aif2"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 03/42] bcp-lld: migrate to ti-pdk-fetch.bbclass

2019-11-07 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb | 18 +++---
 1 file changed, 3 insertions(+), 15 deletions(-)

diff --git a/recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb 
b/recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb
index dc5cef5..e199e28 100644
--- a/recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb
+++ b/recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb
@@ -1,6 +1,7 @@
 SUMMARY = "TI Bit Coprocessor (BCP) low level driver"
 
-inherit ti-pdk
+inherit ti-pdk ti-pdk-fetch
+PE = "1"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://bcp.h;beginline=1;endline=40;md5=4f6e6128dd075a89548c0287a39b8896"
@@ -8,22 +9,8 @@ LIC_FILES_CHKSUM = 
"file://bcp.h;beginline=1;endline=40;md5=4f6e6128dd075a89548c
 COMPATIBLE_MACHINE = "k2hk|k2l|c667x-evm"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-BCP_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/bcp-lld.git"
-BCP_LLD_GIT_PROTOCOL = "git"
-BCP_LLD_GIT_BRANCH = "master"
-BCP_LLD_GIT_DESTSUFFIX = "git/ti/drv/bcp"
-
-# Below commit ID corresponds to "DEV.BCP_LLD.02.01.00.07B"
-BCP_LLD_SRCREV = "2a13d5e3b26180dd4f1010327f1daed9b3330752"
-
-BRANCH = "${BCP_LLD_GIT_BRANCH}"
-SRC_URI = 
"${BCP_LLD_GIT_URI};destsuffix=${BCP_LLD_GIT_DESTSUFFIX};protocol=${BCP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${BCP_LLD_SRCREV}"
-PV = "02.01.00.07B"
 PR = "r0"
 
-S = "${WORKDIR}/${BCP_LLD_GIT_DESTSUFFIX}"
 
 DEPENDS_append = " qmss-lld-rtos \
cppi-lld-rtos \
@@ -31,3 +18,4 @@ DEPENDS_append = " qmss-lld-rtos \
 
 # HTML doc link params
 PDK_COMP_LINK_TEXT = "BCP LLD"
+TI_PDK_COMP = "ti.drv.bcp"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][RFC 00/42] Unify PDK sources

2019-11-07 Thread Jacob Stiffler
The PDK sources have been unified in a single git repository. To
simplify maintenance, a bbclass is added to specify the source
information. This class also extends the unpack task so that each
recipe is only presented with its component sources. This leaves
subsequent tasks (do_compile, etc) identical to previous sources.

The source repo is not yet available, so submit as an RFC for now.

Jacob Stiffler (42):
  ti-pdk-fetch: add class for common pdk sources
  aif2-lld: migrate to ti-pdk-fetch.bbclass
  bcp-lld: migrate to ti-pdk-fetch.bbclass
  board-rtos: migrate to ti-pdk-fetch.bbclass
  cppi-lld: migrate to ti-pdk-fetch.bbclass
  dfe-lld: migrate to ti-pdk-fetch.bbclass
  emac-lld: migrate to ti-pdk-fetch.bbclass
  fatfs-rtos: migrate to ti-pdk-fetch.bbclass
  fftc-lld: migrate to ti-pdk-fetch.bbclass
  gpio-lld: migrate to ti-pdk-fetch.bbclass
  gpmc-lld: migrate to ti-pdk-fetch.bbclass
  hyplnk-lld: migrate to ti-pdk-fetch.bbclass
  i2c-lld: migrate to ti-pdk-fetch.bbclass
  icss-emac-lld: migrate to ti-pdk-fetch.bbclass
  ipc-lld: migrate to ti-pdk-fetch.bbclass
  iqn2-lld: migrate to ti-pdk-fetch.bbclass
  mcasp-lld: migrate to ti-pdk-fetch.bbclass
  mcbsp-lld: migrate to ti-pdk-fetch.bbclass
  mmcsd-lld: migrate to ti-pdk-fetch.bbclass
  nwal-lld: migrate to ti-pdk-fetch.bbclass
  osal: migrate to ti-pdk-fetch.bbclass
  pa-lld: migrate to ti-pdk-fetch.bbclass
  pcie-lld: migrate to ti-pdk-fetch.bbclass
  pru: migrate to ti-pdk-fetch.bbclass
  prueth-fw: migrate to ti-pdk-fetch.bbclass
  pruss-lld: migrate to ti-pdk-fetch.bbclass
  qmss-lld: migrate to ti-pdk-fetch.bbclass
  rm-lld: migrate to ti-pdk-fetch.bbclass
  sciclient: migrate to ti-pdk-fetch.bbclass
  spi-lld: migrate to ti-pdk-fetch.bbclass
  srio-lld: migrate to ti-pdk-fetch.bbclass
  tcp3d-lld: migrate to ti-pdk-fetch.bbclass
  transport-rtos: migrate to ti-pdk-fetch.bbclass
  tsip-lld: migrate to ti-pdk-fetch.bbclass
  uart-lld: migrate to ti-pdk-fetch.bbclass
  udma-lld: migrate to ti-pdk-fetch.bbclass
  usb-lld: migrate to ti-pdk-fetch.bbclass
  utils-rtos: migrate to ti-pdk-fetch.bbclass
  ti-pdk-build: migrate to ti-pdk-fetch.bbclass
  cal-lld: TI RTOS low level driver for CAL
  fvid2: TI RTOS Video Driver Interface
  iolink-lld: TI RTOS low level driver for IO-Link Master

 classes/ti-pdk-fetch.bbclass | 30 ++
 recipes-bsp/aif2-lld/aif2-lld.inc| 16 +
 recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb  | 18 +-
 recipes-bsp/board-rtos/board-rtos_git.bb | 14 +
 recipes-bsp/cal-lld/cal-lld-rtos_git.bb  | 76 
 recipes-bsp/cppi-lld/cppi-lld.inc| 16 +
 recipes-bsp/dfe-lld/dfe-lld.inc  | 16 +
 recipes-bsp/emac-lld/emac-lld.inc| 15 +
 recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb | 16 +
 recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb| 20 +--
 recipes-bsp/fvid2/fvid2-rtos_git.bb  | 68 +
 recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb| 18 +-
 recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb| 15 +
 recipes-bsp/hyplnk-lld/hyplnk-lld.inc| 18 ++
 recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb  | 17 +-
 recipes-bsp/icss-emac-lld/icss-emac-lld.inc  | 16 +
 recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb| 31 ++
 recipes-bsp/ipc-lld/ipc-lld.inc  | 18 ++
 recipes-bsp/iqn2-lld/iqn2-lld.inc| 16 +
 recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb  | 17 +-
 recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb  | 18 +-
 recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb  | 17 +-
 recipes-bsp/nwal-lld/nwal-lld.inc| 17 ++
 recipes-bsp/osal/osal-rtos_git.bb|  2 -
 recipes-bsp/osal/osal-test_git.bb|  2 -
 recipes-bsp/osal/osal.inc| 16 ++---
 recipes-bsp/osal/osal_git.bb |  2 -
 recipes-bsp/pa-lld/pa-lld.inc| 16 +
 recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb| 18 +-
 recipes-bsp/pru/pru-pwm-fw_git.bb|  9 +--
 recipes-bsp/pru/pru-swuart-fw_git.bb | 10 ++--
 recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb |  6 +-
 recipes-bsp/prueth-fw/prueth-fw_git.bb   |  7 ++-
 recipes-bsp/pruss-lld/pruss-lld-apps_git.bb  |  2 -
 recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb  |  2 -
 recipes-bsp/pruss-lld/pruss-lld-test_git.bb  |  2 -
 recipes-bsp/pruss-lld/pruss-lld.inc  | 15 +
 recipes-bsp/pruss-lld/pruss-lld_git.bb   |  2 -
 recipes-bsp/qmss-lld/qmss-lld.inc| 16 +
 recipes-bsp/rm-lld/rm-lld.inc| 16 +
 recipes-bsp/sciclient/sciclient-rtos_git.bb  | 18 ++
 recipes-bsp/spi-lld/spi-lld-rtos_git.bb  | 16 +
 recipes-bsp/srio-lld/srio-lld.inc| 16 +
 recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb  | 19

[meta-ti] [master/thud][RFC 01/42] ti-pdk-fetch: add class for common pdk sources

2019-11-07 Thread Jacob Stiffler
Recently individual components and LLD sources have been combined
into a single PDK repo. Use this class to specify the common source.
Also use this class to keep the sources separate from each other when
building. This keeps the build identical to previous recipes while
keeping control on interdependencies.

Signed-off-by: Jacob Stiffler 
---
 classes/ti-pdk-fetch.bbclass | 30 ++
 1 file changed, 30 insertions(+)
 create mode 100644 classes/ti-pdk-fetch.bbclass

diff --git a/classes/ti-pdk-fetch.bbclass b/classes/ti-pdk-fetch.bbclass
new file mode 100644
index 000..f5ab301
--- /dev/null
+++ b/classes/ti-pdk-fetch.bbclass
@@ -0,0 +1,30 @@
+TI_PDK_GIT_URI ?= ""
+TI_PDK_GIT_BRANCH ?= "master"
+TI_PDK_GIT_PROTOCOL ?= "git"
+TI_PDK_SRCREV ?= ""
+
+TI_PDK_SRC = "_tmp_pdk"
+SRC_URI = 
"${TI_PDK_GIT_URI};branch=${TI_PDK_GIT_BRANCH};protocol=${TI_PDK_GIT_PROTOCOL};destsuffix=${TI_PDK_SRC}"
+SRCREV = "${TI_PDK_SRCREV}"
+
+TI_PDK_COMP ?= ""
+TI_PDK_COMP_PATH = "${@'${TI_PDK_COMP}'.replace('.','/')}"
+
+S = "${WORKDIR}/git/${TI_PDK_COMP_PATH}"
+
+# Extract only required sources from PDK
+#
+# ... perhaps do something similiar to the kernel and STAGING_KERNEL_DIR...
+# ... then symlink the individual component...
+python do_unpack_append() {
+if len(d.getVar('TI_PDK_COMP') or '') > 0:
+import subprocess
+
+src = 
os.path.join(d.getVar('TI_PDK_SRC'),'packages',d.getVar('TI_PDK_COMP_PATH'))
+
+# Package up only the required sources
+cmd = 'tar -cf - -C %s -p -S . | tar -xf - -C %s' % (src, 
d.getVar('S'))
+subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT)
+
+bb.utils.remove(d.getVar('TI_PDK_SRC'), recurse=True)
+}
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [EXTERNAL] [thud/ti2019.03/master][PATCH] ti-ipc: Update examples to latest version

2019-10-15 Thread Jacob Stiffler

Denys,

Please backport to ti2019.03.


Thank you,

Jake

On 10/11/2019 8:40 PM, Sam Nelson wrote:

Fixes issues with AM65X examples

Signed-off-by: Sam Nelson 
---
  recipes-ti/ipc/ti-ipc-rtos.inc | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-ti/ipc/ti-ipc-rtos.inc b/recipes-ti/ipc/ti-ipc-rtos.inc
index fe2cc99..25942db 100644
--- a/recipes-ti/ipc/ti-ipc-rtos.inc
+++ b/recipes-ti/ipc/ti-ipc-rtos.inc
@@ -26,8 +26,8 @@ name=${TI_IPC_METADATA_NAME}"
  
  # Corresponds to tag: 3.50.04.07

  TI_IPC_METADATA_SRCREV = "37e85ff1966f7d093fe2bde2dd9d4546f29d0d80"
-# Corresponds to tag: 3.50.04.07A
-TI_IPC_EXAMPLES_SRCREV = "0ebf5e642a8ca567bcaa7653875d15f6e7178405"
+# Corresponds to tag: 3.50.04.07B
+TI_IPC_EXAMPLES_SRCREV = "ad3d694e30367a5c04525aef7c6ee9a33896fd59"
  
  SRCREV_FORMAT = "default"

  SRCREV_ipc-metadata = "${TI_IPC_METADATA_SRCREV}"
@@ -39,7 +39,7 @@ S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
  RELEASE_TYPE = "GA"
  RELEASE_SUFFIX = ""
  
-PR = "${INC_PR}.r0"

+PR = "${INC_PR}.r1"
  
  DEPENDS_append_keystone = " ti-cgt6x-native \

  gcc-arm-none-eabi-native \

--
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [EXTERNAL] [thud/ti2018.03/master][PATCH] Revert "ti-ipc: Update commit id for latest code for 3.50.04.07"

2019-10-15 Thread Jacob Stiffler

Denys,

Please backport to ti2019.03.


Thank you,

Jake

On 10/14/2019 5:46 PM, Sam Nelson wrote:

This reverts commit 03e5b21e8a993cf3227112de84f38cc8337dcb11.
---
  recipes-ti/ipc/ti-ipc-common.inc | 2 +-
  recipes-ti/ipc/ti-ipc.inc| 4 ++--
  2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-ti/ipc/ti-ipc-common.inc b/recipes-ti/ipc/ti-ipc-common.inc
index 5f4a475..365486e 100644
--- a/recipes-ti/ipc/ti-ipc-common.inc
+++ b/recipes-ti/ipc/ti-ipc-common.inc
@@ -1,5 +1,5 @@
  PV = "3.50.04.07"
-INC_PR = "r1"
+INC_PR = "r0"
  
  PACKAGE_ARCH = "${MACHINE_ARCH}"

  COMPATIBLE_HOST ?= "null"
diff --git a/recipes-ti/ipc/ti-ipc.inc b/recipes-ti/ipc/ti-ipc.inc
index 2111f6b..000c5c0 100644
--- a/recipes-ti/ipc/ti-ipc.inc
+++ b/recipes-ti/ipc/ti-ipc.inc
@@ -8,8 +8,8 @@ TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git"
  TI_IPC_GIT_PROTOCOL = "git"
  TI_IPC_GIT_BRANCH = "3.50"
  
-#Corresponds to 3.50.04.07A

-TI_IPC_SRCREV = "9d26f80f2d7bf85d46e431a3a9ec85d3dfbc74dd"
+#Corresponds to 3.50.04.07
+TI_IPC_SRCREV = "129b6f44c50cbe760a5c1481b34b323b7a42ead5"
  
  BRANCH = "${TI_IPC_GIT_BRANCH}"

  SRC_URI = 
"${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};name=ipcdev"

--
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [EXTERNAL] [thud/master][PATCH] mcasp-lld-rtos:SRCREV update to 01.01.00.15C

2019-10-14 Thread Jacob Stiffler

Denys,

Please backport to ti2019.03.


Thank you,

Jake


On 10/14/2019 11:28 AM, Mahesh Radhakrishnan wrote:

---
  recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb 
b/recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb
index cdd1027..808a02a 100644
--- a/recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb
+++ b/recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb
@@ -13,14 +13,14 @@ MCASP_LLD_GIT_PROTOCOL = "git"
  MCASP_LLD_GIT_BRANCH = "master"
  MCASP_LLD_GIT_DESTSUFFIX = "git/ti/drv/mcasp"
  
-# Below commit ID corresponds to "DEV.MCASP_LLD.01.01.00.15B"

-MCASP_LLD_SRCREV = "0322199e23fc90e4acdcd715076bae4e1afabbb7"
+# Below commit ID corresponds to "DEV.MCASP_LLD.01.01.00.15C"
+MCASP_LLD_SRCREV = "3b206c0081cc3e78122982948b40a16e2e24522c"
  
  BRANCH = "${MCASP_LLD_GIT_BRANCH}"

  SRC_URI = 
"${MCASP_LLD_GIT_URI};destsuffix=${MCASP_LLD_GIT_DESTSUFFIX};protocol=${MCASP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
  
  SRCREV = "${MCASP_LLD_SRCREV}"

-PV = "01.01.00.15B"
+PV = "01.01.00.15C"
  PR = "r0"
  
  S = "${WORKDIR}/${MCASP_LLD_GIT_DESTSUFFIX}"

--
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [EXTERNAL] [thud/master][PATCH] ti-cgt7x: Update to version 1.2.0

2019-09-27 Thread Jacob Stiffler

Denys,

Please backport to ti2019.03.


Thank you,

Jake

On 9/26/2019 2:17 PM, Mahesh Radhakrishnan wrote:

The license checksum changed due to the version, but the license itself
has not changed since the last release (1.1.0)
---
  .../devtools/{ti-cgt7x_1.1.0.bb => ti-cgt7x_1.2.0.bb}   | 13 ++---
  1 file changed, 6 insertions(+), 7 deletions(-)
  rename recipes-ti/devtools/{ti-cgt7x_1.1.0.bb => ti-cgt7x_1.2.0.bb} (68%)

diff --git a/recipes-ti/devtools/ti-cgt7x_1.1.0.bb 
b/recipes-ti/devtools/ti-cgt7x_1.2.0.bb
similarity index 68%
rename from recipes-ti/devtools/ti-cgt7x_1.1.0.bb
rename to recipes-ti/devtools/ti-cgt7x_1.2.0.bb
index 72bbcc1..09178af 100644
--- a/recipes-ti/devtools/ti-cgt7x_1.1.0.bb
+++ b/recipes-ti/devtools/ti-cgt7x_1.2.0.bb
@@ -8,7 +8,7 @@ libraries and standard header files needed to produce a working 
DSP application.
  HOMEPAGE = 
"https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm;
  LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Patrick-Powell 
& AFL-3.0 & MIT & BSD-2-Clause & PD"
  
-LIC_FILES_CHKSUM = "file://ti-cgt-c7000_${PV}/C7000_1.0.x_CodeGenerationTools_Manifest.html;md5=3074e433c5d52657076d1d138dfbdaf8"

+LIC_FILES_CHKSUM = 
"file://ti-cgt-c7000_${PV}.STS/C7000_Code_Generation_Tools_1.x_manifest.html;md5=f1156d241d104c281bc64a6ec8eadc64"
  
  require recipes-ti/includes/ti-unpack.inc

  require recipes-ti/includes/ti-paths.inc
@@ -17,23 +17,22 @@ require recipes-ti/includes/ti-paths.inc
  COMPATIBLE_HOST = "x86_64.*-linux"
  COMPATIBLE_HOST_class-target = "null"
  
-BINFILE = "ti_cgt_c7000_${PV}_linux_installer_x86.bin"

+BINFILE = "ti_cgt_c7000_${PV}.STS_linux_installer_x86.bin"
  BINFILE_NAME = "cgt7x_x86_installer"
  
-# Please note, "install.source.dir.local" is not a real URL, below files need to be pre-downloaded

-SRC_URI = "http://install.source.dir.local/${BINFILE};name=${BINFILE_NAME};
+SRC_URI = 
"http://software-dl.ti.com/codegen/esd/cgt_public_sw/C7000/${PV}.STS/${BINFILE};name=${BINFILE_NAME};
  
  TI_BIN_UNPK_ARGS = "--prefix ${S}"

  TI_BIN_UNPK_CMDS = ""
  
-SRC_URI[cgt7x_x86_installer.md5sum]= "feb668b4213403c661909adcf65d2ba8"

-SRC_URI[cgt7x_x86_installer.sha256sum] = 
"4a3954c973622c00a9b91fa90473cf921f4b763300b0e7c32735304867856ab8"
+SRC_URI[cgt7x_x86_installer.md5sum]= "813840908f333dd2a31f92edec71c1fb"
+SRC_URI[cgt7x_x86_installer.sha256sum] = 
"21379811a8857489f72ca8ec45a46eb086ced0bdbb58e78f73a86e63984ab2f5"
  
  S = "${WORKDIR}/c7000_${PV}"
  
  do_install() {

  install -d ${D}/${TI_CGT7X_INSTALL_DIR_RECIPE}
-cp -rP --preserve=mode,links,timestamps --no-preserve=ownership 
${WORKDIR}/c7000_${PV}/ti-cgt-c7000_${PV}/. ${D}/${TI_CGT7X_INSTALL_DIR_RECIPE}
+cp -rP --preserve=mode,links,timestamps --no-preserve=ownership 
${WORKDIR}/c7000_${PV}/ti-cgt-c7000_${PV}.STS/. 
${D}/${TI_CGT7X_INSTALL_DIR_RECIPE}
  }
  
  

--
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [EXTERNAL] [thud/master][PATCH v3] ti-ipc: Update to new version 3.50.04.07

2019-09-25 Thread Jacob Stiffler

Denys,

Please backport this to ti2019.03.


Thank you,

Jake

On 9/22/2019 11:16 PM, Sam Nelson wrote:

Signed-off-by: Sam Nelson 

---
Change from previous version of patch
- Updated ipc-examples commit id
---
---
  recipes-ti/ipc/ti-ipc-common.inc | 2 +-
  recipes-ti/ipc/ti-ipc-rtos.inc   | 8 
  recipes-ti/ipc/ti-ipc.inc| 4 ++--
  3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/recipes-ti/ipc/ti-ipc-common.inc b/recipes-ti/ipc/ti-ipc-common.inc
index 4ec72cc..365486e 100644
--- a/recipes-ti/ipc/ti-ipc-common.inc
+++ b/recipes-ti/ipc/ti-ipc-common.inc
@@ -1,4 +1,4 @@
-PV = "3.50.04.06"
+PV = "3.50.04.07"
  INC_PR = "r0"
  
  PACKAGE_ARCH = "${MACHINE_ARCH}"

diff --git a/recipes-ti/ipc/ti-ipc-rtos.inc b/recipes-ti/ipc/ti-ipc-rtos.inc
index 460befe..fe2cc99 100644
--- a/recipes-ti/ipc/ti-ipc-rtos.inc
+++ b/recipes-ti/ipc/ti-ipc-rtos.inc
@@ -24,10 +24,10 @@ protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\
  branch=${TI_IPC_METADATA_GIT_BRANCH};\
  name=${TI_IPC_METADATA_NAME}"
  
-# Corresponds to tag: 3.50.04.06

-TI_IPC_METADATA_SRCREV = "15d256ea3c3a35fe065a0513f09f4ea6ece58725"
-# Corresponds to tag: 3.50.04.06
-TI_IPC_EXAMPLES_SRCREV = "f29c27652302892abbe78ce2c22a2aae28b28d69"
+# Corresponds to tag: 3.50.04.07
+TI_IPC_METADATA_SRCREV = "37e85ff1966f7d093fe2bde2dd9d4546f29d0d80"
+# Corresponds to tag: 3.50.04.07A
+TI_IPC_EXAMPLES_SRCREV = "0ebf5e642a8ca567bcaa7653875d15f6e7178405"
  
  SRCREV_FORMAT = "default"

  SRCREV_ipc-metadata = "${TI_IPC_METADATA_SRCREV}"
diff --git a/recipes-ti/ipc/ti-ipc.inc b/recipes-ti/ipc/ti-ipc.inc
index b9f9ca9..000c5c0 100644
--- a/recipes-ti/ipc/ti-ipc.inc
+++ b/recipes-ti/ipc/ti-ipc.inc
@@ -8,8 +8,8 @@ TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git"
  TI_IPC_GIT_PROTOCOL = "git"
  TI_IPC_GIT_BRANCH = "3.50"
  
-#Corresponds to 3.50.04.06

-TI_IPC_SRCREV = "ca7ce99b8ec82331559f0fd99a174bdcca1da9ac"
+#Corresponds to 3.50.04.07
+TI_IPC_SRCREV = "129b6f44c50cbe760a5c1481b34b323b7a42ead5"
  
  BRANCH = "${TI_IPC_GIT_BRANCH}"

  SRC_URI = 
"${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};name=ipcdev"

--
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [EXTERNAL] [thud/master][PATCH] sciclient-rtos: SRCREV update

2019-09-23 Thread Jacob Stiffler

Denys,

Please backport this to ti2019.03.


Thank you,

Jake

On 9/18/2019 2:36 PM, Mahesh Radhakrishnan wrote:

---
  recipes-bsp/sciclient/sciclient-rtos_git.bb | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/sciclient/sciclient-rtos_git.bb 
b/recipes-bsp/sciclient/sciclient-rtos_git.bb
index a8dcd56..3453bc9 100644
--- a/recipes-bsp/sciclient/sciclient-rtos_git.bb
+++ b/recipes-bsp/sciclient/sciclient-rtos_git.bb
@@ -13,14 +13,14 @@ SCICLIENT_GIT_PROTOCOL = "git"
  SCICLIENT_GIT_BRANCH = "master"
  
  # Below commit ID corresponds to "DEV.SCICLIENT.01.00.00.03"

-SCICLIENT_SRCREV = "c593925c3d9aecf18a8a1834d0eb098851457098"
+SCICLIENT_SRCREV = "c11ceefc4e4ca820aa1e76292af71680f90e7a63"
  
  BRANCH = "${SCICLIENT_GIT_BRANCH}"

  SRC_URI = 
"${SCICLIENT_GIT_URI};protocol=${SCICLIENT_GIT_PROTOCOL};branch=${BRANCH}"
  
  SRCREV = "${SCICLIENT_SRCREV}"

  PV = "01.00.00.03"
-PR = "r1"
+PR = "r2"
  
  DEPENDS_append = " osal-rtos common-csl-ip-rtos"
  

--
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [EXTERNAL] [thud/master][PATCH] ibl-boot-rtos: SRCREV bump to address b2ccs utils packaging issue on windows

2019-09-17 Thread Jacob Stiffler

Denys,

Please backport this to ti2019.03.


Thanks,

Jake

On 9/16/2019 11:09 AM, Mahesh Radhakrishnan wrote:

Signed-off-by: Mahesh Radhakrishnan 
---
  recipes-bsp/ibl-boot/ibl-boot-rtos_git.bb | 19 +--
  1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/recipes-bsp/ibl-boot/ibl-boot-rtos_git.bb 
b/recipes-bsp/ibl-boot/ibl-boot-rtos_git.bb
index b70ea6c..59b75b3 100644
--- a/recipes-bsp/ibl-boot/ibl-boot-rtos_git.bb
+++ b/recipes-bsp/ibl-boot/ibl-boot-rtos_git.bb
@@ -19,10 +19,17 @@ COMPATIBLE_MACHINE = "c66x"
  
  CLEANBROKEN = "1"
  
-BRANCH = "master"

-SRC_URI = 
"git://git.ti.com/keystone-rtos/ibl.git;protocol=git;branch=${BRANCH}"
-SRCREV = "8a3c14da3f0808854367cae38afe9d47ab80dce6"
-PR = "r1"
+IBL_BOOT_GIT_URI = "git://git.ti.com/keystone-rtos/ibl.git"
+IBL_BOOT_GIT_PROTOCOL = "git"
+IBL_BOOT_GIT_BRANCH = "master"
+IBL_BOOT_SRCREV = "ed3f0989d8cdc813b7ca1ed899c4d84b63de3a75"
+
+BRANCH = "${IBL_BOOT_GIT_BRANCH}"
+SRC_URI = 
"${IBL_BOOT_GIT_URI};protocol=${IBL_BOOT_GIT_PROTOCOL};branch=${BRANCH}"
+SRCREV = "${IBL_BOOT_SRCREV}"
+
+
+PR = "r2"
  
  S = "${WORKDIR}/git"
  
@@ -33,8 +40,8 @@ IBLTARGETS_c665x-evm = "evm_c6657_i2c"

  IBLTARGETS_c667x-evm = "evm_c6678_i2c"
  
  IBLENDIAN = ""

-IBLENDIAN_c665x-evm = "little big"
-IBLENDIAN_c667x-evm = "little big"
+IBLENDIAN_c665x-evm = "little"
+IBLENDIAN_c667x-evm = "little"
  
  export C6X_BASE_DIR="${TI_CGT6X_7_INSTALL_DIR}"

  export TOOLSC6X="${C6X_BASE_DIR}"

--
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [EXTERNAL] [thud/master][PATCH] emac-lld-rtos: Adding trace-rtos as a dependency for k3 devices

2019-09-13 Thread Jacob Stiffler

Denys,

Please backport this to ti2019.03.


Thanks,

Jake

On 9/12/2019 5:55 PM, Tinku Mannan wrote:

---
  recipes-bsp/emac-lld/emac-lld-rtos_git.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-bsp/emac-lld/emac-lld-rtos_git.bb 
b/recipes-bsp/emac-lld/emac-lld-rtos_git.bb
index 2af38b9..bbf56b4 100644
--- a/recipes-bsp/emac-lld/emac-lld-rtos_git.bb
+++ b/recipes-bsp/emac-lld/emac-lld-rtos_git.bb
@@ -18,7 +18,7 @@ DEPENDS_append_ti43x = " starterware-rtos"
  DEPENDS_append_k2g  = " cppi-lld-rtos qmss-lld-rtos"
  
  DEPENDS_remove_k3 = "board-rtos "

-DEPENDS_append_k3 = " udma-lld-rtos "
+DEPENDS_append_k3 = " udma-lld-rtos trace-rtos"
  
  # Build with make instead of XDC

  TI_PDK_XDCMAKE = "0"

--
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH v2] am65xx, j7-evm: add secondary serial console for Jailhouse

2019-08-30 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
v2 changes:
* update commit message
* add SERIAL_CONSOLES_CHECK

 conf/machine/am65xx-evm.conf | 3 ++-
 conf/machine/j7-evm.conf | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/conf/machine/am65xx-evm.conf b/conf/machine/am65xx-evm.conf
index 27bb0b0..15bffde 100644
--- a/conf/machine/am65xx-evm.conf
+++ b/conf/machine/am65xx-evm.conf
@@ -8,7 +8,8 @@ MACHINE_FEATURES += "touchscreen"
 
 IMAGE_FSTYPES += "tar.xz wic.xz"
 
-SERIAL_CONSOLES = "115200;ttyS2"
+SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 
 KERNEL_DEVICETREE = " \
 ti/k3-am654-base-board.dtb ti/k3-am654-gp.dtbo \
diff --git a/conf/machine/j7-evm.conf b/conf/machine/j7-evm.conf
index ca594e8..7b11ba7 100644
--- a/conf/machine/j7-evm.conf
+++ b/conf/machine/j7-evm.conf
@@ -6,7 +6,7 @@ require conf/machine/include/k3.inc
 
 IMAGE_FSTYPES += "tar.xz wic.xz"
 
-SERIAL_CONSOLES = "115200;ttyS2"
+SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
 SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 
 KERNEL_DEVICETREE = " \
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH] am65xx, j7-evm: add secondary serial console

2019-08-30 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 conf/machine/am65xx-evm.conf | 2 +-
 conf/machine/j7-evm.conf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/machine/am65xx-evm.conf b/conf/machine/am65xx-evm.conf
index 27bb0b0..e4d5ee1 100644
--- a/conf/machine/am65xx-evm.conf
+++ b/conf/machine/am65xx-evm.conf
@@ -8,7 +8,7 @@ MACHINE_FEATURES += "touchscreen"
 
 IMAGE_FSTYPES += "tar.xz wic.xz"
 
-SERIAL_CONSOLES = "115200;ttyS2"
+SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
 
 KERNEL_DEVICETREE = " \
 ti/k3-am654-base-board.dtb ti/k3-am654-gp.dtbo \
diff --git a/conf/machine/j7-evm.conf b/conf/machine/j7-evm.conf
index ca594e8..7b11ba7 100644
--- a/conf/machine/j7-evm.conf
+++ b/conf/machine/j7-evm.conf
@@ -6,7 +6,7 @@ require conf/machine/include/k3.inc
 
 IMAGE_FSTYPES += "tar.xz wic.xz"
 
-SERIAL_CONSOLES = "115200;ttyS2"
+SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
 SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 
 KERNEL_DEVICETREE = " \
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH v4 2/3] jailhouse: provide tools package

2019-08-30 Thread Jacob Stiffler
Create a package containing the jailhouse tools which are used to work
with the cells and inmates. This recipe provides a good example for
using the jailhouse-cell-linux tool.

The tools require the pyjailhouse python modules, so package them as
well.

Signed-off-by: Jacob Stiffler 
---
v4 changes:
* no change

 recipes-kernel/jailhouse/jailhouse_git.bb | 24 
 1 file changed, 20 insertions(+), 4 deletions(-)

diff --git a/recipes-kernel/jailhouse/jailhouse_git.bb 
b/recipes-kernel/jailhouse/jailhouse_git.bb
index aba4b3e..546f154 100644
--- a/recipes-kernel/jailhouse/jailhouse_git.bb
+++ b/recipes-kernel/jailhouse/jailhouse_git.bb
@@ -29,7 +29,7 @@ RDEPENDS_${PN} += "\
 S = "${WORKDIR}/git"
 
 require jailhouse-arch.inc
-inherit module pythonnative bash-completion deploy
+inherit module pythonnative bash-completion deploy setuptools
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 COMPATIBLE_MACHINE = "(ti-soc)"
@@ -78,12 +78,21 @@ USER_SPACE_CFLAGS = '${CFLAGS} 
-DLIBEXECDIR=\\\"${libexecdir}\\\" \
 TOOLS_SRC_DIR = "${S}/tools"
 TOOLS_OBJ_DIR = "${S}/tools"
 
+EXTRA_OEMAKE = "ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} 
KDIR=${STAGING_KERNEL_BUILDDIR}"
+
+
 do_compile() {
-   oe_runmake V=1 ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} 
KDIR=${STAGING_KERNEL_BUILDDIR}
+   oe_runmake V=1
 }
 
 do_install() {
-   oe_runmake ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} 
KDIR=${STAGING_KERNEL_BUILDDIR} DESTDIR=${D} install
+   # Install pyjailhouse python modules needed by the tools
+   distutils_do_install
+
+   # We want to install the python tools, but we do not want to use pip...
+   # At least with v0.10, we can work around this with
+   # 'PIP=":" PYTHON_PIP_USEABLE=yes'
+   oe_runmake PIP=: PYTHON_PIP_USEABLE=yes DESTDIR=${D} install
 
install -d ${D}${CELL_DIR}
install -m 0644 ${B}/configs/${JH_ARCH}/${JH_CELL_FILES} 
${D}${CELL_DIR}/
@@ -115,8 +124,15 @@ do_install() {
fi
 }
 
-PACKAGE_BEFORE_PN = "kernel-module-jailhouse"
+PACKAGE_BEFORE_PN = "kernel-module-jailhouse pyjailhouse ${PN}-tools"
 FILES_${PN} = "${base_libdir}/firmware ${libexecdir} ${sbindir} ${JH_DATADIR} 
/boot"
+FILES_pyjailhouse = "${PYTHON_SITEPACKAGES_DIR}"
+FILES_${PN}-tools = "${libexecdir}/${BPN}/${BPN}-*"
+
+RDEPENDS_${PN}-tools = "pyjailhouse python-mmap python-math python-argparse 
python-datetime python-curses python-compression"
+RDEPENDS_pyjailhouse = "python-core python-ctypes python-fcntl python-shell"
+
+RRECOMMENDS_${PN} = "${PN}-tools"
 
 INSANE_SKIP_${PN} = "ldflags"
 
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH v4 3/3] jailhouse: use ramfs for linux-demo

2019-08-30 Thread Jacob Stiffler
* Configure the linux-demo to use a ramfs for the linux inmate.
* Using JH_RAMFS_IMAGE, this can be set in some global conf.

Signed-off-by: Jacob Stiffler 
---
v4 changes:
* Set default JH_RAMFS_IMAGE to INITRAMFS_IMAGE
* change warning to error and fix the message

 recipes-kernel/jailhouse/jailhouse_git.bb | 21 +
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/recipes-kernel/jailhouse/jailhouse_git.bb 
b/recipes-kernel/jailhouse/jailhouse_git.bb
index 546f154..0b52ecb 100644
--- a/recipes-kernel/jailhouse/jailhouse_git.bb
+++ b/recipes-kernel/jailhouse/jailhouse_git.bb
@@ -58,8 +58,10 @@ JH_SYSCONFIG_CELL ?= ""
 JH_SYSCONFIG_CELL_am65xx ?= "k3-am654-idk.cell"
 JH_SYSCONFIG_CELL_j7-evm ?= "k3-j721e-evm.cell"
 
+JH_RAMFS_IMAGE ?= "${INITRAMFS_IMAGE}"
+
 JH_CMDLINE ?= ""
-JH_CMDLINE_k3 ?= "console=ttyS1,115200n8 root=/dev/mmcblk0p2 rw 
rootfstype=ext4 rootwait"
+JH_CMDLINE_k3 ?= "console=ttyS1,115200n8"
 
 do_configure() {
if [ -d ${STAGING_DIR_HOST}/${CELLCONF_DIR} ]; 
@@ -101,6 +103,16 @@ do_install() {
install -m 0644 ${B}/inmates/demos/${JH_ARCH}/*.bin ${D}${INMATES_DIR}
 
install -d ${D}/boot
+   if [ -n "${JH_RAMFS_IMAGE}" ]
+   then
+   if [ -f ${DEPLOY_DIR_IMAGE}/${JH_RAMFS_IMAGE}-${MACHINE}.cpio ]
+   then
+   install -m 0644 
${DEPLOY_DIR_IMAGE}/${JH_RAMFS_IMAGE}-${MACHINE}.cpio ${D}/boot
+   else
+   bberror "Could not find JH_RAMFS_IMAGE 
(${JH_RAMFS_IMAGE}-${MACHINE}.cpio)!"
+   bberror "Please make sure that \"cpio\" is in 
IMAGE_FSTYPES."
+   fi
+   fi
 
if [ -n "${JH_INMATE_DTB}" -a -n "${JH_LINUX_DEMO_CELL}" ]; then
cd ${TOOLS_SRC_DIR}
@@ -110,6 +122,7 @@ do_install() {
./jailhouse-cell-linux -w ${D}${JH_DATADIR}/${JH_INMATE_DTB} \
-a ${JH_ARCH} -c "${JH_CMDLINE}" \
-d ../configs/${JH_ARCH}/dts/${JH_INMATE_DTB} \
+   -i ${D}/boot/${JH_RAMFS_IMAGE}-${MACHINE}.cpio \
${D}${CELL_DIR}/${JH_LINUX_DEMO_CELL} \
${DEPLOY_DIR_IMAGE}/Image \
| tr -cd '\11\12\15\40-\176' \
@@ -143,9 +156,9 @@ CELLS = ""
 
 python __anonymous () {
 d.appendVarFlag('do_install', 'depends', ' virtual/kernel:do_deploy')
-initrd = d.getVar('INITRAMFS_IMAGE', True)
-if initrd:
-d.appendVarFlag('do_install', 'depends', ' 
${INITRAMFS_IMAGE}:do_image_complete')
+ramfs = d.getVar('JH_RAMFS_IMAGE', True)
+if ramfs:
+d.appendVarFlag('do_install', 'depends', ' 
${JH_RAMFS_IMAGE}:do_image_complete')
 
 # Setup DEPENDS and RDEPENDS to included cells
 cells = d.getVar('CELLS', True) or ""
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [master/thud][PATCH v4 1/3] jailhouse: remove earlycon bootargs for all k3

2019-08-30 Thread Jacob Stiffler
* Also update to ti2019.03-rc4

Signed-off-by: Jacob Stiffler 
---
v4 changes:
* rebase
* update to ti2019.03-rc4

 recipes-kernel/jailhouse/jailhouse_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/recipes-kernel/jailhouse/jailhouse_git.bb 
b/recipes-kernel/jailhouse/jailhouse_git.bb
index e1d5263..aba4b3e 100644
--- a/recipes-kernel/jailhouse/jailhouse_git.bb
+++ b/recipes-kernel/jailhouse/jailhouse_git.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = " \
 "
 
 PV = "0.10+git${SRCPV}"
-SRCREV = "96329f098e655cd42d7d0dbb3cd2cc7c3492d633"
+SRCREV = "6dce20f902f73fe9ce53ba0c41262a4defa8d328"
 BRANCH = "ti-jailhouse-0.10"
 
 SRC_URI = " \
@@ -60,7 +60,6 @@ JH_SYSCONFIG_CELL_j7-evm ?= "k3-j721e-evm.cell"
 
 JH_CMDLINE ?= ""
 JH_CMDLINE_k3 ?= "console=ttyS1,115200n8 root=/dev/mmcblk0p2 rw 
rootfstype=ext4 rootwait"
-JH_CMDLINE_j7-evm ?= "console=ttyS1,115200n8 root=/dev/mmcblk0p2 rw 
rootfstype=ext4 rootwait earlycon=ns16550a,mmio32,0x281"
 
 do_configure() {
if [ -d ${STAGING_DIR_HOST}/${CELLCONF_DIR} ]; 
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


  1   2   3   4   5   6   >