Skip to contentSkip to conversation

firmware: Use release tarballs

PATCH Applied Khem Raj 4 participants 15 messages Nov 6, 2016 – Nov 12, 2016

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 firmware: Use release tarballs

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

---
 recipes-bsp/common/firmware.inc | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
recipes-bsp/common/firmware.inc +7 -5
index ed0782f..8862f58 100644
@@ -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}"
+
Signature · 1 line
2.10.2
author
#1 lore raw

PATCH 2/2 userland: Bump to latest and add ASNEEDED = ""

ASNEEDED does not work with userland libraries as
noted in see
https://lists.yoctoproject.org/pipermail/yocto/2014-June/019933.html

Helps with running kodi using gles2

---
 .../userland/0003-wayland-Add-Wayland-example.patch        | 14 +++++++-------
 recipes-graphics/userland/userland_git.bb                  |  4 +++-
 2 files changed, 10 insertions(+), 8 deletions(-)
recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch +7 -7
index 49a7872..98f18c8 100644
@@ -1,4 +1,4 @@
-From 7f52662a4d1965988ee5ada28ce3525c38ebf164 Mon Sep 17 00:00:00 2001
+From 6ee44bd040bf8e8abf9c5a7be7f6ea4b82d5671a Mon Sep 17 00:00:00 2001
 From: Tomeu Vizoso <[email protected]>
 Date: Tue, 1 Oct 2013 13:19:20 +0200
 Subject: [PATCH 03/13] wayland: Add Wayland example
@@ -844,23 +844,23 @@ index 0000000..1a7bfc4
 +}
 +
 diff --git a/host_applications/linux/apps/hello_pi/rebuild.sh b/host_applications/linux/apps/hello_pi/rebuild.sh
-index fa4539e..37120ac 100755
+index 8225dd5..0be6ce7 100755
 --- a/host_applications/linux/apps/hello_pi/rebuild.sh
 +++ b/host_applications/linux/apps/hello_pi/rebuild.sh
-@@ -13,6 +13,7 @@ make -C hello_jpeg clean
- make -C hello_videocube clean
+@@ -14,6 +14,7 @@ make -C hello_videocube clean
  make -C hello_teapot clean
  make -C hello_fft clean
+ make -C hello_mmal_encode clean
 +make -C hello_wayland clean
  
  make -C libs/ilclient
  make -C libs/vgfont
-@@ -29,4 +30,4 @@ make -C hello_jpeg
- make -C hello_videocube
+@@ -31,4 +32,4 @@ make -C hello_videocube
  make -C hello_teapot
  make -C hello_fft
+ make -C hello_mmal_encode
 -
 +make -C hello_wayland
 -- 
-2.10.0
+2.10.2
 
recipes-graphics/userland/userland_git.bb +3 -1
index 7558851..84d6854 100644
@@ -16,7 +16,7 @@ COMPATIBLE_MACHINE = "raspberrypi"
 
 SRCBRANCH = "master"
 SRCFORK = "raspberrypi"
-SRCREV = "2852d9ff5a9038021f1c22d95e8a9e3aad09893f"
+SRCREV = "100f8bb3e74e29d04fb99857183cc34aaa712e3f"
 
 SRC_URI = "\
     git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \
@@ -38,6 +38,8 @@ S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
 
+ASNEEDED = ""
+
 EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed' \
                  -DVMCS_INSTALL_PREFIX=${exec_prefix} \
 "
Signature · 1 line
2.10.2
#2 lore raw

Re: [meta-raspberrypi][PATCH 2/2] userland: Bump to latest and add ASNEEDED = ""

Quoted 6 lines · Khem Raj

ASNEEDED does not work with userland libraries as
noted in see
https://lists.yoctoproject.org/pipermail/yocto/2014-June/019933.html

Helps with running kodi using gles2

Some work on kodi. This is nice.

Quoted 4 lines
---
 .../userland/0003-wayland-Add-Wayland-example.patch        | 14

+++++++-------

Quoted 4 lines
 recipes-graphics/userland/userland_git.bb                  |  4 +++-
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git

