Re: [OpenWrt-Devel] [PATCH v2] opkg: Extend 'opkg list' command to optionally display package size

2015-09-16 Thread John Crispin
see inline ... On 16/09/2015 10:09, Hannu Nyman wrote: > 'opkg list' command only displays the available packages' name, version and > description. It would be useful to also see the approximate size of the > available package. > > This patch extends "opkg list" command with "--size" to

Re: [OpenWrt-Devel] [PATCH v2] opkg: Extend 'opkg list' command to optionally display package size

2015-09-16 Thread John Crispin
On 16/09/2015 10:22, Hannu Nyman wrote: > On 16.9.2015 11:18, John Crispin wrote: >> see inline ... >> >> On 16/09/2015 10:09, Hannu Nyman wrote: >>> Index: package/system/opkg/Makefile >>> === >>> --- package/system/opkg/Makefile

[OpenWrt-Devel] [PATCH v2] opkg: Extend 'opkg list' command to optionally display package size

2015-09-16 Thread Hannu Nyman
'opkg list' command only displays the available packages' name, version and description. It would be useful to also see the approximate size of the available package. This patch extends "opkg list" command with "--size" to optionally show also the *.ipk size. * Default behaviour is to list the

[OpenWrt-Devel] [PATCH 2/3] mac80211: cleanup sort

2015-09-16 Thread Dirk Neukirchen
Signed-off-by: Dirk Neukirchen --- package/kernel/mac80211/Makefile | 2115 +++--- 1 file changed, 1071 insertions(+), 1044 deletions(-) diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 75a43dc..fa253f4

[OpenWrt-Devel] [PATCH 1/3] mac80211: cleanup remove net prefixes

2015-09-16 Thread Dirk Neukirchen
Signed-off-by: Dirk Neukirchen --- package/kernel/mac80211/Makefile | 82 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index a56825f..75a43dc

[OpenWrt-Devel] [PATCH 3/3] mac80211: rename iwlagn to iwlwifi

2015-09-16 Thread Dirk Neukirchen
follow upstream module rename commit 3c607d27c818cf4a5d28f2c73b18a88f8fbdfa33 Signed-off-by: Dirk Neukirchen --- package/kernel/mac80211/Makefile | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/package/kernel/mac80211/Makefile

