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: Tue, 25 Aug 2020 12:54:44 -0400	[thread overview]
Message-ID: <20200825165444.GB23638@beryl> (raw)
In-Reply-To: <549e7999-cf7a-d7b6-7b69-0f436c7e71e7@ti.com>

On Sun, Aug 23, 2020 at 03:10:20PM +0530, Lokesh Vutla wrote:
> Hi Denys,
> 
> On 22/08/20 12:10 am, Denys Dmytriyenko wrote:
> > 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...
> 
> Thanks for the explanation. Will remove the duplicate inside the FILE. Also what
> about PE and PR?

PE - Package Epoch, default "0"
PV - Package Version, default "0.0", but normally set in filename or recipe
PR - Package Revision, default "r0"

Normally PV comes from the component version. When there are any changes to 
the recipe, but PV stays the same, you want to bump the PR, though PR server 
does that function now and in most cases there's no need to do that manually.
And when the PV version goes backwards for some reason (re-version, downgrade 
or revert), then it is necessary to bump PE.


> Thanks and regards,
> Lokesh
> 
> > 

  reply	other threads:[~2020-08-25 16:54 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
2020-08-23  9:40     ` Lokesh Vutla
2020-08-25 16:54       ` Denys Dmytriyenko [this message]
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=20200825165444.GB23638@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.