a/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch b/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch

Quoted 2 lines

index 49a7872..98f18c8 100644
---

a/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch

Quoted 1 line

+++

b/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch

recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch index 0000000..1a7bfc4 · line 846

Quoted 10 lines
recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch +1 -1
@@ -1,4 +1,4 @@
-From 7f52662a4d1965988ee5ada28ce3525c38ebf164 Mon Sep 17 00:00:00 2001
+From 6ee44bd040bf8e8abf9c5a7be7f6ea4b82d5671a Mon Sep 17 00:00:00 2001
 From: Tomeu Vizoso <[email protected]>
 Date: Tue, 1 Oct 2013 13:19:20 +0200
 Subject: [PATCH 03/13] wayland: Add Wayland example
@@ -844,23 +844,23 @@ index 0000000..1a7bfc4
 +}
 +
 diff --git a/host_applications/linux/apps/hello_pi/rebuild.sh

b/host_applications/linux/apps/hello_pi/rebuild.sh

Review

Quoted 27 lines
recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch +6 -6
-index fa4539e..37120ac 100755
+index 8225dd5..0be6ce7 100755
 --- a/host_applications/linux/apps/hello_pi/rebuild.sh
 +++ b/host_applications/linux/apps/hello_pi/rebuild.sh
-@@ -13,6 +13,7 @@ make -C hello_jpeg clean
- make -C hello_videocube clean
+@@ -14,6 +14,7 @@ make -C hello_videocube clean
  make -C hello_teapot clean
  make -C hello_fft clean
+ make -C hello_mmal_encode clean
 +make -C hello_wayland clean
 
  make -C libs/ilclient
  make -C libs/vgfont
-@@ -29,4 +30,4 @@ make -C hello_jpeg
- make -C hello_videocube
+@@ -31,4 +32,4 @@ make -C hello_videocube
  make -C hello_teapot
  make -C hello_fft
+ make -C hello_mmal_encode
 -
 +make -C hello_wayland
 --
-2.10.0
+2.10.2
 
(quoted diff) +0 -0

b/recipes-graphics/userland/userland_git.bb

recipes-graphics/userland/userland_git.bb COMPATIBLE_MACHINE = "raspberrypi" · line 22

Quoted 12 lines

index 7558851..84d6854 100644

recipes-graphics/userland/userland_git.bb +1 -1
@@ -16,7 +16,7 @@ COMPATIBLE_MACHINE = "raspberrypi"
 
 SRCBRANCH = "master"
 SRCFORK = "raspberrypi"
-SRCREV = "2852d9ff5a9038021f1c22d95e8a9e3aad09893f"
+SRCREV = "100f8bb3e74e29d04fb99857183cc34aaa712e3f"
 
 SRC_URI = "\
     git://

github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \

recipes-graphics/userland/userland_git.bb S = "${WORKDIR}/git" · line 43

Quoted 7 lines
recipes-graphics/userland/userland_git.bb +2 -0
@@ -38,6 +38,8 @@ S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
 
+ASNEEDED = ""
+
 EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release

-DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed' \

Quoted 10 lines
recipes-graphics/userland/userland_git.bb +0 -1
                  -DVMCS_INSTALL_PREFIX=${exec_prefix} \
 "
--

2.10.2

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

author
#3 lore raw

Re: [meta-raspberrypi][PATCH 2/2] userland: Bump to latest and add ASNEEDED = ""

Quoted 10 lines · Andrei Gherzan
Quoted 6 lines · On 6 Nov 2016 09:34, "Khem Raj" <[email protected]…

ASNEEDED does not work with userland libraries as
noted in see
https://lists.yoctoproject.org/pipermail/yocto/2014-June/019933.html

Helps with running kodi using gles2

Some work on kodi. This is nice.

yes !.
I can play 1080p videos with H/W acceleration using kraj/master on my ghub fork https://github.com/kraj/meta-raspberrypi/commits/kraj/master
it also works with vc4graphics, but w/o h/w acceleration.

all patches from that branches are ported to ml.

