Re: [PATCH] rtl838x: fine tune default package set

2020-11-09 Thread John Crispin
On 09.11.20 18:32, Petr Štetiar wrote: Althought most of the switches aren't routers, they can be used as such, so let's add some of the packages from the router's DEVICE_TYPE. While at it, remove swconfig package which is not needed on DSA targets. Signed-off-by: Petr Štetiar

Re: [PATCH 5/5] procd: add api wrapper

2020-12-02 Thread John Crispin
can we augment we augment the procd_add_trigger/procd_close_trigger into the helper such as reload_trigger() does ?     John On 02.12.20 15:52, Florian Eckert wrote: This commit add a wrapper for procd services, to add a callback script if the "service.restart" trigger event was fired. Exampl

[PATCH 1/2] lldpd: do not start lldpd on the loopback device

2020-12-10 Thread John Crispin
Starting lldpd on 'lo' makes no sense. We know that we are the only one on that device. Signed-off-by: John Crispin --- package/network/services/lldpd/files/lldpd.config | 1 - 1 file changed, 1 deletion(-) diff --git a/package/network/services/lldpd/files/lldpd.config b/packa

[PATCH 2/2] lldpd: fix init.d script

2020-12-10 Thread John Crispin
The script was missing the reload trigger. Additionally running lldpid on a bridge is not correct. Rather than running lldpd on the L3 bridge, it needs to be run on all the L2 members. Signed-off-by: John Crispin --- package/network/services/lldpd/files/lldpd.init | 8 1 file changed

[PATCH] hostapd: pass respawn settings when registering the service

2020-12-10 Thread John Crispin
When hostapd gets restarted to often/quickly will cause procd to not restart it anymore. it will think that hapd is in a crash loop. Signed-off-by: John Crispin --- package/network/services/hostapd/files/wpad.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package

Re: [PATCH 2/2] lldpd: fix init.d script

2020-12-11 Thread John Crispin
On 11.12.20 09:30, Bjørn Mork wrote: John Crispin writes: iff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init index 7a5b25e016..8200556786 100644 --- a/package/network/services/lldpd/files/lldpd.init +++ b/package/network/services

Re: [PATCH 2/2] lldpd: fix init.d script

2020-12-11 Thread John Crispin
On 11.12.20 09:30, Bjørn Mork wrote: John Crispin writes: iff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init index 7a5b25e016..8200556786 100644 --- a/package/network/services/lldpd/files/lldpd.init +++ b/package/network/services

Re: Job board support on openwrt.org?

2021-01-23 Thread John Crispin
Hi, I do not think this is a good idea. The project should remain commercially and politically independent in order to guarantee its sovereignty. Hauke gave some good pointers on how to contact individuals devs.     John ___ openwrt-devel mailing

Re: [PATCH v6 1/2] [v6, 1/2] ipq806x: add support for Linksys E8350 v1

2021-01-24 Thread John Crispin
On 24.01.21 09:53, Todor Colov wrote: +ucidef_set_led_wlan "wlan" "WLAN" "${boardname}:green:wifi" "phy0tpt" Hi, we stopped adding the ${boardname}: prefix on leds. Please remove it here and also inside the dts file     John ___ openwrt

Re: [PATCH procd] hotplug.c: set nl_pid to zero

