Skip to contentSkip to conversation

bcm2835: Update to version 1.32

PATCH In review Andrei Gherzan 1 participant 13 messages Nov 13, 2013 – Nov 14, 2013

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

PATCH v2 1/6 bcm2835: Update to version 1.32

From: Alexandru Niculita <[email protected]>

Change-Id I68721f30c9551b392d2851a96d9819524a088faf
---
 recipes-bcm/bcm2835/bcm2835_1.32.bb | 42 ++++++++++++++++++++++++++++++++++++
 recipes-bcm/bcm2835/bcm2835_1.9.bb  | 43 -------------------------------------
 2 files changed, 42 insertions(+), 43 deletions(-)
 create mode 100644 recipes-bcm/bcm2835/bcm2835_1.32.bb
 delete mode 100644 recipes-bcm/bcm2835/bcm2835_1.9.bb
recipes-bcm/bcm2835/bcm2835_1.32.bb new file +42 -0
new file mode 100644
index 0000000..2dc5b22
@@ -0,0 +1,42 @@
+DESCRIPTION = "Package that provides access to GPIO and other IO\
+functions on the Broadcom BCM 2835 chip, allowing access to the\
+GPIO pins on the 26 pin IDE plug on the RPi board"
+SECTION = "base"
+HOMEPAGE = "http://www.open.com.au/mikem/bcm2835"
+AUTHOR = "Mike McCauley ([email protected])"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+
+COMPATIBLE_MACHINE = "raspberrypi"
+
+SRC_URI = "http://www.open.com.au/mikem/bcm2835/bcm2835-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "085239569554de5ee6649fe8bb123379"
+SRC_URI[sha256sum] = "97e8aece4ff45b1779212473aa3b1d3f43cc9a8427afa3be718f690949e0ec20"
+
+
+PACKAGES += "${PN}-tests"
+
+FILES_${PN} = ""
+FILES_${PN}-tests = "${libdir}/${BPN}"
+FILES_${PN}-dbg += "${libdir}/${BPN}/.debug"
+
+inherit autotools
+
+do_compile_append() {
+    #Now compiling the examples provided by the package
+    for file in examples/*
+    do
+        ${CC} ${file}/${file##*/}.c -o ${file}/${file##*/} -Bstatic -L${S}/src -lbcm2835 -I${S}/src
+    done
+}
+
+do_install_append() {
+    install -d ${D}/${libdir}/${BPN}
+    for file in examples/*
+    do
+        install -m 0755 ${file}/${file##*/} ${D}/${libdir}/${BPN}
+    done
+}
recipes-bcm/bcm2835/bcm2835_1.9.bb deleted +0 -43

43 lines not on this page · raw message

Signature · 1 line
1.8.1.4
#1 lore raw

PATCH v2 2/6 linux-raspberrypi: Update available versions to HEAD

Update 3.11.0 to 3.11.7 HEAD.
Update 3.6.11 to HEAD.

Change-Id Iacd8f78b418b0bd6d8513b97ce57ce0108057850
---
 recipes-kernel/linux/linux-raspberrypi_3.11.0.bb | 6 ------
 recipes-kernel/linux/linux-raspberrypi_3.11.7.bb | 6 ++++++
 recipes-kernel/linux/linux-raspberrypi_3.6.11.bb | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.11.0.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.11.7.bb
