Re: [OpenWrt-Devel] [PATCH] Adding support for 6LoWPAN over Bluetooth Low Energy in kernel 3.18.

2015-01-22 Thread John Crispin
This patch was not tested prior to sending it ... see inline On 21/01/2015 13:53, Duda, Lukasz wrote: > Adding support 6LoWPAN over Bluetooth Low Energy in kernel 3.18. > Creating new bluetooth_6lowpan group with COFNIG_6LOWPAN and > CONFIG_BT_6LOWPAN. > Adding kernel object dependencies for 6Lo

Re: [OpenWrt-Devel] [PATCH] Adding support for 6LoWPAN over Bluetooth Low Energy in kernel 3.18.

2015-01-22 Thread John Crispin
On 21/01/2015 13:53, Duda, Lukasz wrote: > + DEPENDS:=+kmod-bluetooth @!LINUX_3_3 @!LINUX_3_8 @!LINUX_3_10 > +@!LINUX_3_13 @!LINUX_3_14 this is also wrong, @!(LINUX_3_3||LINUX_3_8||..)) is the correct syntax. please resend a fixed version ___ o

Re: [OpenWrt-Devel] [PATCH, v2] feeds: search packages by license

2015-01-22 Thread John Crispin
On 20/01/2015 23:20, Eric Schultz wrote: > Currently, the feeds scripts provides no way to filter by packages by license > or no license. > This patch adds a search feature to feeds which can be used to search > packages by license or by no license. > > Calls to script/feeds which do not use

Re: [OpenWrt-Devel] [PATCH] [packages_extra] snort: add missing libuuid dependency

2015-01-22 Thread John Crispin
On 21/01/2015 23:13, daniel wrote: > The current version of snort fails to build because the libuuid pkg > dependency is missing. > > This little patch fixes the issue, please apply. > > Signed-off-by: Daniel Danzberger please send a pull request via github for packages inside the feed. the m

[OpenWrt-Devel] [PATCH v2] Adding support for 6LoWPAN over Bluetooth Low Energy in kernel 3.18.

2015-01-22 Thread Duda, Lukasz
Adding support 6LoWPAN over Bluetooth Low Energy in kernel 3.18. Creating new bluetooth_6lowpan group with CONFIG_6LOWPAN and CONFIG_BT_6LOWPAN. Adding kernel object dependencies for 6LoWPAN over Bluetooth Low Energy. Signed-off-by: Lukasz Duda mailto:lukasz.duda...@nordicsemi.com>> --- v

Re: [OpenWrt-Devel] [PATCH v2] build: allow openwrt.git packages to be replaced by feeds

