Re: [meta-ti] [EXTERNAL] [rocko/master][PATCH 17/30] pm-lld-rtos: Update to version 01.04.00.05B and k3 support

2018-09-27 Thread Jacob Stiffler




On 9/27/2018 11:22 AM, Mahesh Radhakrishnan wrote:

Signed-off-by: Mahesh Radhakrishnan 
---
  recipes-bsp/pm-lld/pm-lld-rtos_git.bb | 20 +---
  1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/recipes-bsp/pm-lld/pm-lld-rtos_git.bb 
b/recipes-bsp/pm-lld/pm-lld-rtos_git.bb
index 3e4e4f7..af3622b 100644
--- a/recipes-bsp/pm-lld/pm-lld-rtos_git.bb
+++ b/recipes-bsp/pm-lld/pm-lld-rtos_git.bb
@@ -5,7 +5,7 @@ inherit ti-pdk
  LICENSE = "BSD-3-Clause"
  LIC_FILES_CHKSUM = 
"file://Power.h;beginline=1;endline=31;md5=527b91fdcd26cd19ac07a754f45dedbe"
  
-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"

+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|k3"
  PACKAGE_ARCH = "${MACHINE_ARCH}"
  
  
@@ -14,21 +14,23 @@ PM_LLD_GIT_PROTOCOL = "git"

  PM_LLD_GIT_BRANCH = "int_pm_am335x"
  PM_LLD_GIT_BRANCH_dra7xx-evm = "master"
  PM_LLD_GIT_BRANCH_am57xx-evm = "master"
+PM_LLD_GIT_BRANCH_am65xx-evm = "master"


Please extend this to k3 as was done with the PM_LLD_SRCREV below.


  PM_LLD_GIT_DESTSUFFIX = "git/ti/drv/pm"
  
-# Below commit ID corresponds to "DEV.PM_LLD.01.04.00.05A"

-PM_LLD_SRCREV = "a5f12b8210ccea4b2e8848e54b4e178534771843"
+# Below commit ID corresponds to "DEV.PM_LLD.01.04.00.05B"
+PM_LLD_SRCREV = "bac16125842f08d05156dccabec74947756d831b"
  
-# Below commit ID corresponds to "DEV.PM_LLD.01.08.00.18"

-PM_LLD_SRCREV_dra7xx-evm = "c1924e4cb882c5500ae012ad2d7d76d1fbe97037"
-PM_LLD_SRCREV_am57xx-evm = "c1924e4cb882c5500ae012ad2d7d76d1fbe97037"
+# Below commit ID corresponds to "DEV.PM_LLD.01.08.00.19"
+PM_LLD_SRCREV_dra7xx-evm = "9095c9d1b479d6d1ad483b8b0cf4568c83e599ec"
+PM_LLD_SRCREV_am57xx-evm = "9095c9d1b479d6d1ad483b8b0cf4568c83e599ec"
+PM_LLD_SRCREV_k3 = "9095c9d1b479d6d1ad483b8b0cf4568c83e599ec"
  
  
  BRANCH = "${PM_LLD_GIT_BRANCH}"

  SRC_URI = 
"${PM_LLD_GIT_URI};destsuffix=${PM_LLD_GIT_DESTSUFFIX};protocol=${PM_LLD_GIT_PROTOCOL};branch=${BRANCH}"
  
  SRCREV = "${PM_LLD_SRCREV}"

-PV = "01.04.00.05A"
+PV = "01.04.00.05B"
  PR = "r0"
  
  S = "${WORKDIR}/${PM_LLD_GIT_DESTSUFFIX}"

@@ -40,6 +42,10 @@ DEPENDS_append_ti33x = " starterware-rtos \
  "
  DEPENDS_append_ti43x = " starterware-rtos \
  "
+
+DEPENDS_append_k3 = " sciclient-rtos \
+"
+
  export PDK_PM_ROOT_PATH = "${WORKDIR}/build"
  export DEST_ROOT="${S}"
  


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


Re: [meta-ti] [EXTERNAL] [rocko/master][PATCH 17/30] pm-lld-rtos: Update to version 01.04.00.05B and k3 support

