Re: [LEDE-DEV] Documentation for router support means the famous Table of Hardware

2016-09-08 Thread John Crispin
they cause. As was pointed out, approval processes are largely what sunk > Nupedia. Although calling it "Nupedia" likely didn't help either. :-) > minor details, openwrt wiki still has 0 admins that delete and protect pages, which is the important part of my mail > ---

[LEDE-DEV] web presence

2016-09-08 Thread John Crispin
web service is restarting due to hdd maintenance. should be back up shortly ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] Documentation for router support means the famous Table of Hardware

2016-09-08 Thread John Crispin
On 08/09/2016 19:38, Thomas Endt wrote: > John> minor details, openwrt wiki still has 0 admins that delete > John> and protect pages, which is the important part of my mail. > > I'm still there... but to pick up the idea of LEDE, to have several people > for the same function in order to avoid a

Re: [LEDE-DEV] Hardware for VDSL with ISDN or 4 x TAE (VoIP) ?

2016-09-10 Thread John Crispin
On 10/09/2016 09:40, Thomas Endt wrote: >> what Router is recommendation for VDSL and VOIP with a ISDN-Port or 4x >> TAE Ports > > All supported devices with modem: > https://wiki.openwrt.org/toh/views/toh_modem_supported?dataflt%5BModem*%7E%5D=dsl > > There's not much information available abo

Re: [LEDE-DEV] [PATCH 2/3] kernel: owl-loader for delayed Atheros ath9k fixup

2016-09-10 Thread John Crispin
On 10/09/2016 11:24, Martin Blumenstingl wrote: > On Thu, Sep 8, 2016 at 11:58 PM, Christian Lamparter > wrote: >> Hello, >> >> On Thursday, September 8, 2016 9:34:07 AM CEST John Crispin wrote: >>> Hi, >>> >>> why is this code located under

Re: [LEDE-DEV] Hardware for VDSL with ISDN or 4 x TAE (VoIP) ?

2016-09-10 Thread John Crispin
On 10/09/2016 11:27, Alberto Bursi wrote: > Usually modem-routers are not supported because the modem part is closed > source. > lantiq target supports adsl and vdsl modem hw John > You need to buy a separate modem device and connect it to a pure router > (not modem-router) through et

Re: [LEDE-DEV] A Wiki for LEDE Documentation

2016-09-14 Thread John Crispin
On 14/09/2016 00:27, Jo-Philipp Wich wrote: > Hi Alberto, > > don't hold back yourself waiting for a response from "the LEDE devs" - > those who care about a wiki will likely endorse whatever good solution > is proposed and the rest either has no opinion or time to participate in > the decision

Re: [LEDE-DEV] can swconfig turn out the LEDs?

2016-09-14 Thread John Crispin
On 14/09/2016 19:51, Dave Taht wrote: > recently a whole bunch of posts went around on network world, > slashdot, and elsewhere, about how to go about disabling or dimming > the leds. > > http://www.networkworld.com/article/3119881/mobile-wireless/the-scourge-of-leds-everywhere-readers-speak-out

Re: [LEDE-DEV] A Wiki for LEDE Documentation

2016-09-14 Thread John Crispin
On 15/09/2016 01:11, Alberto Bursi wrote: > > > On 09/14/2016 12:27 AM, Jo-Philipp Wich wrote: >> Hi Alberto, >> >> don't hold back yourself waiting for a response from "the LEDE devs" - >> those who care about a wiki will likely endorse whatever good solution >> is proposed and the rest either

Re: [LEDE-DEV] A Wiki for LEDE Documentation

2016-09-14 Thread John Crispin
On 15/09/2016 00:10, Alberto Bursi wrote: > I think we should avoid forums for now and should lay out the wiki's > plans in a wiki page and activate a plugin (there are at least a couple > for docuwiki) to make a "talk" page or "discussion" page like > Wikipedia's for wiki volunteer interactio

Re: [LEDE-DEV] [PATCH] cns3xxx: backport upstream SPI Flash partition sizes

2016-09-15 Thread John Crispin
On 15/09/2016 11:34, Koen Vandeputte wrote: > As indicated by Tim Harvey: > > The 4.4 kernel is not easily sized down to below the 1.5MB limit > imposed by the SPI flash MTD partition mapping. Increase this > to 2MB where it is for NOR flash devices. > Additionally add a check that ensures the k

Re: [LEDE-DEV] A Wiki for LEDE Documentation

2016-09-15 Thread John Crispin
On 15/09/2016 20:52, Thomas Endt wrote: >> von John Crispin >> Gesendet: Donnerstag, 15. September 2016 07:20 > >> if you need a strong leader to tell you what you can(not) do, >> then you are in the wrong place buddy. > > I think the reason for asking the devs

Re: [LEDE-DEV] A Wiki for LEDE Documentation

2016-09-15 Thread John Crispin
On 15/09/2016 22:41, Alberto Bursi wrote: > Note that I'm not talking about the wiki. That was not a major issue as > being a separate thing it can be set up unofficially, or whatever. > I am just arguing about principles here, as I'm spotting a possibly bad > pattern where the same bad practic

Re: [LEDE-DEV] A Wiki for LEDE Documentation

