bcm2835: new package
Subsystems (2)
PATCH 1/1 bcm2835: new package
--- package/Config.in | 1 + package/bcm2835/Config.in | 10 ++++++++++ package/bcm2835/bcm2835.hash | 2 ++ package/bcm2835/bcm2835.mk | 13 +++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 package/bcm2835/Config.in create mode 100644 package/bcm2835/bcm2835.hash create mode 100644 package/bcm2835/bcm2835.mk
package/Config.in +1 -0
@@ -860,6 +860,7 @@ menu "Graphics" endmenu menu "Hardware handling" + source "package/bcm2835/Config.in" source "package/c-periphery/Config.in" source "package/ccid/Config.in" source "package/dtc/Config.in"
package/bcm2835/Config.in new file +10 -0
@@ -0,0 +1,10 @@ +config BR2_PACKAGE_BCM2835 + bool "bcm2835" + help + C library for Broadcom BCM 2835 as used in Raspberry Pi. + It 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 so you can control + and interface with various external devices. + + http://www.airspayce.com/mikem/bcm2835
package/bcm2835/bcm2835.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally computed: +sha256 0317e23a29b4a9923c57c1b0fb7403adce10aa05e263af0bc20ffe026f78767c bcm2835-1.48.tar.gz
package/bcm2835/bcm2835.mk new file +13 -0
@@ -0,0 +1,13 @@ +################################################################################ +# +# bcm2835 +# +################################################################################ + +BCM2835_VERSION = 1.48 +BCM2835_SITE = http://www.airspayce.com/mikem/bcm2835 +BCM2835_LICENSE = GPLv2+ +BCM2835_LICENSE_FILES = COPYING +BCM2835_INSTALL_STAGING = YES + +$(eval $(autotools-package))
Signature · 1 line
2.1.4
PATCH 1/1 bcm2835: new package
Peter, All,
On 2015-12-08 22:23 +0100, Peter Seiderer spake thusly:
Quoted 29 lines
Signed-off-by Peter Seiderer <[email protected]>--- package/Config.in | 1 + package/bcm2835/Config.in | 10 ++++++++++ package/bcm2835/bcm2835.hash | 2 ++ package/bcm2835/bcm2835.mk | 13 +++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 package/bcm2835/Config.in create mode 100644 package/bcm2835/bcm2835.hash create mode 100644 package/bcm2835/bcm2835.mkpackage/Config.in +1
-0@@ -860,6 +860,7 @@ menu "Graphics" endmenu menu "Hardware handling" + source "package/bcm2835/Config.in" source "package/c-periphery/Config.in" source "package/ccid/Config.in" source "package/dtc/Config.in"package/bcm2835/Config.in new file +0
-0
package/bcm2835/Config.in line 2
Quoted 2 lines
package/bcm2835/Config.in new file +2
-0@@ -0,0 +1,10 @@ +config BR2_PACKAGE_BCM2835 + bool "bcm2835"
Even though there is not much ARM specific in this package (I checked, it builds fine on x86_64 at least), I still believe this package should be available only for ARM, so maybe add;
depends on BR2_arm
Otherwise, I still amazed at how much length RPi people ar eready to go to make things totally different from what is traditionally done.
bcm2835 is directly poking in the memory/regiters to toggle/read GPIOs, when there is a prefectly working kernel driver that abstracts all of that...
Sigh...
Regards,
Yann E. MORIN.
Quoted 42 lines
package/bcm2835/Config.in new file +8
-0+ help + C library for Broadcom BCM 2835 as used in Raspberry Pi. + It 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 so you can control + and interface with various external devices. + + http://www.airspayce.com/mikem/bcm2835package/bcm2835/bcm2835.hash new file +2
-0@@ -0,0 +1,2 @@ +# Locally computed: +sha256 0317e23a29b4a9923c57c1b0fb7403adce10aa05e263af0bc20ffe026f78767c bcm2835-1.48.tar.gzpackage/bcm2835/bcm2835.mk new file +13
-0@@ -0,0 +1,13 @@ +################################################################################ +# +# bcm2835 +# +################################################################################ + +BCM2835_VERSION = 1.48 +BCM2835_SITE = http://www.airspayce.com/mikem/bcm2835 +BCM2835_LICENSE = GPLv2+ +BCM2835_LICENSE_FILES = COPYING +BCM2835_INSTALL_STAGING = YES + +$(eval $(autotools-package))Signature · 6 lines
2.1.4 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 bcm2835: new package
Hello Yann,
Quoted 39 lines · Yann E. MORIN
Peter, All,
On 2015-12-08 22:23 +0100, Peter Seiderer spake thusly:
Quoted 29 lines
Signed-off-by Peter Seiderer <[email protected]>--- package/Config.in | 1 + package/bcm2835/Config.in | 10 ++++++++++ package/bcm2835/bcm2835.hash | 2 ++ package/bcm2835/bcm2835.mk | 13 +++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 package/bcm2835/Config.in create mode 100644 package/bcm2835/bcm2835.hash create mode 100644 package/bcm2835/bcm2835.mkpackage/Config.in +1
-0@@ -860,6 +860,7 @@ menu "Graphics" endmenu menu "Hardware handling" + source "package/bcm2835/Config.in" source "package/c-periphery/Config.in" source "package/ccid/Config.in" source "package/dtc/Config.in"package/bcm2835/Config.in new file +0
-0package/bcm2835/Config.in line 2
Quoted 2 lines
package/bcm2835/Config.in new file +2
-0@@ -0,0 +1,10 @@ +config BR2_PACKAGE_BCM2835 + bool "bcm2835"Even though there is not much ARM specific in this package (I checked, it builds fine on
x86_64at least), I still believe this package should be available only for ARM, so maybe add;
Quoted 1 line
depends on
BR2_arm
O.k., will do... (best would be a depend on RPi..., but I would like to group wiringpi, bcm2835 (and maybe pigpio (still unfinished patch pending)) under a common heading/subsection)
Quoted 9 lines
Otherwise, I still amazed at how much length RPi people ar eready to go to make things totally different from what is traditionally done.
bcm2835 is directly poking in the memory/regiters to toggle/read GPIOs, when there is a prefectly working kernel driver that abstracts all of that...
Sigh...
I agree completely ;-), maybe I should put a big fat warning too the help text....
Regards,
Peter
Quoted 47 lines
Regards,
Yann E. MORIN.Quoted 42 lines
package/bcm2835/Config.in new file +8
-0+ help + C library for Broadcom BCM 2835 as used in Raspberry Pi. + It 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 so you can control + and interface with various external devices. + + http://www.airspayce.com/mikem/bcm2835package/bcm2835/bcm2835.hash new file +2
-0@@ -0,0 +1,2 @@ +# Locally computed: +sha256 0317e23a29b4a9923c57c1b0fb7403adce10aa05e263af0bc20ffe026f78767c bcm2835-1.48.tar.gzpackage/bcm2835/bcm2835.mk new file +13
-0@@ -0,0 +1,13 @@ +################################################################################ +# +# bcm2835 +# +################################################################################ + +BCM2835_VERSION = 1.48 +BCM2835_SITE = http://www.airspayce.com/mikem/bcm2835 +BCM2835_LICENSE = GPLv2+ +BCM2835_LICENSE_FILES = COPYING +BCM2835_INSTALL_STAGING = YES + +$(eval $(autotools-package))Signature · 6 lines
2.1.4 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
PATCH 1/1 bcm2835: new package
In reply to Peter SeidererPeter,
Quoted 10 lines · Peter Seiderer
Signed-off-by Peter Seiderer <[email protected]>--- package/Config.in | 1 + package/bcm2835/Config.in | 10 ++++++++++ package/bcm2835/bcm2835.hash | 2 ++ package/bcm2835/bcm2835.mk | 13 +++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 package/bcm2835/Config.in create mode 100644 package/bcm2835/bcm2835.hash create mode 100644 package/bcm2835/bcm2835.mk
I've applied after doing a few changes:
[Thomas:
- addition of 'depends on BR2_arm' as suggested by Yann.
- addition of a comment in the Config.in help text that says that this library is a pure abomination.
- fix the hash, since apparently upstream changes the released tarballs after they are published.
- fix license, it's GPLv2, not GPLv2+.]
If you could contact upstream to tell them to not change their tarballs after they are published, it would be good. I had to change the hash because yours wasn't matching the tarball I could download today, even if the version hasn't changed.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com