All of lore.kernel.org
 help / color / mirror / Atom feed
* [master/thud][RFC 00/42] Unify PDK sources
@ 2019-11-07 17:49 Jacob Stiffler
  2019-11-07 17:49 ` [master/thud][RFC 01/42] ti-pdk-fetch: add class for common pdk sources Jacob Stiffler
                   ` (42 more replies)
  0 siblings, 43 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:49 UTC (permalink / raw)
  To: meta-ti

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 +-----
 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 +----
 recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb        | 16 +----
 recipes-bsp/uart-lld/uart-lld-rtos_git.bb        | 16 +----
 recipes-bsp/udma-lld/udma-lld-rtos_git.bb        | 18 ++----
 recipes-bsp/usb-lld/usb-lld-rtos_git.bb          | 16 +----
 recipes-bsp/utils-rtos/profiling-rtos_git.bb     | 16 +----
 recipes-bsp/utils-rtos/trace-rtos_git.bb         | 16 +----
 recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb | 19 +-----
 56 files changed, 372 insertions(+), 538 deletions(-)
 create mode 100644 classes/ti-pdk-fetch.bbclass
 create mode 100644 recipes-bsp/cal-lld/cal-lld-rtos_git.bb
 create mode 100755 recipes-bsp/fvid2/fvid2-rtos_git.bb
 create mode 100644 recipes-bsp/iolink-lld/iolink-lld-rtos_git.bb
 create mode 100644 recipes-bsp/transport-rtos/timesync-rtos_git.bb

-- 
2.7.4



^ permalink raw reply	[flat|nested] 45+ messages in thread

* [master/thud][RFC 01/42] ti-pdk-fetch: add class for common pdk sources
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
@ 2019-11-07 17:49 ` Jacob Stiffler
  2019-11-07 17:49 ` [master/thud][RFC 02/42] aif2-lld: migrate to ti-pdk-fetch.bbclass Jacob Stiffler
                   ` (41 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:49 UTC (permalink / raw)
  To: meta-ti

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 <j-stiffler@ti.com>
---
 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 0000000..f5ab301
--- /dev/null
+++ b/classes/ti-pdk-fetch.bbclass
@@ -0,0 +1,30 @@
+TI_PDK_GIT_URI ?= "<TBD>"
+TI_PDK_GIT_BRANCH ?= "master"
+TI_PDK_GIT_PROTOCOL ?= "git"
+TI_PDK_SRCREV ?= "<TBD>"
+
+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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 02/42] aif2-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
  2019-11-07 17:49 ` [master/thud][RFC 01/42] ti-pdk-fetch: add class for common pdk sources Jacob Stiffler
