All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Denys Dmytriyenko" <denys@ti.com>
To: Lokesh Vutla <lokeshvutla@ti.com>
Cc: <meta-ti@lists.yoctoproject.org>, Sekhar Nori <nsekhar@ti.com>,
	<m-erdahl@ti.com>, <m-karicheri2@ti.com>
Subject: Re: [PATCH 1/3] prueth-hsr/prp: Update hsr/prp firmwares to latest
Date: Fri, 21 Aug 2020 14:40:02 -0400	[thread overview]
Message-ID: <20200821184002.GJ29812@beryl> (raw)
In-Reply-To: <20200821073238.18926-2-lokeshvutla@ti.com>

On Fri, Aug 21, 2020 at 01:02:36PM +0530, Lokesh Vutla wrote:
> Update the hsr/prp firmwares to latest that includes support for
> timestamping rx packets. Unfortunately version number is not
> incremented for this update.
> 
> Also rename the bb file to add PV in it.

This is fine, but you need to choose which one provides the correct PV. 
Currently you have it duplicated:

pruhsr-fw_2.15.23.bb will set PV = "2.15.23" automatically from the filename, 
but you also have existing PV = "2.15.23" inside the recipe. Same for other 
recipe.

The recommendation is to set PV in the filename for released tarballs.

When the code is pulled directly from git, it is acceptable (and sometimes 
even preferred) to use _git in the filename and set PV explicitly inside the 
recipe. And if you expect these to be updated regularly, you can avoid churn 
of renaming the recipe with the new version. Also that's preferred for 
packages (probably not in this case) that need to be AUTOREV-ed to the latest 
for any nightly CI atuomation...

-- 
Denys
 

> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> ---
>  .../pruhsr-fw/{pruhsr-fw_git.bb => pruhsr-fw_2.15.23.bb}      | 4 +++-
>  .../pruprp-fw/{pruprp-fw_git.bb => pruprp-fw_2.15.23.bb}      | 4 +++-
>  2 files changed, 6 insertions(+), 2 deletions(-)
>  rename recipes-bsp/pruhsr-fw/{pruhsr-fw_git.bb => pruhsr-fw_2.15.23.bb} (93%)
>  rename recipes-bsp/pruprp-fw/{pruprp-fw_git.bb => pruprp-fw_2.15.23.bb} (93%)
> 
> diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw_2.15.23.bb
> similarity index 93%
> rename from recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
> rename to recipes-bsp/pruhsr-fw/pruhsr-fw_2.15.23.bb
> index 0c7e7148..aebe255e 100644
> --- a/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
> +++ b/recipes-bsp/pruhsr-fw/pruhsr-fw_2.15.23.bb
> @@ -7,11 +7,13 @@ PV = "2.15.23"
>  PE = "1"
>  PR = "r0"
>  
> +CLEANBROKEN = "1"
> +
>  COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
>  
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>  
> -SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
> +SRCREV = "7ba9722b74608ad4472790972917e1205eb3c049"
>  BRANCH ?= "ti-linux-firmware"
>  
>  SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
> diff --git a/recipes-bsp/pruprp-fw/pruprp-fw_git.bb b/recipes-bsp/pruprp-fw/pruprp-fw_2.15.23.bb
> similarity index 93%
> rename from recipes-bsp/pruprp-fw/pruprp-fw_git.bb
> rename to recipes-bsp/pruprp-fw/pruprp-fw_2.15.23.bb
> index 046e8dad..e0e36c2d 100644
> --- a/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
> +++ b/recipes-bsp/pruprp-fw/pruprp-fw_2.15.23.bb
> @@ -7,11 +7,13 @@ PV = "2.15.23"
>  PE = "1"
>  PR = "r0"
>  
> +CLEANBROKEN = "1"
> +
>  COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
>  
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>  
> -SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
> +SRCREV = "7ba9722b74608ad4472790972917e1205eb3c049"
>  BRANCH ?= "ti-linux-firmware"
>  
>  SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
> -- 
> 2.23.0
> 

  reply	other threads:[~2020-08-21 18:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-21  7:32 [PATCH 0/3] prueth: Update all prueth firmwares lokeshvutla
2020-08-21  7:32 ` [PATCH 1/3] prueth-hsr/prp: Update hsr/prp firmwares to latest Lokesh Vutla
2020-08-21 18:40   ` Denys Dmytriyenko [this message]
2020-08-23  9:40     ` Lokesh Vutla
2020-08-25 16:54       ` Denys Dmytriyenko
2020-08-21  7:32 ` [PATCH 2/3] prueth-fw: Package the firmware images from ti-linux-firmware Lokesh Vutla
2020-08-21 18:53   ` Denys Dmytriyenko
2020-08-24 15:29     ` Suman Anna
2020-08-25 16:45       ` Denys Dmytriyenko
2020-08-21  7:32 ` [PATCH 3/3] prusw-fw: " Lokesh Vutla
2020-08-21 18:54   ` Denys Dmytriyenko
2020-08-23  9:54     ` Lokesh Vutla
2020-08-25 16:23       ` Lokesh Vutla
2020-08-25 16:57       ` Denys Dmytriyenko
2020-08-21 18:34 ` [PATCH 0/3] prueth: Update all prueth firmwares Denys Dmytriyenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200821184002.GJ29812@beryl \
    --to=denys@ti.com \
    --cc=lokeshvutla@ti.com \
    --cc=m-erdahl@ti.com \
    --cc=m-karicheri2@ti.com \
    --cc=meta-ti@lists.yoctoproject.org \
    --cc=nsekhar@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.