linux-zigbee: new package
PATCH 1/1 linux-zigbee: new package
linux-zigbee is a mix of utility tools that implements a 802.15.4 stack along with a usefull library for any program that would need to use this stack.
Note that the name is mislead, for licensing reason, this does *NOT* implement the ZigBee protocol.
--- package/Config.in | 1 + package/linux-zigbee/Config.in | 28 ++++++++++++ ...igbee-0001-test-serial-Remove-test-serial.patch | 52 ++++++++++++++++++++++ package/linux-zigbee/linux-zigbee.mk | 28 ++++++++++++ 4 files changed, 109 insertions(+) create mode 100644 package/linux-zigbee/Config.in create mode 100644 package/linux-zigbee/linux-zigbee-0001-test-serial-Remove-test-serial.patch create mode 100644 package/linux-zigbee/linux-zigbee.mk
package/Config.in +1 -0
@@ -939,6 +939,7 @@ source "package/lighttpd/Config.in" source "package/linknx/Config.in" source "package/links/Config.in" source "package/linphone/Config.in" +source "package/linux-zigbee/Config.in" source "package/lrzsz/Config.in" source "package/macchanger/Config.in" source "package/mii-diag/Config.in"
package/linux-zigbee/Config.in new file +28 -0
@@ -0,0 +1,28 @@ +config BR2_PACKAGE_LINUX_ZIGBEE + bool "linux-zigbee" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_LIBNL + help + IEEE 802.15.4 userspace tools. + + Note: The name's project is somewhat of a misnomer, because of licensing + issues this does *NOT* implement ZigBee, only IEEE 802.15.4 and 6LoWPAN. + + http://sourceforge.net/apps/trac/linux-zigbee/ + +if BR2_PACKAGE_LINUX_ZIGBEE + +config BR2_PACKAGE_LINUX_ZIGBEE_TESTS + bool "Install tests programs" + help + Linux-ZigBee build tests programs, select this if you want to install + them. + +config BR2_PACKAGE_LINUX_ZIGBEE_OLD_KERNEL_COMPAT + bool "Enable compatibility with older kernels" + +config BR2_PACKAGE_LINUX_ZIGBEE_LEASEFILE + string "Specify path for persistent lease storage." + default "/var/run/izcoordinator.leases" + +endif
package/linux-zigbee/linux-zigbee-0001-test-serial-Remove-test-serial.patch new file +52 -0
52 lines not on this page · raw message
package/linux-zigbee/linux-zigbee.mk new file +28 -0
@@ -0,0 +1,28 @@ +################################################################################ +# +# linux-zigbee +# +################################################################################ + +LINUX_ZIGBEE_VERSION = v0.3.1 +LINUX_ZIGBEE_SITE = git://linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee/linux-zigbee +LINUX_ZIGBEE_LICENSE = GPLv2 +LINUX_ZIGBEE_LICENSE_FILES = COPYING +LINUX_ZIGBEE_AUTORECONF = YES +LINUX_ZIGBEE_INSTALL_STAGING = YES +LINUX_ZIGBEE_DEPENDENCIES = libnl + +LINUX_ZIGBEE_CONF_OPT += --disable-manpages\ + --with-leasefile="$(call qstrip,$(BR2_PACKAGE_LINUX_ZIGBEE_LEASEFILE))" + +ifeq ($(BR2_PACKAGE_LINUX_ZIGBEE_TESTS),y) +LINUX_ZIGBEE_CONF_OPT += --with-zbtestdir='/usr/sbin/' +else +LINUX_ZIGBEE_CONF_OPT += --with-zbtestdir='' +endif + +ifeq ($(BR2_PACKAGE_LINUX_ZIGBEE_OLD_KERNEL_COMPAT),y) +LINUX_ZIGBEE_CONF_OPT += --enable-kernel-compat +endif + +$(eval $(autotools-package))
Signature · 1 line
1.9.2
PATCH 1/1 linux-zigbee: new package
Dear Maxime Hadjinlian,
Quoted 8 lines · Maxime Hadjinlian
linux-zigbee is a mix of utility tools that implements a 802.15.4 stack along with a usefull library for any program that would need to use this stack.
Note that the name is mislead, for licensing reason, this does *NOT* implement the ZigBee protocol.
Signed-off-by Maxime Hadjinlian <[email protected]>
I've committed this patch, after making a fairly significant number of changes. From the git commit log:
[Thomas:
- add dependency on threads, propagated from libnl
- improve the Config.in description by borrowing more text from the upstream website
- fix the prompt of sub-options to be more consistent, and add help texts where appropriate
- fix indentation of the BR2_PACKAGE_LINUX_ZIGBEE_TESTS option help text
- add missing dependencies on host-pkgconf, host-flex and host-bison
- add missing SoB line in the patch disabling test-serial. Maxime is a well-known contributor, so I assumed we had his SoB.
- fix indentation of <pkg>_CONF_OPT.
- remove <pkg>_INSTALL_STAGING = YES since the package does not install any library, and the two headers it installs are available through the toolchain kernel headers.
- add comment to explain <pkg>_AUTORECONF = YES.]
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 linux-zigbee: new package
In reply to Maxime HadjinlianHello,
Quoted 8 lines · Maxime Hadjinlian
linux-zigbee is a mix of utility tools that implements a 802.15.4 stack along with a usefull library for any program that would need to use this stack.
Note that the name is mislead, for licensing reason, this does *NOT* implement the ZigBee protocol.
Signed-off-by Maxime Hadjinlian <[email protected]>
FWIW, following a build failure on this package, I did a patch, which I submitted upstream. Here is the answer I got from upstream (more precisely Alexander Aring) :
"""
Thanks for the patch, but this userspace software is unmaintained. You should use wpan-tools [0] which used nl802154, this is available since kernel 3.19.
It's not recommended to use the stack in earlier kernel versions. We don't have a stable strategy yet (except extrem imporant fixed, root exploit, etc. :-))
- Alex
[0] http://wpan.cakelab.org/releases/
"""
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 1/1 linux-zigbee: new package
Quoted 19 lines · Thomas Petazzoni
Hello,
Quoted 8 lines · Maxime Hadjinlian
linux-zigbee is a mix of utility tools that implements a 802.15.4 stack along with a usefull library for any program that would need to use this stack.
Note that the name is mislead, for licensing reason, this does *NOT* implement the ZigBee protocol.
Signed-off-by Maxime Hadjinlian <[email protected]>FWIW, following a build failure on this package, I did a patch, which I submitted upstream. Here is the answer I got from upstream (more precisely Alexander Aring) :
Quoted 8 lines
"""
Thanks for the patch, but this userspace software is unmaintained. You should use wpan-tools [0] which used nl802154, this is available since kernel 3.19.It's not recommended to use the stack in earlier kernel versions. We don't have a stable strategy yet (except extrem imporant fixed, root exploit, etc. :-))
This is quite valuable feedback I believe. Helps you to decide if you want to add a new package which is unmaintained and take up maintaining it.
Quoted 8 lines
- Alex
[0] http://wpan.cakelab.org/releases/
"""Best regards,
Quoted 9 lines
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160809/3472c1c0/attachment.asc>
PATCH 1/1 linux-zigbee: new package
Hello,
Quoted 9 lines · Khem Raj
Quoted 9 lines
FWIW, following a build failure on this package, I did a patch, which I submitted upstream. Here is the answer I got from upstream (more precisely Alexander Aring) :
"""
Thanks for the patch, but this userspace software is unmaintained. You should use wpan-tools [0] which used nl802154, this is available since kernel 3.19.
Quoted 7 lines
Quoted 3 lines
It's not recommended to use the stack in earlier kernel versions. We don't have a stable strategy yet (except extrem imporant fixed, root exploit, etc. :-))
This is quite valuable feedback I believe. Helps you to decide if you want to add a new package which is unmaintained and take up maintaining it.
On the other, not everyone may be able to use the latest nl802154 stack, since it's available only since 3.19. So some people might be stuck using the older userspace tools.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 1/1 linux-zigbee: new package
Hi Thomas, all
Quoted 17 lines · Thomas Petazzoni
Hello,
Quoted 13 lines · Khem Raj
Quoted 12 lines
FWIW, following a build failure on this package, I did a patch, which I submitted upstream. Here is the answer I got from upstream (more precisely Alexander Aring) :
"""
Thanks for the patch, but this userspace software is unmaintained. You should use wpan-tools [0] which used nl802154, this is available since kernel 3.19.It's not recommended to use the stack in earlier kernel versions. We don't have a stable strategy yet (except extrem imporant fixed, root exploit, etc. :-))
Quoted 7 lines
Quoted 3 lines
This is quite valuable feedback I believe. Helps you to decide if you want to add a new package which is unmaintained and take up maintaining it.
On the other, not everyone may be able to use the latest nl802154 stack, since it's available only since 3.19. So some people might be stuck using the older userspace tools.
Which is exactly my situation, thanks for the feedback though. I'll keep it in mind when upgrading the kernel that we are using.
Quoted 6 lines
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com