[LEDE-DEV] ar71xx v4.4 testing

2016-05-14 Thread John Crispin
Hi, i pushed a tiny patch to fix a regression which i believe was the root cause for v4.4 not working for most folks. if anyone has time to test please do so. i pushed the patches to my staging tree http://git.lede-project.org/lede/blogic/staging.git Please help with testing to see if this fixes

Re: [LEDE-DEV] ar71xx v4.4 testing

2016-05-14 Thread John Crispin
On 14/05/2016 15:31, Hannu Nyman wrote: > On 14.5.2016 14:03, Felix Fietkau wrote: >> On 2016-05-14 12:56, Hannu Nyman wrote: >>> On 14.5.2016 11:54, John Crispin wrote: >>>> i pushed a tiny patch to fix a regression which i believe was the root >>>> cau

Re: [LEDE-DEV] ar71xx v4.4 testing

2016-05-14 Thread John Crispin
On 14/05/2016 16:20, Arjen de Korte wrote: > Citeren John Crispin : > >> i pushed a tiny patch to fix a regression which i believe was the root >> cause for v4.4 not working for most folks. if anyone has time to test >> please do so. i pushed the patches to my staging tr

Re: [LEDE-DEV] [PATCH 2/2] [ubox] logd: add ubus reload method

2016-05-14 Thread John Crispin
On 12/05/2016 14:09, Dan Bugnar wrote: > From: Dan Bugnar > > Add logd link to uci library, to read the system config file and get the > buffer size. > Remove the -S option support and use just the option from the config file. > > Signed-off-by: Dan Bugnar NAK, logd should not get a depende

Re: [LEDE-DEV] [PATCH 2/2] [ubox] logd: add ubus reload method

2016-05-14 Thread John Crispin
On 13/05/2016 22:40, David Lang wrote: > On Fri, 13 May 2016, Alexandru Ardelean wrote: > >> On Fri, May 13, 2016 at 8:55 PM, David Lang wrote: >>> On Fri, 13 May 2016, Helmut Schaa wrote: I was thinking of a different use-case: Increasing the buffer size on the fly comes in handy dur

Re: [LEDE-DEV] Funkiness with lede-staging / lede-source

2016-05-15 Thread John Crispin
On 15/05/2016 06:05, Daniel Dickinson wrote: > Hi all, > > Was there some history rewriting or something lede-staging and/or > lede-source transition. > > I have a number of branches I created against lede-staging that after > some pull diverged, and which also have a divergent set of commits f

Re: [LEDE-DEV] ar71xx v4.4 testing

2016-05-15 Thread John Crispin
On 15/05/2016 14:39, Hannu Nyman wrote: > On 15.5.2016 10:42, Hannu Nyman wrote: >> I made a build from Felix's commits, but no help. No trace of the >> radios with kernel 4.4. >> >> There is some difference in the kernel bootlog regarding the PCI >> initialisation. The later part of "PCI: enabli

Re: [LEDE-DEV] ar71xx v4.4 testing