2016-09-15 Thread John Crispin
On 15/09/2016 22:50, Alberto Bursi wrote: > I said that for that it's better a "talk/discussion" page on a wiki, > because a forum needs more time investment than a wiki to be done right > and should be treated as its own project with its own volunteers and so > on, not as an appendage of the

Re: [LEDE-DEV] Procd and askconsole

2016-09-16 Thread John Crispin
On 16/09/2016 10:48, Lebleu Pierre wrote: > Hi all, > > I am new to this mailing list and I would like to present me as Pierre. > > I recently play a bit with procd and I found an "issue". Indeed, if I do > a factory reset, I am able to login as root without login. I have some > scripts in /etc

Re: [LEDE-DEV] How do I run a script once after factory installation?

2016-09-16 Thread John Crispin
On 16/09/2016 14:14, J Mo wrote: > > The router device that I'm currently working on has some goofy failover > system where it has two roofs filesystems (UBI) on it's NAND flash. > > A special partition has a "upgrade-in-progress" bit that gets set and I > need to flip it back to 0x0 after a su

Re: [LEDE-DEV] [PATCH] kernel: add additional gadget drivers

2016-09-16 Thread John Crispin
Hi, On 15/09/2016 16:51, Tim Harvey wrote: > Add the following gadget driver modules: > - kmod-usb-gadget-ncm (g_ncm) > - kmod-usb-gadget-hid (g_hid) > > Signed-off-by: Tim Harvey > --- > package/kernel/linux/modules/usb.mk | 39 > + > 1 file changed, 39

Re: [LEDE-DEV] Procd and askconsole

2016-09-16 Thread John Crispin
On 16/09/2016 17:59, Alberto Bursi wrote: > > > On 09/16/2016 10:48 AM, Lebleu Pierre wrote: >> Hi all, >> >> I am new to this mailing list and I would like to present me as Pierre. >> >> I recently play a bit with procd and I found an "issue". Indeed, if I do >> a factory reset, I am able to l

Re: [LEDE-DEV] A Wiki for LEDE Documentation

2016-09-16 Thread John Crispin
On 16/09/2016 18:47, Alberto Bursi wrote: > > > On 09/16/2016 06:23 AM, John Crispin wrote: >> >> On 15/09/2016 22:41, Alberto Bursi wrote: >>> Note that I'm not talking about the wiki. That was not a major issue as >>> being a separate thing it ca

Re: [LEDE-DEV] MT7620A uart/uartlite no console or shell i/o but dmesg/bootearly0 ok [Edimax BR-6478AC V2]

2016-09-17 Thread John Crispin
On 18/09/2016 03:33, Rohan Murch wrote: > Hi all, > > I have been scratching away at an Edimax "BR-6478AC V2" router for a > few weeks now and have mostly successfully ported OpenWrt DD to this > model. I am having some major issues with the uart and uartlite serial > ports on the chip. > > The

Re: [LEDE-DEV] [PATCH v2] [base-files] dont change defaults for vm.min_free_kbytes on devices with <64MiB RAM

2016-09-17 Thread John Crispin
On 18/09/2016 07:59, Rafał Miłecki wrote: >> --- > Right here (comments part). > > the --- is also commonly called the tearline John ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] [PATCH 2/3] kernel: owl-loader for delayed Atheros ath9k fixup

2016-09-18 Thread John Crispin
On 08/09/2016 23:58, Christian Lamparter wrote: > So yes, if it needs to go in a different location, that would be fine. > Based on your suggestion, I think the owl-loader.c code can be moved to: > target/linux/generic/files/drivers/net/wireless/ath9k/owl-loader.c > > and the module definition f

Re: [LEDE-DEV] [PATCH ubox] getrandom: Define SYS_getrandom if no definition exists

2016-09-18 Thread John Crispin
On 18/09/2016 02:13, Florian Fainelli wrote: > Le 17/09/2016 à 16:49, Etienne Champetier a écrit : >> Hi Florian, >> >> What is your use case? > > Pre-built toolchain which ships with kernel headers 3.8 at the moment. > >> If you run it on kernel less than 3.17 this will then fail at run time .

Re: [LEDE-DEV] [PATCH firewall3] utils.h: Avoid name clashes for setbit/delbit/hasbit

2016-09-18 Thread John Crispin
Hi Florian, merged into the fw3 repo. i did not update the package in lede yet. first want to talk to jow if current head of that repo is production ready. John On 02/09/2016 04:10, Florian Fainelli wrote: > Rename to fw3_{set,del,has}bit to avoid name clashes with sys/param.h: > > /opt

Re: [LEDE-DEV] [PATCH 2/3] kernel: owl-loader for delayed Atheros ath9k fixup

2016-09-18 Thread John Crispin
On 18/09/2016 14:17, Martin Blumenstingl wrote: > On Sun, Sep 18, 2016 at 2:01 PM, John Crispin wrote: >> >> >> On 08/09/2016 23:58, Christian Lamparter wrote: >>> So yes, if it needs to go in a different location, that would be fine. >>> Based on your su

[LEDE-DEV] merging the layerscape target

2016-09-18 Thread John Crispin
Hi all, i have just spent some time reviewing the layerscape PR [1] and started a full build of it. its starting to look good and i cannot see any blockers. if anyone has any hold on this please let me know in the next couple of days. if i dont get any vetos i will merge it. John [1] htt

