Re: [LEDE-DEV] [PATCH v3 01/13] scripts: Double quote to prevent globbing and word splitting

2016-10-27 Thread John Crispin
patch looks good but is imho autogenerated and most likely not thoroughly runtime tested. John On 06/10/2016 10:50, Jan-Tarek Butt wrote: > Signed-off-by: Jan-Tarek Butt > --- > scripts/arm-magic.sh | 11 ++- > scripts/clean-package.sh | 2 +- > scripts/comb

Re: [LEDE-DEV] [PATCH v3 00/13] shell code improvement for /scripts

2016-10-27 Thread John Crispin
Hi, right now i see the chance of this series being merged as very slim. alot of it is very useful. however every patch i have a detailed look at has some minor issues, whether it be the actual formatting, description text not correlating, unrelated changes the purpose of which is not obvious, ...

Re: [LEDE-DEV] [PATCH v3 03/13] scripts: add and fix shebang

2016-10-27 Thread John Crispin
patch looks good, the subject is just silly and the description is missing John On 06/10/2016 10:50, Jan-Tarek Butt wrote: > Signed-off-by: Jan-Tarek Butt > --- > scripts/freebsd.sh | 1 + > scripts/om-fwupgradecfg-gen.sh | 2 +- > 2 files changed, 2 insertions(+), 1 deletio

Re: [LEDE-DEV] [PATCH] fstools: added f2fs to block-mount, rebased

2016-10-27 Thread John Crispin
Hi subject is bad. the f2fs support is added to the block tool and not block-mount. the "rebased needs to go to the front with the subject-prefix or go below the tear line one more comment inline On 27/10/2016 11:10, Alberto Bursi wrote: > added the code to recognize and operate the filesystem

Re: [LEDE-DEV] [PATCH v3 02/13] scripts: fix formatting

2016-10-27 Thread John Crispin
patch looks good but subject and description do not match John On 06/10/2016 10:50, Jan-Tarek Butt wrote: > remove whitespaces on end of lines > > Signed-off-by: Jan-Tarek Butt > --- > scripts/combined-ext-image.sh | 4 ++-- > scripts/flashing/flash.sh | 6 +++--- > scripts/patch

Re: [LEDE-DEV] [PATCH 1/1] package/utils: Add beep package

2016-10-27 Thread John Crispin
Hi, after some time considering i am against merging this into trunk. there are no direct users and no hardware that wont function without. please submit the package as a PR to the packages feed. John On 19/10/2016 16:59, Chris Blake wrote: > This adds the "beep" binary as a package to L