@ 2019-11-07 17:49 ` Jacob Stiffler
  2019-11-07 17:49 ` [master/thud][RFC 03/42] bcp-lld: " Jacob Stiffler
                   ` (40 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:49 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 03/42] bcp-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
  2019-11-07 17:49 ` [master/thud][RFC 01/42] ti-pdk-fetch: add class for common pdk sources Jacob Stiffler
  2019-11-07 17:49 ` [master/thud][RFC 02/42] aif2-lld: migrate to ti-pdk-fetch.bbclass Jacob Stiffler
@ 2019-11-07 17:49 ` Jacob Stiffler
  2019-11-07 17:49 ` [master/thud][RFC 04/42] board-rtos: " Jacob Stiffler
                   ` (39 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:49 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 04/42] board-rtos: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (2 preceding siblings ...)
  2019-11-07 17:49 ` [master/thud][RFC 03/42] bcp-lld: " Jacob Stiffler
@ 2019-11-07 17:49 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 05/42] cppi-lld: " Jacob Stiffler
                   ` (38 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:49 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 05/42] cppi-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (3 preceding siblings ...)
  2019-11-07 17:49 ` [master/thud][RFC 04/42] board-rtos: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 06/42] dfe-lld: " Jacob Stiffler
                   ` (37 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 06/42] dfe-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (4 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 05/42] cppi-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 07/42] emac-lld: " Jacob Stiffler
                   ` (36 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 07/42] emac-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (5 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 06/42] dfe-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 08/42] fatfs-rtos: " Jacob Stiffler
                   ` (35 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 08/42] fatfs-rtos: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (6 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 07/42] emac-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 09/42] fftc-lld: " Jacob Stiffler
                   ` (34 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 09/42] fftc-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (7 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 08/42] fatfs-rtos: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 10/42] gpio-lld: " Jacob Stiffler
                   ` (33 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 10/42] gpio-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (8 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 09/42] fftc-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 11/42] gpmc-lld: " Jacob Stiffler
                   ` (32 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 11/42] gpmc-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (9 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 10/42] gpio-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 12/42] hyplnk-lld: " Jacob Stiffler
                   ` (31 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 12/42] hyplnk-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (10 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 11/42] gpmc-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 13/42] i2c-lld: " Jacob Stiffler
                   ` (30 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 13/42] i2c-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (11 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 12/42] hyplnk-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 14/42] icss-emac-lld: " Jacob Stiffler
                   ` (29 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 14/42] icss-emac-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (12 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 13/42] i2c-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 15/42] ipc-lld: " Jacob Stiffler
                   ` (28 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 15/42] ipc-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (13 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 14/42] icss-emac-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 16/42] iqn2-lld: " Jacob Stiffler
                   ` (27 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 16/42] iqn2-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (14 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 15/42] ipc-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 17/42] mcasp-lld: " Jacob Stiffler
                   ` (26 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 17/42] mcasp-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (15 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 16/42] iqn2-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 18/42] mcbsp-lld: " Jacob Stiffler
                   ` (25 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 18/42] mcbsp-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (16 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 17/42] mcasp-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 19/42] mmcsd-lld: " Jacob Stiffler
                   ` (24 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 19/42] mmcsd-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (17 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 18/42] mcbsp-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 20/42] nwal-lld: " Jacob Stiffler
                   ` (23 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 20/42] nwal-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (18 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 19/42] mmcsd-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 21/42] osal: " Jacob Stiffler
                   ` (22 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 21/42] osal: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (19 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 20/42] nwal-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 22/42] pa-lld: " Jacob Stiffler
                   ` (21 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 22/42] pa-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (20 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 21/42] osal: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 23/42] pcie-lld: " Jacob Stiffler
                   ` (20 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 23/42] pcie-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (21 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 22/42] pa-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 24/42] pru: " Jacob Stiffler
                   ` (19 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 24/42] pru: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (22 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 23/42] pcie-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 25/42] prueth-fw: " Jacob Stiffler
                   ` (18 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 25/42] prueth-fw: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (23 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 24/42] pru: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 26/42] pruss-lld: " Jacob Stiffler
                   ` (17 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 26/42] pruss-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (24 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 25/42] prueth-fw: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 27/42] qmss-lld: " Jacob Stiffler
                   ` (16 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 27/42] qmss-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (25 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 26/42] pruss-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 28/42] rm-lld: " Jacob Stiffler
                   ` (15 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 28/42] rm-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (26 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 27/42] qmss-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 29/42] sciclient: " Jacob Stiffler
                   ` (14 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 29/42] sciclient: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (27 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 28/42] rm-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 30/42] spi-lld: " Jacob Stiffler
                   ` (13 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 30/42] spi-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (28 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 29/42] sciclient: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 31/42] srio-lld: " Jacob Stiffler
                   ` (12 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 31/42] srio-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (29 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 30/42] spi-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 32/42] tcp3d-lld: " Jacob Stiffler
                   ` (11 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 32/42] tcp3d-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (30 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 31/42] srio-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 33/42] transport-rtos: " Jacob Stiffler
                   ` (10 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 33/42] transport-rtos: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (31 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 32/42] tcp3d-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 34/42] tsip-lld: " Jacob Stiffler
                   ` (9 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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 0000000..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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 34/42] tsip-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (32 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 33/42] transport-rtos: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 35/42] uart-lld: " Jacob Stiffler
                   ` (8 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 35/42] uart-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (33 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 34/42] tsip-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 36/42] udma-lld: " Jacob Stiffler
                   ` (7 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 36/42] udma-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (34 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 35/42] uart-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 37/42] usb-lld: " Jacob Stiffler
                   ` (6 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 37/42] usb-lld: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (35 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 36/42] udma-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 38/42] utils-rtos: " Jacob Stiffler
                   ` (5 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 38/42] utils-rtos: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (36 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 37/42] usb-lld: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 39/42] ti-pdk-build: " Jacob Stiffler
                   ` (4 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 39/42] ti-pdk-build: migrate to ti-pdk-fetch.bbclass
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (37 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 38/42] utils-rtos: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 40/42] cal-lld: TI RTOS low level driver for CAL Jacob Stiffler
                   ` (3 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 40/42] cal-lld: TI RTOS low level driver for CAL
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (38 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 39/42] ti-pdk-build: " Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 41/42] fvid2: TI RTOS Video Driver Interface Jacob Stiffler
                   ` (2 subsequent siblings)
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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 0000000..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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 41/42] fvid2: TI RTOS Video Driver Interface
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (39 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 40/42] cal-lld: TI RTOS low level driver for CAL Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-07 17:50 ` [master/thud][RFC 42/42] iolink-lld: TI RTOS low level driver for IO-Link Master Jacob Stiffler
  2019-11-08 20:00 ` [master/thud][RFC 00/42] Unify PDK sources Denys Dmytriyenko
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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 0000000..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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* [master/thud][RFC 42/42] iolink-lld: TI RTOS low level driver for IO-Link Master
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (40 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 41/42] fvid2: TI RTOS Video Driver Interface Jacob Stiffler
@ 2019-11-07 17:50 ` Jacob Stiffler
  2019-11-08 20:00 ` [master/thud][RFC 00/42] Unify PDK sources Denys Dmytriyenko
  42 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-07 17:50 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 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 0000000..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



^ permalink raw reply related	[flat|nested] 45+ messages in thread

* Re: [master/thud][RFC 00/42] Unify PDK sources
  2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
                   ` (41 preceding siblings ...)
  2019-11-07 17:50 ` [master/thud][RFC 42/42] iolink-lld: TI RTOS low level driver for IO-Link Master Jacob Stiffler
@ 2019-11-08 20:00 ` Denys Dmytriyenko
  2019-11-11 13:11   ` Jacob Stiffler
  42 siblings, 1 reply; 45+ messages in thread
From: Denys Dmytriyenko @ 2019-11-08 20:00 UTC (permalink / raw)
  To: Jacob Stiffler; +Cc: meta-ti

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...

-- 
Denys


^ permalink raw reply	[flat|nested] 45+ messages in thread

* Re: [master/thud][RFC 00/42] Unify PDK sources
  2019-11-08 20:00 ` [master/thud][RFC 00/42] Unify PDK sources Denys Dmytriyenko