Quoted 89 lines
Quoted 6 lines
Signed-off-by Khem Raj <[email protected] <mailto:[email protected]>>
---
 .../userland/0003-wayland-Add-Wayland-example.patch        | 14 +++++++-------

recipes-graphics/userland/userland_git.bb <http://userland_git.bb>

        |  4 +++-
Quoted 3 lines
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git

a/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch b/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch

recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch line 2

Quoted 7 lines

index 49a7872..98f18c8 100644

recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch +1 -1
@@ -1,4 +1,4 @@
-From 7f52662a4d1965988ee5ada28ce3525c38ebf164 Mon Sep 17 00:00:00 2001
+From 6ee44bd040bf8e8abf9c5a7be7f6ea4b82d5671a Mon Sep 17 00:00:00 2001
 From: Tomeu Vizoso <[email protected]

<mailto:[email protected]>>

recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch index 0000000..1a7bfc4 · line 846

Quoted 6 lines
recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch +0 -0
 Date: Tue, 1 Oct 2013 13:19:20 +0200
 Subject: [PATCH 03/13] wayland: Add Wayland example
@@ -844,23 +844,23 @@ index 0000000..1a7bfc4
 +}
 +
 diff --git a/host_applications/linux/apps/hello_pi/rebuild.sh

b/host_applications/linux/apps/hello_pi/rebuild.sh

Review

Quoted 27 lines
recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch +6 -6
-index fa4539e..37120ac 100755
+index 8225dd5..0be6ce7 100755
 --- a/host_applications/linux/apps/hello_pi/rebuild.sh
 +++ b/host_applications/linux/apps/hello_pi/rebuild.sh
-@@ -13,6 +13,7 @@ make -C hello_jpeg clean
- make -C hello_videocube clean
+@@ -14,6 +14,7 @@ make -C hello_videocube clean
  make -C hello_teapot clean
  make -C hello_fft clean
+ make -C hello_mmal_encode clean
 +make -C hello_wayland clean
 
  make -C libs/ilclient
  make -C libs/vgfont
-@@ -29,4 +30,4 @@ make -C hello_jpeg
- make -C hello_videocube
+@@ -31,4 +32,4 @@ make -C hello_videocube
  make -C hello_teapot
  make -C hello_fft
+ make -C hello_mmal_encode
 -
 +make -C hello_wayland
 --
-2.10.0
+2.10.2
 
(quoted diff) +0 -0

<http://userland_git.bb> b/recipes-graphics/userland/userland_git.bb
<http://userland_git.bb>

recipes-graphics/userland/userland_git.bb <http://userland_git.bb> COMPATIBLE_MACHINE = "raspberrypi" · line 22

Quoted 12 lines

index 7558851..84d6854 100644

recipes-graphics/userland/userland_git.bb <http://userland_git.bb> +1 -1
@@ -16,7 +16,7 @@ COMPATIBLE_MACHINE = "raspberrypi"
 
 SRCBRANCH = "master"
 SRCFORK = "raspberrypi"
-SRCREV = "2852d9ff5a9038021f1c22d95e8a9e3aad09893f"
+SRCREV = "100f8bb3e74e29d04fb99857183cc34aaa712e3f"
 
 SRC_URI = "\
 

git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH}
<http://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH}> \

recipes-graphics/userland/userland_git.bb <http://userland_git.bb> S = "${WORKDIR}/git" · line 43

Quoted 7 lines
recipes-graphics/userland/userland_git.bb <http://userland_git.bb> +2 -0
@@ -38,6 +38,8 @@ S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
 
+ASNEEDED = ""
+
 EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release

-DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed' \

Quoted 10 lines
recipes-graphics/userland/userland_git.bb <http://userland_git.bb> +0 -1
                  -DVMCS_INSTALL_PREFIX=${exec_prefix} \
 "
--

2.10.2

--
_______________________________________________
yocto mailing list
[email protected] <mailto:[email protected]>
https://lists.yoctoproject.org/listinfo/yocto

#4 lore raw

Re: [meta-raspberrypi][PATCH 2/2] userland: Bump to latest and add ASNEEDED = ""