Re: [LEDE-DEV] [PATCH v2 3/3] ar71xx: add support for Cisco Meraki Z1 Cloud Managed Teleworker Gateway

2016-09-19 Thread John Crispin
Hi, this patch does not apply cleanly, please rebase/resend John On 18/09/2016 17:12, Chris Blake wrote: > This patch adds support for Cisco's Z1. > Detailed instructions for the flashing the device can > be found in the OpenWrt wiki: > > > Signe

Re: [LEDE-DEV] [PATCH v2 3/3] ar71xx: add support for Cisco Meraki Z1 Cloud Managed Teleworker Gateway

2016-09-19 Thread John Crispin
On 20/09/2016 06:51, John Crispin wrote: > Hi, > > this patch does not apply cleanly, please rebase/resend > > John as patch 1 and 2 of the series apply, i have already picked them up, only resend patch 3 please > > On 18/09/2016 17:12, Chris Blake wrote: >&

Re: [LEDE-DEV] Procd and askconsole

2016-09-20 Thread John Crispin
gt; is not ready (the scripts are still running). > As we can see, the hostname is not even set. I would like to allow the user > login only when everything is ready, because > the filesystem is about to be modified. > > Cheers, > > > Pierre > > -Original Message

Re: [LEDE-DEV] Procd and askconsole

2016-09-20 Thread John Crispin
> network:*:0:0:9:7::: > > Indeed, it works. > Until my custom script is called, nobody is able to login. > But, I think it will be better to have an inittab entry when everything is > set like the old sysvinit. >

Re: [LEDE-DEV] [PATCH v2] check: upgrade to 0.10.0

2016-09-26 Thread John Crispin
Hi Eduardo, patches against the packages feed need to be sent via a PR on github -> https://github.com/openwrt/packages John On 21/09/2016 17:23, Eduardo Abinader wrote: > updated new package url and solved some issues: > https://github.com/libcheck/check/releases/tag/0.10.0 > > Signed-

Re: [LEDE-DEV] odhcpd: [PATCH 1/3] enable loglevel setting via envvar ODHCPD_LOG_LEVEL

2016-09-26 Thread John Crispin
On 22/09/2016 19:32, Karl Palsson wrote: > From: Karl Palsson > > Currently the loglevel is hardcoded to LOG_WARNING, even though there is > debug log messages. Allow an env var to control the log threshold. > > Signed-off-by: Karl Palsson > --- > src/odhcpd.c | 16 +++- > 1 fil

Re: [LEDE-DEV] odhcpd: [PATCH 1/3] enable loglevel setting via envvar ODHCPD_LOG_LEVEL

2016-09-26 Thread John Crispin
On 27/09/2016 01:33, Karl Palsson wrote: > > John Crispin wrote: >> >> >> On 22/09/2016 19:32, Karl Palsson wrote: >>> From: Karl Palsson >>> >>> Currently the loglevel is hardcoded to LOG_WARNING, even though there is >>> debug

Re: [LEDE-DEV] merging the layerscape target

2016-09-26 Thread John Crispin
.Move default packages to DEFAULT_PACKAGES. > 6.Optimize Build/mk_firmware. > > Thanks & Best Regards > Jiang Yutang > >> -----Original Message- >> From: Lede-dev [mailto:lede-dev-boun...@lists.infradead.org] On Behalf Of >> Y.T. Jiang >> Sent: Tuesday, September

Re: [LEDE-DEV] [PATCH v3] ar71xx: add support for Cisco Meraki Z1 Cloud Managed Teleworker Gateway

2016-09-26 Thread John Crispin
Hi, comment inline On 20/09/2016 14:14, Chris Blake wrote: > This patch adds support for Cisco's Z1. > Detailed instructions for the flashing the device can > be found in the OpenWrt wiki: > > > Signed-off-by: Chris Blake > --- > target/linux/ar71xx/bas

Re: [LEDE-DEV] [PATCH v3] ar71xx: add support for Cisco Meraki Z1 Cloud Managed Teleworker Gateway

2016-09-26 Thread John Crispin
On 27/09/2016 08:49, Chris Blake wrote: > Hey John, > >>> --- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom >>> +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom >>> @@ -73,6 +73,16 @@ case "$FIRMWARE" in >>> ath9k_eeprom_extract

Re: [LEDE-DEV] merging the layerscape target

2016-09-27 Thread John Crispin
ith the dependencies in LEDE? > > > Thanks & Best Regards > Jiang Yutang > Hi, ok, looks like this is not related to layerscape. i'll try to have a look at it tonight. John >> -Original Message- >> From: John Crispin [mailto:j...@phrozen.o

Re: [LEDE-DEV] The procd daemon does not handle correctly the instances

2016-09-27 Thread John Crispin
On 27/09/2016 17:34, Lebleu Pierre wrote: > Hi all, > > I found a bug in the daemon process management. Indeed, when we have several > instances of one daemon such as "dnsmasq" and we want to restart only one > instance, the other instance is killed by procd. It seems procd updates the > seco

Re: [LEDE-DEV] merging the layerscape target

2016-09-27 Thread John Crispin
series, yet the module does not build. i would suggest dropping this patch as it seems totally unrelated and in fact makes it not work. does your target use FSL EHCI support ? John > If have other better ways in dealing with the dependencies in LEDE? > > > Thanks & Best