recipes-kernel/linux/linux-raspberrypi_3.11.0.bb deleted +0 -6
deleted file mode 100644
index 1ae39b2..0000000
@@ -1,6 +0,0 @@
-SRCREV = "d7474694bdc9836af17f4b4d839509f9aad7ffa7"
-SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.11.y \
-           file://sl030raspberrypii2ckernel.patch \
-          "
-
-require linux-raspberrypi.inc
recipes-kernel/linux/linux-raspberrypi_3.11.7.bb new file +6 -0
new file mode 100644
index 0000000..68c890c
@@ -0,0 +1,6 @@
+SRCREV = "b975d0aab6816dd1dc4ff938a0c95bc551831163"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.11.y \
+           file://sl030raspberrypii2ckernel.patch \
+          "
+
+require linux-raspberrypi.inc
recipes-kernel/linux/linux-raspberrypi_3.6.11.bb +1 -1
index 5314f5d..ba2c704 100644
@@ -1,4 +1,4 @@
-SRCREV = "cbd6672e7e1b2dc5026f5dc7929a13a9a68f2a62"
+SRCREV = "10bc58289a7ebf6b1ab724636e0a16116278e339"
 SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \
            file://sl030raspberrypii2ckernel.patch \
           "
Signature · 1 line
1.8.1.4
#2 lore raw

Re: [meta-raspberrypi][PATCH V2 2/6] linux-raspberrypi: Update available versions to HEAD

Quoted 53 lines · Andrei Gherzan

Update 3.11.0 to 3.11.7 HEAD.
Update 3.6.11 to HEAD.

Change-Id Iacd8f78b418b0bd6d8513b97ce57ce0108057850
---
 recipes-kernel/linux/linux-raspberrypi_3.11.0.bb | 6 ------
 recipes-kernel/linux/linux-raspberrypi_3.11.7.bb | 6 ++++++
 recipes-kernel/linux/linux-raspberrypi_3.6.11.bb | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.11.0.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.11.7.bb
(quoted diff) +0 -0

linux-raspberrypi_3.11.0.bb
deleted file mode 100644
index 1ae39b2..0000000

recipes-kernel/linux/linux-raspberrypi_3.11.0.bb deleted +0 -2
@@ -1,6 +0,0 @@
-SRCREV = "d7474694bdc9836af17f4b4d839509f9aad7ffa7"
-SRC_URI = "git://

github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.11.y \

recipes-kernel/linux/linux-raspberrypi_3.11.0.bb deleted +0 -4
-           file://sl030raspberrypii2ckernel.patch \
-          "
-
-require linux-raspberrypi.inc
(quoted diff) +0 -0

linux-raspberrypi_3.11.7.bb
new file mode 100644
index 0000000..68c890c

recipes-kernel/linux/linux-raspberrypi_3.11.7.bb new file +2 -0
@@ -0,0 +1,6 @@
+SRCREV = "b975d0aab6816dd1dc4ff938a0c95bc551831163"
+SRC_URI = "git://

github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.11.y \

recipes-kernel/linux/linux-raspberrypi_3.11.7.bb new file +4 -0
+           file://sl030raspberrypii2ckernel.patch \
+          "
+
+require linux-raspberrypi.inc
(quoted diff) +0 -0

linux-raspberrypi_3.6.11.bb
index 5314f5d..ba2c704 100644

recipes-kernel/linux/linux-raspberrypi_3.6.11.bb +1 -1
@@ -1,4 +1,4 @@
-SRCREV = "cbd6672e7e1b2dc5026f5dc7929a13a9a68f2a62"
+SRCREV = "10bc58289a7ebf6b1ab724636e0a16116278e339"
 SRC_URI = "git://
 github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \
            file://sl030raspberrypii2ckernel.patch \
           "
Quoted 4 lines

--
1.8.1.4

Merged.

ag

#3 lore raw

PATCH v2 3/6 linux-raspberrypi: Add version 3.10.18 and 3.12.0

In reply to Andrei Gherzan
Change-Id Idd59fed4f2ab975c50b3727e436b4a0caeb0ab16
---
 recipes-kernel/linux/linux-raspberrypi_3.10.18.bb | 4 ++++
 recipes-kernel/linux/linux-raspberrypi_3.12.0.bb  | 4 ++++
 2 files changed, 8 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.10.18.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.12.0.bb
