Skip to contentSkip to conversation

rpi-gpio: Update to v0.6.2

PATCH In review Andrei Gherzan 3 participants 17 messages Apr 14, 2017 – Apr 18, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/7 rpi-gpio: Update to v0.6.2

---
 recipes-devtools/python/{rpi-gpio_0.6.1.bb => rpi-gpio_0.6.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename recipes-devtools/python/{rpi-gpio_0.6.1.bb => rpi-gpio_0.6.2.bb} (78%)
recipes-devtools/python/rpi-gpio_0.6.2.bb renamed from recipes-devtools/python/rpi-gpio_0.6.1.bb +2 -2
similarity index 78%
rename from recipes-devtools/python/rpi-gpio_0.6.1.bb
rename to recipes-devtools/python/rpi-gpio_0.6.2.bb
index 89f601b..a08ea98 100644
@@ -10,8 +10,8 @@ SRC_URI = "\
           http://pypi.python.org/packages/source/R/RPi.GPIO/${SRCNAME}-${PV}.tar.gz \
           file://0001-Remove-nested-functions.patch \
           "
-SRC_URI[md5sum] = "254d0443a436eb241367c487274e7197"
-SRC_URI[sha256sum] = "54e5fb06d9ea1a1389a497fb5a06dfa950c86303b0f4ba89b68c55999d1df064"
+SRC_URI[md5sum] = "9db86fd5f3bae872de9dbb068ee0b096"
+SRC_URI[sha256sum] = "82acff0ef6bbe3cdf6f4dbdd73d96add5294bb94baf7f51c1d901861af3c2392"
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
Signature · 1 line
2.12.1
#1 lore raw

PATCH 2/7 bcm2835: Update to v1.52

---
 recipes-devtools/bcm2835/{bcm2835_1.50.bb => bcm2835_1.52.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename recipes-devtools/bcm2835/{bcm2835_1.50.bb => bcm2835_1.52.bb} (88%)
recipes-devtools/bcm2835/bcm2835_1.52.bb renamed from recipes-devtools/bcm2835/bcm2835_1.50.bb +2 -2
similarity index 88%
rename from recipes-devtools/bcm2835/bcm2835_1.50.bb
rename to recipes-devtools/bcm2835/bcm2835_1.52.bb
index 9cf6f48..c0334fe 100644
@@ -12,8 +12,8 @@ COMPATIBLE_MACHINE = "raspberrypi"
 
 SRC_URI = "http://www.airspayce.com/mikem/bcm2835/bcm2835-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "258caf3437012d09a651e1852d0bd60c"
-SRC_URI[sha256sum] = "52180b8a61b6546c1df4aed259d0a4d2fa56e50605e0d4d967a76bf2b23dafb8"
+SRC_URI[md5sum] = "b5dc426b4ff258bb1397442f98e40236"
+SRC_URI[sha256sum] = "b9fd10f7a80aadaed28a77168709b7c519568a63b6e98d0a50e9c5fe31bea6bb"
 
 inherit autotools
 
Signature · 1 line
2.12.1
#2 lore raw

PATCH 3/7 firmware.inc: Bump to 20170405

In reply to Andrei Gherzan
---
 recipes-bsp/common/firmware.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-bsp/common/firmware.inc +3 -3
index 53c469e..1c3a911 100644
@@ -1,10 +1,10 @@
-RPIFW_DATE ?= "20170303"
+RPIFW_DATE ?= "20170405"
 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}"
-SRC_URI[md5sum] = "c87bc1bffbb8f254fc739e34baa03b02"
-SRC_URI[sha256sum] = "ee8758d7e63c8fea7c8b7b476ff1c09f9591c74349b7751036a78ae5b88eca36"
+SRC_URI[md5sum] = "ea82d14a7cd8cfae9b78e00d4e56bc71"
+SRC_URI[sha256sum] = "2f4e5bddbac1372590db203002c35cbba3fb9d6172a93c314ee27bf05ae13bff"
 
 PV = "${RPIFW_DATE}"
 
Signature · 1 line
2.12.1
#3 lore raw

Re: [meta-raspberrypi][PATCH 3/7] firmware.inc: Bump to 20170405

same :) see my series.

Quoted 31 lines · Andrei Gherzan
---
 recipes-bsp/common/firmware.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-bsp/common/firmware.inc +3 -4