In reply to Khem Raj
Quoted 77 lines · Khem Raj

ASNEEDED does not work with userland libraries as
noted in see
https://lists.yoctoproject.org/pipermail/yocto/2014-June/019933.html

Helps with running kodi using gles2

---
 .../userland/0003-wayland-Add-Wayland-example.patch        | 14 +++++++-------
 recipes-graphics/userland/userland_git.bb                  |  4 +++-
 2 files changed, 10 insertions(+), 8 deletions(-)
recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch +7 -7
index 49a7872..98f18c8 100644
@@ -1,4 +1,4 @@
-From 7f52662a4d1965988ee5ada28ce3525c38ebf164 Mon Sep 17 00:00:00 2001
+From 6ee44bd040bf8e8abf9c5a7be7f6ea4b82d5671a Mon Sep 17 00:00:00 2001
 From: Tomeu Vizoso <[email protected]>
 Date: Tue, 1 Oct 2013 13:19:20 +0200
 Subject: [PATCH 03/13] wayland: Add Wayland example
@@ -844,23 +844,23 @@ index 0000000..1a7bfc4
 +}
 +
 diff --git a/host_applications/linux/apps/hello_pi/rebuild.sh b/host_applications/linux/apps/hello_pi/rebuild.sh
-index fa4539e..37120ac 100755
+index 8225dd5..0be6ce7 100755
 --- a/host_applications/linux/apps/hello_pi/rebuild.sh
 +++ b/host_applications/linux/apps/hello_pi/rebuild.sh
-@@ -13,6 +13,7 @@ make -C hello_jpeg clean
- make -C hello_videocube clean
+@@ -14,6 +14,7 @@ make -C hello_videocube clean
  make -C hello_teapot clean
  make -C hello_fft clean
+ make -C hello_mmal_encode clean
 +make -C hello_wayland clean
 
  make -C libs/ilclient
  make -C libs/vgfont
-@@ -29,4 +30,4 @@ make -C hello_jpeg
- make -C hello_videocube
+@@ -31,4 +32,4 @@ make -C hello_videocube
  make -C hello_teapot
  make -C hello_fft
+ make -C hello_mmal_encode
 -
 +make -C hello_wayland
 --
-2.10.0
+2.10.2
 
recipes-graphics/userland/userland_git.bb +3 -2
index 7558851..84d6854 100644
@@ -16,7 +16,7 @@ COMPATIBLE_MACHINE = "raspberrypi"
 
 SRCBRANCH = "master"
 SRCFORK = "raspberrypi"
-SRCREV = "2852d9ff5a9038021f1c22d95e8a9e3aad09893f"
+SRCREV = "100f8bb3e74e29d04fb99857183cc34aaa712e3f"
 
 SRC_URI = "\
     git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \
@@ -38,6 +38,8 @@ S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
 
+ASNEEDED = ""
+
 EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed' \
                  -DVMCS_INSTALL_PREFIX=${exec_prefix} \
 "
--

2.10.2

Quoted 5 lines

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

Merged to master. Thanks.

--
Andrei Gherzan

#5 lore raw
In reply to Khem Raj
Quoted 20 lines · On Sun, 6 Nov 2016 00:25:14 -0700 Khem Raj <[email protected]> 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

---
 recipes-bsp/common/firmware.inc | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
recipes-bsp/common/firmware.inc +1 -4
index ed0782f..8862f58 100644
@@ -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"

recipes-bsp/common/firmware.inc line 10

Quoted 10 lines
recipes-bsp/common/firmware.inc +6 -1
+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}"
+

Khem,

This series doesn't apply to master for me. I'm a bit lost as to which patches I need to apply as some of your previous series has been merged to master but not all of it.

Could you point me at which patches I need to apply or at a branch where this is staged if it's public?

Thanks,
Paul Barker

#6 lore raw
Quoted 9 lines · Paul Barker
Quoted 5 lines · On Sun, 6 Nov 2016 00:25:14 -0700 Khem Raj <[email protected]> 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

Quoted 6 lines

Review

Quoted 6 lines
---
 recipes-bsp/common/firmware.inc | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