Re: [LEDE-DEV] The procd daemon does not handle correctly the instances

2016-09-28 Thread John Crispin
_procd_open_service() { > } > > _procd_close_service() { > + local method="set" > + [ -n "$1" ] && method="$1" > + > json_close_object > _procd_open_trigger > service_triggers > _procd_close

Re: [LEDE-DEV] The procd daemon does not handle correctly the instances

2016-09-28 Thread John Crispin
this might actually be solvable int he scripts, will need to take a closer look today John On 29/09/2016 07:20, John Crispin wrote: > procd uses a vlist to store instances in. if oe changes all are > restarted. we need to change this as per my last mail to only restart > t

Re: [LEDE-DEV] [wiki]Wiki structure proposals and some questions

2016-09-29 Thread John Crispin
it seems to have been rejected with "Message has a suspicious header" i am assuming that microsoft is adding weird headers to your mails. John On 29/09/2016 09:47, Alberto Bursi wrote: > I sent this yesterday and it is still waiting "moderator approval". > > > On 09/28/2016 05:51 PM, Al

Re: [LEDE-DEV] Back from hospital; getting reintegrated

2016-09-29 Thread John Crispin
On 29/09/2016 09:03, Daniel Dickinson wrote: > In any event I'm back and have a number of patches I plan on > submitting, and want to get reintegrated into the community > here (as well as rl of course), and would like to help with > things like the wiki and bugs, in addition to

Re: [LEDE-DEV] The procd daemon does not handle correctly the instances

2016-09-29 Thread John Crispin
t; > For the method "add", it only update the PID as you said so. > > I just purpose to call the method "add" rather than "set" when we specify the > instance. > > > Pierre > > -Original Message- > From: John Crispin [mailt

Re: [LEDE-DEV] [patch master 00/15] shell code improvement for /scripts

2016-09-30 Thread John Crispin
On 30/09/2016 22:02, Jan-Tarek Butt wrote: > Hi, > > I did some bugfixing and code quality improvement for > all shell scrips inside the dir ./scripts. > > cheers > Tarek Hi Tarek, did you manually generate these or did you use some semantic patching tools. John > Jan-Tarek Butt (1

Re: [LEDE-DEV] [PATCH 1/2] generic: ar8216: fix ar8xxx_is_possible check

2016-10-03 Thread John Crispin
On 01/10/2016 18:33, Christian Lamparter wrote: > The commit "generic: ar8216: add sanity check to ar8216_probe" > (774da6c7a40320a320b28d71291c0e61fcf7bc8a) stated that PHY IDs > should be checked at address 0-4. However, the PHY 4 was > never check by the for loop... And I can't find any docume

Re: [LEDE-DEV] [PATCH 1/2] generic: ar8216: fix ar8xxx_is_possible check

2016-10-03 Thread John Crispin
On 03/10/2016 22:57, Christian Lamparter wrote: >> > why do you want to remove this check ? imho it does no harm > The C-60 doesn't have a PHY at 3. This caused the check in ar8xxx_is_possible > to fail and the ethernet ports on the C-60. Also, it doesn't look like the > qca8k.c (DSA) driver chec

Re: [LEDE-DEV] package/boot/uboot-envtools/files/uboot-envtools.sh

2016-10-04 Thread John Crispin
On 04/10/2016 14:31, Jan-Tarek Butt wrote: > > > On 10/04/16 07:35, Mathias Kresin wrote: >> 04.10.2016 01:49, Jan-Tarek Butt: >>> Hi, >>> >>> Does anyone understand what this "variables" in line 24 to 28 are use [0]? >>> >>> [0] >>> https://git.lede-project.org/?p=source.git;a=blob;f=package/

Re: [LEDE-DEV] package/boot/uboot-envtools/files/uboot-envtools.sh

2016-10-04 Thread John Crispin
On 04/10/2016 14:35, John Crispin wrote: > > > On 04/10/2016 14:31, Jan-Tarek Butt wrote: >> >> >> On 10/04/16 07:35, Mathias Kresin wrote: >>> 04.10.2016 01:49, Jan-Tarek Butt: >>>> Hi, >>>> >>>> Does anyone und

Re: [LEDE-DEV] [PATCH 1/3] nvram: fix globbing, word splitting and arithmetic variables

2016-10-04 Thread John Crispin
On 04/10/2016 14:47, Jan-Tarek Butt wrote: > Double quote to prevent globbing and word splitting. > $/${} is unnecessary on arithmetic variables. > Remove unused variables SoB missing here aswell John > --- > package/utils/nvram/files/nvram.init | 27 +-- > 1 f

Re: [LEDE-DEV] [PATCH 2/3] ct-bugcheck: fix globbing, word splitting and formatting

2016-10-04 Thread John Crispin
On 04/10/2016 14:50, Jan-Tarek Butt wrote: > Double quote to prevent globbing and word splitting. > { cmd1; cmd2; } >> file instead of individual redirects. Hi, apart from the SoB missing, this seems to be a resend of a patch sent previously, yet i dont see a list of things that you changed bet

Re: [LEDE-DEV] Adding support for dlink dwr-512

2016-10-05 Thread John Crispin
Hi, congrats, please make sure to add a proper SoB line when you submit this. also the changes to the kernel config look out of place, please remove them when submitting the patch John On 04/10/2016 22:27, Giuseppe Lippolis wrote: > Dear All, > Today I reach an important milestone in " A

Re: [LEDE-DEV] [PATCH v2 1/2] generic: ar8216: improve ar8xxx_is_possible check

2016-10-05 Thread John Crispin
Hi comment inline On 04/10/2016 22:55, Christian Lamparter wrote: > The commit "generic: ar8216: add sanity check to ar8216_probe" > (774da6c7a40320a320b28d71291c0e61fcf7bc8a) stated that PHY IDs > should be checked at address 0-4. However, the PHY 4 was > never check by the loop. This patch exte

Re: [LEDE-DEV] [PATCH v2] ct-bugcheck: fix globbing, word splitting and formatting

2016-10-05 Thread John Crispin
On 05/10/2016 15:37, Jan-Tarek Butt wrote: > Double quote to prevent globbing and word splitting. > { cmd1; cmd2; } >> file instead of individual redirects. > simplifying syntax > > Signed-off-by: Jan-Tarek Butt Hi, thanks for the fixes, did you runtime test this patch to make sure there are

Re: [LEDE-DEV] [PATCH v3 04/13] scripts: $/${} is unnecessary on arithmetic variables

2016-10-06 Thread John Crispin
On 06/10/2016 16:44, Bastian Bittorf wrote: > * Jo-Philipp Wich [06.10.2016 16:35]: >> removing the dollar signs lets expressions succeed which would otherwise >> fail - which means it introduces a behavior change. > > thanks for showing this. i must repeat myself: > > before we merge such cle

Re: [LEDE-DEV] [PATCH] ct-bugcheck: fix globbing, word splitting and change formatting

2016-10-15 Thread John Crispin
On 14/10/2016 18:03, Ben Greear wrote: > On 10/14/2016 08:58 AM, Jan-Tarek Butt wrote: >> Double quote to prevent globbing and word splitting. >> Use short syntax to enhance reading quallity. > > I disagree that the short syntax helps reading quality, > but if others like it then I guess that ch

Re: [LEDE-DEV] [RFC 1/1] x86: Add support for the PC Engines APU2 Board

2016-10-15 Thread John Crispin
Hi Chris, i had quick read of the patch and it looks good at first glance. i would suggest you split he patch up as follows. 1) add the 2 new drivers 2) add the support for the new board 3) the patches that add board.d, led, diag ... and all the other parts adding the rootfs board support to x86