2016-05-15 Thread John Crispin
On 15/05/2016 14:44, Hannu Nyman wrote: > On 15.5.2016 15:42, John Crispin wrote: >> On 15/05/2016 14:39, Hannu Nyman wrote: >>> The newest fix from Felix seems to have fixed kernel 4.4 for me. >>> ( 102-MIPS-ath79-fix-regression-in-PCI-window-initializati.patch from

[LEDE-DEV] mount_root issues

2016-05-16 Thread John Crispin
Hi, the recent changes i made to mount_root that caused lots of carnage for lost of people should now be fixed. if you had issues with the root not being mounted or being mounted twice then please update to latest HEAD and try again. John ___ L

Re: [LEDE-DEV] [PATCH 1/1] [brcm63xx] Add support for the NetGear EVG2000

2016-05-16 Thread John Crispin
On 16/05/2016 11:06, Graham Fairweather wrote: > Ok, thanks for the feedback. I tried so hard to make sure that it was > correct. :( > > On 16 May 2016 at 10:17, Conor O'Gorman wrote: >> You are still having line wrap issues with your patches, as Felix previously >> mentioned. you can use g

Re: [LEDE-DEV] A request not making IRC necessary to be part of the action

2016-05-16 Thread John Crispin
On 16/05/2016 21:25, Felix Fietkau wrote: > On 2016-05-16 21:14, Bruno Randolf wrote: >> On 16/05/16 20:08, Dave Taht wrote: >>> znc and bitlbee are godsends when using irc asynchronously. >>> >>> In particular I feed all irc convos into bitlbee and then into erc on >>> emacs (so I am not hurt wh

Re: [LEDE-DEV] A request not making IRC necessary to be part of the action

2016-05-17 Thread John Crispin
On 17/05/2016 11:02, Bruno Randolf wrote: > On 17/05/16 09:46, andrew wrote: >> How about something like rocket.chat or one of the opensource self >> hosted alternatives? > > Don't get me wrong, the problem is not IRC itself, there are definetly > good uses for it. I'm NOT saying people should n

Re: [LEDE-DEV] Bug REPORT: Lantiq - XRX200 - UBIFS image not built

2016-05-17 Thread John Crispin
On 17/05/2016 11:51, Paul Rowland wrote: > I updated sources and packages 15 minutes ago, did a make clean and a build. > The expected file, lede-lantiq-xrx200-BTHOMEHUBV5A-ubifs-sysupgrade.tar, was > not created. It is selected in menuconfig and built fine on Friday. > Hi Paul, thanks for t

Re: [LEDE-DEV] A request not making IRC necessary to be part of the action

2016-05-17 Thread John Crispin
On 18/05/2016 03:10, Daniel Curran-Dickinson wrote: > On 16-05-17 05:22 AM, John Crispin wrote: >> well that is status quo, IRC is used to discuss real time stuff and give >> user support. >> >> all other stuff is on the list. meetings being the only thing still on &

[LEDE-DEV] running stuff as !root

2016-05-17 Thread John Crispin
Hi, we had previously started building the infra for running stuff as !root. so far we have added * the userid/gid stuff * acl on ubus things that i know are missing * handling network ports < 1024 what am i missing ? can anyone think of other issues we need to address before we change uid to

Re: [LEDE-DEV] [PATCH 1/4] ar71xx: Add support for initramfs images for OpenMesh devices

2016-05-17 Thread John Crispin
On 17/05/2016 17:51, Sven Eckelmann wrote: > Signed-off-by: Sven Eckelmann > --- > target/linux/ar71xx/image/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/target/linux/ar71xx/image/Makefile > b/target/linux/ar71xx/image/Makefile > index 96122d7..384eba8 100644 > --- a/targ

Re: [LEDE-DEV] [PATCH] ramips: fix 8M WT3020 image creation

2016-05-17 Thread John Crispin
not sure what went wrong Applying: ramips: fix 8M WT3020 image creation fatal: corrupt patch at line 19 i applied the patch manually as it is a regression and pushed it to source.git John On 18/05/2016 03:47, Gerhard Bertelsmann wrote: > fix image size for 8M version : 4M -> 8M > > Sig

Re: [LEDE-DEV] running stuff as !root

2016-05-17 Thread John Crispin
On 18/05/2016 08:08, David Lang wrote: > On Wed, 18 May 2016, John Crispin wrote: > >> Hi, >> >> we had previously started building the infra for running stuff as !root. >> so far we have added >> >> * the userid/gid stuff >> * acl on ubus >&

Re: [LEDE-DEV] running stuff as !root

2016-05-17 Thread John Crispin
On 18/05/2016 08:09, Daniel Curran-Dickinson wrote: > On 16-05-18 01:05 AM, John Crispin wrote: >> Hi, >> >> we had previously started building the infra for running stuff as !root. >> so far we have added >> >> * the userid/gid stuff >> * acl

Re: [LEDE-DEV] Why does multiple instance dnsmasq work with jails but not without?

2016-05-17 Thread John Crispin
On 18/05/2016 08:24, Daniel Dickinson wrote: > Hi all, > > I had a patch that I submitted to the openwrt list sometime back that > launched multiple instances of dnsmasq, so long as the instances were > either tied to specific, non-overlapping, interfaces, or used different > dns port, but at le

Re: [LEDE-DEV] running stuff as !root

2016-05-18 Thread John Crispin
On 18/05/2016 09:04, David Lang wrote: > > The first question I would have is if we are going to the system users > in an essentially random order (as needed so two systems with the same > packages installed in a different order have different user->uid > mapping) or if we are going to define se

Re: [LEDE-DEV] running stuff as !root

2016-05-18 Thread John Crispin
On 18/05/2016 09:21, Radu Anghel wrote: > /* sending again because i hit 'reply' instead of 'reply all' :) */ > > On Wed, May 18, 2016 at 8:29 AM, John Crispin wrote: >> >> ok, there had been some discussion about building a super daemon that >> r

Re: [LEDE-DEV] running stuff as !root

2016-05-18 Thread John Crispin
On 18/05/2016 09:46, Ferry Huberts wrote: > > > On 18/05/16 09:25, John Crispin wrote: >> >> >> On 18/05/2016 09:21, Radu Anghel wrote: >>> /* sending again because i hit 'reply' instead of 'reply all' :) */ >>> >>> On

Re: [LEDE-DEV] running stuff as !root

2016-05-18 Thread John Crispin
On 18/05/2016 09:49, Etienne Champetier wrote: > Hi, > > 2016-05-18 9:25 GMT+02:00 John Crispin : >> >> >> On 18/05/2016 09:21, Radu Anghel wrote: >>> /* sending again because i hit 'reply' instead of 'reply all' :) */ >>> >&

Re: [LEDE-DEV] [PATCH 0/4] [RFC] fstools: block.c: Various enhancements

2016-05-18 Thread John Crispin
On 18/05/2016 13:35, Daniel Curran-Dickinson wrote: > On 16-05-18 07:31 AM, Conor O'Gorman wrote: >> On 18/05/16 12:21, Jo-Philipp Wich wrote: >>> On 05/18/2016 12:12 PM,l...@daniel.thecshore.com wrote: > Hi John, > > I haven't tested these changes yet, >> Testing would be good befor

Re: [LEDE-DEV] MPTCP

2016-05-18 Thread John Crispin
On 18/05/2016 17:41, Christian Huldt wrote: > I just built LEDE with MPTCP, but in order to get better integration I'm > reading > https://wiki.openwrt.org/doc/devel/patches#adding_or_editing_kernel_patches > > MPTCP is however associated with a bunch of lines in the kernel config, > is there a

Re: [LEDE-DEV] [PATCH 2/4] v2: block.c: Add support for checking vfat filesystems

2016-05-18 Thread John Crispin
On 18/05/2016 13:28, l...@daniel.thecshore.com wrote: > From: Daniel Dickinson > > v2: Fix mixup of dosfsck checking ext* and e2fsck checking vfat. > > vfat is a common filesystem which users may want to mount on an > OpenWrt/LEDE device, so support peforming filesystem checks > before mount f

Re: [LEDE-DEV] [PATCH 1/2] [ubox] syslog: use realloc to change log buffer size

2016-05-18 Thread John Crispin
On 18/05/2016 16:08, Conor O'Gorman wrote: > On 18/05/16 15:03, Dan Bugnar wrote: >> For the larger size it takes the distance from the old log and newest >> and added to _log to have the new newest, same for the oldest. It >> doesn't matter if the newest > oldest OR oldest > newest. > If the old

Re: [LEDE-DEV] Missing signed-off-by

2016-05-19 Thread John Crispin
On 19/05/2016 09:39, Kevin Darbyshire-Bryant wrote: > Hi Etienne (& list) > > Yes I've just noticed that too when I looked at them coming back at me > via master. I feel really bad! > > I will submit a new PR with properly signed commits once I've done this > email. I guess reverting the unsi

Re: [LEDE-DEV] Missing signed-off-by

2016-05-19 Thread John Crispin
On 19/05/2016 09:55, Kevin Darbyshire-Bryant wrote: > > > On 19/05/16 08:48, John Crispin wrote: >> >> >> On 19/05/2016 09:39, Kevin Darbyshire-Bryant wrote: >>> Hi Etienne (& list) >>> >>> Yes I've just noticed that too when I

Re: [LEDE-DEV] OpenWRT tree vs LEDE tree

2016-05-19 Thread John Crispin
On 19/05/2016 14:48, Bjørn Mork wrote: > John Crispin writes: >> On 09/05/2016 09:44, David Lang wrote: >> >>> I don't think that will be possible because it's different people >>> working on each tree. I know the OpenWRT folks deleted the @openwrt >

Re: [LEDE-DEV] OpenWRT tree vs LEDE tree

2016-05-19 Thread John Crispin
On 19/05/2016 15:34, Bjørn Mork wrote: > John Crispin writes: >> On 19/05/2016 14:48, Bjørn Mork wrote: >>> John Crispin writes: >>>> On 09/05/2016 09:44, David Lang wrote: >>>> >>>>> I don't think that will be possible becaus

Re: [LEDE-DEV] "block" fstools wishlist

2016-05-19 Thread John Crispin
On 20/05/2016 02:24, Daniel Golle wrote: > Hi Karl, > > I thought a bit about fstools since your post because I also had my > difficulties integrating it with applications which require hotplug > storage. I agree with and acknowledge all the points you mentioned. > > In addition I believe that

Re: [LEDE-DEV] [PATCH 01/13] ar71xx: add kernel support for the OpenMesh OM2P-HSv3

2016-05-20 Thread John Crispin
Hi Sven, looks good as usual, i'll pull this into my staging tree when i get home later today or early tomorrow. John On 20/05/2016 17:53, Sven Eckelmann wrote: > Signed-off-by: Sven Eckelmann > --- > target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c | 1 + > target/linux/ar71xx/fi

Re: [LEDE-DEV] [PATCH] lantiq: do not build images which exceed the flash size

2016-05-21 Thread John Crispin
On 21/05/2016 12:29, David Lang wrote: > On Sat, 21 May 2016, Mathias Kresin wrote: > >> The user benpicco in #openwrt reported that images are build which are >> bigger that the available flash size. > > I'm not sure that I agree with this approach. > > I had an issue when building images rec

Re: [LEDE-DEV] [PATCH 03/13] ar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3

2016-05-21 Thread John Crispin
Hi Sven, this patch fails to apply. mind re-spinning the series on top of latest source.git ? John On 20/05/2016 17:53, Sven Eckelmann wrote: > Signed-off-by: Sven Eckelmann > --- > target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh | 1 + > target/linux/ar71xx/base-files/lib/upgr

Re: [LEDE-DEV] [PATCH 2/2] [RFC] ar71xx/cpe510: use second wifi calibration table

2016-05-22 Thread John Crispin
On 23/05/2016 03:23, Alexander Couzens wrote: > The cpe510 has two calibration tables. The first calibration > table requires to modify ath9k driver to work (patched tx gain table). > Hi, why is this a RFC ? i am failing to see what we should comment on John > Signed-off-by: Alexand

Re: [LEDE-DEV] ath25: kernel updating and new image generation testing

2016-05-23 Thread John Crispin
On 23/05/2016 09:10, Sergey Ryazanov wrote: > Hello John, > > I has successfully tested your staging branch from 16 may with several > AR231x based boards: Fonera 2.0g, DIR-300, DWL-2100AP. And would like > to report that all works good (boot process, eth, wifi, usb, etc.) but > require couple o

Re: [LEDE-DEV] [PATCH 03/13] ar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3

2016-05-23 Thread John Crispin
On 23/05/2016 09:40, Sven Eckelmann wrote: > On Saturday 21 May 2016 13:23:50 John Crispin wrote: >> Hi Sven, >> >> this patch fails to apply. > > Applied fine on Friday but I will just rebase it on the newest changes. Maybe > you forgot to first apply your gather

Re: [LEDE-DEV] [PATCH] lantiq: do not build images which exceed the flash size

2016-05-23 Thread John Crispin
On 21/05/2016 12:18, Mathias Kresin wrote: > The user benpicco in #openwrt reported that images are build which are > bigger that the available flash size. > > He provided a proof of concept fix and gave permission to me to send it > for inclusion. patch fails to apply. please fix an resend onc

Re: [LEDE-DEV] [PATCH 03/13] ar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3

2016-05-23 Thread John Crispin
On 23/05/2016 09:40, Sven Eckelmann wrote: > On Saturday 21 May 2016 13:23:50 John Crispin wrote: >> Hi Sven, >> >> this patch fails to apply. > > Applied fine on Friday but I will just rebase it on the newest changes. Maybe > you forgot to first apply your gather

Re: [LEDE-DEV] [PATCH staging 0/7] ath25: minor fixes after kernel updating

2016-05-23 Thread John Crispin
On 23/05/2016 11:30, Sergey Ryazanov wrote: > This series is a set of minor fixes after kernel updating and switching > to new image generation. Nothing critical, just several tiny improvements. > > Sergey Ryazanov (7): > ath25: refresh kernel patches > ath25: refresh kernel configuration >

Re: [LEDE-DEV] Multi-Profile selection support

2016-05-23 Thread John Crispin
On 23/05/2016 14:02, Rafał Miłecki wrote: > On 23 May 2016 at 13:59, Felix Fietkau wrote: >> On 2016-05-23 13:56, Rafał Miłecki wrote: >>> On 23 May 2016 at 13:38, Felix Fietkau wrote: after a long delay, I finally got around to looking into multi profile selection again. After review

Re: [LEDE-DEV] [PATCH] _GNU_SOURCE should be defined for building vs uClibc

2016-05-23 Thread John Crispin
^ > CMakeFiles/procd.dir/build.make:134: recipe for target > 'CMakeFiles/procd.dir/inittab.c.o' failed > make[6]: *** [CMakeFiles/procd.dir/inittab.c.o] Error 1 > ->8-- > > Signed-off-by: Alexey Br

Re: [LEDE-DEV] [PATCH] _GNU_SOURCE should be defined for building vs uClibc

2016-05-23 Thread John Crispin
On 23/05/2016 20:12, Waldemar Brodkorb wrote: > Hi John, > John Crispin wrote, > >> Hi, >> is it really a gnu extension or is uclibc b0rked for these symbols ? > > I think it isn't b0rked. > It was added for ARM GNU libc here under #ifdef __USE_GNU: > htt

Re: [LEDE-DEV] 1043ND v2.1 LEDE trunk kernel panic

2016-05-23 Thread John Crispin
On 24/05/2016 02:00, A. Benz wrote: > Hi > > Trunk build of LEDE gets a kernel panic on TPLink 1043ND v2.1 > > See log: > http://paste.debian.net/698070/ > looks like there is no rootfs flashed. whih image did you use ? John ___ Lede-dev m

Re: [LEDE-DEV] 1043ND v2.1 LEDE trunk kernel panic

2016-05-23 Thread John Crispin
On 24/05/2016 07:33, Yousong Zhou wrote: > On 24 May 2016 at 12:35, John Crispin wrote: >> >> >> On 24/05/2016 02:00, A. Benz wrote: >>> Hi >>> >>> Trunk build of LEDE gets a kernel panic on TPLink 1043ND v2.1 >>> >>> See log: &g

Re: [LEDE-DEV] 1043ND v2.1 LEDE trunk kernel panic

2016-05-23 Thread John Crispin
On 24/05/2016 07:48, John Crispin wrote: > > > On 24/05/2016 07:33, Yousong Zhou wrote: >> On 24 May 2016 at 12:35, John Crispin wrote: >>> >>> >>> On 24/05/2016 02:00, A. Benz wrote: >>>> Hi >>>> >>>> Trunk build

Re: [LEDE-DEV] [PATCH] mac80211: change default SSID from Lede to LEDE

2016-05-24 Thread John Crispin
On 24/05/2016 19:02, Jo-Philipp Wich wrote: > Hi Refal, > > ack from me. > > ~ Jo ack from me aswell John > > ___ > Lede-dev mailing list > Lede-dev@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/lede-dev > ___

Re: [LEDE-DEV] Can the OpenWRT Wiki be included in the reboot?

2016-05-25 Thread John Crispin
On 25/05/2016 15:04, Martin Tippmann wrote: > On Wed, May 25, 2016 at 3:15 AM, Rosen Penev wrote: >> One other problem is that on the Openwrt wiki, there is a lot of old >> information. Maybe a mechanism can be introduced where one can look up >> the last edited date of a specific page. Maybe on

Re: [LEDE-DEV] [PATCH] toolchain: uClibc: Bump to the most recent version 1.0.14

2016-05-26 Thread John Crispin
On 26/05/2016 13:56, Alexey Brodkin wrote: > Hello, > > On Mon, 2016-05-23 at 17:48 +0300, Alexey Brodkin wrote: >> This change updates uClibc version to the most recent 1.0.14 release. >> >> Signed-off-by: Alexey Brodkin >> --- >> toolchain/uClibc/Config.version | 2 +- >> toolchain/uClibc/co

Re: [LEDE-DEV] [Lantiq][ARV4518PWR01*]lan interface missing from /etc/config/network

2016-05-27 Thread John Crispin
Hi, merged into my staging tree wit minor modifications John On 26/05/2016 00:30, Mohammed Berdai wrote: > Hi, > > This patch fixes the missing Lan interface config in the file > /etc/config/network for ARV4518PWR01/A which results in eth0 and br-lan being > down and therefor

Re: [LEDE-DEV] TR-069, bufferbloat, and BQL

2016-05-28 Thread John Crispin
On 28/05/2016 16:02, Hauke Mehrtens wrote: > On 05/28/2016 03:36 PM, Dave Taht wrote: >> On Sat, May 28, 2016 at 5:34 AM, Hauke Mehrtens wrote: >>> On 05/27/2016 12:43 PM, David Lang wrote: On Thu, 26 May 2016, Delbar Jos wrote: > We are conscious of the fact that together with the

Re: [LEDE-DEV] [PATCH procd 7/7] jail: don't CLONE_NEWUTS if we don't change hostname

2016-05-30 Thread John Crispin
Hi Etienne, why dont we want to do that ? John On 30/05/2016 01:39, Etienne CHAMPETIER wrote: > Signed-off-by: Etienne CHAMPETIER > --- > jail/jail.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/jail/jail.c b/jail/jail.c > index e425254..926e42c 1

Re: [LEDE-DEV] [PATCH procd 7/7] jail: don't CLONE_NEWUTS if we don't change hostname

2016-05-30 Thread John Crispin
On 30/05/2016 11:59, Etienne Champetier wrote: > Hi John, > > 2016-05-30 9:33 GMT+02:00 John Crispin : >> >> >> Hi Etienne, >> >> why dont we want to do that ? > > If you modify the hostname of the router you might want to propagate > it into t

Re: [LEDE-DEV] [PATCH] package/util-linux: Fix libmount build under uClibc

2016-05-30 Thread John Crispin
On 30/05/2016 13:13, Alexey Brodkin wrote: > Hello, > > On Thu, 2016-05-26 at 14:55 +0300, Alexey Brodkin wrote: >> Hello, >> >> On Mon, 2016-05-23 at 17:46 +0300, Alexey Brodkin wrote: >>> >>> This fixes util-linux building with uClibc. >>> Patch is taken as it is from Buildroot: >>> https://gi

Re: [LEDE-DEV] [PATCH] package/util-linux: Fix libmount build under uClibc

2016-06-01 Thread John Crispin
On 01/06/2016 19:28, Waldemar Brodkorb wrote: >> The question to you is where do you think we should fix mentioned problem: >> > 1) In uClibc-ng with addition of "%ms" support in scanf or > I would prefer this solution. I have started reading the code, but I > can't give you any guarantee when I

Re: [LEDE-DEV] [PATCH 1/2] Add some common packages for x86-64 target.

2016-06-01 Thread John Crispin
Hi Ben, i am inclined to reject this one. i understand the reasoning behind the patch but the general concept is to keep images minimal. the tools might make sense to you for your use case but others will want a different selection of tools/drivers. we will never be able to find a set suitable for

Re: [LEDE-DEV] [PATCH 2/2] Add script to build common platforms.

2016-06-01 Thread John Crispin
Hi Ben, also inclined to reject this one. it will open up the pandoras box and we will end up maintaining piles of diffconfig files. it would make morse sense to document what the script does inside web.git as a "how to build" or "getting started" page John On 27/05/2016 01:57, gree...@c

Re: [LEDE-DEV] [PATCH 1/2] Add some common packages for x86-64 target.

2016-06-01 Thread John Crispin
On 01/06/2016 20:24, Dave Taht wrote: > To fork this discussion mildly, I would like to see a fuller build, > including the luci gui, available, somehow, somewhere, so that newer > users can get a working config "out of the box" from the daily builds. > > Also, at least on the archer c7v2, the a

Re: [LEDE-DEV] urandom seed & /etc mount time

2016-06-01 Thread John Crispin
On 01/06/2016 23:39, Etienne Champetier wrote: > Hi, > > i'm thinking about adding a urandom seed like any distro do, > just need to know when /etc is first monted (inside procd or via init > scripts?) > > Regards > Etienne from within mount_root John >

Re: [LEDE-DEV] urandom seed & /etc mount time

2016-06-02 Thread John Crispin
On 02/06/2016 09:04, Etienne Champetier wrote: > Hi John, > > Le 2 juin 2016 07:04, "John Crispin" <mailto:j...@phrozen.org>> a écrit : >> >> >> On 01/06/2016 23:39, Etienne Champetier wrote: >> > Hi, >> > >> > i'm t

Re: [LEDE-DEV] [PATCH] package/util-linux: Fix libmount build under uClibc

2016-06-02 Thread John Crispin
On 02/06/2016 13:00, Alexey Brodkin wrote: > Hi Waldemar, > > On Wed, 2016-06-01 at 19:28 +0200, Waldemar Brodkorb wrote: >> Hi Alexey, >> >> Alexey Brodkin wrote, >> >>> >>> Hi Waldemar, >>> >>> On Mon, 2016-05-30 at 14:12 +0300, Alexey Brodkin wrote: Hello, On Thu, 2016-05-

Re: [LEDE-DEV] [PATCH] _GNU_SOURCE should be defined for building vs uClibc

2016-06-02 Thread John Crispin
On 02/06/2016 13:03, Karl Palsson wrote: > > Waldemar Brodkorb wrote: >>> >>> This still doesn't work on the uclibc in openwrt-CC branch. The >>> O_PATH definitions are in asm-generic/fcntl.h, which can be >>> included via linux/fcntl.h, _GNU_SOURCE doesn't get this pulled >>> in though. >>> >>

Re: [LEDE-DEV] Add info about git URLs in Lede Git Web

2016-06-02 Thread John Crispin
On 02/06/2016 19:02, Ted Hess wrote: > Check it out now... > the funk soul brothers > /ted > > On Thu, 2016-06-02 at 13:41 +, Alexey Brodkin wrote: >> Hello, >> >> I think it would be quite convenient to add info about URLs >> that could be used for accessing Lede repos via git. >> >

Re: [LEDE-DEV] [PATCH v2 1/2] lantiq: unmacro tp-link boards

2016-06-02 Thread John Crispin
On 02/06/2016 22:57, Hauke Mehrtens wrote: > On 06/01/2016 12:30 AM, Alexander Couzens wrote: >> On Tue, 31 May 2016 22:46:11 +0200 >> Oswald Buddenhagen wrote: >> >>> you're undoing work by hauke et. al from just a few weeks ago. ;) >> ooops. ;P > > Not really, I was converting this to the new

Re: [LEDE-DEV] [PATCH] fix uClibc-ng scanf check

2016-06-03 Thread John Crispin
Hi Waldemar On 03/06/2016 04:23, Waldemar Brodkorb wrote: > uClibc-ng tries to be compatible with GNU libc and defines > __GLIBC__ and pretend to be version 2.2. > We once changed it to 2.10, but then some hard to fix problems > in different software packages (gcc) occured. > It would be better if

Re: [LEDE-DEV] [PATCH] urandom-seed: add initial implementation

2016-06-03 Thread John Crispin
Hi Etienne, comment inline ... On 02/06/2016 23:21, Etienne CHAMPETIER wrote: > This package: > 1) seed /dev/urandom with a saved seed as early as possible > (using /lib/preinit/81_urandom_seed) > 2) save a new seed using getrandom() so we are sure /dev/urandom >pool is initialized (using

Re: [LEDE-DEV] [PATCH libubox] blobmsg_json: add new functions blobmsg_format_json_value*

2016-06-03 Thread John Crispin
On 01/06/2016 22:27, Matthias Schiffer wrote: > The current blobmsg_format_json* functions will return invalid JSON when > the "list" argument is given as false (blobmsg_format_element() will > output the name of the blob_attr as if the value is printed as part of a > JSON object). > > To avoid

Re: [LEDE-DEV] [PATCH] package/devel/gdb: Add support of ARC gdb

2016-06-03 Thread John Crispin
> Makefile:699: recipe for target 'stamp-5mloop' failed > make[7]: *** [stamp-5mloop] Error 1 > >8 > > Signed-off-by: Alexey Brodkin > Cc: John Crispin > Cc: Felix Fietkau > --- > package/devel/gdb/Makefile | 23

Re: [LEDE-DEV] git.openwrt.org site half broken

2016-06-03 Thread John Crispin
On 02/06/2016 13:20, Etienne Champetier wrote: > Hi, > > someone messed with git.openwrt.org nginx config, i can't get the js and css. > > see https://git.openwrt.org/project/static/gitweb.css (doesn't look > like a css :) ) > > Cheers > Etienne > that url looks weird. -> https://git.openwrt