2021-01-25 Thread John Crispin
d = 0; nls.nl_groups = -1; if ((hotplug_fd.fd = socket(PF_NETLINK, SOCK_DGRAM | SOCK_CLOEXEC, NETLINK_KOBJECT_UEVENT)) == -1) { Acked-by: John Crispin Just tested this locally outside a pid namespace. ___ openwrt-devel mailing list openwrt-

[PATCH 1/4] hostapd: add rts_threshold support

2021-02-15 Thread John Crispin
Signed-off-by: John Crispin --- package/network/services/hostapd/files/hostapd.sh | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 45a49b8faa..fb9629170c 100644

[PATCH 3/4] hostapd: add HE support

2021-02-15 Thread John Crispin
Signed-off-by: John Crispin --- .../network/services/hostapd/files/hostapd.sh | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 1ded08a6f6

[PATCH 2/4] hostapd: add additional radius options

2021-02-15 Thread John Crispin
- add functionality to configure RADIUS NAS-Id and Operator-Name - sdd functionality to configure RADIUS accounting interval - enable RADIUS "Chargeable User Identity" Signed-off-by: John Crispin --- .../network/services/hostapd/files/hostapd.sh | 18 -- 1 file c

[PATCH 4/4] mac80211: add AX support

2021-02-15 Thread John Crispin
Signed-off-by: John Crispin --- .../files/lib/netifd/wireless/mac80211.sh | 193 +- .../mac80211/files/lib/wifi/mac80211.sh | 19 +- 2 files changed, 195 insertions(+), 17 deletions(-) diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b

Re: Submitting patches to core services...

2021-02-16 Thread John Crispin
Hi Luka, on this list, just prefix the patches with "ustream-ssl:" (or whatever) that way the according developer can find it     John On 16.02.21 16:20, Luka Logar wrote: Hi, I've implemented LuCI TLS user certificate authentication (instead of standard user/password). How/where do I subm

Re: [PATCH] procd: Adding support to detect Pantavisor Container Platform

2021-03-20 Thread John Crispin
On 20.03.21 15:46, Gaurav Pathak wrote: as it runs a custom modified version of LXC I assume that if this is a custom downstream version then the change is not applicable for merge into upstream owrt. please explain what "custom version" means.     John

mailing list outage

2021-03-29 Thread John Crispin
Hi, Due to a power cut and failing UPS the mailing list has been offline for ~48hrs. It is now back and operational. It will take a while for it to chew through the backlog.     John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org h

Re: Official OpenWrt project endorsement [Was: Re: crowdfunding to create Right to Repair laws in the USA]

2021-04-06 Thread John Crispin
context ?     John On 06.04.21 10:18, Petr Štetiar wrote: Alberto Bursi [2021-04-06 02:22:07]: Hi, [adding openwrt-adm to Cc:] This is at least partially relevant for OpenWrt and I think it's interesting for many in our community. I agree. What about little bit improved promotion of both

Re: OpenWrt 21.02-rc1

2021-04-07 Thread John Crispin
On 07.04.21 12:16, Bas Mevissen via openwrt-devel wrote: Will Wifi 6 support be added to the interface? We have some support for a couple of AX routers, so it would be nice if they can work without manually tweaking things. The underlying structure seems to support it already: https://foru

Re: OpenWrt 21.02-rc1 - realtek and mediatek targets

2021-04-07 Thread John Crispin
Hi, Do we want to keep the realtek and mediatek targets in the 21.02 branch and release or do we want to remove them link the ipq807x target? Hauke keep them for sure. I am running my network on those 2 targets using 21.02     John ___ openwrt

Re: [OpenWrt-Devel] [PATCH 1/4] kernel: mips jump only works with memory less then 256mb. when enable HIGHMEM use long jump

2015-05-06 Thread John Crispin
Hi, what is the difference between this and the previous version ? Johnn On 07/05/2015 04:25, wengbj wrote: > Signed-off-by: wengbj > --- > .../patches-3.18/305-mips_module_reloc.patch |7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/target/linux/generic

Re: [OpenWrt-Devel] [PATCHv2] ralink: add support for ap699ge8c2

2015-05-22 Thread John Crispin
Hi, what board is this ? the name looks weird. John On 14/05/2015 15:17, Cristian Morales Vega wrote: > Signed-off-by: Cristian Morales Vega > --- > .../linux/ramips/base-files/etc/board.d/02_network | 5 + > target/linux/ramips/base-files/lib/ramips.sh | 3 + > .../ramips/ba

Re: [OpenWrt-Devel] [PATCH] mpc85xx: TL-WDR4900: Fix port 6 being shown as up (10MBit/half) in LUCI/swconfig

2015-05-22 Thread John Crispin
On 12/05/2015 21:24, Heiner Kallweit wrote: > Currently port 6 is shown as up 10MBit/half in LUCI and swconfig. > Reason is that all bits in the port 6 config are zero. > This means that also the aneg flag is not set and in this case > ar8216_read_port_link hardcodes the link to be up. > > This

Re: [OpenWrt-Devel] [PATCH] scripts/feeds: Return non-zero return code if updating of a feed failed.

2015-05-22 Thread John Crispin
On 12/05/2015 14:49, Martin Strbacka wrote: > Hello, > I found out that if I make a mistake in a branch or commit expression in the > feeds.conf file the updating procedure fails silently. This patch fixes this > behavior and returns error code 1 if something went wrong. > > Best Regards, > Ma

Re: [OpenWrt-Devel] [PATCH] ralink: add support for mt7621 switch counters

2015-05-22 Thread John Crispin
Hi, instead of adding an extra parameter to mt7530_probe() use this macro instead -> IS_ENABLED(CONFIG_SOC_MT7621) John On 14/05/2015 17:14, Cristian Morales Vega wrote: > Signed-off-by: Cristian Morales Vega > --- > .../drivers/net/ethernet/ralink/gsw_mt7620a.c | 8 +- > .../fi

Re: [OpenWrt-Devel] [PATCH 1/1] Fix bridge-utils file offset handling

2015-05-22 Thread John Crispin
Hi, brigde-utils is part of the github feed. please file an issue there John On 12/05/2015 03:48, Nikolay Martynov wrote: > Make sure brctl build uses appropriate defines (_FILE_OFFSET_BITS) that match > uClibc settings. > Without this patch running brctl leads to 'unresolved alphasort

Re: [OpenWrt-Devel] [PATCH 1/2] ncdu: update to 1.11

2015-05-22 Thread John Crispin
Hi, ncdu is part of the github feed. please file an issue there John On 02/05/2015 17:50, Charles Lehner wrote: > Add patch to get WEXITSTATUS and WIFEXITED defined. > > This patch will not be needed in the next ncdu release > because it is already fixed upstream. > > Signed-off-by: Ch

Re: [OpenWrt-Devel] [PATCH] mpc85xx: TL-WDR4900: Fix port 6 being shown as up (10MBit/half) in LUCI/swconfig

2015-05-22 Thread John Crispin
On 22/05/2015 20:46, Heiner Kallweit wrote: > Am 22.05.2015 um 15:52 schrieb John Crispin: >> >> >> On 12/05/2015 21:24, Heiner Kallweit wrote: >>> Currently port 6 is shown as up 10MBit/half in LUCI and swconfig. >>> Reason is that all bits in the port

Re: [OpenWrt-Devel] Chaos Calmer 15.05-rc1 / git-checkout

2015-05-28 Thread John Crispin
On 28/05/2015 19:11, Jonathan Bennett wrote: > On Wed, May 20, 2015 at 2:32 PM, Bastian Bittorf > wrote: >> * Steven Barth [20.05.2015 19:43]: >>> http://downloads.openwrt.org/chaos_calmer/15.05-rc1/ >> >> Thank you! >> >> when will this work?: >> git clone git://git.openwrt.org/15.05/openwrt.

Re: [OpenWrt-Devel] [PATCH v4] [kernel] upstream fix: mount overlayfs r/o if workdir cannot be created

2015-05-29 Thread John Crispin
On 29/05/2015 18:43, Christian Mehlis wrote: > Am 29.05.2015 um 15:38 schrieb Thomas Huehn: >> This is the case e.g. if JFFS2 partition is full. >> >> see: >> https://www.mail-archive.com/linux-unionfs@vger.kernel.org/msg00246.html >> (a small error in a logmessage was changed and reported upstre

Re: [OpenWrt-Devel] [PATCHv2] scripts/feeds: observe -p flag for preferential feeds

2015-05-31 Thread John Crispin
On 27/05/2015 18:03, Karl Palsson wrote: > + my $this_feed_target = lookup_target($feed, $name); > + $this_feed_target and do { how about just calling it $target ? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openw

Re: [OpenWrt-Devel] [PATCH 1/2] ipq806x: move stmmac support in the kernel binary

2015-06-01 Thread John Crispin
On 30/05/2015 10:51, Jonas Gorski wrote: > Hi, > > On Sat, May 30, 2015 at 3:11 AM, Mathieu Olivari > wrote: >> Ethernet GMAC is built-in the SoC, so there is no need to enable it as a >> module. We'll just assume we need it. That's what is done for other >> platform where this driver is used

Re: [OpenWrt-Devel] [PATCH 1/4] kernel: mips jump only works with memory less then 256mb. when enable HIGHMEM use long jump

2015-06-02 Thread John Crispin
Hi, do you plan to send the fixed version of this series ? John On 07/05/2015 04:25, wengbj wrote: > Signed-off-by: wengbj > --- > .../patches-3.18/305-mips_module_reloc.patch |7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/target/linux/gener

Re: [OpenWrt-Devel] [PATCH 1/1] ramips: Add support for RT5350F-OLinuXino

2015-06-03 Thread John Crispin
Hi, there are lots of places where the tabs were replaced with spaces. maybe your mail client chewed the mail ? the patch as such is fine though. please fix the whitespace problem and resend John On 03/06/2015 11:49, gamis...@gmail.com wrote: > From: Dimitar Gamishev HeHoPMaJIeH > >

Re: [OpenWrt-Devel] Porting OpenWRT to a MediaTek MT7688

2015-06-04 Thread John Crispin
Hi, there is no wifi support fro mt7688 yet. please post your other patches though. John On 04/06/2015 18:06, Thomas David Paynter wrote: > Hello All, > > This is my first post to the list so please let me know if I'm not > following list etiquette. > > I'm currently working on porting

Re: [OpenWrt-Devel] How to use wm8960-audio driver

2015-06-09 Thread John Crispin
Hi, i tried to make it work before but failed. the dma and pcm drivers seem to be functional. i am able to talk to the codec via i2c, however i failed to get it setup properly and make it play music. while doing some debugging i attached a logic analyzer to the pcm bus and i can actually see traff

Re: [OpenWrt-Devel] [PATCH] Add Support for WeIO Board (Chaos Calmer)

2015-06-14 Thread John Crispin
On 14/06/2015 23:56, Drasko DRASKOVIC wrote: > +/** > + * WEIO Web Of Things Platform > + * > + * Copyright (C) 2013 Drasko DRASKOVIC and Uros PETREVSKI > + * > + * ## ## ### > + * ## ## ## #### ## ## > + * ## ## ## #

Re: [OpenWrt-Devel] reproducible OpenWrt?

2015-06-15 Thread John Crispin
Hi H01gi, just for the record here are some of the links that are relevant... http://anonscm.debian.org/cgit/reproducible/dpkg.git/commit/?h=pu/reproducible_builds&id=3373ffd07e016ae1a81d12cb246fc6787f0bdbe1 http://anonscm.debian.org/cgit/reproducible/dpkg.git/commit/?h=pu/reproducible_builds&i

Re: [OpenWrt-Devel] reproducible OpenWrt?

2015-06-15 Thread John Crispin
On 15/06/2015 10:50, Holger Levsen wrote: > Hi, > > On Montag, 15. Juni 2015, John Crispin wrote: >> just for the record here are some of the links that are relevant... >> >> http://anonscm.debian.org/cgit/reproducible/dpkg.git/commit/?h=pu

[OpenWrt-Devel] broken feeds/packages in 15.05-rc2

2015-06-18 Thread John Crispin
Hi, the following packages are still broken in CC-rc2 ERROR: package/feeds/packages/zmq failed to build. ERROR: package/feeds/packages/lzmq failed to build. ERROR: package/feeds/packages/umurmur failed to build (build variant: polarssl). ERROR: package/feeds/packages/tmux failed to bu

Re: [OpenWrt-Devel] [PATCH procd] service: start apps with LD_PRELOAD & lib disabling buffering

2015-06-20 Thread John Crispin
i dont like this idea at all. calling ld-preload on every started app just seems wrong On 20/06/2015 01:03, Rafał Miłecki wrote: > Using pipe automatically switches service to block buffering which kind > of breaks our logging. We won't get anything from FD until the buffer > gets filled fully or

Re: [OpenWrt-Devel] [PATCH procd] service: start apps with LD_PRELOAD & lib disabling buffering

2015-06-20 Thread John Crispin
On 20/06/2015 20:53, Rafał Miłecki wrote: > On 20 June 2015 at 13:56, Jo-Philipp Wich wrote: >>> i dont like this idea at all. calling ld-preload on every started app >>> just seems wrong >> >> I was the one suggesting the idea since we needed a solution which does >> not require modification of

Re: [OpenWrt-Devel] [PATCH procd] service: start apps with LD_PRELOAD & lib disabling buffering

2015-06-21 Thread John Crispin
On 20/06/2015 21:46, Etienne Champetier wrote: > Hi, > > 2015-06-20 21:35 GMT+02:00 John Crispin <mailto:blo...@openwrt.org>>: > > > > On 20/06/2015 20:53, Rafał Miłecki wrote: > > On 20 June 2015 at 13:56, Jo-Philipp Wich <mailto:j...@ope

Re: [OpenWrt-Devel] Controlling POE passthrough via GPIO

2015-06-22 Thread John Crispin
On 23/06/2015 01:48, Lars Kruse wrote: > Hi, > > within our wireless community we are using a couple of devices with the > following features: > * powered via POE through their first ethernet plug > * another device can be powered via the second ethernet plug (POE passthrough > switchable via

Re: [OpenWrt-Devel] oldpackages for CC

2015-06-24 Thread John Crispin
On 24/06/2015 16:25, Karl Palsson wrote: > > Steven Barth wrote: >> oldpackages are obsolete and in many instances riddled with security >> issues. >> They should not be used at all. > > Right, but that's not really relevant here. This is about packages > which are up to date, have maintainer

Re: [OpenWrt-Devel] [PATCH] mtd: spi-nor: Add support for Spansion S25FL164K

2015-06-28 Thread John Crispin
On 29/06/2015 06:37, Rafał Miłecki wrote: > On 29 June 2015 at 06:36, Rafał Miłecki wrote: >> On 29 June 2015 at 05:30, L. D. Pinney wrote: >>> It's an 8 MiB flash with 4 KiB erase sectors. >>> >>> Unfortunately this patch from Rafał Miłecki hasn't >>> been picked up. >> >> I don't pick/backp

Re: [OpenWrt-Devel] Chaos Calmer regression in RC2 - MediaTek MT7621

2015-06-29 Thread John Crispin
works for me on both trunk and rc2/3. i tested this on 3 boards. show us the oops please. On 28/06/2015 10:21, Christian Mehlis wrote: > On my Firewrt (MediaTek MT7621) cc-rc1 was booting up correctly. > cc-rc2 fails with kernel oops: > > http://pastebin.com/raw.php?i=gCWKmG3J cc-rc1 (working

Re: [OpenWrt-Devel] Chaos Calmer regression in RC2 - MediaTek MT7621

2015-06-29 Thread John Crispin
On 29/06/2015 11:13, Christian Mehlis wrote: > Am 29.06.2015 um 11:07 schrieb John Crispin: >> works for me on both trunk and rc2/3. i tested this on 3 boards. >> >> show us the oops please. > > have a look at pastebin: > >>> http://pastebin.com/raw.p

Re: [OpenWrt-Devel] Chaos Calmer regression in RC2 - MediaTek MT7621

2015-06-29 Thread John Crispin
On 29/06/2015 15:05, Christian Mehlis wrote: > Am 29.06.2015 um 14:32 schrieb John Crispin: >> are you sure that your board has 512mb ram ? > > Hey John, > > good catch! > > You are right, my eval board only has 256mb. > > /target/linux/ramips/dts/FIREWRT.

Re: [OpenWrt-Devel] [PATCH] [generic] ramips: adding support for OYE-0001 Wireless Router

2015-06-30 Thread John Crispin
Hi, the patch is whitespace broken. your email client most likely replaced all tabs with spaces. please check your mail clients settings and resend a version with tabs in it John On 30/06/2015 08:37, younfan33 wrote: > From: Tom Deng <2579131...@qq.com> > > Adding support for OYE-000

Re: [OpenWrt-Devel] [PATCH] implemented basic GPIO control

2015-07-07 Thread John Crispin
Hi Lars, patch subject is missing the "base-files: " prefix. please fix and resend. rest of the patch looks fine. John On 01/07/2015 02:49, Lars Kruse wrote: > Internal GPIO pins are used for PoE passthrough setups in multi-port > routers. This patch implemnets control over this hardwar

Re: [OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router

2015-07-07 Thread John Crispin
Hi, unfortunatley your patch is against an old version of the tree On 06/07/2015 09:24, LiWeijian wrote: > diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds > b/target/linux/ramips/base-files/etc/uci-defaults/01_leds > index 5d6ed2b..265525a 100755 > --- a/target/linux/ramips/

Re: [OpenWrt-Devel] Patch to enable RFKill and USB Power GPIO for tl-wdr4900v1

2015-07-07 Thread John Crispin
Hi, the subject is missing the prefix and the Signed-off-by line is missing. Please fix and resend. John On 28/06/2015 07:45, Alpha Sparc wrote: > Add dts patch to enable RFKill and USB Power GPIO Control > > --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts > +++

Re: [OpenWrt-Devel] Add for Planex MZK-DP150N

2015-07-07 Thread John Crispin
Hi, a few things wrong with the patch * please dont send HTML mails. * send patches inline * the "ramips: " prefix is missing from the subject Please fix and resend the patch John On 25/05/2015 16:01, @SRCHACK.ORG wrote: > Hi, > > This patch adds support for Planex MZK-DP150N. > a min

Re: [OpenWrt-Devel] [PATCH] ar71xx: Add support for The QCA AP147-010 reference board

2015-07-07 Thread John Crispin
Hi, please split this into 1 patch for each QCA953x fix and then a final patch for the ap147 support John On 29/06/2015 17:25, Sven Eckelmann wrote: > Signed-off-by: Sven Eckelmann > --- > I got the chance to test the AP147-010 but got no software/SDK or > documentation. > Still wanted

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for D-Link DIR-615 rev. Ix board

2015-07-07 Thread John Crispin
Hi, sorry patch no longer applies. could you rebase it and then send it again please ? John On 18/04/2015 06:52, Jaehoon You wrote: > Signed-off-by: Jaehoon You > --- > target/linux/ar71xx/base-files/etc/diag.sh | 1 + > .../ar71xx/base-files/etc/uci-defaults/01_leds |

Re: [OpenWrt-Devel] [PATCH v2] ncm: add support to run via proto wwan

2015-07-07 Thread John Crispin
Hi, patch is generated against the wrong root folder. also your mail client replaced tabs with spaces. please fix and resend the patch John On 22/04/2015 15:26, Aleksandr Kolesnik wrote: > Signed-off-by: Aleksandr Kolesnik > > > --- package/network/utils/comgt/

Re: [OpenWrt-Devel] [PATCH] [RESUBMIT] Support Linksys WAP-4410N

2015-07-07 Thread John Crispin
Hi, sorry for the delay. patch no longer applies please rebase it and send it again John On 27/04/2015 09:27, Caleb James DeLisle wrote: > I noticed the patch was not applying to the recent master so I reworked it to > add a new patch to the patchset against the kernel rather than patchi

Re: [OpenWrt-Devel] [PATCH] busybox: replace hotfix with upstream commit de5edadee2dca2896492f97ab3a56e389305e74d

2015-07-07 Thread John Crispin
when applying the patch i get patching file package/utils/busybox/patches/290-ash-fix-a-regression-in-handling-local-variables.patch patching file package/utils/busybox/patches/290-ash-fix-handling-of-duplicate-local.patch patch: malformed patch at line 301: -- On 23/04/2015 13:22, Basti

Re: [OpenWrt-Devel] [PATCH][v2] ar71xx: add support for D-Link DIR-615 rev. Ix board

2015-07-07 Thread John Crispin
that was quick :) On 07/07/2015 15:18, Jaehoon You wrote: > Based on trunk r46212. > > Signed-off-by: Jaehoon You > --- > target/linux/ar71xx/base-files/etc/diag.sh | 1 + > .../ar71xx/base-files/etc/uci-defaults/01_leds | 8 ++ > .../ar71xx/base-files/etc/uci-defaults/02_networ

Re: [OpenWrt-Devel] [OpenWrt-Hackers] 15.05-rc3

2015-07-07 Thread John Crispin
On 07/07/2015 17:46, Imre Kaloz wrote: > On Tue, 07 Jul 2015 07:53:58 +0200, John Crispin > wrote: > > Hi John, > >> long wait but rc3 is finally ready (i hope) >> >> the IB issue is fixed, we backported a bunch of fixes and fixed the >> feeds (par

Re: [OpenWrt-Devel] [OpenWrt-Hackers] 15.05-rc3

2015-07-07 Thread John Crispin
oh well, wrong mailing list fat fingered that one. the images were aimed for internal testing before we publish them :) pleas ebe patient till friday. John On 07/07/2015 18:14, John Crispin wrote: > > > On 07/07/2015 17:46, Imre Kaloz wrote: >> On Tue, 07 Jul 2015 07:53

Re: [OpenWrt-Devel] [PATCH] Enable RFKill and USB Power GPIO for tl-wdr4900v1

2015-07-07 Thread John Crispin
Hi, the last line of the patch is missing. patchwork therefore pics up the line with the dashes as the last one and because of that git am complains. could you try to fix that ? John On 07/07/2015 18:50, Alpha Sparc wrote: > Add dts patch to enable RFKill and USB Power GPIO Control > Th

Re: [OpenWrt-Devel] [PATCH 1/4] gemini: copy kernel image to BIN_DIR

2015-07-08 Thread John Crispin
On 08/07/2015 23:00, Roman Yeryomin wrote: > Signed-off-by: Roman Yeryomin > --- > target/linux/gemini/image/Makefile | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/target/linux/gemini/image/Makefile > b/target/linux/gemini/image/Makefile > index 7ed1d61..1c51b62 1

Re: [OpenWrt-Devel] [PATCH] x86/xen_domu: enable image generation

2015-07-08 Thread John Crispin
r46277 adds the backport to CC On 08/07/2015 23:39, Luiz Angelo Daros de Luca wrote: > This was already accepted in trunk. Is there any chance to backport to cc? > > > Em seg, 15 de jun de 2015 04:10, Luiz Angelo Daros de Luca > mailto:luizl...@gmail.com>> escreveu: > > Add features ext4

Re: [OpenWrt-Devel] [PATCH 2/4] gemini: add NAS packages to Raidsonic profile

2015-07-08 Thread John Crispin
On 08/07/2015 23:00, Roman Yeryomin wrote: > Signed-off-by: Roman Yeryomin > --- > target/linux/gemini/raidsonic/target.mk | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/target/linux/gemini/raidsonic/target.mk > b/target/linux/gemini/raidsonic/target.mk > index 56eda4e..d1580

Re: [OpenWrt-Devel] Raspberry Pi 2 sysupgrade

2015-07-08 Thread John Crispin
On 08/07/2015 19:42, Bruno Randolf wrote: > Hi! > > I have the below change to add rudimentary support for sysupgrade on the > Raspberry Pi. I looked at the way platform_copy_config() is implemented > for x86 and tried to do the same, but I get the following error on mount: > > mount: mounting

Re: [OpenWrt-Devel] [PATCH] ramips mt7620: ArcherC20i USB support and more

2015-07-08 Thread John Crispin
Hi, the prefix is wrong please change it to "ramips:" there is also trailing stuff in the mail and see below On 08/07/2015 20:57, Gunnar Thorburn wrote: > For TP-Link Archer C20i, USB port does not work with CC/trunk. > This patch adds two nodes (ehci, ohci) to the Device Tree, enabling USB. > >

Re: [OpenWrt-Devel] [PATCH] [ar71xx] Add support for Onion Omega

2015-07-08 Thread John Crispin
Hi, your mail client chewed the tabs and replaced them with spaces. please check your ail clients settings or use git to send the patch John On 09/07/2015 07:47, Boken Lin wrote: > From: Boken Lin > > Add support for Onion Omega. > Signed-off-by: Boken Lin > > --- > target/linux/ar71

Re: [OpenWrt-Devel] Rebooting boards with > 16M SPI flash (was: Re: help)

2015-07-08 Thread John Crispin
Hi Paul, looks good to me but i will run this past linux-mtd and ask them for an opinion before merging it. John On 08/07/2015 14:00, Paul Fertser wrote: > Hi, > > ldy647 writes: >> recently, when we install our wireless router, we found when we run >> the reboot command, the board cou

Re: [OpenWrt-Devel] [PATCH 3/5] ar71xx: compex wpj531 remove unnecessary switch initialization

2015-07-08 Thread John Crispin
Hi, On 08/07/2015 17:48, Christian Mehlis wrote: > Signed-off-by: Christian Mehlis > --- > target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c > b/target/linux/ar71xx/files/arc

Re: [OpenWrt-Devel] [PATCH v3 1/7] ar71xx: ag71xx: add pdata field supported

2015-07-08 Thread John Crispin
Hi, On 07/07/2015 14:58, Günther Kelleter wrote: > to allow target specific override of phydev->supported. > why do you need to do this ? do you want to force a specific link type ? if so, then using a fixed link would be preferable to faking phy caps John > Signed-off-by: Günther Kel

Re: [OpenWrt-Devel] [PATCH v3 2/7] ath79: dev-eth: initialize clock for id 0 on AR934X

2015-07-08 Thread John Crispin
Hi, looking closer at the code i noticed that you need to do this as ath79_mdio1_data is not initialized to 0 properly. the reason being that it is not static and that in turn is because the header file declares it as extern yet there are no users. i would suggest you drop this patch and instead

Re: [OpenWrt-Devel] [PATCH v3 4/7] ar71xx: add support to use gpio irqs

2015-07-08 Thread John Crispin
Hi, minor nitpick inline On 07/07/2015 14:58, Günther Kelleter wrote: > Signed-off-by: Günther Kelleter > --- > .../739-MIPS-ath79-add-gpio-irq-support.patch | 225 > + > 1 file changed, 225 insertions(+) > create mode 100644 > target/linux/ar71xx/patches-3.18/739-MI

Re: [OpenWrt-Devel] [PATCH v3 5/7] mac80211: make ath10k firmware v2 selectable

2015-07-08 Thread John Crispin
Hi, dont know at10k very well so pardon my uneducated question... how does at10k know/choose which of the 2 to use ? John On 07/07/2015 14:58, Günther Kelleter wrote: > Added option for old firmware version (10.1 API v2). It seems that recent > firmware versions are constantly crashing

Re: [OpenWrt-Devel] [PATCH v3 6/7] base-files: added option to configure the gpio led trigger in uci-defaults

2015-07-08 Thread John Crispin
Hi, see inline On 07/07/2015 14:58, Günther Kelleter wrote: > Signed-off-by: Günther Kelleter > --- > package/base-files/files/etc/init.d/led | 7 +++ > .../base-files/files/lib/functions/uci-defaults.sh | 20 > > 2 files changed, 27 insertions(+) > >

Re: [OpenWrt-Devel] [PATCH v3 7/7] ar71xx: add support for the devolo dLAN pro 1200+ WiFi ac

2015-07-08 Thread John Crispin
Hi, this function seem to be overly complicated. do you really need this ? John On 07/07/2015 14:58, Günther Kelleter wrote: > +static void inc_mac_addr(u8 *base_mac, u8 *dst_mac, u8 inc) > +{ > + u32 tmp = 0; > + char index = 6; > + > + tmp = base_mac[5] + inc; > + whil

Re: [OpenWrt-Devel] [PATCH v3 1/7] ar71xx: ag71xx: add pdata field supported

2015-07-09 Thread John Crispin
On 09/07/2015 09:42, Guenther Kelleter wrote: > Hi > >> -Original Message----- >> From: John Crispin [mailto:blo...@openwrt.org] >> Sent: Thursday, July 09, 2015 8:24 AM >> To: Guenther Kelleter; openwrt-devel@lists.openwrt.org >> Subject: Re: [OpenWrt-

Re: [OpenWrt-Devel] Does anyone have used Ralink i2s under openwrt?

2015-07-09 Thread John Crispin
On 09/07/2015 09:59, Sergio wrote: > Hi guys, > >> >> Hi, >> >> once i fixed the codec problem on my unit i will look at the bug. can >> you help me get one of the rt5350 boards that you have ? can you tell >> me a link the the board ? >> >> John > > I'm using toplinkst top-ap01-38

Re: [OpenWrt-Devel] [PATCH 2/3] ar71xx: add support for the Giga Device spi nand chips

2015-07-10 Thread John Crispin
Hi, can you first send this patch upstream please ? John On 10/07/2015 09:18, miaoq...@qti.qualcomm.com wrote: > From: Miaoqing Pan > > Signed-off-by: Miaoqing Pan > --- > ...PS-ath79-add-giga-device-spi-nand-support.patch | 40 > ++ > 1 file changed, 40 insertio

Re: [OpenWrt-Devel] [PATCH 3/3] ar71xx: add spi nand driver support

2015-07-10 Thread John Crispin
Hi, lots of comments inline. please check all you error paths. right now on various places when an error occurs you simply continue as if nothing happened. also move all the dev_err calls into the functions where the error happens. please also review the actual error messages. John On 1

Re: [OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router

2015-07-10 Thread John Crispin
On 10/07/2015 13:27, Karl Palsson wrote: > Isn't this normally called the "OYE-0001" ? not "OY-0001" ? The website > and all literature I've seen uses the "OYE-0001" name... > > Regardless, in many places, you have not followed the existing > alphabetical order. > there never has been an alpha

Re: [OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router

2015-07-10 Thread John Crispin
On 10/07/2015 17:19, Karl Palsson wrote: > John Crispin wrote: > > >> On 10/07/2015 13:27, Karl Palsson wrote: >>> Isn't this normally called the "OYE-0001" ? not "OY-0001" ? The website >>> and all literature I've seen uses the

Re: [OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router

2015-07-10 Thread John Crispin
On 10/07/2015 21:31, John Crispin wrote: > > > On 10/07/2015 17:19, Karl Palsson wrote: >> John Crispin wrote: >> >> >>> On 10/07/2015 13:27, Karl Palsson wrote: >>>> Isn't this normally called the "OYE-0001" ? not "OY-0001&

Re: [OpenWrt-Devel] [PATCH ubox] log: allow filtering messages with a regexp pattern

2015-07-13 Thread John Crispin
On 12/07/2015 15:02, Rafał Miłecki wrote: > + "-eFilter messages (not hostnames, > facilities, etc.)\n" i think a log line consiste of the hostname + facility + message. hence listing the bits not included in the message is not needed. ___

Re: [OpenWrt-Devel] [PATCH V3] cdc_ncm: Add support for moving NDP to end of NCM frame

2015-07-13 Thread John Crispin
Hi, how is the testing going ? i would like to also pull this intot he CC which means there is not that much time left. also the patch sent was missing proper subject and SoB. John On 12/07/2015 15:36, Matti Laakso wrote: >> Ahoy everyone, >> >> more on the Telekom Speedstick LTE V (Hua

Re: [OpenWrt-Devel] Build errors when activating the Device Tree flag for Raspberry Pi

2015-07-14 Thread John Crispin
ok, let me have a look, my testing showed that it worked, maybe i tested the wrong tree... On 14/07/2015 10:08, Jernej Izak wrote: > > > Hi, > > > > About activating device tree on build OpenWRT with Raspberry pi. > > We tried to add patch > “0002-kernel-fix-build-with-CONFIG_MTD-unset.pat

Re: [OpenWrt-Devel] Build errors when activating the Device Tree flag for Raspberry Pi

2015-07-14 Thread John Crispin
current HEAD seems to build fine for me. could you retry with the patch i merged today ? On 14/07/2015 10:10, John Crispin wrote: > ok, let me have a look, my testing showed that it worked, maybe i tested > the wrong tree... > > On 14/07/2015 10:08, Jernej Izak wrote: &

Re: [OpenWrt-Devel] [PATCH 2/2] Prevent more gzip timestamps

2015-07-14 Thread John Crispin
On 12/07/2015 21:06, Florian Fainelli wrote: > 2015-07-12 9:41 GMT-07:00 Reiner Herrmann : >> To improve reproducibility, prevent the inclusion of timestamps >> in the gzip header. > > This looks fine to me, this also unveils a lot of repetition in how we > invoke gzip and its parameters, would

Re: [OpenWrt-Devel] [PATCH 1/2] ipkg-build: use deterministic timestamps in ipk tarballs

2015-07-14 Thread John Crispin
On 12/07/2015 18:41, Reiner Herrmann wrote: > As a follow-up to r46026, this commit sets the modification > times of files inside the tarballs to deterministic values. > It uses the date of the last git or svn commit and falls > back to the old behavior if those are not available. > > Signed-off

Re: [OpenWrt-Devel] [PATCH] firmware-utils mktplinkfw: print amount of exceeding bytes

2015-07-14 Thread John Crispin
Hi, nitpick inline John On 13/07/2015 16:16, Stephan Maka wrote: > This is very useful for trimming images towards 4 MiB flash size. > > Signed-off-by: Stephan Maka > --- > tools/firmware-utils/src/mktplinkfw.c | 20 ++-- > 1 file changed, 10 insertions(+), 10 deletion

Re: [OpenWrt-Devel] [PATCH] fix 64bit uclibc external toolchain detection

2015-07-14 Thread John Crispin
Hi Dirk, please make sure to use a proper prefix for your patches. i just fixed this manually while merging so no need to resend. John On 08/07/2015 07:34, Dirk Neukirchen wrote: > according to gcc, UCLIBC_DYNAMIC_LINKER64 > > Signed-off-by: Dirk Neukirchen > --- > scripts/ext-toolcha

Re: [OpenWrt-Devel] [PATCH v4 0/5] ar71xx: Add support for devolo dLAN devices

2015-07-14 Thread John Crispin
On 14/07/2015 11:28, Guenther Kelleter wrote: > Hi > > Now that this patch set is committed to trunk, is there a chance that a > backport to CC branch could be integrated before the final release? > I would supply the backported patch set. > > > Günther > i was going to send you a mail aski

Re: [OpenWrt-Devel] Alternatives do TDMA

2015-07-14 Thread John Crispin
On 14/07/2015 11:18, valent.turko...@gmail.com wrote: > I have your found out that NETSHe offers some of their firmwares for > free download and testing with TDMA enbled driver: > http://netshe.ru/files/NETSHe-3.0/ looks like it is based on owrt, did you manage to find the GPL source ? is the td

Re: [OpenWrt-Devel] [PATCH] Make ccache aware of OpenWRT provided GCC patch.

2015-07-14 Thread John Crispin
Hi, subject is missing the prefix and the Signed-off-by line is missing. John On 14/07/2015 11:38, Karl Vogel wrote: > The OpenWRT GCC patch, 910-mbsd_multi.patch adds an extra option > to gcc that depends on an environment variable. Standard ccache > is unaware of this option and theref

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

2015-07-14 Thread John Crispin
what kind of usage do you expect ? On 11/07/2015 03:58, Daniel Gimpelevich wrote: > Since the /dev filesystem is tiny, /dev/shm needs to live somewhere > else. > > Signed-off-by: Daniel Gimpelevich > --- a/initd/early.c 2015-06-19 14:01:25.0 -0700 > +++ b/initd/early.c 2015-07-10 15:

Re: [OpenWrt-Devel] [PATCH 2/2] ar71xx: add 4.0 support

2015-07-14 Thread John Crispin
Hi, i think we should go straight to 4.1. John On 15/06/2015 19:06, Roman Yeryomin wrote: > On 15 June 2015 at 19:09, Daniel Golle wrote: >> On Mon, Jun 15, 2015 at 06:15:58PM +0300, Roman Yeryomin wrote: >>> On 14 June 2015 at 20:15, Roman Yeryomin wrote: Tested on UAP-PRO >

Re: [OpenWrt-Devel] [PATCH] [PATCH] x86: add kmod-acpi-button and kmod-button-hotplug to default packages

2015-07-14 Thread John Crispin
Hi, as the patch is already 4 weeks old it does not apply anymore. could you send a rebased version please ? John On 19/06/2015 09:09, Stefan Hellermann wrote: > Since r40909 openwrt can automatically shutdown when you press the > power button or try to shutdown a kvm virtual machine. >

Re: [OpenWrt-Devel] [PATCH] ccache: Make ccache aware of OpenWRT provided GCC patch.

2015-07-14 Thread John Crispin
On 14/07/2015 11:57, Karl Vogel wrote: > ++"GCC_HONOUR_COPTS", > + NULL this is still whitespace broken :( ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mai

Re: [OpenWrt-Devel] Build errors when activating the Device Tree flag for Raspberry Pi

2015-07-14 Thread John Crispin
On 14/07/2015 14:41, Bruno Randolf wrote: > On 07/14/2015 12:43 PM, Jernej Izak wrote: >> ifneq (y,) >> >> bash: -c: line 0: syntax error near unexpected token `y,' >> >> bash: -c: line 0: `ifneq (y,)' > > That looks like being caused by my "brcm2708: Implement sysupgrade" > (commit 49f880151483

  1   2   3   4   5   6   7   8   9   10   >