recipes-kernel/linux/linux-raspberrypi_3.10.18.bb new file +4 -0
new file mode 100644
index 0000000..399a978
@@ -0,0 +1,4 @@
+SRCREV = "ae937f99fee8a37f2ddd7270f6bcc0e497e8c903"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.10.y"
+
+require linux-raspberrypi.inc
recipes-kernel/linux/linux-raspberrypi_3.12.0.bb new file +4 -0
new file mode 100644
index 0000000..25877fe
@@ -0,0 +1,4 @@
+SRCREV = "839f349b6ed2a63a2bff0b5f0d718a7b07ca2316"
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.12.y"
+
+require linux-raspberrypi.inc
Signature · 1 line
1.8.1.4
#4 lore raw

Re: [meta-raspberrypi][PATCH V2 3/6] linux-raspberrypi: Add version 3.10.18 and 3.12.0

Quoted 34 lines · Andrei Gherzan
Change-Id Idd59fed4f2ab975c50b3727e436b4a0caeb0ab16
---
 recipes-kernel/linux/linux-raspberrypi_3.10.18.bb | 4 ++++
 recipes-kernel/linux/linux-raspberrypi_3.12.0.bb  | 4 ++++
 2 files changed, 8 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.10.18.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.12.0.bb
(quoted diff) +0 -0

linux-raspberrypi_3.10.18.bb
new file mode 100644
index 0000000..399a978

recipes-kernel/linux/linux-raspberrypi_3.10.18.bb new file +2 -0
@@ -0,0 +1,4 @@
+SRCREV = "ae937f99fee8a37f2ddd7270f6bcc0e497e8c903"
+SRC_URI = "git://

github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.10.y"

recipes-kernel/linux/linux-raspberrypi_3.10.18.bb new file +2 -0
+
+require linux-raspberrypi.inc
(quoted diff) +0 -0

linux-raspberrypi_3.12.0.bb
new file mode 100644
index 0000000..25877fe

recipes-kernel/linux/linux-raspberrypi_3.12.0.bb new file +2 -0
@@ -0,0 +1,4 @@
+SRCREV = "839f349b6ed2a63a2bff0b5f0d718a7b07ca2316"
+SRC_URI = "git://

github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.12.y"

recipes-kernel/linux/linux-raspberrypi_3.12.0.bb new file +2 -1
+
+require linux-raspberrypi.inc
--
Quoted 3 lines

1.8.1.4

Added a new patchset which adds file://sl030raspberrypii2ckernel.patch to these kernel versions too: https://review.gherzan.ro:8443/#/c/14/

ag

#5 lore raw

Re: [meta-raspberrypi][PATCH V2 3/6] linux-raspberrypi: Add version 3.10.18 and 3.12.0

Quoted 45 lines · Andrei Gherzan
Quoted 34 lines · Andrei Gherzan
Change-Id Idd59fed4f2ab975c50b3727e436b4a0caeb0ab16
---
 recipes-kernel/linux/linux-raspberrypi_3.10.18.bb | 4 ++++
 recipes-kernel/linux/linux-raspberrypi_3.12.0.bb  | 4 ++++
 2 files changed, 8 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.10.18.bb
 create mode 100644 recipes-kernel/linux/linux-raspberrypi_3.12.0.bb
(quoted diff) +0 -0

linux-raspberrypi_3.10.18.bb
new file mode 100644
index 0000000..399a978

recipes-kernel/linux/linux-raspberrypi_3.10.18.bb new file +2 -0
@@ -0,0 +1,4 @@
+SRCREV = "ae937f99fee8a37f2ddd7270f6bcc0e497e8c903"
+SRC_URI = "git://

github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.10.y"

recipes-kernel/linux/linux-raspberrypi_3.10.18.bb new file +2 -0
+
+require linux-raspberrypi.inc
(quoted diff) +0 -0

linux-raspberrypi_3.12.0.bb
new file mode 100644
index 0000000..25877fe

recipes-kernel/linux/linux-raspberrypi_3.12.0.bb new file +2 -0
@@ -0,0 +1,4 @@
+SRCREV = "839f349b6ed2a63a2bff0b5f0d718a7b07ca2316"
+SRC_URI = "git://