index 53c469e..1c3a911 100644
@@ -1,10 +1,10 @@
-RPIFW_DATE ?= "20170303"
+RPIFW_DATE ?= "20170405"
 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}"
-SRC_URI[md5sum] = "c87bc1bffbb8f254fc739e34baa03b02"
-SRC_URI[sha256sum] = "ee8758d7e63c8fea7c8b7b476ff1c09f9591c74349b7751036a78ae5b88eca36"
+SRC_URI[md5sum] = "ea82d14a7cd8cfae9b78e00d4e56bc71"
+SRC_URI[sha256sum] = "2f4e5bddbac1372590db203002c35cbba3fb9d6172a93c314ee27bf05ae13bff"
 
 PV = "${RPIFW_DATE}"
 
--

2.12.1

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

#4 lore raw

Re: [meta-raspberrypi][PATCH 3/7] firmware.inc: Bump to 20170405

Quoted 2 lines · Khem Raj

same :) see my series.

You were a little faster so you won.
--
Andrei Gherzan
gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan

#5 lore raw

PATCH 4/7 linux-raspberrypi_4.9: Bump to 4.9.21

In reply to Andrei Gherzan
---
 recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/linux/linux-raspberrypi_4.9.bb +2 -2
index 3aba67b..c0e8b83 100644
@@ -1,8 +1,8 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
 
-LINUX_VERSION ?= "4.9.13"
+LINUX_VERSION ?= "4.9.21"
 
-SRCREV = "28ea32b9afb5d813986c4ab940c26fe298d80ed2"
+SRCREV = "5e4ee836560d4c0371e109bf469e1ad808ae7a44"
 SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.9.y \
 "
 require linux-raspberrypi.inc
Signature · 1 line
2.12.1
#6 lore raw

Re: [meta-raspberrypi][PATCH 4/7] linux-raspberrypi_4.9: Bump to 4.9.21

I posted a similar patch earlier

Quoted 28 lines · Andrei Gherzan
---
 recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/linux/linux-raspberrypi_4.9.bb +2 -3
index 3aba67b..c0e8b83 100644
@@ -1,8 +1,8 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
 
-LINUX_VERSION ?= "4.9.13"
+LINUX_VERSION ?= "4.9.21"
 
-SRCREV = "28ea32b9afb5d813986c4ab940c26fe298d80ed2"
+SRCREV = "5e4ee836560d4c0371e109bf469e1ad808ae7a44"
 SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.9.y \
 "
 require linux-raspberrypi.inc
--

2.12.1

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

#7 lore raw

Re: [meta-raspberrypi][PATCH 4/7] linux-raspberrypi_4.9: Bump to 4.9.21

In reply to Andrei Gherzan
Quoted 21 lines · Andrei Gherzan
---
 recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/linux/linux-raspberrypi_4.9.bb +2 -3
index 3aba67b..c0e8b83 100644
@@ -1,8 +1,8 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
 
-LINUX_VERSION ?= "4.9.13"
+LINUX_VERSION ?= "4.9.21"
 
-SRCREV = "28ea32b9afb5d813986c4ab940c26fe298d80ed2"
+SRCREV = "5e4ee836560d4c0371e109bf469e1ad808ae7a44"
 SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.9.y \
 "
 require linux-raspberrypi.inc
--
Quoted 2 lines

2.12.1

I'm going to backport this to morty and test this week. Any other patches worth testing for morty at the same time?

Cheers,
Paul

#8 lore raw

Re: [meta-raspberrypi][PATCH 4/7] linux-raspberrypi_4.9: Bump to 4.9.21

Quoted 28 lines · Paul Barker
Quoted 21 lines · Andrei Gherzan
---
 recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/linux/linux-raspberrypi_4.9.bb +2 -3
index 3aba67b..c0e8b83 100644
@@ -1,8 +1,8 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
 
-LINUX_VERSION ?= "4.9.13"
+LINUX_VERSION ?= "4.9.21"
 
-SRCREV = "28ea32b9afb5d813986c4ab940c26fe298d80ed2"
+SRCREV = "5e4ee836560d4c0371e109bf469e1ad808ae7a44"
 SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.9.y \
 "
 require linux-raspberrypi.inc
--
Quoted 2 lines

2.12.1

I'm going to backport this to morty and test this week. Any other patches worth testing for morty at the same time?

Quoted 2 lines

Cheers,
Paul

I would probably want to have 64b rpi3 too in morty. And yes, 4.9 defaulted for kernel?