Re: [OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps

2015-09-16 Thread Bastian Bittorf
* John kerry [16.09.2015 11:32]: > even i checked on http://www.shellcheck.net/ , its not giving any feedback, > it seems correct but still its not working. add 1 line on top of your script for debugging: set | logger and check with 'logread -f' the output when you press

Re: [OpenWrt-Devel] [PATCH procd] move /dev/shm to /tmp/shm

2015-09-16 Thread John Crispin
On 15/09/2015 17:05, Daniel Gimpelevich wrote: > I see procd got an update. Any reason this patch was left out? > > On Fri, 2015-09-11 at 13:05 -0700, Daniel Gimpelevich wrote: >> Is there an ETA for merging this? >> >> On Sun, 2015-07-19 at 19:14 -0700, Daniel Gimpelevich wrote: >>> I'm

Re: [OpenWrt-Devel] [PATCH 4/6] generic: fix unrecognized opcode wsbh when building for MIPS16.

2015-09-16 Thread John Crispin
On 01/09/2015 14:14, Yousong Zhou wrote: > The issue was found and reported by hynman [1] when compiling reaver for > ar71xx > (Big Endian MIPS). > > {standard input}: Assembler messages: > {standard input}:79: Error: unrecognized opcode `wsbh $2,$2' > {standard input}:90: Error:

Re: [OpenWrt-Devel] [PATCH] opkg: Extend 'opkg list' command to optionally display package size

2015-09-16 Thread John Crispin
On 30/08/2015 16:37, Hannu Nyman wrote: > 'opkg list' command only displays the available packages' name, version > and description. > It would be useful to also see the approximate size of the available > package. > > This patch extends "opkg list" command with "--size" to optionally show >

[OpenWrt-Devel] [PATCH v3] opkg: Extend 'opkg list' command to optionally display package size

2015-09-16 Thread Hannu Nyman
'opkg list' command only displays the available packages' name, version and description. It would be useful to also see the approximate size of the available package. This patch extends "opkg list" command with "--size" to optionally show also the *.ipk size. * Default behaviour is to list the

Re: [OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps

2015-09-16 Thread Bastian Bittorf
* John kerry [16.09.2015 08:10]: > Hi, > > I have changed the script as below: > > MYDEV='eth0.2' > > ["$ACTION" = "pressed" -a "$BUTTON" = "BUT_2" -a "INTERFACE" = 'wan'] && ^^^ a space here, so [ "$ACTION" - the same at the end: 'wan' ] use "$INTERFACE" with the '$'

Re: [OpenWrt-Devel] [PATCH 1/1] sysupgrade, wndr3700/wndr3800: Add allnet safety check

2015-09-16 Thread John Crispin
On 02/08/2015 09:58, Daniel Dickinson wrote: > This patch may not actually be necessary, but adds the allnet > uboot-envtools safety checks before allow a firmware upgrade to > and Netgear WNDR3700/3800 device. > > Note that the Netgear devices already have a hardware id check so > this may be

Re: [OpenWrt-Devel] [PATCH 1/2 v2] mac80211: cleanup remove net prefixes

2015-09-16 Thread John Crispin
On 24/08/2015 17:25, Dirk Neukirchen wrote: > Signed-off-by: Dirk Neukirchen > --- > v2 : split 6/7 into two commits > sorry we need a v3 please this one does not apply anymore. the actual patch looks fine John > package/kernel/mac80211/Makefile | 82 >

Re: [OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps

2015-09-16 Thread John kerry
Hi , [ "$ACTION" = "pressed" ] && [ "$BUTTON" = "lanwifi" ] && [ "$INTERFACE" = "wan" ] && { devstatus "$MYDEV" | grep '"up": true' && { echo "" > /dev/console echo "SWITCH TO RJ45" > /dev/console echo "255" >

Re: [OpenWrt-Devel] [PATCH 7/7] mac80211: rename iwlagn to iwlwifi

2015-09-16 Thread John Crispin
On 23/08/2015 13:00, Dirk Neukirchen wrote: > follow upstream module rename > commit 3c607d27c818cf4a5d28f2c73b18a88f8fbdfa33 > > Signed-off-by: Dirk Neukirchen this one does not apply either. can you resend all 3 in a new series please John > --- >

Re: [OpenWrt-Devel] [PATCH] include: download.mk: If checkouts fail, attempt default download method

2015-09-16 Thread John Crispin
On 15/09/2015 22:01, Pushpal Sidhu wrote: > This will allow a more robust download system, especially in cases when > building an older release where a source checkout system is gone. > > Signed-off-by: Pushpal Sidhu although this looks good at first glance we notice on

Re: [OpenWrt-Devel] [PATCH] musl: fix build on sh3

2015-09-16 Thread John Crispin
Hi, On 14/09/2015 10:38, Zoltan HERPAI wrote: > musl fails to build when compiled with gcc on sh3 (GCC target/#67260). > Work it around. > > Signed-off-by: Zoltan HERPAI > --- > toolchain/musl/common.mk |5 + > 1 file changed, 5 insertions(+) > > diff --git

Re: [OpenWrt-Devel] [PATCH v2 4/4] ramips: Fix pinmux functions for MT7621

2015-09-16 Thread John Crispin
On 31/07/2015 11:14, Sven Eckelmann wrote: > The pinctrl-rt2880 code doesn't support multiple functions with the same > name. This will result in a incorrect pinmux configuration. > > Signed-off-by: Sven Eckelmann > --- > This is the patch which John Crispin

Re: [OpenWrt-Devel] [PATCH] musl: fix build on sh3

2015-09-16 Thread Felix Fietkau
On 2015-09-16 09:27, John Crispin wrote: > Hi, > > On 14/09/2015 10:38, Zoltan HERPAI wrote: >> musl fails to build when compiled with gcc on sh3 (GCC target/#67260). >> Work it around. >> >> Signed-off-by: Zoltan HERPAI >> --- >> toolchain/musl/common.mk |5 + >> 1

[OpenWrt-Devel] Warning: ABI breakage - rebuild your ATM trees

2015-09-16 Thread John Crispin
Hi, i pushed a patch today that removes some serious ABI brain damage of the ATM layer that i introduced 1/2 a decade ago http://git.openwrt.org/?p=openwrt.git;a=commit;h=c5d4911448898f7fabdd2c4737ed0820ced4fc4d https://dev.openwrt.org/ticket/20523 as a side effect you will need to rebuild

Re: [OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps

2015-09-16 Thread Bastian Bittorf
* John kerry [16.09.2015 12:18]: > I am getting below log: ok, i see: INTERFACE is not set, so you have to remove the check for this var and hardcode it. please stop sending mails like this, debug on your own with a local friend. bye, bastian

Re: [OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps

2015-09-16 Thread John kerry
Hi, I understand its not good to mail like this, But I am quite new on this and even no body knows in my friends about this. Could you please help I hard coded the interface as below: set | logger [ "$ACTION" = "pressed" ] && [ "$BUTTON" = "lanwifi" ] && { devstatus "eth0.2" | grep

Re: [OpenWrt-Devel] Warning: ABI breakage - rebuild your ATM trees

2015-09-16 Thread John Crispin
On 16/09/2015 13:20, John Crispin wrote: > Hi, > > i pushed a patch today that removes some serious ABI brain damage of the > ATM layer that i introduced 1/2 a decade ago > > http://git.openwrt.org/?p=openwrt.git;a=commit;h=c5d4911448898f7fabdd2c4737ed0820ced4fc4d > >

Re: [OpenWrt-Devel] Warning: ABI breakage - rebuild your ATM trees

2015-09-16 Thread John Crispin
On 16/09/2015 15:17, David Woodhouse wrote: > On Wed, 2015-09-16 at 13:23 +0200, John Crispin wrote: >> thinking about this, the new elements should also be guarded by a #ifdef >> CONFIG_lantiq will add that now > > You can't do that in user-visible headers. CONFIG_LANTIQ isn't defined > in t

Re: [OpenWrt-Devel] Warning: ABI breakage - rebuild your ATM trees

2015-09-16 Thread David Woodhouse
On Wed, 2015-09-16 at 13:23 +0200, John Crispin wrote: > thinking about this, the new elements should also be guarded by a #ifdef > CONFIG_lantiq will add that now You can't do that in user-visible headers. CONFIG_LANTIQ isn't defined in t he userspace builds, so userspace will get a version

Re: [OpenWrt-Devel] [PATCH] include: download.mk: If checkouts fail, attempt default download method

2015-09-16 Thread Pushpal Sidhu
Hi, On Wed, Sep 16, 2015 at 1:26 AM, John Crispin wrote: > > > On 15/09/2015 22:01, Pushpal Sidhu wrote: >> This will allow a more robust download system, especially in cases when >> building an older release where a source checkout system is gone. >> >> Signed-off-by:

Re: [OpenWrt-Devel] Project specific settings

2015-09-16 Thread Bruno Randolf
Hi Christoph, On 09/15/2015 07:32 PM, Rüdiger, Christoph wrote: > Our build tree is full of custom patches to different packages, > mainly in the openwrt/package directory. This makes it close to > impossible to update the repository to a new OpenWrt version without > producing a good bunch of

[OpenWrt-Devel] [PATCH] AP121 target: fix board detection in ar71xx.sh

2015-09-16 Thread Attila Lendvai
Signed-off-by: Attila Lendvai --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index cacf362..d879a4b 100755 ---

Re: [OpenWrt-Devel] [PATCH] AP121 target: fix board detection in ar71xx.sh

2015-09-16 Thread Attila Lendvai
> the patch needs to be sent inline. the email needs to have the subject > and description that is currently int he attachment. ok, i've sent it again using git send-email. the new patch is at: https://patchwork.ozlabs.org/patch/518448/ -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 --

Re: [OpenWrt-Devel] [OpenWrt-Commits] r46981 - trunk/target/linux/generic/patches-3.18

2015-09-16 Thread Florian Fainelli
On 16/09/15 05:08, openwrt-comm...@openwrt.org wrote: > Author: blogic > Date: 2015-09-16 14:08:05 +0200 (Wed, 16 Sep 2015) > New Revision: 46981 > > Modified: >trunk/target/linux/generic/patches-3.18/652-atm_header_changes.patch > Log: > kernel: properly guard the lantiq atm abi hack with an

Re: [OpenWrt-Devel] [OpenWrt-Commits] r46981 - trunk/target/linux/generic/patches-3.18

2015-09-16 Thread John Crispin
On 16/09/2015 21:10, Florian Fainelli wrote: > On 16/09/15 05:08, openwrt-comm...@openwrt.org wrote: >> Author: blogic >> Date: 2015-09-16 14:08:05 +0200 (Wed, 16 Sep 2015) >> New Revision: 46981 >> >> Modified: >>trunk/target/linux/generic/patches-3.18/652-atm_header_changes.patch >> Log:

Re: [OpenWrt-Devel] i2c device not in /dev

2015-09-16 Thread Baptiste Clenet
Works now! Think the .dts wasn't taken into account correctly. 2015-09-15 17:32 GMT+02:00 Baptiste Clenet : > 2015-09-15 13:57 GMT+02:00 Baptiste Clenet : >> 2015-09-14 20:17 GMT+02:00 John Crispin : >>> >>> >>> On 14/09/2015 20:09,