github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.12.y"

recipes-kernel/linux/linux-raspberrypi_3.12.0.bb new file +2 -1
+
+require linux-raspberrypi.inc
--
Quoted 3 lines

1.8.1.4

Added a new patchset which adds file://sl030raspberrypii2ckernel.patch to these kernel versions too: https://review.gherzan.ro:8443/#/c/14/

Quoted 2 lines

ag

Merged.

ag

#6 lore raw

PATCH v2 4/6 rpi-default-providers: Use 3.10.X as default kernel

In reply to Andrei Gherzan

This is the default/base branch on official github repository:
https://github.com/raspberrypi/linux/branches

Change-Id I99702ae7548b49a5b4b575b3f02f5a3a48ad347f
---
 conf/machine/include/rpi-default-providers.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/include/rpi-default-providers.inc +1 -1
index 1a647c9..ffdb4f9 100644
@@ -2,7 +2,7 @@
 
 PREFERRED_PROVIDER_virtual/kernel = "linux-raspberrypi"
 # The default kernel version is the same as used by Raspbian
-PREFERRED_VERSION_linux-raspberrypi ?= "3.6.%"
+PREFERRED_VERSION_linux-raspberrypi ?= "3.10.%"
 
 PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
 PREFERRED_PROVIDER_virtual/egl ?= "userland"
Signature · 1 line
1.8.1.4
#7 lore raw

Re: [meta-raspberrypi][PATCH V2 4/6] rpi-default-providers: Use 3.10.X as default kernel

Quoted 24 lines · Andrei Gherzan

This is the default/base branch on official github repository:
https://github.com/raspberrypi/linux/branches

Change-Id I99702ae7548b49a5b4b575b3f02f5a3a48ad347f
---
 conf/machine/include/rpi-default-providers.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/include/rpi-default-providers.inc +1 -2
index 1a647c9..ffdb4f9 100644
@@ -2,7 +2,7 @@
 
 PREFERRED_PROVIDER_virtual/kernel = "linux-raspberrypi"
 # The default kernel version is the same as used by Raspbian
-PREFERRED_VERSION_linux-raspberrypi ?= "3.6.%"
+PREFERRED_VERSION_linux-raspberrypi ?= "3.10.%"
 
 PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
 PREFERRED_PROVIDER_virtual/egl ?= "userland"
--
Quoted 3 lines

1.8.1.4

Merged.

ag

#8 lore raw

PATCH v2 5/6 firmware.inc: Update to HEAD on 2013-11-13

In reply to Andrei Gherzan
Change-Id I00ace3f8575015612ae09dfb99e2a33d87ddc4cb
---
 recipes-bcm/common/firmware.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bcm/common/firmware.inc +2 -2
index 5bad182..c780e63 100644
@@ -1,6 +1,6 @@
 # 19/08/2013 firmware; this can be overridden from distro config
-RPIFW_SRCREV ?= "5b37b2a7f357236210eef1a438becaa2a57148f2"
-RPIFW_DATE ?= "20130819"
+RPIFW_SRCREV ?= "3e92add424c3c2617d5df65caa307c808017a9ea"
+RPIFW_DATE ?= "20131113"
 RPIFW_SRC_URI ?= "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master"
 RPIFW_S ?= "${WORKDIR}/git"
 
Signature · 1 line
1.8.1.4
#9 lore raw

Re: [meta-raspberrypi][PATCH V2 5/6] firmware.inc: Update to HEAD on 2013-11-13

Quoted 21 lines · Andrei Gherzan
Change-Id I00ace3f8575015612ae09dfb99e2a33d87ddc4cb
---
 recipes-bcm/common/firmware.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bcm/common/firmware.inc +2 -2
index 5bad182..c780e63 100644
@@ -1,6 +1,6 @@
 # 19/08/2013 firmware; this can be overridden from distro config