Re: [LEDE-DEV] [PATCH 2/2] Add script to build common platforms.

2016-06-03 Thread John Crispin
On 01/06/2016 20:21, Ben Greear wrote: > On 06/01/2016 11:07 AM, John Crispin wrote: >> Hi Ben, >> >> also inclined to reject this one. it will open up the pandoras box and >> we will end up maintaining piles of diffconfig files. it would make >> morse sense

Re: [LEDE-DEV] [PATCH] urandom-seed: add initial implementation

2016-06-03 Thread John Crispin
On 03/06/2016 13:15, Etienne Champetier wrote: > Hi John, > > 2016-06-03 11:00 GMT+02:00 John Crispin : >> Hi Etienne, >> >> comment inline ... >> >> On 02/06/2016 23:21, Etienne CHAMPETIER wrote: >>> This package: >>> 1) seed /dev/uran

Re: [LEDE-DEV] [PATCH 2/3] [ubox] syslog: change log buffer size

2016-06-03 Thread John Crispin
On 03/06/2016 12:59, Dan Bugnar wrote: > Change the log buffer size and copy the messages. > Copy the messages from the oldest to newest using the log_list. > First time we calculate the size of the all entries. The log_entries_size > calculates the size indifferent of the positions of the newest

Re: [LEDE-DEV] international keyboard layout support