(quoted diff) +0 -0

b/recipes-bsp/common/firmware.inc

Quoted 7 lines

recipes-bsp/common/firmware.inc line 3

Quoted 7 lines

index ed0782f..8862f58 100644

recipes-bsp/common/firmware.inc +0 -3
@@ -1,8 +1,10 @@
-RPIFW_SRCREV ?= "413fc664838e81caeabdc4118dc51e138d5d6c71"
-RPIFW_DATE ?= "20161030"
-RPIFW_SRC_URI ?= "git://

github.com/raspberrypi/firmware.git;protocol=git;branch=master"

Quoted 3 lines

recipes-bsp/common/firmware.inc

Quoted 3 lines
recipes-bsp/common/firmware.inc +2 -1
-RPIFW_S ?= "${WORKDIR}/git"
+RPIFW_DATE ?= "20161020"
+RPIFW_SRC_URI ?= "

https://github.com/raspberrypi/firmware/archive/1.${RPIFW_DATE}.tar.gz"

Quoted 6 lines

recipes-bsp/common/firmware.inc

Quoted 6 lines
recipes-bsp/common/firmware.inc +3 -1
+RPIFW_S ?= "${WORKDIR}/firmware-1.${RPIFW_DATE}"
 
 SRC_URI = "${RPIFW_SRC_URI}"
-SRCREV = "${RPIFW_SRCREV}"
+SRC_URI[md5sum] = "d3c388c114af4c672dd3ee0ed8e984d3"
+SRC_URI[sha256sum] =

"1c7c49d58800aab2dd1b5ff59a1e297934f9ea6f47ebdf0a3f90632561dc690b"

Quoted 6 lines

recipes-bsp/common/firmware.inc line 10

Quoted 3 lines
recipes-bsp/common/firmware.inc +2 -0
+
 PV = "${RPIFW_DATE}"
+

Khem,

Quoted 6 lines

This series doesn't apply to master for me. I'm a bit lost as to which patches I need to apply as some of your previous series has been merged to master but not all of it.

Could you point me at which patches I need to apply or at a branch where this is staged if it's public?

It probably fails because of version updates. Here you go:
https://github.com/kraj/meta-raspberrypi

Quoted 8 lines

Thanks,
Paul Barker
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

author
#7 lore raw
In reply to Paul Barker
Quoted 36 lines · Paul Barker
Quoted 20 lines · On Sun, 6 Nov 2016 00:25:14 -0700 Khem Raj <[email protected]> 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

---
 recipes-bsp/common/firmware.inc | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
recipes-bsp/common/firmware.inc +1 -4
index ed0782f..8862f58 100644
@@ -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"

recipes-bsp/common/firmware.inc line 10

Quoted 10 lines
recipes-bsp/common/firmware.inc +6 -1
+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}"
+

Khem,

Quoted 6 lines

This series doesn't apply to master for me. I'm a bit lost as to which patches I need to apply as some of your previous series has been merged to master but not all of it.

Could you point me at which patches I need to apply or at a branch where this is staged if it's public?

https://github.com/kraj/meta-raspberrypi/commits/kraj/master

Quoted 4 lines

Thanks,
Paul Barker

#8 lore raw
In reply to Khem Raj
Quoted 19 lines · Khem Raj

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

---
 recipes-bsp/common/firmware.inc | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
recipes-bsp/common/firmware.inc +0 -4
index ed0782f..8862f58 100644
@@ -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"

recipes-bsp/common/firmware.inc line 9

Quoted 10 lines
recipes-bsp/common/firmware.inc +6 -1
+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.

--
Andrei Gherzan

#9 lore raw
Quoted 24 lines · Andrei Gherzan
Quoted 23 lines · Khem Raj

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

---
 recipes-bsp/common/firmware.inc | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
recipes-bsp/common/firmware.inc +3 -4
index ed0782f..8862f58 100644
@@ -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}"
 
Quoted 8 lines

recipes-bsp/common/firmware.inc line 9

Quoted 6 lines
recipes-bsp/common/firmware.inc +3 -1
 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?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#10 lore raw