Re: [LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones

2016-10-27 Thread John Crispin
On 21/10/2016 10:31, Petr Štetiar wrote: > Daniel Dickinson [2016-10-20 16:47:09]: > >> On Wed, 19 Oct 2016 22:05:43 +0200 >> Petr Štetiar wrote: >> >>> Felix Fietkau [2016-10-19 21:44:06]: >>> I'd like to know why you need to use local time for the RTC, I think that's rather uncomm

Re: [LEDE-DEV] [PATCH] initramfs: Escape colons in depfile

2016-10-27 Thread John Crispin
Hi, this seems to be a backport for the kernel tree. please resend it as a patch adding the actual patch that is being backported to the generic targets patch folder. this would need to be done for 3.18, 4.1 and 4.4 John On 23/09/2016 10:35, Michal Marek wrote: > Special characters are p

Re: [LEDE-DEV] [PATCH] brcm47xx: add support for per-device rootfs

2016-10-27 Thread John Crispin
On 24/10/2016 21:33, Rafał Miłecki wrote: > From: Rafał Miłecki > > Signed-off-by: Rafał Miłecki Acked-by: John Crispin > --- > target/linux/brcm47xx/image/Makefile | 99 > ++-- > 1 file changed, 95 insertions(+), 4 deletions(-) >

Re: [LEDE-DEV] OpenVPN capath + cafile uci options

2016-10-27 Thread John Crispin
On 27/10/2016 20:29, p.wa...@gmx.at wrote: > Hi John, > > yesterday I've looked into the feature request for adding OpenVPN's "capath" > option > to uci. Just a comment on today's changes in > /package/network/services/openvpn/files/openvpn.init: > > -) there's no such option like "cafile"; t

Re: [LEDE-DEV] [PATCH] package net/cifs-utils: missing dependency?

2016-10-31 Thread John Crispin
Hi Paul, this package is located inside the packages feed. please send the patch as a PR using github. John On 28/10/2016 20:54, p.wa...@gmx.at wrote: > From: Paul Wassi > > Add dependency to kmod-fs-cifs > > Signed-off-by: Paul Wassi > --- > 'cifsmount' alone is not able to mount a

Re: [LEDE-DEV] [RFC] ADSL Modem Allnet All0333CJ Rev.C / Amazon-SE SoC

2016-11-03 Thread John Crispin
Hi Tino, supporting ASE is possible, however once you have the wifi driver and dsl stuff installed there is not much space left for even a webui on the system. there was once support for dgn1000 but it got dropped as it was never really useful. if you want to add support for the allnet router, the

Re: [LEDE-DEV] Flashing AP148 ubi file?

2016-11-06 Thread John Crispin
On 05/11/2016 23:55, Christian Mehlis wrote: > Hi, > > I received a Compex WPQ864, which is almost a AP148 board. > > Can someone document how to flash a dot ubi file (generated from lede > build) to an AP148 (ipq8064)? > > I'm optimistic that this will work for the WPQ, too. > > I hope to pr

Re: [LEDE-DEV] [PATCH] net-snmp: add package snmp-mibs

2016-11-08 Thread John Crispin
Hi, please submit patches to the packages feed via a github PR John On 07/11/2016 22:07, Sven Roederer wrote: > this installs the default MIBS-files under /usr/share/snmp/mibs > > Signed-off-by: Sven Roederer > --- > net/net-snmp/Makefile | 23 --- > 1 file changed

Re: [LEDE-DEV] Crash on D-Link DIR-869-A1 (ar71xx) with ath10k / Coova-Chilli

2016-11-08 Thread John Crispin
can you retry with KALLSYMS enabled such that the stack trace is a little more descriptive please John On 08/11/2016 10:33, James Wood wrote: > Hi, > > I'm trying to use Coova-Chilli on this ar71xx based device which supports > both 2.5 and 5GHz respectively. I'm facing a problem in that

Re: [LEDE-DEV] rpcd-mod-nosql - prpl funding proposal

2016-11-09 Thread John Crispin
Hi Luka, On 10/11/2016 01:23, Luka Perkov wrote: > cache for a period of time some arbitrary (runtime) data. sounds interesting ... procd provides this feature already for managed services. please explain some of the use cases and why you think that existing feature set is not sufficient. also pl

Re: [LEDE-DEV] [PATCH, usbmode] Extend StandardEject sequence to include LUN 1

2016-11-13 Thread John Crispin
Hi, a slightly more elaborate description might be appropriate here John On 08/11/2016 16:39, Benjamin Berg wrote: > Also sending the eject command to LUN 1 is required for some D-Link devices. > > Signed-off-by: Benjamin Berg > Signed-off-by: René van Weert > --- > switch.c | 6

Re: [LEDE-DEV] Crash on D-Link DIR-869-A1 (ar71xx) with ath10k / Coova-Chilli

2016-11-14 Thread John Crispin
0:00:00.0: SWBA > overrun on vdev 0, skipped old beacon > > This is a 64MB RAM unit though and has over half of its memory free before > starting Coova-Chilli. We have the same software running on 32MB units for > many years with 20MB free still. > > Why does it only get OOM

Re: [LEDE-DEV] [PATCH] ar71xx: fix drivers/mtd/nand/ar934x_nfc.c

2016-11-16 Thread John Crispin
Hi, patch fails to apply to current HEAD. could you check/resend it please John On 16/11/2016 07:25, p.wa...@gmx.at wrote: > From: Paul Wassi > > Fix the incorrect usage of ar934x_nfc_write_page and > ar934x_nfc_write_page_raw. > Add *page* in the argument list and remove the local va

Re: [LEDE-DEV] [PATCH] ar71xx: fix drivers/mtd/nand/ar934x_nfc.c

2016-11-16 Thread John Crispin
On 16/11/2016 16:35, Rafał Miłecki wrote: > On 16 November 2016 at 12:41, wrote: >>> patch fails to apply to current HEAD. could you check/resend it please >> >> Just checked again on a new git clone - everything is fine here. > > I can confirm it applies cleanly > $ curl https://patchwork.ozl

Re: [LEDE-DEV] [PATCH][uqmi 0/5] Small fixes and new options

2016-11-21 Thread John Crispin
Hi, pushed to thew qmi tree. please send the followup patch for the script so that the apn call still works. John On 20/11/2016 22:27, Matti Laakso wrote: > This is a set of small fixes and a couple of new options to uqmi. The biggest > change is demoting APN to an extra option and addin

Re: [LEDE-DEV] [PATCH] include: image.mk: ext4: double the default inode counter

2016-11-21 Thread John Crispin
NAK, please dont fiddle with inode counts. change the blocksize or the default mkfs_ext4 uses. John On 12/11/2016 09:26, Bastian Bittorf wrote: > A rootfs typically has lots of small files, so the default > counter with 1024 inodes for 16 megabytes partition size can > be too restrictive

Re: [LEDE-DEV] [PATCH] scripts/getver.sh: treat all commits as local if can't find upstream

2016-11-21 Thread John Crispin
0 upstream commits and 20 local ones. > > The new format still provides revision number but also points clearly > that is may be not the upstream one: > r0+2220 > > Signed-off-by: Rafał Miłecki Acked-by: John Crispin < j...@phrozen.org> i tried to apply it but is fails

Re: [LEDE-DEV] [PATCH] include: image.mk: ext4: double the default inode counter

2016-11-21 Thread John Crispin
On 21/11/2016 13:56, John Crispin wrote: > NAK, please dont fiddle with inode counts. change the blocksize or the > default mkfs_ext4 uses. > > John https://git.lede-project.org/?p=project/make_ext4fs.git;a=blob;f=make_ext4fs.c#l281 > > On 12/11/2016 09:26, Bastian B

Re: [LEDE-DEV] can I have some feedback about a wrapper to call initscripts

2016-11-22 Thread John Crispin
On 22/11/2016 09:51, Jo-Philipp Wich wrote: > Hi Alberto, > > personally I like the service wrapper since it alligns the service > handling with Debian and older CentOS / Redhat distros. > > In its current form though, the script is not providing enough > functionality to justify its existence

Re: [LEDE-DEV] [PATCH] tools: upslug2: Utilize existing bz2 archive

2016-11-26 Thread John Crispin
On 23/11/2016 22:00, Florian Fainelli wrote: > http://downloads.openwrt.org/sources has a copy of the sources, but under > tar.bz2 file format, so utilize this one since the SVN server is down. Hi we recently switched to xz from bz2. i think we should just upload a xz file to the mirror instead

Re: [LEDE-DEV] [PATCH] tools: upslug2: Utilize existing bz2 archive

2016-11-26 Thread John Crispin
On 26/11/2016 22:34, Florian Fainelli wrote: > Le 26/11/2016 à 13:33, John Crispin a écrit : >> >> >> On 23/11/2016 22:00, Florian Fainelli wrote: >>> http://downloads.openwrt.org/sources has a copy of the sources, but under >>> tar.bz2 file format, so u

Re: [LEDE-DEV] Fwd: [PATCH] ath9k: Add airtime fairness scheduler

2016-11-28 Thread John Crispin
On 28/11/2016 14:58, bart van zoest wrote: > Hi Weedy and Toke, > > I am trying to apply the patch using: "curl > https://patchwork.ozlabs.org/patch/699159/raw/ | git apply -v". Is the > following output normal? > > :60: trailing whitespace. > :65: trailing whitespace. > :67: space before tab

[LEDE-DEV] web->wiki switch - short glitch in the matrix

2016-11-29 Thread John Crispin
Hi, we will change DNS now to point the main site at the wiki. if all goes well we wont notice any downtime. John ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] web->wiki switch - short glitch in the matrix