2016-06-03 Thread John Crispin
On 03/06/2016 14:19, edgar.sol...@web.de wrote: > hey All, > > i already posted this on openwrt-de...@lists.openwrt.org , but am currently > unsure what the status is for LEDE vs. OpenWrt. so here i go again on this > very ml. > > while tinkering with Gluon the Openwrt based Freifunk firmware

Re: [LEDE-DEV] [PATCH] package/devel/gdb: Add support of ARC gdb

2016-06-03 Thread John Crispin
On 03/06/2016 16:46, Alexey Brodkin wrote: > Hi John, > > On Fri, 2016-06-03 at 11:09 +0200, John Crispin wrote: >> Hi, >> >> On 01/06/2016 17:32, Alexey Brodkin wrote: >>> >>> As of today gdb port for ARC is not yet in upstream even though >>&

Re: [LEDE-DEV] [PATCH] uClibc-ng: allow to choose for all supported architectures

2016-06-04 Thread John Crispin
On 04/06/2016 22:21, Waldemar Brodkorb wrote: > Update to 1.0.15 and allow to choose uClibc-ng for all > supported architectures. Some users still need to port over > their code from uClibc-ng to musl, with this change they > can do it in a comfortable way. > > Extra pregen is not required. > >

Re: [LEDE-DEV] [PATCH 1/2] mail: imapfiler: use default imapfilter config options

