ERROR: QA Issue: prueth-fw: LIC_FILES_CHKSUM points to an invalid file: 
/OE/arago-thud-next-build/build-CORTEX_1/arago-tmp-external-arm-toolchain/work/am57xx_evm-linux-gnueabi/prueth-fw/5.2.7-r0.0/git/ti/drv/icss_emac/firmware/icss_dualemac/COPYING.txt
 [license-checksum]

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Stiffler, Jacob
Sent: Thursday, April 18, 2019 12:42 PM
To: [email protected]
Cc: Kramer, Aaron
Subject: [meta-ti] [master/thud][PATCH] prueth-fw: use icss-emac-lld sources

* prueth-fw and icss-emac-lld shared the same source repo, so make
  them share the same inc file which specifies the sources.
* Add the FW versions to the icss-emac-lld.inc so that there can be
  a single location for updates.

Signed-off-by: Jacob Stiffler <[email protected]>
---
 recipes-bsp/icss-emac-lld/icss-emac-lld.inc |  6 ++++++
 recipes-bsp/prueth-fw/prueth-fw_git.bb      | 17 +++--------------
 2 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/recipes-bsp/icss-emac-lld/icss-emac-lld.inc 
b/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
index ebe66af..9c93b75 100644
--- a/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
+++ b/recipes-bsp/icss-emac-lld/icss-emac-lld.inc
@@ -16,7 +16,13 @@ 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.15A"
+
+# The FW version(s)
+PV_DUALEMAC_FW = "5.2.7"
+
 INC_PR = "r0"
 
 S = "${WORKDIR}/${ICSS_EMAC_LLD_GIT_DESTSUFFIX}"
diff --git a/recipes-bsp/prueth-fw/prueth-fw_git.bb 
b/recipes-bsp/prueth-fw/prueth-fw_git.bb
index ddcb9ec..41aedfb 100644
--- a/recipes-bsp/prueth-fw/prueth-fw_git.bb
+++ b/recipes-bsp/prueth-fw/prueth-fw_git.bb
@@ -4,21 +4,10 @@ LICENSE = "TI-TFL"
 LIC_FILES_CHKSUM = 
"file://src/firmware_version.h;beginline=6;endline=53;md5=1f0a640a261059cdcbbcf01e6a739ff3"
 
 require recipes-ti/includes/ti-paths.inc
+require recipes-bsp/icss-emac-lld/icss-emac-lld.inc
 
-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"
-
-# Below commit ID corresponds to "DEV.ICSS_EMAC_LLD.01.00.00.14"
-ICSS_EMAC_LLD_SRCREV = "7541d801b2f1be93fd02511cdf2143b0a200cc36"
-
-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}"
-PV = "5.2.0"
-PR = "r0"
+PV = "${PV_DUALEMAC_FW}"
+PR = "${INC_PR}.0"
 
 S = "${WORKDIR}/${ICSS_EMAC_LLD_GIT_DESTSUFFIX}/firmware/icss_dualemac"
 
-- 
1.9.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to