2015-01-22 Thread John Crispin
On 22/01/2015 03:55, Mathieu Olivari wrote: > Currently, replacing a package available in openwrt.git requires > modifications in openwrt.git, or requires duplicating the package > in a feed but with a different name, which causes all kind of > problems related to dependencies (all packages sele

Re: [OpenWrt-Devel] [PATCH v2] Adding support for 6LoWPAN over Bluetooth Low Energy in kernel 3.18.

2015-01-22 Thread John Crispin
On 22/01/2015 09:48, Duda, Lukasz wrote: > Adding support 6LoWPAN over Bluetooth Low Energy in kernel 3.18. > > Creating new bluetooth_6lowpan group with CONFIG_6LOWPAN and > CONFIG_BT_6LOWPAN. > > Adding kernel object dependencies for 6LoWPAN over Bluetooth Low Energy. > > > the mail con

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-22 Thread John Crispin
is this patch correct and should be merged or is it a RFC ? http://patchwork.ozlabs.org/patch/431024/ ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] lantiq: correct value for fpi clock on ar9

2015-01-22 Thread Ben Mulvihill
On Thu, 2015-01-22 at 08:34 +0100, John Crispin wrote: > > On 21/01/2015 10:35, Ben Mulvihill wrote: > > Hello, > > > > This is a patch to go in target/linux/lantiq/patches-3.14/ > > please send a patch that adds the file instead of just sending the file > > Sure, will do. I would have done, b

[OpenWrt-Devel] [PATCH v3] Adding support for 6LoWPAN over Bluetooth Low Energy in kernel 3.18.

2015-01-22 Thread Duda, Lukasz
Adding support 6LoWPAN over Bluetooth Low Energy in kernel 3.18. Creating new bluetooth_6lowpan group with CONFIG_6LOWPAN and CONFIG_BT_6LOWPAN. Adding kernel object dependencies for 6LoWPAN over Bluetooth Low Energy. Signed-off-by: Lukasz Duda --- v2: *fix an issue with the mail formatting as

Re: [OpenWrt-Devel] [PATCH v3] Adding support for 6LoWPAN over Bluetooth Low Energy in kernel 3.18.

2015-01-22 Thread John Crispin
On 22/01/2015 10:16, Duda, Lukasz wrote: > Signed-off-by: Lukasz Duda > is this email addr valid ? it is not the one you used for sending the patch ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailm

Re: [OpenWrt-Devel] [PATCH] lantiq: correct value for fpi clock on ar9

2015-01-22 Thread John Crispin
On 22/01/2015 10:11, Ben Mulvihill wrote: > On Thu, 2015-01-22 at 08:34 +0100, John Crispin wrote: >> >> On 21/01/2015 10:35, Ben Mulvihill wrote: >>> Hello, >>> >>> This is a patch to go in target/linux/lantiq/patches-3.14/ >> >> please send a patch that adds the file instead of just sending the

[OpenWrt-Devel] [PATCH v4] Adding support for 6LoWPAN over Bluetooth Low Energy in kernel 3.18.

2015-01-22 Thread Duda, Lukasz
Adding support 6LoWPAN over Bluetooth Low Energy in kernel 3.18. Creating new bluetooth_6lowpan group with CONFIG_6LOWPAN and CONFIG_BT_6LOWPAN. Adding kernel object dependencies for 6LoWPAN over Bluetooth Low Energy. Signed-off-by: Lukasz Duda --- v2: *fix an issue with the mail formatting as

Re: [OpenWrt-Devel] [PATCH 3/9] kernel: Allow ubi autoattach to run on NOR flash

2015-01-22 Thread Maxime Ripard
Hi, On Wed, Jan 14, 2015 at 01:37:37PM +0100, Maxime Ripard wrote: > On Wed, Jan 14, 2015 at 12:43:25PM +0100, Rafał Miłecki wrote: > > On 13 January 2015 at 16:56, Maxime Ripard > > wrote: > > > Some devices out there only have a NOR flash to store the rootfs on. > > > > > > While using UBI is a

[OpenWrt-Devel] [PATCH uclient] allow sending requests with DELETE method

2015-01-22 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki --- uclient-http.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uclient-http.c b/uclient-http.c index 9f9fac9..eb69702 100644 --- a/uclient-http.c +++ b/uclient-http.c @@ -41,6 +41,7 @@ enum request_type { REQ_HEAD, REQ_POST, REQ_PUT,

Re: [OpenWrt-Devel] [PATCH uclient] allow sending requests with DELETE method

2015-01-22 Thread Felix Fietkau
On 2015-01-22 11:45, Rafał Miłecki wrote: > Signed-off-by: Rafał Miłecki Applied, thanks. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH uclient] use const for char buffer in uclient_write

2015-01-22 Thread Felix Fietkau
On 2015-01-21 22:48, Rafał Miłecki wrote: > We are not supposed to modify it and ustream accepts const already. > > Signed-off-by: Rafał Miłecki Applied, thanks. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openw

Re: [OpenWrt-Devel] [PATCH 1/5] uloop: fix out-of-bound loop index.

2015-01-22 Thread Yousong Zhou
On 22 January 2015 at 02:58, Felix Fietkau wrote: > On 2015-01-21 14:21, Yousong Zhou wrote: >> Signed-off-by: Yousong Zhou >> --- >> uloop.c | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/uloop.c b/uloop.c >> index 9a77ce4..3224f4b 100644 >> --- a/uloop.c >> +

Re: [OpenWrt-Devel] [PATCH v2] build: allow openwrt.git packages to be replaced by feeds

2015-01-22 Thread John Crispin
On 22/01/2015 03:55, Mathieu Olivari wrote: > Currently, replacing a package available in openwrt.git requires > modifications in openwrt.git, or requires duplicating the package in a > feed but with a different name, which causes all kind of problems > related to dependencies (all packages selec

Re: [OpenWrt-Devel] [PATCH] fix typo in netifd.sh

2015-01-22 Thread John Crispin
On 20/01/2015 18:44, Cezary Jackiewicz wrote: > $ht variable is not passed. $htmode is. > > With this, wpa_supplicant-phy0.conf contains htmode line if htmode is set in > config. > > Signed-off-by: Cezary Jackiewicz > --- > > diff --git a/package/network/services/hostapd/files/netifd.sh > b

[OpenWrt-Devel] [PATCH] iptables: IPv6 addresses with some mask values cause memory corruption

2015-01-22 Thread Jan Čermák
This patch fixes a bug in iptables that is causing memory corruption when a rule contains IPv6 address with mask divisible by 8 or equal to /128. After some debugging, we found out that this bug was already reported and applied in commit a76a5c997a235f822d49799c25fce8e311d473c7 in iptables. The bu

Re: [OpenWrt-Devel] [PATCH] feeds.conf.default: add dlan feed

2015-01-22 Thread Michael Heimpold
Hi Florian, thank you for adding the instructions. I also agree that this binary-only packages should not be added to main openwrt for legal reasons and so on. My original intension was to make this device more "user-friendly", and if we do not want to enable this feed by default, we could add th

[OpenWrt-Devel] How to handle multiple providers?

2015-01-22 Thread Mats Karrman
Hi, I'm struggling with a problem and I can't really get it to work as I want. Say you have 3 packages, A1, A2 and A3, that all provide the include file "f.h". I also have package B that build-time depends on "f.h". I will enable either A1, A2 or A3 in the .config for a build but how do I ma

[OpenWrt-Devel] [PATCH] ar71xx: add support for TP-LINK TL-WR843ND v1

2015-01-22 Thread Cezary Jackiewicz
TP-LINK TL-WR843ND v1 is the same model like wr41, but with Power over Ethernet on wan port. Signed-off-by: Cezary Jackiewicz --- diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index a870396..14ee68b 100755 --- a/target/linux/ar71xx/bas

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-22 Thread Ben Mulvihill
On Thu, 2015-01-22 at 10:07 +0100, John Crispin wrote: > is this patch correct and should be merged or is it a RFC ? > > http://patchwork.ozlabs.org/patch/431024/ Daniel found a mistake in the current code. I found another. This fixes both, so I guess it is a patch rather than an RFC. I understan

[OpenWrt-Devel] [PATCH 1/5] ar8216: fix ATU flushing

2015-01-22 Thread Heiner Kallweit
The functionality to flush the address translation table contains two bugs which luckily compensate each other. 1. Just setting the operation is not sufficient to perform the flushing. The "active" bit needs to be set to actually trigger an action. For the vtu operations this is implemented c

[OpenWrt-Devel] [PATCH 0/5] ar8216: Patch series with further improvements and new functionality

2015-01-22 Thread Heiner Kallweit
Heiner Kallweit (5): ar8216: fix ATU flushing ar8216: add link change detection for switch ports ar8216: decrease page switch wait time ar8216: add swconfig attribute to display ARL table on AR8327/AR8337 ar8216: prefix mii_xxx functions to avoid kernel namespace pollution .../linux/gen

[OpenWrt-Devel] [PATCH 3/5] ar8216: decrease page switch wait time

2015-01-22 Thread Heiner Kallweit
Until a few years ago the page switch wait time was set to msleep(1) what was changed to usleep_range(1000, 2000) later. I can not imagine that a low-level operation like switching page on register level takes so much time. Most likely the value of 1ms was initially set to check whether it fixes a

[OpenWrt-Devel] [PATCH 2/5] ar8216: add link change detection for switch ports

2015-01-22 Thread Heiner Kallweit
Check for switch port link changes and - flush ATU in case of a change - report link change via syslog Signed-off-by: Heiner Kallweit --- .../linux/generic/files/drivers/net/phy/ar8216.c | 35 ++ .../linux/generic/files/drivers/net/phy/ar8216.h | 1 + 2 files changed, 36

[OpenWrt-Devel] [PATCH 4/5] ar8216: add swconfig attribute to display ARL table on AR8327/AR8337

2015-01-22 Thread Heiner Kallweit
Add global read-only swconfig attribute "arl_table" to display the address resolution table. So far the chip-specific part is implemented for AR8327/AR8337 only as I don't have the datasheets for the other AR8XXX chips. Successfully tested on TL-WDR4300 (AR8327rev2) and TL-WDR4900 (AR8327rev4). S

[OpenWrt-Devel] [PATCH 5/5] ar8216: prefix mii_xxx functions to avoid kernel namespace pollution

2015-01-22 Thread Heiner Kallweit
Prefix the exported mii_xxx32 functions with ar8xxx_ to avoid kernel namespace pollution. Signed-off-by: Heiner Kallweit --- target/linux/generic/files/drivers/net/phy/ar8216.c | 12 ++-- target/linux/generic/files/drivers/net/phy/ar8216.h | 4 ++-- target/linux/generic/files/drivers/ne

Re: [OpenWrt-Devel] issue: usb1.x not detected in CC

2015-01-22 Thread Luiz Angelo Daros de Luca
Further information: It was indeed the USB_OHCI_HCD_PCI option. ohci-pci was split from ohci_hcd with: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c1117afb85890adf4073c7ff18ebcb4d0495e6af In BB, the usb controller was detected by ohci_hcd. At some point after the BB

[OpenWrt-Devel] [PATCH] lantiq: correct value for fpi clock on ar9

2015-01-22 Thread Ben Mulvihill
This adds a patch to target/linux/lantiq/patches-3.14 fixing a bug clock code on ar9. The current version returns the wrong value for the fpi clock frequency in some cases. See discussion for further details: https://lists.openwrt.org/pipermail/openwrt-devel/2015-January/030688.html I'm not sur

Re: [OpenWrt-Devel] How to handle multiple providers?

2015-01-22 Thread Alexandru Ardelean
Well, you need to specifiy Ax in the DEPENDS section of B. Since there are 3 Ax, you can do it 2 ways: 1) Create Bx (x = 1-3) packages; B1 depends on A1, B2 depends on A2, B3 depends on A3; so, if you select the correct Bx, the correct Ax will also get built. You can also use build variants to kee