2016-06-06 Thread John Crispin
Hi Tomasz, these need to be submitted via a PRS to the openwrt packages feed on github John On 05/06/2016 15:03, Tomasz Duszynski wrote: > IMAP filtering is setup per user so it makes sense > to use settings defined under user's home directory. > > Signed-off-by: Tomasz Duszynski > ---

Re: [LEDE-DEV] [PATCH] [ramips] Added NixCore X1 target V2

2016-06-06 Thread John Crispin
Hi Drew, this patch seems to use the old devicetree layout and image building code. do you think you could rebase this and make it work ontop of latest source.git or do you need help to do that ? this patch wont apply as is. another question, did you build this yourself or is this a rebranded whi

Re: [LEDE-DEV] [PATCH] libnet-1.2.x: enable HAVE_PACKET_SOCKET

2016-06-07 Thread John Crispin
On 19/05/2016 14:57, Alin Nastac wrote: > There is already a CONFIGURE_VAR set in here that seem > to have the same purpose, but it doesn't do the trick > in my cause (autoconf 2.69). > --- > libs/libnet-1.2.x/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libs/libnet-1.2.x/M

Re: [LEDE-DEV] ACL kernel config options and 3.18

2016-06-07 Thread John Crispin
On 07/06/2016 11:02, Daniel Curran-Dickinson wrote: > iVBORw0KGgoNSUhEUgAAADAwAQMAAABtzGvEBlBMVEX///8AAABVwtN+eklEQVQY04XQzQ2EIBAF4IdMDIc5UAIlUIKlWMr0ZiMm28jOj+6iMXEOfBBmXgJAVLGlBkU3wcZ9I3Q7EdrAveowx6hZ0q6QJDsRnHlJwr+W4CHF7vLqTEenXABeUnSssbP8SdwdjTHEwcFDtQGKFuWjH8Lna8vAmfEF3NMPdAO