Re: [LEDE-DEV] [RFC 1/1] x86: Add support for the PC Engines APU2 Board

2016-10-15 Thread John Crispin
t; > On Sat, Oct 15, 2016 at 2:27 AM, John Crispin wrote: >> Hi Chris, >> >> i had quick read of the patch and it looks good at first glance. i >> would suggest you split he patch up as follows. >> >> 1) add the 2 new drivers >> 2) add the support for th

Re: [LEDE-DEV] [PATCH fstools] libfstools: add "const" to char pointer arguments in mount_move()

2018-04-16 Thread John Crispin
On 16/04/18 14:30, Rafał Miłecki wrote: From: Rafał Miłecki That function never modifies these strings so it can/should use consts. It makes it a bit more flexible as now callers can also pass consts. Signed-off-by: Rafał Miłecki Acked-by: John Crispin --- libfstools/libfstools.h | 2

Re: [LEDE-DEV] [PATCH fstools] libfstools: move mount points when switching to JFFS2

2018-04-16 Thread John Crispin
Signed-off-by: Rafał Miłecki Acked-by: John Crispin --- libfstools/overlay.c | 46 +- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/libfstools/overlay.c b/libfstools/overlay.c index a41364c..ebc43f7 100644 --- a/libfstools/overla

Re: [LEDE-DEV] [PATCH fstools] libfstools: fix foreachdir() to pass dir with a trailing slash

2018-04-16 Thread John Crispin
lash trivial. A side effect is not calling callbacks for files which is a free bonus optimization. Fixes: cc63723d886fd ("overlay: use lstat rather than stat and make sure there are no trailing spaces") Signed-off-by: Rafał Miłecki Acked-by: John Crispin --- libfstools/overlay.c

Re: [LEDE-DEV] [PATCH 2/2] firmware-utils: mkdapimg2: Fix a few issues discovered by clang

2018-04-26 Thread John Crispin
On 23/04/18 01:22, Rosen Penev wrote: I used clang -Weverything and fixed most of the warnings displayed. this is an explanation of what you did and not what the patch does     John Signed-off-by: Rosen Penev --- tools/firmware-utils/src/mkdapimg2.c | 20 +--- 1 file cha

Re: [LEDE-DEV] [PATCH] u-boot: Switch to HTTP for downloads

2018-04-26 Thread John Crispin
On 19/04/18 22:36, Rosen Penev wrote: The first mirror is dead and the second is FTP, which can be unreliable at times. Tested on Ubuntu 16.04 WSL. Signed-off-by: Rosen Penev --- package/boot/uboot-envtools/Makefile | 4 +--- package/boot/uboot-xburst/Makefile | 4 +--- 2 files change

Re: [LEDE-DEV] [PATCH v2] dropbear: automatically add firewall rules based on the config