Quoted 34 lines · Gary Thomas
Quoted 24 lines · Andrei Gherzan
Quoted 23 lines · Khem Raj

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

---
 recipes-bsp/common/firmware.inc | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
recipes-bsp/common/firmware.inc +3 -4
index ed0782f..8862f58 100644
@@ -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}"
 
Quoted 8 lines

recipes-bsp/common/firmware.inc line 9

Quoted 6 lines
recipes-bsp/common/firmware.inc +3 -1
 SRC_URI = "${RPIFW_SRC_URI}"
-SRCREV = "${RPIFW_SRCREV}"
+SRC_URI[md5sum] = "d3c388c114af4c672dd3ee0ed8e984d3"
+SRC_URI[sha256sum] = "1c7c49d58800aab2dd1b5ff59a1e297934f9ea6f47ebdf0a3f90632561dc690b"
+
 PV = "${RPIFW_DATE}"

Merged to master. Thanks.

Quoted 3 lines

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.

--
Andrei Gherzan

author
#11 lore raw
Quoted 35 lines · Andrei Gherzan
Quoted 34 lines · Gary Thomas
Quoted 32 lines · Andrei Gherzan
Quoted 19 lines · Khem Raj

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

---
 recipes-bsp/common/firmware.inc | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
recipes-bsp/common/firmware.inc +0 -4
index ed0782f..8862f58 100644
@@ -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"

recipes-bsp/common/firmware.inc line 9

Quoted 10 lines
recipes-bsp/common/firmware.inc +6 -1
+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.

Quoted 5 lines
Quoted 3 lines

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.

Quoted 10 lines

--
Andrei Gherzan

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

#12 lore raw
Quoted 40 lines · Khem Raj
Quoted 39 lines · Andrei Gherzan
Quoted 37 lines · Gary Thomas
Quoted 24 lines · Andrei Gherzan
Quoted 23 lines · Khem Raj

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

---
 recipes-bsp/common/firmware.inc | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
recipes-bsp/common/firmware.inc +3 -4
index ed0782f..8862f58 100644
@@ -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}"
 
Quoted 8 lines

recipes-bsp/common/firmware.inc line 9

Quoted 6 lines
recipes-bsp/common/firmware.inc +3 -1
 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?

Quoted 5 lines
Quoted 1 line

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

author
#13 lore raw
Quoted 41 lines · Andrei Gherzan
Quoted 40 lines · Khem Raj
Quoted 39 lines · Andrei Gherzan
Quoted 37 lines · Gary Thomas
Quoted 24 lines · Andrei Gherzan
Quoted 23 lines · Khem Raj

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

---
 recipes-bsp/common/firmware.inc | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
recipes-bsp/common/firmware.inc +3 -4
index ed0782f..8862f58 100644
@@ -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}"
 
Quoted 8 lines

recipes-bsp/common/firmware.inc line 9

Quoted 6 lines
recipes-bsp/common/firmware.inc +3 -1
 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?

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

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

thats what i mean, when there is next release whenever that is, it will be newer than todays date. The problem here is that we went backwards for once only.

Quoted 4 lines

--
Andrei Gherzan

#14 lore raw
Quoted 50 lines · Khem Raj
Quoted 47 lines · Andrei Gherzan
Quoted 45 lines · Khem Raj
Quoted 35 lines · Andrei Gherzan
Quoted 34 lines · Gary Thomas
Quoted 32 lines · Andrei Gherzan
Quoted 19 lines · Khem Raj

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

---
 recipes-bsp/common/firmware.inc | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
recipes-bsp/common/firmware.inc +0 -4
index ed0782f..8862f58 100644
@@ -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"

recipes-bsp/common/firmware.inc line 9

Quoted 10 lines
recipes-bsp/common/firmware.inc +6 -1
+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.

Quoted 5 lines
Quoted 3 lines

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.

Quoted 6 lines
Quoted 2 lines

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

thats what i mean, when there is next release whenever that is, it will be newer than todays date. The problem here is that we went backwards for once only.

Got it now. Thanks.

--
Andrei Gherzan