Re: [LEDE-DEV] [PATCH] [ramips] Added NixCore X1 target V2

2016-06-08 Thread John Crispin
m/EunNmAf4 > > If this looks good I will update the 16M DTS and then submit again. > > Thanks, > > Drew > > On 06/06/2016 11:12 PM, John Crispin wrote: >> Hi Drew, >> >> this patch seems to use the old devicetree layout and image building >>

Re: [LEDE-DEV] [PATCH] [ramips] Added NixCore X1 target V2

2016-06-08 Thread John Crispin
Hi Drew, just sent a new version please. John On 08/06/2016 20:52, John Crispin wrote: > Hi Drew, > > since CC a few things have changed. the new dts file looks good, i will > merge it tomorrow, rebase the userland script changes and change the > image generation code t

Re: [LEDE-DEV] cavium: Ignore MEM boot param when too small

2016-06-09 Thread John Crispin
On 08/06/2016 15:49, Michał Osowiecki wrote: > Cisco RV0XX u-boot sets MEM=2048 as boot param. We assume that at least > 4MB (mem_alloc_size) of ram is needed to run linux on cavium boards, so > if mem < 4M - ignore it and set default value > > > Signed-off-by: Michał Osowiecki > Hi Michał,

Re: [LEDE-DEV] [PATCH ubox] getrandom: add helper for getrandom() syscall