2018-04-26 Thread John Crispin
On 18/04/18 15:49, Pierre Lebleu wrote: An extra option (AllowedClientIPs:list) is available to allow specific clients to use this service. Hi, description fails to mention the FW rules being added. v2: do not create the firewall data if there is no valid interface. this v2 info needs to

Re: [LEDE-DEV] ar71xx: Add userspace support for Mikrotik rb-2011iLS

2018-04-26 Thread John Crispin
On 16/04/18 01:25, Simon Paterson wrote: Kernel support already present. Patch adds userspace for the 'iLS' suffix model of the RB2011 family. Enables correct initial switch settings, sysupgrade, etc. https://mikrotik.com/product/RB2011iLS-IN Signed-off-by: Simon Paterson Hi Simon, patch

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/4] Gemini forward-port to kernel v4.14

2018-04-26 Thread John Crispin
On 17/04/18 00:34, Roman Yeryomin wrote: On 2018-04-15 20:22, Roman Yeryomin wrote: On 2018-04-14 20:36, Hans Ulli Kroll wrote: Hi Roman On Tue, 10 Apr 2018, Linus Walleij wrote: On Mon, Apr 9, 2018 at 12:38 PM, Roman Yeryomin wrote: > I have tested them quickly yesterday on nas4220b bo

Re: [LEDE-DEV] [PATCH] iptables: link extension libraries with -lm

2018-04-26 Thread John Crispin
On 24/04/18 10:05, Alin Nastac wrote: This fixes an iptables link error when kernel config include CONFIG_NETFILTER_XT_MATCH_STATISTIC=y related to the missing -lm argument on the linker command line. Error is caused by the odd looking linker argument ${$*_LIBADD} which get expanded to an e

Re: [LEDE-DEV] [PATCH] 17:01 gcc: gcc 6.3.0 fix comparison between pointer and integer

2018-04-26 Thread John Crispin
On 21/04/18 14:54, Etienne Haarsma wrote: Cherry picked from trunk. Signed-off-by: Etienne Haarsma thanks, did a git cherry-pick -x 22e2b402aee17684781ae705a91fb3645299de9c     John --- toolchain/gcc/patches/6.3.0/960-fix-ubsan-defref.patch | 11 +++ 1 file changed, 11 insertio

Re: [LEDE-DEV] [PATCH] libusb: Update to 1.0.22

2018-04-27 Thread John Crispin
On 02/04/18 03:11, Rosen Penev wrote: Switched download from SourceForge to GitHub. It seems the author migrated to that. Also fixed the website URL as the SourceForge link is dead. Replaced the $(fPIC) macro with PKG_ASLR_PIE. They're both functionally identital. very much not so. PKG_AS

Re: [LEDE-DEV] [PATCH] kernel: Activate CONFIG_BRIDGE_VLAN_FILTERING

2018-04-27 Thread John Crispin
On 02/04/18 16:42, Hauke Mehrtens wrote: This allows to configure VLAN aware bridges in Linux, it is also possible to offload these VLAN aware bridges with DSA to some hardware, which is supported by most of the DSA drivers. This adds support for the VLAN features mentioned in bridge man page:

Re: [LEDE-DEV] [PATCH] fstools: use ramoverlay if no rootfs_data and rootfs is ro

2018-04-27 Thread John Crispin
On 27/04/18 14:05, Arvid E. Picciani wrote: - libfstools/mtd.c no longer fails if volume is ro. - mount_root ramoverlay if no rootfs_data and rootfs is ro Hi, this approach is an ugly hack. please do the following mtd_ope() should always try to open as r/w and if that fails try ro. then sto

Re: [LEDE-DEV] [PATCH] libusb: Update to 1.0.22

2018-04-27 Thread John Crispin
On 28/04/18 07:13, Rosen Penev wrote: Switched download from SourceForge to GitHub. It seems the author migrated to that. Also fixed the website URL as the SourceForge link is dead. Compile tested on ar71xx and mvebu. Small size decrease on ar71xx: 30444 vs. 30099 bytes. Signed-off-by: Ros

Re: [LEDE-DEV] [PATCH] iptables: link extension libraries with -lm

2018-04-29 Thread John Crispin
ri, Apr 27, 2018 at 8:41 AM, John Crispin wrote: On 24/04/18 10:05, Alin Nastac wrote: This fixes an iptables link error when kernel config include CONFIG_NETFILTER_XT_MATCH_STATISTIC=y related to the missing -lm argument on the linker command line. Error is caused by the odd looking linke

Re: [LEDE-DEV] [PATCH] samba36: add hotplug script

2018-04-29 Thread John Crispin
On 12/04/18 11:41, Rosy Song wrote: Add hotplug handle script for storage devices, this will add corresponding option in the /etc/config/samba file automatically. If user do not want this feature, it can be cancel via samba relevant menu option. Hi, patch as such looks ok. how

Re: [LEDE-DEV] [PATCH 10/12] at91: reorganize at91 subtargets

2018-04-29 Thread John Crispin
On 02/04/18 18:34, Sandeep Sheriker Mallikarjun wrote: reorganizing at91 subtargets based on sama5 soc features and this fix below problems. 1. able to set neon flags to sama5d2 & sama5d4 subtargets. 2. fix the make clean which removes all the subtargets in bin folder. 3. able to confi