2016-11-29 Thread John Crispin
lks, > > This seems to be working perfectly (I did *not* stay up to see if there would > be a glitch). www.lede-project.org and wiki.lede-project.org now lead to the > same site. > > Thanks for all who pitched in. > > Rich > >> On Nov 29, 2016, at 3:42 AM, Joh

Re: [LEDE-DEV] procd init script questions ...

2016-11-29 Thread John Crispin
On 30/11/2016 06:11, Dirk Brenken wrote: > Hi list, > > after studying a few mostly incomplete/outdated online docs and > examples on github (lede main source & package repo) procd is still a > kind of "terra incognita" ... at least for me. I don't like to copy & > paste things that I do not und

Re: [LEDE-DEV] [PATCH uclient] Fix unused results warnings

2016-12-04 Thread John Crispin
On 03/12/2016 18:58, Florian Fainelli wrote: > Fixes: > > uclient-http.c:385:8: error: ignoring return value of 'fread', declared with > attribute warn_unused_result [-Werror=unused-result] >fread(&val, sizeof(val), 1, f); > ^ > > uclient-fetch.c: In function 'main': > uclient-fetc

Re: [LEDE-DEV] [PATCH fstools] libfstools: Check return values for fread and system

2016-12-04 Thread John Crispin
On 03/12/2016 18:32, Florian Fainelli wrote: > libfstools/rootdisk.c: In function 'rootdisk_volume_identify': > libfstools/rootdisk.c:172:7: error: ignoring return value of 'fread', > declared with attribute warn_unused_result [-Werror=unused-result] > fread(&magic, sizeof(magic), 1, f); >

Re: [LEDE-DEV] [PATCH] odhcpd: Update to 2016-12-01 snapshot

2016-12-04 Thread John Crispin
Hi Karl, this comment is completely devoid any usefulness. let me help by rephrasing it to make it useful. "Hi community, i have noticed that it is common practice to not annotate the upstream changes properly in commit bumping the git hash of packages. i feel that it would be much better if we

Re: [LEDE-DEV] ramips: image validator and board variants

2016-12-06 Thread John Crispin
On 05/12/2016 10:17, Mathias Kresin wrote: > Hey John, Hey Felix > > I'm near to finished with porting the remaining ramips devices to the > new image build code. While doing this, I might have spotted a ramips > specific issue with the new image validation feature in regard of build > variants

Re: [LEDE-DEV] [PATCH] Allow sending a fd in a ubus_request

2016-12-08 Thread John Crispin
On 08/12/2016 13:47, amine.ahd wrote: > In the current implementation, a fd can be sent in the reply to an existing > request which can be inefficient in certain cases. > Example: when you want to create a pipe between two process with the help of > a 3rd process acting as a manager: you need 3

Re: [LEDE-DEV] [PATCH] kernel: add KERNEL_DEBUG_PINCTRL and KERNEL_DEBUG_GPIO

2016-12-08 Thread John Crispin
On 07/12/2016 22:44, Hauke Mehrtens wrote: > This makes it possible to activate the gpio and the pinctl debugging > from LEDE menuconfig. > > Signed-off-by: Hauke Mehrtens Acked-by: John Crispin > --- > config/Config-kernel.in | 8 > 1 file changed, 8 insertio

Re: [LEDE-DEV] [PATCH] kernel: add TI tmp102 and tmp103 temperature sensors

2016-12-08 Thread John Crispin
On 07/12/2016 22:45, Hauke Mehrtens wrote: > This just adds the kmods for these kernel modules. > This is found on some Lantiq / Intel reference boards. > > Signed-off-by: Hauke Mehrtens > --- > package/kernel/linux/modules/hwmon.mk | 30 ++ > 1 file changed, 30 ins

Re: [LEDE-DEV] [PATCH 1/1] add support for overlaying rootfs content