--
Andrei Gherzan
gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan

#9 lore raw

Re: [meta-raspberrypi][PATCH 4/7] linux-raspberrypi_4.9: Bump to 4.9.21

Quoted 12 lines · Andrei Gherzan
Quoted 10 lines · Paul Barker

recipes-kernel/linux/linux-raspberrypi_4.9.bb line 3

Quoted 5 lines · Andrei Gherzan
recipes-kernel/linux/linux-raspberrypi_4.9.bb +1 -1
-LINUX_VERSION ?= "4.9.13"
+LINUX_VERSION ?= "4.9.21"

I'm going to backport this to morty and test this week. Any other patches worth testing for morty at the same time?

Quoted 3 lines

I would probably want to have 64b rpi3 too in morty. And yes, 4.9 defaulted for kernel?

I'd support adding extra machines if we can (raspberrypi0-wifi and raspberrypi3-64) and having those use Linux 4.9. However, I'd be reticent to change the default kernel version for existing machines on a stable branch.

I'll have a go at backporting the addition of the extra machines. I can test raspberrypi3-64 on hardware myself but I don't have a raspberrypi0-wifi to test on.

Cheers,
Paul

#10 lore raw

Re: [meta-raspberrypi][PATCH 4/7] linux-raspberrypi_4.9: Bump to 4.9.21

Quoted 13 lines · Paul Barker
Quoted 12 lines · Andrei Gherzan
Quoted 10 lines · Paul Barker

recipes-kernel/linux/linux-raspberrypi_4.9.bb line 3

Quoted 5 lines · Andrei Gherzan
recipes-kernel/linux/linux-raspberrypi_4.9.bb +1 -1
-LINUX_VERSION ?= "4.9.13"
+LINUX_VERSION ?= "4.9.21"

I'm going to backport this to morty and test this week. Any other patches worth testing for morty at the same time?

Quoted 8 lines
Quoted 3 lines

I would probably want to have 64b rpi3 too in morty. And yes, 4.9 defaulted for kernel?

I'd support adding extra machines if we can (raspberrypi0-wifi and raspberrypi3-64) and having those use Linux 4.9. However, I'd be reticent to change the default kernel version for existing machines on a stable branch.

I agree.

Quoted 4 lines

I'll have a go at backporting the addition of the extra machines. I can test raspberrypi3-64 on hardware myself but I don't have a raspberrypi0-wifi to test on.

I already pushed a PR for rpi0 wifi for morty and I'm testing it now.

#11 lore raw

Re: [meta-raspberrypi][PATCH 4/7] linux-raspberrypi_4.9: Bump to 4.9.21

Quoted 7 lines · Andrei Gherzan
Quoted 4 lines · Paul Barker

I'll have a go at backporting the addition of the extra machines. I can test raspberrypi3-64 on hardware myself but I don't have a raspberrypi0-wifi to test on.

I already pushed a PR for rpi0 wifi for morty and I'm testing it now.

I must have missed that. Still getting used to switching email systems!

It looks like you've got rpi0 wifi and firmware upgrades. I'll send patches for the kernel upgrade and rpi3 64 once I've given them a spin. Probably late tonight or early tomorrow.

Cheers,

Signature · 3 lines
Paul Barker
Co-Founder & Principal Engineer
Togán Labs Ltd
#12 lore raw

Re: [meta-raspberrypi][PATCH 4/7] linux-raspberrypi_4.9: Bump to 4.9.21

Quoted 7 lines · Paul Barker
Quoted 6 lines · Andrei Gherzan
Quoted 4 lines · Paul Barker

I'll have a go at backporting the addition of the extra machines. I can test raspberrypi3-64 on hardware myself but I don't have a raspberrypi0-wifi to test on.

Quoted 8 lines
Quoted 1 line

I already pushed a PR for rpi0 wifi for morty and I'm testing it now.

I must have missed that. Still getting used to switching email systems!

It looks like you've got rpi0 wifi and firmware upgrades. I'll send patches for the kernel upgrade and rpi3 64 once I've given them a spin. Probably late tonight or early tomorrow.

Sounds good. I added some more tweaks now for morty. Let's see if I get some feedback until tomorrow. Otherwise I"ll merge them.

--
Andrei Gherzan

#13 lore raw

PATCH 5/7 rpi-base.inc: Include dtb for RPI0 WiFi

In reply to Andrei Gherzan
---
 conf/machine/include/rpi-base.inc | 1 +
 1 file changed, 1 insertion(+)
