[yocto] [meta-raspberrypi][PATCH 1/2] firmware: Use release tarballs

Andrei Gherzan andrei at gherzan.ro
Sat Nov 12 04:23:45 PST 2016


On Tue, Nov 08, 2016 at 06:46:45AM -0800, Khem Raj wrote:
> On Tue, Nov 8, 2016 at 3:38 AM, Andrei Gherzan <andrei at gherzan.ro> wrote:
> > On Tue, Nov 08, 2016 at 12:35:47PM +0100, Gary Thomas wrote:
> >> On 2016-11-08 12:16, Andrei Gherzan wrote:
> >> > On Sun, Nov 6, 2016 at 7:25 AM, Khem Raj <raj.khem at gmail.com> wrote:
> >> > > This is a binary repo and its quite large in size
> >> > > we do not need the whole history of this repo since
> >> > > most of stuff needed is binaries, therefore switch
> >> > > to release tarballs
> >> > >
> >> > > Signed-off-by: Khem Raj <raj.khem at gmail.com>
> >> > > ---
> >> > >  recipes-bsp/common/firmware.inc | 12 +++++++-----
> >> > >  1 file changed, 7 insertions(+), 5 deletions(-)
> >> > >
> >> > > diff --git a/recipes-bsp/common/firmware.inc b/recipes-bsp/common/firmware.inc
> >> > > index ed0782f..8862f58 100644
> >> > > --- a/recipes-bsp/common/firmware.inc
> >> > > +++ b/recipes-bsp/common/firmware.inc
> >> > > @@ -1,8 +1,10 @@
> >> > > -RPIFW_SRCREV ?= "413fc664838e81caeabdc4118dc51e138d5d6c71"
> >> > > -RPIFW_DATE ?= "20161030"
> >> > > -RPIFW_SRC_URI ?= "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master"
> >> > > -RPIFW_S ?= "${WORKDIR}/git"
> >> > > +RPIFW_DATE ?= "20161020"
> >> > > +RPIFW_SRC_URI ?= "https://github.com/raspberrypi/firmware/archive/1.${RPIFW_DATE}.tar.gz"
> >> > > +RPIFW_S ?= "${WORKDIR}/firmware-1.${RPIFW_DATE}"
> >> > >
> >> > >  SRC_URI = "${RPIFW_SRC_URI}"
> >> > > -SRCREV = "${RPIFW_SRCREV}"
> >> > > +SRC_URI[md5sum] = "d3c388c114af4c672dd3ee0ed8e984d3"
> >> > > +SRC_URI[sha256sum] = "1c7c49d58800aab2dd1b5ff59a1e297934f9ea6f47ebdf0a3f90632561dc690b"
> >> > > +
> >> > >  PV = "${RPIFW_DATE}"
> >> >
> >> > Merged to master. Thanks.
> >>
> >> Sadly, the firmware revision went backwards in this change.
> >> Do you want a new patch to play catch-up?
> >>
> >
> > Good catch. I'll fix it. Thanks.
>
> ah sorry about that.
> just hardcode PV = "20161030" for now. with next release we will get it right
> since its already past oct 30.

Actually the last archive is 1.20161020.
https://github.com/raspberrypi/firmware/releases

--
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161112/83fccf4b/attachment.pgp>


More information about the yocto mailing list