2016-06-09 Thread John Crispin
Hi Etienne, pushed the patch to ubox.git and updated the ubox package inside my staging tree. should the tool be installed to /usr/bin ? if not let me know and i will fix the staged commit. John On 09/06/2016 15:03, Etienne CHAMPETIER wrote: > getrandom() was introduced in version 3.17 o

Re: [LEDE-DEV] [PATCH ubox] getrandom: add helper for getrandom() syscall

2016-06-09 Thread John Crispin
+0300 (13:03 +0000) > committerJohn Crispin > Wed, 8 Jun 2016 01:19:24 +0300 (00:19 +0200) > > staging commit: > authorJohn Crispin > Wed, 8 Jun 2016 01:22:16 +0300 (00:22 +0200) > committerJohn Crispin > Wed, 8 Jun 2016 01:56:48 +0300 > > Thank

Re: [LEDE-DEV] [PATCH] [ramips] Added NixCore X1 target V3

2016-06-09 Thread John Crispin
On 09/06/2016 23:36, Drew from NixCore wrote: > I have no problem with a common dtsi, can I get these changes in first > and then do the dtsi as I continue work? > > Drew > > On 06/09/2016 03:12 PM, Karl Palsson wrote: >> If the 8 and 16 meg files only differ in their memory, should >> they per

Re: [LEDE-DEV] [RFC] sysupgrade image format

2016-06-10 Thread John Crispin
Hi, some comments inline On 09/06/2016 20:41, Alexander Couzens wrote: > Hi, > > I'm posting the results of a small group who talked about the > sysupgrade image format at the battlemesh in Porto. > > sysupgrade > ## > * don't limit our format by vendor image limitations i dont unders

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH package mountd] uci config for mountd fileystem options

2016-06-10 Thread John Crispin
On 10/06/2016 12:00, Mathias Kresin wrote: > Hi Oliver, > > 2016-06-10 11:37 GMT+02:00 : >> Signed-off-by: Olivier Hardouin >> --- > > Your patch doesn't have a commit message, which explains why these > options are required by default. > > I've used mountd recently with ext4 and was able to

Re: [LEDE-DEV] [PATCH] tools/mkfwimage2: remove 256 length limit for partition images

2016-06-12 Thread John Crispin
could it be that the subject is wrong s/images/names/ ? John On 11/06/2016 04:15, Alexander Couzens wrote: > Signed-off-by: Alexander Couzens > --- > tools/firmware-utils/src/mkfwimage2.c | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/tools/firmware-util

Re: [LEDE-DEV] [PATCH] Pass method paraneter to Lua notifications.

2016-06-12 Thread John Crispin
Hi Ian, there is a typo in the subject and the description of the patch is missing in the body. could you please fix those 2 things and resend the patch ? Johb On 11/06/2016 15:54, Iain Fraser wrote: > --- > lua/ubus.c |5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >

Re: [LEDE-DEV] [PATCH mountd] filesystem mount options in uci config

2016-06-12 Thread John Crispin
Hi, comment inline. On 10/06/2016 11:18, olivier.hardo...@gmail.com wrote: > Move (previously hardcoded) mount option to UCI to allow different > configuration > like charset (utf-8 or iso) and filesystem driver (if alternative ones are > used). > The fs names are changed in lowercase to compl

Re: [LEDE-DEV] [PATCH mountd] filesystem mount options in uci config

2016-06-13 Thread John Crispin
4 section for it to work. if the fs is not explicitly defined use the sane default John > > Olivier > > > On Mon, Jun 13, 2016 at 7:03 AM, John Crispin <mailto:j...@phrozen.org>> wrote: > > Hi, > > comment inline. > > On 10/06

Re: [LEDE-DEV] [PATCH] base-files: seed /dev/urandom

2016-06-13 Thread John Crispin
On 13/06/2016 00:56, Etienne Champetier wrote: > Hi Felix, > > 2016-06-12 12:45 GMT+02:00 Felix Fietkau : >> On 2016-06-11 08:37, Etienne CHAMPETIER wrote: >>> This commit: >>> 1) seed /dev/urandom with a saved seed as early as possible >>>(using /lib/preinit/81_urandom_seed) >>> 2) save a n

[LEDE-DEV] mqmaker witi board - battery

2016-06-13 Thread John Crispin
Hi, i have a mqmaker witi board on my desk and wanted to use it to very the RTC support and add functionality to procd that it will apply hw rtc time to the system after the early boot state. unfortunately there is no battery inserted into the slot. anyone know what kind of battery cell is needed

Re: [LEDE-DEV] mqmaker witi board - battery

2016-06-14 Thread John Crispin
its a LIR1220, but I haven't tested it. > > Roger > > El 14/06/16 a les 08:55, John Crispin ha escrit: >> Hi, >> >> i have a mqmaker witi board on my desk and wanted to use it to very the >> RTC support and add functionality to procd that it will

Re: [LEDE-DEV] [PATCH] base-files: seed /dev/urandom

2016-06-14 Thread John Crispin
On 14/06/2016 22:14, Etienne Champetier wrote: > Felix, John, is your nack on writing on every boot final? if there is an alternate way to do so then yes. as i said before, adding a optin/out option should be possible. i always went by the rule that writing a sector more than 1000 times should b

[LEDE-DEV] looking for ar7 testers

2016-06-15 Thread John Crispin
Hi, the ar7 boots with v4.4 but ethernet apparently passes no traffic and atm is untested. we need someone to pick up the maintainer ship and fix this issue. i have no longer got any hw that can be used for testing. we need this fixed for it to be part of the release. John _

[LEDE-DEV] looking for au1000 testers

2016-06-15 Thread John Crispin
Hi, the au1000 fails to boot properly with v4.4 we need someone to pick up the maintainer ship and fix this issue. i have no longer got any hw that can be used for testing. we need this fixed for it to be part of the release. John ___ Lede-dev

[LEDE-DEV] DGN3500 nas mac

2016-06-15 Thread John Crispin
Hi, 492964e741f1e0254b6ed7c0a095551a31d25dc9 slipped by me without me realizing that it is broken. i staged a fix in my tree for this https://git.lede-project.org/?p=lede/blogic/staging.git;a=commit;h=08eb51390bd898a2f2b8023515c0f6482887faa7 however the esi stuff needs to be changed to apply the

<    1   2   3   4   5   6   7   8   >