Re: [LEDE-DEV] [PATCH] download: skip hash check without a download hash

2018-04-29 Thread John Crispin
On 30/03/18 17:34, Hauke Mehrtens wrote: If the package doe not contain a PKG_HASH just skip the check instead of making the download fail. The scripts/download.pl script will automatically skip the hash check in case the hash value equals skip, otherwise it fails. Signed-off-by: Hauke Mehrten

Re: [LEDE-DEV] [PATCH] build: log time taken by each packages/steps

2018-04-29 Thread John Crispin
On 31/03/18 06:22, Etienne Champetier wrote: The idea is to easily get the list of packages taking the most time to build, and see if we can improve them Use SetupHostCommand as recommended by John Signed-off-by: Etienne Champetier --- include/prereq-build.mk | 5 + include/subdir.mk

Re: [LEDE-DEV] [PATCH] mvebu: Switch Turris Omnia to use ath10k-ct driver and firmware.

2018-04-29 Thread John Crispin
On 31/03/18 00:19, Rosen Penev wrote: My testing has shown both ath10k and firmware to be unstable. Here is a summary of results done over two weeks: ath10k + QCA firmware = driver crash, WiFi dies completely. ath10k + CT firmware = driver crash. WiFi dies completely. ath10k-ct + QCA firmware

Re: [LEDE-DEV] [PATCH 3/3] sysctl: Protect hard/symlinks by default.

2018-04-29 Thread John Crispin
On 31/03/18 00:18, Rosen Penev wrote: There is no usecase for not protecting symlinks that I know of in OpenWrt. Not even on desktop systems where you have multiple users with a shell. Signed-off-by: Rosen Penev Hi, does not apply due to bee696d66c95337d91fc0256afbf481dc93ddb27 please fix

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/4] Gemini forward-port to kernel v4.14

2018-04-29 Thread John Crispin
On 29/04/18 20:32, Roman Yeryomin wrote: On 2018-04-27 09:18, John Crispin wrote: On 17/04/18 00:34, Roman Yeryomin wrote: On 2018-04-15 20:22, Roman Yeryomin wrote: On 2018-04-14 20:36, Hans Ulli Kroll wrote: Hi Roman On Tue, 10 Apr 2018, Linus Walleij wrote: On Mon, Apr 9, 2018 at 12

Re: [LEDE-DEV] [PATCH] uboot-envtools: Change download to git.

2018-04-30 Thread John Crispin
On 16/03/18 01:26, Rosen Penev wrote: Currently, the build system uses an openwrt mirror which does not currently workand FTP can be unreliable under several circumstances (Ubuntu 16.04 WSL being an example). This change implicitly allows using all the mirrors to download. Changing this to

Re: [LEDE-DEV] [PATCH] wireguard: add distinction for remote and local endpoint ip

2018-04-30 Thread John Crispin
On 19/02/18 19:54, Thomas Huehn wrote: This patch fixes a bug when someone tries to set up a Wireguard tunnel to an endpoint where its ip belongs to a local subnet, e.g. in a Freifunk olsr mesh. The call of proto_add_host_dependency() is just needed in cases where the endpoint is reachable via

Re: [LEDE-DEV] [PATCH] sysctl: Protect hard/symlinks by default.

2018-04-30 Thread John Crispin
On 30/04/18 22:15, Rosen Penev wrote: There is no usecase for not protecting symlinks that I know of in OpenWrt. Not even on desktop systems where you have multiple users with a shell. Signed-off-by: Rosen Penev v2: Move to 10-default.conf file. Hi, no need to resend but in future please p

Re: [LEDE-DEV] [PATCH] uboot-envtools: Change download to git.

2018-05-01 Thread John Crispin
On 30/04/18 22:10, Rosen Penev wrote: Currently, the build system uses an openwrt mirror which does not currently workand FTP can be unreliable under several circumstances (Ubuntu 16.04 WSL being an example). This change implicitly allows using all the mirrors to download. Changing this to

Re: [LEDE-DEV] [PATCH] sysctl: Protect hard/symlinks by default.

2018-05-01 Thread John Crispin
On 30/04/18 22:15, Rosen Penev wrote: There is no usecase for not protecting symlinks that I know of in OpenWrt. Not even on desktop systems where you have multiple users with a shell. Hi, patch descriptions should be wrapped at 75 chars     John Signed-off-by: Rosen Penev v2: Move to 10-

Re: [LEDE-DEV] [PATCH v2] build: log time taken by each packages/steps

2018-05-01 Thread John Crispin
On 30/04/18 21:55, Etienne Champetier wrote: The idea is to easily get the list of packages taking the most time to build, and see if we can improve them v1: Use SetupHostCommand as recommended by John v2: add space after 'time:', remove useless /usr/bin/time from SetupHostCommand Signed-off-

Re: [LEDE-DEV] [PATCH v1 0/3] at91 patch series.

2018-05-01 Thread John Crispin
On 02/05/18 00:43, Sandeep Sheriker Mallikarjun wrote: sending below 3 patches with rebase. Sandeep Sheriker Mallikarjun (3): at91: reorganize at91 subtargets at91: Add SAMA5D2 PTC EK board at91: refreshing kernel configurations. Hi, I am having problems applying this series ontop of