conf/machine/include/rpi-base.inc +1 -0
index 092cbeb..003dd65 100644
@@ -14,6 +14,7 @@ XSERVER = " \
     "
 
 KERNEL_DEVICETREE ?= " \
+    bcm2708-rpi-0-w.dtb \
     bcm2708-rpi-b.dtb \
     bcm2708-rpi-b-plus.dtb \
     bcm2709-rpi-2-b.dtb \
Signature · 1 line
2.12.1
#14 lore raw

PATCH 6/7 raspberrypi0-wifi.conf: Add machine configuration file

In reply to Andrei Gherzan
---
 conf/machine/raspberrypi0-wifi.conf | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 conf/machine/raspberrypi0-wifi.conf
conf/machine/raspberrypi0-wifi.conf new file +11 -0
new file mode 100644
index 0000000..2b7cea4
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: RaspberryPi Zero WiFi Development Board
+#@DESCRIPTION: Machine configuration for the RaspberryPi Zero  WiFi board (https://www.raspberrypi.org/blog/raspberry-pi-zero-w-joins-family/)
+
+MACHINEOVERRIDES = "raspberrypi:${MACHINE}"
+include conf/machine/raspberrypi.conf
+
+MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-bcm43430"
+
+SERIAL_CONSOLE = "115200 ttyS0"
+VC4_CMA_SIZE ?= "cma-128"
Signature · 1 line
2.12.1
#15 lore raw

PATCH 7/7 README: Add info about raspberrypi0-wifi

In reply to Andrei Gherzan
---
 README | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
README +4 -3
index 9fdd5eb..58a8ded 100644
@@ -78,6 +78,7 @@ b. Add needed layer to bblayers.conf:
 c. Set MACHINE in local.conf to one of the supported boards:
     - raspberrypi
     - raspberrypi0
+    - raspberrypi0-wifi
     - raspberrypi2
     - raspberrypi3
     - raspberrypi-cm (dummy alias for raspberrypi)
@@ -251,10 +252,10 @@ WAVESHARE_1024X600_C_2_1 = "1"
 
 3.P. Enable UART
 ===============
-RaspberryPi 1, 2 and CM will have UART console enabled by default.
+RaspberryPi 0, 1, 2 and CM will have UART console enabled by default.
 
-RaspberryPi 3 does not have the UART enabled by default because this needs a
-fixed core frequency and enable_uart wil set it to the minimum. Certain
+RaspberryPi 0 WiFi and 3 does not have the UART enabled by default because this
+needs a fixed core frequency and enable_uart wil set it to the minimum. Certain
 operations - 60fps h264 decode, high quality deinterlace - which aren't
 performed on the ARM may be affected, and we wouldn't want to do that to users
 who don't want to use the serial port. Users who want serial console support on
Signature · 1 line
2.12.1
#16 lore raw
In reply to Andrei Gherzan
Quoted 25 lines · Andrei Gherzan
---
 recipes-devtools/python/{rpi-gpio_0.6.1.bb => rpi-gpio_0.6.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename recipes-devtools/python/{rpi-gpio_0.6.1.bb => rpi-gpio_0.6.2.bb} (78%)
recipes-devtools/python/rpi-gpio_0.6.2.bb renamed from recipes-devtools/python/rpi-gpio_0.6.1.bb +2 -3
similarity index 78%
rename from recipes-devtools/python/rpi-gpio_0.6.1.bb
rename to recipes-devtools/python/rpi-gpio_0.6.2.bb
index 89f601b..a08ea98 100644
@@ -10,8 +10,8 @@ SRC_URI = "\
           http://pypi.python.org/packages/source/R/RPi.GPIO/${SRCNAME}-${PV}.tar.gz \
           file://0001-Remove-nested-functions.patch \
           "
-SRC_URI[md5sum] = "254d0443a436eb241367c487274e7197"
-SRC_URI[sha256sum] = "54e5fb06d9ea1a1389a497fb5a06dfa950c86303b0f4ba89b68c55999d1df064"
+SRC_URI[md5sum] = "9db86fd5f3bae872de9dbb068ee0b096"
+SRC_URI[sha256sum] = "82acff0ef6bbe3cdf6f4dbdd73d96add5294bb94baf7f51c1d901861af3c2392"
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
--
Quoted 2 lines

2.12.1

Merged entire patch set to master.

--
Andrei Gherzan
gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan