diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2020-01-06 17:44:45 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2020-01-06 17:44:46 +0300 |
commit | 870eb53cd2dd418fcd6e26356392b6366e51cae5 (patch) | |
tree | 715b0c8ffada95025ba25b8fd386d4ebab35b0b3 /meta-raspberrypi/recipes-devtools | |
parent | e378b1990eb7d1e122b9119bfa006bfc8c52fda3 (diff) | |
download | openbmc-870eb53cd2dd418fcd6e26356392b6366e51cae5.tar.xz |
meta-raspberrypi: subtree update:3ae288aa38..a953fc0f9b
Andrei Gherzan (2):
raspberrypi-firmware: Update to current HEAD
linux-raspberrypi: Bump to 4.19 recipe to 4.19.88
Leon Anavi (1):
pi-bluetooth: Runtime depends on udev-rules-rpi
Michael Baisch (1):
linux-raspberrypi.inc: no longer set CONFIG_LOCALVERSION to empty string
Pierre-Jean Texier (3):
linux-raspberrypi-rt: bump to revision e2e9cec
rpi-gpio: bump to version 0.7.0
raspi-gpio: bump to revision 4edfde1
Change-Id: Ibd557330128fe2b6afbefd2234e411b45f265aeb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-raspberrypi/recipes-devtools')
-rw-r--r-- | meta-raspberrypi/recipes-devtools/python/rpi-gpio/0001-Remove-nested-functions.patch | 33 | ||||
-rw-r--r-- | meta-raspberrypi/recipes-devtools/python/rpi-gpio_0.7.0.bb (renamed from meta-raspberrypi/recipes-devtools/python/rpi-gpio_0.6.3.bb) | 8 | ||||
-rw-r--r-- | meta-raspberrypi/recipes-devtools/raspi-gpio/raspi-gpio_git.bb | 2 |
3 files changed, 7 insertions, 36 deletions
diff --git a/meta-raspberrypi/recipes-devtools/python/rpi-gpio/0001-Remove-nested-functions.patch b/meta-raspberrypi/recipes-devtools/python/rpi-gpio/0001-Remove-nested-functions.patch index bd971793a4..5c94bc24f7 100644 --- a/meta-raspberrypi/recipes-devtools/python/rpi-gpio/0001-Remove-nested-functions.patch +++ b/meta-raspberrypi/recipes-devtools/python/rpi-gpio/0001-Remove-nested-functions.patch @@ -30,6 +30,8 @@ silence this warning uint32_t peri_base; Signed-off-by: Khem Raj <raj.khem@gmail.com> +[Pierre-Jean: update for version 0.7.0] +Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> --- Upstream-Status: Submitted @@ -37,37 +39,6 @@ Upstream-Status: Submitted source/py_gpio.c | 135 ++++++++++++++++++++++++++++--------------------------- 2 files changed, 71 insertions(+), 70 deletions(-) -diff --git a/source/c_gpio.c b/source/c_gpio.c -index c96a2b0..b69880f 100644 ---- a/source/c_gpio.c -+++ b/source/c_gpio.c -@@ -61,7 +61,7 @@ int setup(void) - { - int mem_fd; - uint8_t *gpio_mem; -- uint32_t peri_base; -+ uint32_t peri_base = 0; - uint32_t gpio_base; - unsigned char buf[4]; - FILE *fp; -@@ -73,7 +73,7 @@ int setup(void) - if ((mem_fd = open("/dev/gpiomem", O_RDWR|O_SYNC)) > 0) - { - gpio_map = (uint32_t *)mmap(NULL, BLOCK_SIZE, PROT_READ|PROT_WRITE, MAP_SHARED, mem_fd, 0); -- if ((uint32_t)gpio_map < 0) { -+ if (gpio_map == MAP_FAILED) { - return SETUP_MMAP_FAIL; - } else { - return SETUP_OK; -@@ -127,7 +127,7 @@ int setup(void) - - gpio_map = (uint32_t *)mmap( (void *)gpio_mem, BLOCK_SIZE, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_FIXED, mem_fd, gpio_base); - -- if ((uint32_t)gpio_map < 0) -+ if (gpio_map == MAP_FAILED) - return SETUP_MMAP_FAIL; - - return SETUP_OK; diff --git a/source/py_gpio.c b/source/py_gpio.c index d54cc7f..007bad5 100644 --- a/source/py_gpio.c diff --git a/meta-raspberrypi/recipes-devtools/python/rpi-gpio_0.6.3.bb b/meta-raspberrypi/recipes-devtools/python/rpi-gpio_0.7.0.bb index d0ff00af72..fcce88f835 100644 --- a/meta-raspberrypi/recipes-devtools/python/rpi-gpio_0.6.3.bb +++ b/meta-raspberrypi/recipes-devtools/python/rpi-gpio_0.7.0.bb @@ -1,14 +1,14 @@ DESCRIPTION = "A module to control Raspberry Pi GPIO channels" -HOMEPAGE = "http://code.google.com/p/raspberry-gpio-python/" +HOMEPAGE = "https://sourceforge.net/projects/raspberry-gpio-python/" SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=9b95630a648966b142f1a0dcea001cb7" PYPI_PACKAGE = "RPi.GPIO" -inherit pypi distutils +inherit pypi distutils3 SRC_URI += "file://0001-Remove-nested-functions.patch" -SRC_URI[md5sum] = "e4abe1cfb5eacebe53078032256eb837" -SRC_URI[sha256sum] = "a5fc0eb5e401963b6c0a03650da6b42c4005f02d962b81241d96c98d0a578516" +SRC_URI[md5sum] = "777617f9dea9a1680f9af43db0cf150e" +SRC_URI[sha256sum] = "7424bc6c205466764f30f666c18187a0824077daf20b295c42f08aea2cb87d3f" COMPATIBLE_MACHINE = "^rpi$" diff --git a/meta-raspberrypi/recipes-devtools/raspi-gpio/raspi-gpio_git.bb b/meta-raspberrypi/recipes-devtools/raspi-gpio/raspi-gpio_git.bb index c2d7f59fbb..02a3f5585b 100644 --- a/meta-raspberrypi/recipes-devtools/raspi-gpio/raspi-gpio_git.bb +++ b/meta-raspberrypi/recipes-devtools/raspi-gpio/raspi-gpio_git.bb @@ -8,7 +8,7 @@ COMPATIBLE_MACHINE = "^rpi$" inherit autotools -SRCREV = "2eaa8b8755a550e34d07c898b90b0d9b3d66fd81" +SRCREV = "4edfde183ff3ac9ed66cdc015ae25e45f3a5502d" SRC_URI = "git://github.com/RPi-Distro/raspi-gpio.git;protocol=https;branch=master \ " |