2016-12-08 Thread John Crispin
On 07/12/2016 21:52, Karl Palsson wrote: > > Rafał Miłecki wrote: >> On 7 December 2016 at 16:44, Karl Palsson >> wrote: >>> How is this different from just reverting the commit that stopped >>> this from working? I'm all for this, don't get me wrong, but if a >>> package can just explicitly

Re: [LEDE-DEV] Kernel Oops / panic

2016-12-08 Thread John Crispin
Hi, are you using snapshots or building the image yourself ? if it is self built then please enable KALLSYMS and paste the log. John On 08/12/2016 17:14, e9hack wrote: > Hi, > > I'm using a TP-Link Archer C7 (Atheros AR7xxx/AR9xxx). Since my build from > 4.12.2016 ~12:00, the kernel cr

Re: [LEDE-DEV] Convert ar71xx to devicetree

2016-12-08 Thread John Crispin
On 08/12/2016 17:17, p.wa...@gmx.at wrote: > Hi, > > one of the open ToDos for LEDE is 'Convert ar71xx to devicetree'. > In the last weeks, I've tried some stuff to get myself an idea of what > needs to be done. Currently, I'm in this state: > -) AR9331 devices (TL-WR740-v4, TL-WR741-v4, TL-MR30

Re: [LEDE-DEV] Convert ar71xx to devicetree

2016-12-08 Thread John Crispin
On 08/12/2016 18:10, Felix Fietkau wrote: > On 2016-12-08 18:08, John Crispin wrote: >> >> >> On 08/12/2016 18:06, Felix Fietkau wrote: >>> On 2016-12-08 17:31, John Crispin wrote: >>>> Hi, >>>> >>>> i was planning to start

Re: [LEDE-DEV] Convert ar71xx to devicetree

2016-12-08 Thread John Crispin
On 08/12/2016 18:28, Felix Fietkau wrote: > On 2016-12-08 18:17, John Crispin wrote: >> >> >> On 08/12/2016 18:10, Felix Fietkau wrote: >>> On 2016-12-08 18:08, John Crispin wrote: >>>> >>>> >>>> On 08/12/2016 18:06, Felix Fietk

Re: [LEDE-DEV] Convert ar71xx to devicetree

2016-12-08 Thread John Crispin
On 08/12/2016 18:06, Felix Fietkau wrote: > On 2016-12-08 17:31, John Crispin wrote: >> Hi, >> >> i was planning to start working on this in early 2017. i was hoping that >> rather than converting ar71xx to DT we simply create a new target called >> ath79 and sta

Re: [LEDE-DEV] RFC: removing support for old Atheros reference boards

2016-12-08 Thread John Crispin
On 08/12/2016 21:27, Felix Fietkau wrote: > On 2016-12-08 21:26, Felix Fietkau wrote: >> Hi all, >> >> support code for some old ar71xx reference boards (e.g. AP83) carries >> quite a bit of specific code that bloats images. I consider it highly >> unlikely that anybody still actually uses this s

Re: [LEDE-DEV] [PATCH] kernel: Add kmod-ethoc

2016-12-08 Thread John Crispin
On 09/12/2016 04:31, Florian Fainelli wrote: > Add the kernel module package for the Opencores.org Ethernet MAC, > depends on PHYLIB. > > Signed-off-by: Florian Fainelli > --- > package/kernel/linux/modules/netdevices.mk | 15 +++ > 1 file changed, 15 insertions(+) > > diff --git

Re: [LEDE-DEV] [PATCH] kernel: make fix extending dtb cmd with bootloader

2016-12-08 Thread John Crispin
On 09/12/2016 00:21, Hauke Mehrtens wrote: > This was introduced in kernel 4.4, but broken there and fixed in 4.5. > I would like to activate it, but I am scared about the boot loader > around giving us all sorts of command lines. > > Signed-off-by: Hauke Mehrtens we had previously used a synt

Re: [LEDE-DEV] [PATCH] package-ipkg: Do not fail build without base-files

2016-12-08 Thread John Crispin
Hi Florian On 06/12/2016 23:14, Florian Fainelli wrote: > If the base-files package is not selected, we will fail executing the > very first postinst script: > > make[3]: Leaving directory `/local/users/fainelli/openwrt/trunk' > cp -fpR > /local/users/fainelli/openwrt/trunk/build_dir/target-arm_x

Re: [LEDE-DEV] Convert ar71xx to devicetree

2016-12-09 Thread John Crispin
On 09/12/2016 09:40, p.wa...@gmx.at wrote: >> Done. Pushed the cleanup commit to my staging tree > > Thank you, Felix. This commit works perfectly on DT boards :) > (I did not test it on non-DT devices) > > In the meantime I've prepared DT things here: > https://github.com/p-wassi/lede-source/t

Re: [LEDE-DEV] Convert ar71xx to devicetree

2016-12-09 Thread John Crispin
looks like the link to privatedns.org is causing this. amazing feature, who wants to send a mail with a privatedns.org to lkml ? On 09/12/2016 09:59, John Crispin wrote: > > > On 09/12/2016 09:40, p.wa...@gmx.at wrote: >>> Done. Pushed the cleanup commit to my staging tr

Re: [LEDE-DEV] Convert ar71xx to devicetree

2016-12-09 Thread John Crispin
On 09/12/2016 10:08, p.wa...@gmx.at wrote: >> looks like the link to privatedns.org is causing this. > > I've just checked on the web server's access log: there > was no bot checking the contents of my site, so it must really be > related to the URI itself. > > As this is not the first time, I'

Re: [LEDE-DEV] [PATCH v2] ramips: build factory images for Buffalo WSR-1166DHP/WSR-1166DHP2

2016-12-10 Thread John Crispin
it is still in my staging tree. i will drop it and await your V3 John On 10/12/2016 14:34, Naoki FUKAUMI wrote: > hi > > I noticed buffalo-tag fix and mkwsrimg can be used for some other > Buffalo WxR products too. > (probably. I just checked some of official update images for now) > >

Re: [LEDE-DEV] [PATCH] comgt-ncm: Add support for specifying profile index

2016-12-10 Thread John Crispin
Hi Matti i noticed that you remove the ipv6 option/support and this is not mentioned in the commit message. could you elaborate on that one ? John On 06/12/2016 17:52, Matti Laakso wrote: > Add support for specifying a call profile index instead of APN. A > specific index different from

Re: [LEDE-DEV] [PATCH netifd] ubus: Display the IPv6 prefix assigned address

2016-12-10 Thread John Crispin
gt; > Signed-off-by: Hans Dedecker Acked-by: John Crispin feel free to push this to the tree yourself. i have closed the patchwork ticket for you already John > --- > ubus.c | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git a/ubus.c b/

Re: [LEDE-DEV] [PATCH rpcd 1/2] cmake: Find libubox/blobmsg_json.h

2016-12-11 Thread John Crispin
On 03/12/2016 18:34, Florian Fainelli wrote: > Add a CMake FIND_PATH and INCLUDE_DIRECTORIES searching for blobmsg_json.h. > Some external toolchains which do not include standard locations would fail to > find the header otherwise. > > Signed-off-by: Florian Fainelli > --- > CMakeLists.txt |

Re: [LEDE-DEV] [PATCH] mediatek: enable support for vfpv4 and neon

2016-12-11 Thread John Crispin
his information. > This should have the nice side effect that LEDE's phase2 builders > no longer need to built a separate "cortex-a7" target, so this > should free up some resources. > > Cc: John Crispin > Signed-off-by: Christian Lamparter sorry took me ages to

Re: [LEDE-DEV] [PATCH rpcd 1/2] cmake: Find libubox/blobmsg_json.h

2016-12-11 Thread John Crispin
On 11/12/2016 09:12, John Crispin wrote: > > > On 03/12/2016 18:34, Florian Fainelli wrote: >> Add a CMake FIND_PATH and INCLUDE_DIRECTORIES searching for blobmsg_json.h. >> Some external toolchains which do not include standard locations would fail >> to &

Re: [LEDE-DEV] [PATCH v3] ramips: build factory images for Buffalo WSR-1166DHP/WSR-1166DHP2

2016-12-11 Thread John Crispin
On 11/12/2016 14:53, Mathias Kresin wrote: > First of all, sorry for beeing late to the party and requesting changes > to a V3. > > 11.12.2016 02:17, FUKAUMI Naoki: >> diff --git a/target/linux/ramips/image/mt7621.mk >> b/target/linux/ramips/image/mt7621.mk >> index 6d85511..23a79f5 100644 >> --

Re: [LEDE-DEV] Help on porting new device (DCS-933L)

2016-12-13 Thread John Crispin
On 13/12/2016 09:17, Luiz Angelo Daros de Luca wrote: > Hello, > > I'm trying to port LEDE to a new device DCS-933L. It's a dlink ip > camera with 8MB Flash and 64 MB RAM. Currently my branch is published > on https://github.com/luizluca/source/tree/add_dcs933lb1 > > It seems to be going well (

Re: [LEDE-DEV] Help on porting new device (DCS-933L)

2016-12-13 Thread John Crispin
On 13/12/2016 09:43, John Crispin wrote: > > > On 13/12/2016 09:17, Luiz Angelo Daros de Luca wrote: >> Hello, >> >> I'm trying to port LEDE to a new device DCS-933L. It's a dlink ip >> camera with 8MB Flash and 64 MB RAM. Currently my branch is

Re: [LEDE-DEV] Help on porting new device (DCS-933L)

2016-12-14 Thread John Crispin
On 14/12/2016 09:22, Luiz Angelo Daros de Luca wrote: > Hi John, > > I did not get your mails. I just saw them on the maillist history. > > My device is labeled A1 (external tag). However, the ID on board is B1 > (and according to openwrt wiki, A1 should use a different SoC). > If I consider on

Re: [LEDE-DEV] mdnsd ignoring questions

2016-12-14 Thread John Crispin
On 14/12/2016 17:35, Cristian Morales Vega wrote: > I have found a problem with mdnsd, but since I'm no expert in the > protocol and would prefer to stay that way, could somebody comment on > these? > > The problem is with service_reply_single() > (https://git.lede-project.org/?p=project/mdnsd.g

Re: [LEDE-DEV] [PATCH v2 0/2] target: replace realview with new target armvirt

2016-12-15 Thread John Crispin
On 16/12/2016 07:42, Yousong Zhou wrote: > On 8 December 2016 at 23:21, Yousong Zhou wrote: >> Changes since PATCH v1 >> >> - Enabled CONFIG_XZ_DEC_BCJ >> - Enabled squashfs rootfs >> >> Changes since RFC v1 >> >> - CONFIG_SMP enabled with CONFIG_NR_CPUS=4 >> - CPU_SUBTYPE changed from neon

Re: [LEDE-DEV] [LEDE-DEV, 2/3, v2] Add support of using device symlinks.

2016-12-15 Thread John Crispin
Hi, still pending not had time to look into this. it'll take me a moment as i am not familiar with the code so i need to find a free moment to properly review this, sorry for the delay John On 16/12/2016 08:42, Nikolay Ledovskikh wrote: > So what? It's more general and useful when, for e

Re: [LEDE-DEV] [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.

2016-12-16 Thread John Crispin
Hi, still pending not had time to look into this. it'll take me a moment as i am not familiar with the code so i need to find a free moment to properly review this, sorry for the delay John On 16/12/2016 08:51, Nikolay Ledovskikh wrote: > So. What about patch? 'sync' call allows us not t

Re: [LEDE-DEV] [LEDE-DEV, 2/3, v2] Add support of using device symlinks.

2016-12-16 Thread John Crispin
On 16/12/2016 08:58, Nikolay Ledovskikh wrote: >> still pending not had time to look into this. it'll take me a moment as >> i am not familiar with the code so i need to find a free moment to >> properly review this, sorry for the delay >> >> John > > OK. I just offer to use 'readlink' o

Re: [LEDE-DEV] [LEDE-DEV, 2/3, v2] Add support of using device symlinks.

2016-12-16 Thread John Crispin
On 07/12/2016 18:13, Nickolay Ledovskikh wrote: > It's useful when using multiple usb devices that should be bound to > certain usb ports. Symlinks are created by hotplug handlers. > > Signed-off-by: Nickolay Ledovskikh > --- > package/network/utils/comgt/files/directip.sh| 1 + >

Re: [LEDE-DEV] [LEDE-DEV, 3/3, v2] uqmi: Prevent 'POLICY MISMATH' error.

2016-12-16 Thread John Crispin
On 07/12/2016 18:13, Nickolay Ledovskikh wrote: > Add uqmi 'sync' command call to release stalled cid when preparing to > setup new connection. As a result it prevents 'POLICY MISMATCH' errors. > > Signed-off-by: Nickolay Ledovskikh > --- > package/network/utils/uqmi/files/lib/netifd/proto/qmi

Re: [LEDE-DEV] [LEDE-DEV, 3/3, v2] uqmi: Prevent 'POLICY MISMATH' error.

2016-12-16 Thread John Crispin
On 16/12/2016 10:10, Nikolay Ledovskikh wrote: > Thanks for your comments. I'll update patches with your tips and send > new versions. > and i'll handle them quicker this time :-) > 2016-12-16 11:41 GMT+03:00 Matti Laakso : >>> On 07/12/2016 18:13, Nickolay Ledovskikh wrote: /Add uqmi 'sy

Re: [LEDE-DEV] [PATCH] libubox: replace strtok with strsep

2016-12-16 Thread John Crispin
On 14/12/2016 06:43, Rosen Penev wrote: > strsep is re-entrant whereas strtok not necessarily so. > > Signed-off by: Rosen Penev > --- > ulog.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/ulog.c b/ulog.c > index 296605d..985d366 100644 > --- a/ulog.c > +++ b/u

Re: [LEDE-DEV] [PATCH] libubox: replace strtok with strsep

2016-12-16 Thread John Crispin
On 16/12/2016 11:10, Felix Fietkau wrote: > On 2016-12-16 10:58, John Crispin wrote: >> >> >> On 14/12/2016 06:43, Rosen Penev wrote: >>> strsep is re-entrant whereas strtok not necessarily so. >>> >>> Signed-off by: Rosen Penev >>> -

Re: [LEDE-DEV] [PATCH] libubox: replace strtok with strsep

2016-12-18 Thread John Crispin
On 18/12/2016 17:29, Arjen de Korte wrote: > Citeren John Crispin : > >> On 16/12/2016 11:10, Felix Fietkau wrote: >>> On 2016-12-16 10:58, John Crispin wrote: >>>> >>>> >>>> On 14/12/2016 06:43, Rosen Penev wrote: >>>>> st

Re: [LEDE-DEV] [LEDE-DEV v3] Add support of using device symlinks.

2016-12-18 Thread John Crispin
On 19/12/2016 08:20, Nikolay Ledovskikh wrote: >> It's useful when using multiple usb devices that should be bound to >> certain usb ports. Symlinks are created by hotplug handlers. > > Ping. > pong ... "weekend, that thing where people rest" ___ L

Re: [LEDE-DEV] [PATCH] kernel: add KERNEL_DEVMEM and KERNEL_DEVKMEM

2016-12-18 Thread John Crispin
On 17/12/2016 15:04, Hauke Mehrtens wrote: > These options are needed to create /dev/mem or /dev/kmem . > /dev/mem is needed by the io tool to access raw hardware memory, which > is helpful when debugging and developing drivers. > > Signed-off-by: Hauke Mehrtens Acked-b

Re: [LEDE-DEV] [LEDE-DEV v3] Add support of using device symlinks.

2016-12-19 Thread John Crispin
On 19/12/2016 08:37, Nikolay Ledovskikh wrote: >> pong ... >> >> "weekend, that thing where people rest" > > OK. I'll wait for that wonderful moment > The patch is missing the subject prefix. please make sure to add it next time. I have fixed it for you while merging the patch into my staging

Re: [LEDE-DEV] [PATCH] ubox: Initialize conditionally uninitialized variabled

2016-12-19 Thread John Crispin
On 18/12/2016 01:48, Rosen Penev wrote: > -Wconditional-uninitialized in clang the warning are false positives. please check this next time and add the information to the commit description. also a description is expected to be a sentence or two and not a few words. John > > Signed-of

Re: [LEDE-DEV] [LEDE-DEV v3] Add support of using device symlinks.

2016-12-19 Thread John Crispin
On 19/12/2016 09:48, Nikolay Ledovskikh wrote: >> The patch is missing the subject prefix. please make sure to add it next >> time. I have fixed it for you while merging the patch into my staging tree. > > Thank you very much. > You mean subject prefix (after ..v3] and before "Add support ...")

Re: [LEDE-DEV] [PATCH v2] kernel: bump to 4.4.39

2016-12-19 Thread John Crispin
Hi, i merged Kevin's version from github as it used the sha256sum stuff that Felix recently added. the rest was identical afaict John On 19/12/2016 09:24, Koen Vandeputte wrote: > Hi Stijn S., > > I indeed addressed Stijn Tintel (CC'd him in 1st mail) as he kindly > requested not to sen

Re: [LEDE-DEV] [PATCH] mediatek: enable support for vfpv4 and neon

2016-12-19 Thread John Crispin
On 19/12/2016 14:56, Christian Lamparter wrote: > On Sunday, December 11, 2016 9:13:56 AM CET John Crispin wrote: >> >> On 25/11/2016 20:57, Christian Lamparter wrote: >>> While researching for the armvirt target, I looked at the >>> existing arm platforms. It t

[LEDE-DEV] [PATCH] mdnsd: the service is ignoring questions

2016-12-19 Thread John Crispin
When a question is incoming the service was incorrectly resettig the query timeout regardless of it being the right service. This causes the code to never answer the questions it is being asked. Reported-by: Cristian Morales Vega Signed-off-by: John Crispin --- service.c | 12 +++- 1

Re: [LEDE-DEV] [PATCH] mdnsd: the service is ignoring questions

2016-12-19 Thread John Crispin
On 19/12/2016 16:58, John Crispin wrote: > When a question is incoming the service was incorrectly resettig the > query timeout regardless of it being the right service. This causes > the code to never answer the questions it is being asked. > > Reported-by: Cristian Morales Veg

[LEDE-DEV] RFC: splitting up the patches folder

2016-12-20 Thread John Crispin
Hi, i have been thinking of how to split up the kernel patches folder in a better way. for a start we have all the backports inside the same folder as our normal patches, unfortunately we have some backports and patches that have in the meantime been sent upstream not numbered as 0xx-*.patch. i w

Re: [LEDE-DEV] RFC: splitting up the patches folder

2016-12-20 Thread John Crispin
the same code inside include/quilt.mk so it would work ootb on all 3 types of folders John > El 20/12/16 a las 21:53, John Crispin escribió: >> Hi, >> >> i have been thinking of how to split up the kernel patches folder in a >> better way. for a start we hav

[LEDE-DEV] [PATCH] kernel: drop superflous b43 patch

2016-12-21 Thread John Crispin
SSB_B43_PCI_BRIDGE drivers/net/wireless/broadcom/b43/Kconfig: select SSB_BLOCKIO drivers/ssb/Kconfig:config SSB_BLOCKIO drivers/net/wireless/broadcom/b43/Kconfig: select BCMA_BLOCKIO Signed-off-by: John Crispin --- .../patches-4.4/253-ssb_b43_default_on.patch | 49 1 file

Re: [LEDE-DEV] [PATCH] kernel: drop superflous b43 patch

2016-12-21 Thread John Crispin
On 21/12/2016 09:31, Jonas Gorski wrote: > Hi, > > On 21 December 2016 at 09:21, John Crispin wrote: >> This patch makes 3 symbols default, that get selected by the according code. >> >> arch/mips/bcm47xx/Kconfig: select SSB_B43_PCI_BRIDGE if PCI >> driver

Re: [LEDE-DEV] [PATCH] kernel: drop superflous b43 patch

2016-12-21 Thread John Crispin
On 21/12/2016 09:39, Jonas Gorski wrote: > On 21 December 2016 at 09:34, John Crispin wrote: >> >> >> On 21/12/2016 09:31, Jonas Gorski wrote: >>> Hi, >>> >>> On 21 December 2016 at 09:21, John Crispin wrote: >>>> This patch

[LEDE-DEV] [PATCH] kernel: drop 702-phy_add_aneg_done_function.patch

2016-12-21 Thread John Crispin
The kernel provides a link_change_notify callback these days, making the patch obselete. Drop the patch and make its only user use the new API. Signed-off-by: John Crispin --- .../linux/generic/files/drivers/net/phy/ip17xx.c |4 +- .../702-phy_add_aneg_done_function.patch | 27

Re: [LEDE-DEV] [PATCH] kernel: drop superflous b43 patch

2016-12-21 Thread John Crispin
On 21/12/2016 10:48, Jonas Gorski wrote: > On 21 December 2016 at 10:42, John Crispin wrote: >> >> >> On 21/12/2016 09:39, Jonas Gorski wrote: >>> On 21 December 2016 at 09:34, John Crispin wrote: >>>> >>>> >>>> On 21/12/2016 09

[LEDE-DEV] gateworks patches in the tree

2016-12-21 Thread John Crispin
Hi Tim, we currently have these patches in the tree, which i think you were involved in. could you tell us which of these can be sent upstream and/or what is blocking us sending them upstream ? 160-usb-gadget-udc-net2280-add-usb2380-support.patch:From: Tim Harvey 412-mtd-partial_eraseblock_unloc

Re: [LEDE-DEV] RFC: splitting up the patches folder

2016-12-21 Thread John Crispin
On 21/12/2016 20:21, Florian Fainelli wrote: > Hallo, > > On 12/20/2016 12:53 PM, John Crispin wrote: >> Hi, >> >> i have been thinking of how to split up the kernel patches folder in a >> better way. for a start we have all the backports inside the sam

Re: [LEDE-DEV] Release planning

2016-12-21 Thread John Crispin
On 21/12/2016 20:23, Dave Taht wrote: > a) It is obviously my sincere hope that the wifi airtime fairness > patches make this release. > > b) is there any plan in the cards to fund a "stable maintainer", or > otherwise make assurances, that a stable release will be maintained > for X time? i am

Re: [LEDE-DEV] [OpenWrt-Devel] Talks between OpenWrt and LEDE

2016-12-21 Thread John Crispin
On 22/12/2016 06:18, Val Kulkov wrote: > On 22 December 2016 at 00:13, Russell Senior > wrote: >>> "Florian" == Florian Fainelli writes: >> However, I also agree with Dave, Alberto and Stefan that a name change may be a really smart way to communicate the fresh start of the

Re: [LEDE-DEV] [OpenWrt-Devel] Talks between OpenWrt and LEDE

2016-12-21 Thread John Crispin
On 22/12/2016 04:45, Dave Taht wrote: > Lede trademark... > > Published for Opposition:December 20, 2016 > > sigh. > *slap on the wrist or top posting* the project is called lede-project and not lede for a reason ;) John > On Wed, Dec 21, 2016 at 7:36 PM, Val Kulkov wrote: >> On 2

Re: [LEDE-DEV] [OpenWrt-Devel] Talks between OpenWrt and LEDE

2016-12-21 Thread John Crispin
On 22/12/2016 08:06, Russell Senior wrote: >> "Val" == Val Kulkov writes: > >>> Not that a choice on a name, with taste and discretion, isn't going >>> to be needed, but I can't help but think of this: >>> >>> https://en.wikipedia.org/wiki/Law_of_triviality >>> >>> >>> PS: OpenLEDE. ;-) >

Re: [LEDE-DEV] [OpenWrt-Devel] Talks between OpenWrt and LEDE

2016-12-21 Thread John Crispin
On 22/12/2016 08:24, Giuseppe Lippolis wrote: > Dear All, > I started to contribute to LEDE recently and after the spin-off. > When I decided where to port my contribution I considered the "focus on > stability and functionality" more interesting than the "bleeding edge > functionality", therefor

Re: [LEDE-DEV] [OpenWrt-Devel] Talks between OpenWrt and LEDE

2016-12-22 Thread John Crispin
On 22/12/2016 09:25, James Feeney wrote: > > On 12/22/2016 12:27 AM, John Crispin wrote: >> or do we want to build a "one stop shop" for embedded linux > > Yes, we do? ! [...] > Consider: > https://en.wikipedia.org/wiki/Comparison_of_single-board_computers

Re: [LEDE-DEV] [OpenWrt-Devel] Talks between OpenWrt and LEDE

2016-12-22 Thread John Crispin
On 22/12/2016 09:36, David Lang wrote: > On Wed, 21 Dec 2016, Dave Taht wrote: > >> On Wed, Dec 21, 2016 at 12:29 PM, David Lang wrote: >>> On Wed, 21 Dec 2016, Kathy Giori wrote: >>> From a PR perspective, I strongly suggest keeping the term OpenWrt as part of the branding of the pro

Re: [LEDE-DEV] [OpenWrt-Devel] Talks between OpenWrt and LEDE

2016-12-22 Thread John Crispin
On 22/12/2016 09:40, David Lang wrote: > On Wed, 21 Dec 2016, Stefan Monnier wrote: > >> - While brands have value, you can change a name without losing all the >> brand recognition. I'm thinking here of cases like XBMC->Kodi or >> OpenOffice->LibreOffice. > > I would point at OpenOffice ->

Re: [LEDE-DEV] [OpenWrt-Devel] Talks between OpenWrt and LEDE

2016-12-22 Thread John Crispin
On 22/12/2016 09:42, David Lang wrote: > On Thu, 22 Dec 2016, John Crispin wrote: > >>> Yes, the name is pointing at a product that doesn't exist any longer, >>> but Deb and Ian aren't involved with Debian any longer either. At some >>> point the fact

Re: [LEDE-DEV] [OpenWrt-Devel] Talks between OpenWrt and LEDE

2016-12-22 Thread John Crispin
On 22/12/2016 09:58, David Lang wrote: > On Thu, 22 Dec 2016, John Crispin wrote: > >> On 22/12/2016 09:42, David Lang wrote: >>> On Thu, 22 Dec 2016, John Crispin wrote: >>> >>>>> Yes, the name is pointing at a product that doesn't exist any

<    1   2   3   4   5   6   7   8   >