Re: [LEDE-DEV] [PATCH v1 0/3] at91 patch series.

2018-05-02 Thread John Crispin
I'll give it a try tomorrow. If i fail i'll let you know and you can send a v3 :-D     John -Original Message- From: John Crispin [mailto:j...@phrozen.org] Sent: Tuesday, May 1, 2018 10:28 PM To: Sandeep Sheriker Mallikarjun - C17018 ; lede- d...@lists.infradead.org Subject: R

Re: [LEDE-DEV] [PATCH] kernel: bump kernel 4.4 to 4.4.131 for 17.01

2018-05-04 Thread John Crispin
Hi, i am afraid you need to refresh once more, fails to apply since the ipv6 fix to patch 670     John On 03/05/18 21:00, Etienne Haarsma wrote: * Refreshed patches Compile-tested: ar71xx Run-tested: ar71xx Signed-off-by: Etienne Haarsma --- include/kernel-version.mk

Re: [LEDE-DEV] [PATCH V1][RFC][procd] udevtrigger: trigger devices w/o dev sysfs entry

2018-05-04 Thread John Crispin
On 22/03/18 16:22, Sergiy Kibrik wrote: A lot of devices aren't represented via major/minor numbers and thus don't have dev entry in their sysfs directory, like network devices, USB, power supplies etc. It looks to be the rigth thing to trigger them as well. Anyway, it's up to the hotplug daem

Re: [LEDE-DEV] 18.06 Status?

2018-05-05 Thread John Crispin
On 05/05/18 12:27, Jaap Buurman wrote: Hi all, I feel like everybody is just waiting for everybody to agree what features we want in before coming up with the next step of picking a date. Obviously this isn't working out very well. Why not turn things around? Pick a date in a few weeks time on

Re: [LEDE-DEV] 18.06 Status?

2018-05-06 Thread John Crispin
this porposal while it was already taken care of. Yours sincerely, Jaap Buurman On Sat, May 5, 2018, 19:57 John Crispin <mailto:j...@phrozen.org>> wrote: On 05/05/18 12:27, Jaap Buurman wrote: > Hi all, > > I feel like everybody is just waiting for

Re: [LEDE-DEV] Lack of DNS robustness for openwrt.org

2018-05-06 Thread John Crispin
On 06/05/18 17:44, David Woodhouse wrote: Hello, I apologize for bringing up this long-standing issue at a time where you all have need to other issues to take care of. But it's again become a real pressing issue, at least seen from the networks I have a presence in. We can host it (primary

Re: [LEDE-DEV] Lack of DNS robustness for openwrt.org

2018-05-06 Thread John Crispin
On 06/05/18 22:44, Joerg Jaspert wrote: On 15029 March 1977, Bjørn Mork wrote: 1) update the .org delegation to include *all* NS records for the openwrt.org zone I added the soapstone one to the registrar for now, as thats an easy step to do. 3) possibly consider adding/replacing DNS s

[LEDE-DEV] new ath79 target

2018-05-06 Thread John Crispin
Hi, I have just pushed the new ath79 target to trunk. This will replace ar71xx mid term, switching the target over to pure OF. a few boards are already supported, would be great if people could start moving boards over that they use. I am available to help via ML, mail, irc, ... AHB wifi is s

Re: [LEDE-DEV] Lack of DNS robustness for openwrt.org

2018-05-07 Thread John Crispin
On 07/05/18 09:11, Jo-Philipp Wich wrote: Hi Joerg, John. I created an openwrt.org zone on Digital Ocean now so you could delegate the name servers to ns1.digitalocean.com, ns2.digitalocean.com and ns3.digitalocean.com, maybe with one of the SPI machines thrown into the mix... ~ Jo Hi Joe

Re: [LEDE-DEV] [PATCH V2] ath79: relicense DTS files to the GPL 2.0+ / MIT

2018-05-07 Thread John Crispin
. The safest solution is to use dual licensing: that way it stays clear these files can be used in GPL projects without depending on current belief of licenses compatibility. Signed-off-by: Rafał Miłecki Acked-by: John Crispin --- V2: Use the new "GPL-2.0-or-later" identifier --

Re: [LEDE-DEV] [PATCH] igmpproxy: bump to 0.2.1

2018-05-07 Thread John Crispin
Hi Kevin, apparently you have a 10->11 patch in your tree that needs to be applied prior to the 11->12 update     John ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] [PATCH] ath79: relicense DTS files to the GPL 2.0+ / MIT

2018-05-07 Thread John Crispin
On 07/05/18 11:31, Rafał Miłecki wrote: On 7 May 2018 at 10:46, Felix Fietkau wrote: On 2018-05-07 09:47, Rafał Miłecki wrote: From: Rafał Miłecki Some maintainers prefer DTS files licensed under permissive license like MIT / BSD. As all DT bindings should be OS independent and DTS files a

Re: [LEDE-DEV] new ath79 target

2018-05-07 Thread John Crispin
On 07/05/18 08:13, John Crispin wrote: Hi, I have just pushed the new ath79 target to trunk. This will replace ar71xx mid term, switching the target over to pure OF. a few boards are already supported, would be great if people could start moving boards over that they use. I am available to

<    2   3   4   5   6   7   8   >