-RPIFW_SRCREV ?= "5b37b2a7f357236210eef1a438becaa2a57148f2"
-RPIFW_DATE ?= "20130819"
+RPIFW_SRCREV ?= "3e92add424c3c2617d5df65caa307c808017a9ea"
+RPIFW_DATE ?= "20131113"
 RPIFW_SRC_URI ?= "git://

github.com/raspberrypi/firmware.git;protocol=git;branch=master"
RPIFW_S ?= "${WORKDIR}/git"

Quoted 4 lines

--
1.8.1.4

Merged.

ag

#10 lore raw

PATCH v2 6/6 userland: Update to HEAD on 2013-11-13

In reply to Andrei Gherzan
Change-Id Ic618f8bc5365b9f787a230a2a3e0ccb92c17738a
---
 recipes-graphics/userland/userland_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-graphics/userland/userland_git.bb +2 -2
index c7ea522..18c74fa 100644
@@ -5,13 +5,13 @@ vcos, openmaxil, vchiq_arm, bcm_host, WFC, OpenVG."
 LICENSE = "Broadcom"
 LIC_FILES_CHKSUM = "file://LICENCE;md5=957f6640d5e2d2acfce73a36a56cb32f"
 
-PR = "r2"
+PR = "r3"
 
 PROVIDES = "virtual/libgles2 \
             virtual/egl"
 COMPATIBLE_MACHINE = "raspberrypi"
 
-SRCREV = "23baee63495aa685e7693467b7a5469ff5ca4481"
+SRCREV = "628498eb6cf501554c98a5e6c7ea3855574fa43e"
 SRC_URI = "git://github.com/raspberrypi/userland.git;protocol=git;branch=master \
           "
 S = "${WORKDIR}/git"
Signature · 1 line
1.8.1.4
#11 lore raw

Re: [meta-raspberrypi][PATCH V2 6/6] userland: Update to HEAD on 2013-11-13

Quoted 27 lines · Andrei Gherzan
Change-Id Ic618f8bc5365b9f787a230a2a3e0ccb92c17738a
---
 recipes-graphics/userland/userland_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
(quoted diff) +0 -0

userland_git.bb
index c7ea522..18c74fa 100644

recipes-graphics/userland/userland_git.bb +2 -2
@@ -5,13 +5,13 @@ vcos, openmaxil, vchiq_arm, bcm_host, WFC, OpenVG."
 LICENSE = "Broadcom"
 LIC_FILES_CHKSUM = "file://LICENCE;md5=957f6640d5e2d2acfce73a36a56cb32f"
 
-PR = "r2"
+PR = "r3"
 
 PROVIDES = "virtual/libgles2 \
             virtual/egl"
 COMPATIBLE_MACHINE = "raspberrypi"
 
-SRCREV = "23baee63495aa685e7693467b7a5469ff5ca4481"
+SRCREV = "628498eb6cf501554c98a5e6c7ea3855574fa43e"
 SRC_URI = "git://
 github.com/raspberrypi/userland.git;protocol=git;branch=master \
           "
Quoted 5 lines

S = "${WORKDIR}/git"
--
1.8.1.4

Merged.

ag

#12 lore raw
In reply to Andrei Gherzan
Quoted 4 lines · Andrei Gherzan

From: Alexandru Niculita <[email protected]>

Change-Id I68721f30c9551b392d2851a96d9819524a088faf
Quoted 10 lines
---
 recipes-bcm/bcm2835/bcm2835_1.32.bb | 42
++++++++++++++++++++++++++++++++++++
 recipes-bcm/bcm2835/bcm2835_1.9.bb  | 43
-------------------------------------
 2 files changed, 42 insertions(+), 43 deletions(-)
 create mode 100644 recipes-bcm/bcm2835/bcm2835_1.32.bb
 delete mode 100644 recipes-bcm/bcm2835/bcm2835_1.9.bb

Discard this. This is already merged.

ag