@ 2019-11-11 13:11   ` Jacob Stiffler
  0 siblings, 0 replies; 45+ messages in thread
From: Jacob Stiffler @ 2019-11-11 13:11 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti


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.




^ permalink raw reply	[flat|nested] 45+ messages in thread

end of thread, other threads:[~2019-11-11 13:12 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-07 17:49 [master/thud][RFC 00/42] Unify PDK sources Jacob Stiffler
2019-11-07 17:49 ` [master/thud][RFC 01/42] ti-pdk-fetch: add class for common pdk sources Jacob Stiffler
2019-11-07 17:49 ` [master/thud][RFC 02/42] aif2-lld: migrate to ti-pdk-fetch.bbclass Jacob Stiffler
2019-11-07 17:49 ` [master/thud][RFC 03/42] bcp-lld: " Jacob Stiffler
2019-11-07 17:49 ` [master/thud][RFC 04/42] board-rtos: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 05/42] cppi-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 06/42] dfe-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 07/42] emac-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 08/42] fatfs-rtos: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 09/42] fftc-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 10/42] gpio-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 11/42] gpmc-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 12/42] hyplnk-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 13/42] i2c-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 14/42] icss-emac-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 15/42] ipc-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 16/42] iqn2-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 17/42] mcasp-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 18/42] mcbsp-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 19/42] mmcsd-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 20/42] nwal-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 21/42] osal: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 22/42] pa-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 23/42] pcie-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 24/42] pru: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 25/42] prueth-fw: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 26/42] pruss-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 27/42] qmss-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 28/42] rm-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 29/42] sciclient: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 30/42] spi-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 31/42] srio-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 32/42] tcp3d-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 33/42] transport-rtos: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 34/42] tsip-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 35/42] uart-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 36/42] udma-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 37/42] usb-lld: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 38/42] utils-rtos: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 39/42] ti-pdk-build: " Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 40/42] cal-lld: TI RTOS low level driver for CAL Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 41/42] fvid2: TI RTOS Video Driver Interface Jacob Stiffler
2019-11-07 17:50 ` [master/thud][RFC 42/42] iolink-lld: TI RTOS low level driver for IO-Link Master Jacob Stiffler
2019-11-08 20:00 ` [master/thud][RFC 00/42] Unify PDK sources Denys Dmytriyenko
2019-11-11 13:11   ` Jacob Stiffler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.