2018-09-27 Thread Denys Dmytriyenko
On Thu, Sep 27, 2018 at 12:32:12PM -0400, Jacob Stiffler wrote:
> 
> 
> On 9/27/2018 11:22 AM, Mahesh Radhakrishnan wrote:
> >Signed-off-by: Mahesh Radhakrishnan 
> >---
> >  recipes-bsp/pm-lld/pm-lld-rtos_git.bb | 20 +---
> >  1 file changed, 13 insertions(+), 7 deletions(-)
> >
> >diff --git a/recipes-bsp/pm-lld/pm-lld-rtos_git.bb 
> >b/recipes-bsp/pm-lld/pm-lld-rtos_git.bb
> >index 3e4e4f7..af3622b 100644
> >--- a/recipes-bsp/pm-lld/pm-lld-rtos_git.bb
> >+++ b/recipes-bsp/pm-lld/pm-lld-rtos_git.bb
> >@@ -5,7 +5,7 @@ inherit ti-pdk
> >  LICENSE = "BSD-3-Clause"
> >  LIC_FILES_CHKSUM = 
> > "file://Power.h;beginline=1;endline=31;md5=527b91fdcd26cd19ac07a754f45dedbe"
> >-COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"
> >+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|k3"
> >  PACKAGE_ARCH = "${MACHINE_ARCH}"
> >@@ -14,21 +14,23 @@ PM_LLD_GIT_PROTOCOL = "git"
> >  PM_LLD_GIT_BRANCH = "int_pm_am335x"
> >  PM_LLD_GIT_BRANCH_dra7xx-evm = "master"
> >  PM_LLD_GIT_BRANCH_am57xx-evm = "master"
> >+PM_LLD_GIT_BRANCH_am65xx-evm = "master"
> 
> Please extend this to k3 as was done with the PM_LLD_SRCREV below.

I'd also suggest reversing the branches - it seems only am335x uses a special 
branch and all other platforms use master. It would be easier to have a single 
override for am335x/ti33x here.


> >  PM_LLD_GIT_DESTSUFFIX = "git/ti/drv/pm"
> >-# Below commit ID corresponds to "DEV.PM_LLD.01.04.00.05A"
> >-PM_LLD_SRCREV = "a5f12b8210ccea4b2e8848e54b4e178534771843"
> >+# Below commit ID corresponds to "DEV.PM_LLD.01.04.00.05B"
> >+PM_LLD_SRCREV = "bac16125842f08d05156dccabec74947756d831b"
> >-# Below commit ID corresponds to "DEV.PM_LLD.01.08.00.18"
> >-PM_LLD_SRCREV_dra7xx-evm = "c1924e4cb882c5500ae012ad2d7d76d1fbe97037"
> >-PM_LLD_SRCREV_am57xx-evm = "c1924e4cb882c5500ae012ad2d7d76d1fbe97037"
> >+# Below commit ID corresponds to "DEV.PM_LLD.01.08.00.19"
> >+PM_LLD_SRCREV_dra7xx-evm = "9095c9d1b479d6d1ad483b8b0cf4568c83e599ec"
> >+PM_LLD_SRCREV_am57xx-evm = "9095c9d1b479d6d1ad483b8b0cf4568c83e599ec"
> >+PM_LLD_SRCREV_k3 = "9095c9d1b479d6d1ad483b8b0cf4568c83e599ec"
> >  BRANCH = "${PM_LLD_GIT_BRANCH}"
> >  SRC_URI = 
> > "${PM_LLD_GIT_URI};destsuffix=${PM_LLD_GIT_DESTSUFFIX};protocol=${PM_LLD_GIT_PROTOCOL};branch=${BRANCH}"
> >  SRCREV = "${PM_LLD_SRCREV}"
> >-PV = "01.04.00.05A"
> >+PV = "01.04.00.05B"
> >  PR = "r0"
> >  S = "${WORKDIR}/${PM_LLD_GIT_DESTSUFFIX}"
> >@@ -40,6 +42,10 @@ DEPENDS_append_ti33x = " starterware-rtos \
> >  "
> >  DEPENDS_append_ti43x = " starterware-rtos \
> >  "
> >+
> >+DEPENDS_append_k3 = " sciclient-rtos \
> >+"
> >+
> >  export PDK_PM_ROOT_PATH = "${WORKDIR}/build"
> >  export DEST_ROOT="${S}"
> 
> -- 
> ___
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti