Re: [OpenWrt-Devel] [PATCH 1/2] wwan: Add support for CDC (Huawei 'HiLink') Modems

2016-02-25 Thread John Crispin
On 25/02/2016 08:23, John Crispin wrote: > > > On 24/02/2016 09:08, Bruno Randolf wrote: >> On 02/24/2016 06:11 AM, Matti Laakso wrote: >>>> The reason is that I want different types of Modems to work with the >>>> same interface configuration, using 

Re: [OpenWrt-Devel] [PATCH] comgt: NCM protocol now propagate defaultroute, peerdns, metric to dynamic ifaces

2016-02-26 Thread John Crispin
Hi, can you change this and put the functionality in a more generic place so that it works for all virtual interfaces ? felix explained in the hilink thread that bruno started where he thinks this should go. John On 09/02/2016 21:38, Jakub Janco wrote: > NCM protocol now propagate defaul

Re: [OpenWrt-Devel] [PATCH v2] [CC] ar71xx: backport support for TP-LINK TL-WR1043ND v3

2016-02-26 Thread John Crispin
Hi, i cant merge this without a correct patch for trunk. John On 08/02/2016 15:27, Sven Roederer wrote: > The hardware of the v3 is identical to the v2. > > - adding support for WR1043v3 > - resending this patch after fixing the original from > https://lists.openwrt.org/pipermail/openw

Re: [OpenWrt-Devel] [PATCH] [packages] opkg: Make opkg understand old md5

2016-02-26 Thread John Crispin
[...] >>> >>> +define Package/opkg-smime/config >>> +config OPKG_SMIME_SUPPORT_MD5 >>> + bool >>> + default n >>> + depends on PACKAGE_opkg-smime >>> + prompt "Support reading old md5 hashes." >>> + help >>> + Old opkg used md5s, new uses sha. This options enables understanding >>> both

Re: [OpenWrt-Devel] [PATCH v2] lantiq, xrx200-net: add devicetree aliases support for port->mac mapping

2016-02-26 Thread John Crispin
On 22/12/2015 10:36, Martin Schiller wrote: >>> And there are also situations, where you even can't do it in >> > hardware: >>> > > when you use the xrx200 in Gigabit mode, you can use mac 0,1,2,4,5. >>> > > mac/port 3 is dead in this case. >>> > > >>> > > But you can't tell an enduser/customer t

Re: [OpenWrt-Devel] [PATCH] dnsmasq: add host-specific lease time option for static hosts

2016-02-26 Thread John Crispin
Hi, this does not apply anymore. mind to rebase and resend it please ? John On 05/01/2016 12:48, Hannu Nyman wrote: > Enable setting a host-specific lease time for static hosts. > The new option is called "leasetime" and the format is similar > as for the default lease time: e.g. 12h, 3d, infini

Re: [OpenWrt-Devel] [PATCH] [ubus 2/2] cli: add timeout support for listen command

2016-02-26 Thread John Crispin
in that format. John On 26/02/2016 09:33, Zhao, Gang wrote: > > > On Fri, Feb 26, 2016 at 2:33 PM, John Crispin <mailto:blo...@openwrt.org>> wrote: > > Description of what the patch does is missing > > > Hi, John > > Currently &#x

Re: [OpenWrt-Devel] [PATCH 2/5] ltq-vdsl-app: load the vrx200 firmware or patch it

2016-02-27 Thread John Crispin
On 28/02/2016 08:44, Felix Fietkau wrote: > On 2016-02-28 08:42, Felix Fietkau wrote: >> On 2016-02-28 08:40, Felix Fietkau wrote: >>> On 2016-02-27 23:59, Hauke Mehrtens wrote: This checks for the VRX firmware provided in the OpenWrt package. Signed-off-by: Hauke Mehrtens >>> Sho

Re: [OpenWrt-Devel] [PATCH] Ralink RT288x/RT3xxx: Added support for ZBT-826 / ZBT-1026

2016-02-29 Thread John Crispin
Hi, On 29/02/2016 11:30, Jamie Stuart wrote: > --- a/target/linux/ramips/base-files/lib/ramips.sh > +++ b/target/linux/ramips/base-files/lib/ramips.sh > @@ -478,6 +478,9 @@ ramips_board_detect() { > *"ZBT-WG2626") > name="zbt-wg2626" > ;; > + *"ZBT-WE826") > +

Re: [OpenWrt-Devel] [RFC 0/4] Add support for Raspberry Pi 3

2016-02-29 Thread John Crispin
Haha, that was quick ;) On 29/02/2016 21:08, Álvaro Fernández Rojas wrote: > This adds untested support for Raspberry Pi 3. > I will be able to test it when I get my RPi 3 ;D. > > In the meantime if anyone already has a RPi 3 and wants to test it here's the > image: > http://files.noltari.es/ope

Re: [OpenWrt-Devel] [RFC 0/4] Add support for Raspberry Pi 3

2016-03-01 Thread John Crispin
On 01/03/2016 07:04, Florian Fainelli wrote: > On Feb 29, 2016 12:08 PM, "Álvaro Fernández Rojas" > wrote: >> >> This adds untested support for Raspberry Pi 3. >> I will be able to test it when I get my RPi 3 ;D. > > Will give it a shot tomorrow morning, thanks for qui

Re: [OpenWrt-Devel] [RFC]ramips: fix embedded switch init

2016-03-01 Thread John Crispin
On 28/02/2016 04:59, serge wrote: > Starting from AA when ramips support was added we get failsafe mode issue. > Digging the problem I suggest: > > 1. Change switch init: if vlan disabled set pvid 1 for all ports and add > all ports > into vlan0 with vid=1 > 2. Change init order in ethernet driv

Re: [OpenWrt-Devel] [PATCH] base-files: add function ucidef_set_interface_raw

2016-03-01 Thread John Crispin
On 29/02/2016 17:25, micke.p...@telldus.se wrote: > This function can be used to configure default configuration on > interfaces other > than lan and wan, such as wlan or other custom interfaces. > Ok in general, but it would be nice if you also sent a patch that adds a user for the function. c

Re: [OpenWrt-Devel] [PATCH] ramips: EX2700: remove unused kernel modules

2016-03-01 Thread John Crispin
On 26/02/2016 20:43, Joseph C. Lehner wrote: > Remove the kmod-mt76 and kmod-rt2800-pci packages from the EX2700 > profile to free up around 100 KiB of space on the root filesystem. > > This patch applies to both trunk and Chaos Calmer. > > Signed-off-by: Joseph C. Lehner > > --- > > diff --

Re: [OpenWrt-Devel] [PATCH v2] ar71xx: Add OOLITE to the Gainstrong profile, removed standalone profile.

2016-03-01 Thread John Crispin
nitpick inline On 26/02/2016 20:24, Stijn Segers wrote: > This patch moves the OOLITE profile code into the overarching Gainstrong > profile and deletes the old single profile file. > > Signed-off by: Stijn Segers > > --- > target/linux/ar71xx/generic/profiles/gainstrong.mk | 11 +++ >

Re: [OpenWrt-Devel] [PATCH 1/2] wwan: Add support for CDC (Huawei 'HiLink') Modems

2016-03-01 Thread John Crispin
On 26/02/2016 08:50, John Crispin wrote: > > > On 25/02/2016 08:23, John Crispin wrote: >> >> >> On 24/02/2016 09:08, Bruno Randolf wrote: >>> On 02/24/2016 06:11 AM, Matti Laakso wrote: >>>>> The reason is that I want different ty

Re: [OpenWrt-Devel] [PATCH 1/3] IP Virtual Server - Load Balancer

2016-03-01 Thread John Crispin
Hi, we can merge this one into trunk if you resend it int he format i requested in my original feedback. the other 2 patches/packages really need to be merged in the packages feed on github. John On 23/02/2016 20:54, Mauro Mozzarelli wrote: > All, > > Please find enclosed the first of t

Re: [OpenWrt-Devel] [PATCH 1/2] wwan: Add support for CDC (Huawei 'HiLink') Modems

2016-03-01 Thread John Crispin
On 01/03/2016 10:34, Jakub Jančo wrote: > On Tue, Mar 1, 2016 at 9:43 AM, John Crispin wrote: >> i have spent ages thinking about this. the main problem is that the unit >> wont go online unless we previously set the apn/pin, ... in the webui. >> although having a unifie

Re: [OpenWrt-Devel] [PATCH 1/2] wwan: Add support for CDC (Huawei 'HiLink') Modems

2016-03-01 Thread John Crispin
On 01/03/2016 12:14, Bruno Randolf wrote: > On 03/01/2016 08:43 AM, John Crispin wrote: >> >> >> On 26/02/2016 08:50, John Crispin wrote: >>> >>> >>> On 25/02/2016 08:23, John Crispin wrote: >>>> >>>> >>>> On 24/

Re: [OpenWrt-Devel] [PATCH] ramips: mt7620: fix failsafe switch config

2016-03-01 Thread John Crispin
On 01/03/2016 17:15, Joseph C. Lehner wrote: > This patch applies to both Chaos Calmer and trunk. missed that one ... ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] service: Support writing pidfiles

2016-03-02 Thread John Crispin
Hi, i like it but please ... On 02/03/2016 10:07, Karl Palsson wrote: > +static int > +instance_removepid(struct service_instance *in) { > + if (in->pidfile) { > + if (unlink(in->pidfile)) { > + ERROR("Failed to removed pidfile: %s: %d - %s\n", > +

Re: [OpenWrt-Devel] [PATCH] ramips: Incorrect file mode change

2016-03-03 Thread John Crispin
bummer let me do some mergery just now On 03/03/2016 20:29, Kristian Evensen wrote: > From: Kristian Evensen > > Commit d0f5ab6d95a1 ("ramips: Added support for ZBT-826 / ZBT-1026") > incorrectly changed the mode of the ramips shell scripts from 755 to 644. > I.e., they are not excutable an

Re: [OpenWrt-Devel] [PATCH 1/6] ramips: Add a tool to create JCG factory images

2016-03-03 Thread John Crispin
Hi, comments inline ... On 03/03/2016 16:49, reinh...@m4x.de wrote: > From: Reinhard Max > > This tool creates factory images for JCG routers. > Details can be found in the header comment of jcgimage.c. > > Signed-off-by: Reinhard Max > Reviewed-by: Torsten Duwe > --- > tools/firmware-utils

Re: [OpenWrt-Devel] [PATCH 1/6] ramips: Add a tool to create JCG factory images

2016-03-03 Thread John Crispin
On 03/03/2016 21:13, John Crispin wrote: > Hi, > > comments inline ... > the other patches look good so just resend this one please, i'll leave the others inside patchwork John > On 03/03/2016 16:49, reinh...@m4x.de wrote: >> From: Reinhard Max >&

Re: [OpenWrt-Devel] [PATCHv2] base-files: add function ucidef_set_interface_raw

2016-03-03 Thread John Crispin
Hi, maybe i am doing some thing wrong but this still does not apply for me. did you generate this of current trunk HEAD ? John On 01/03/2016 14:15, micke.p...@telldus.se wrote: > This function can be used to configure default configuration on > interfaces other > than lan and wan, such a

Re: [OpenWrt-Devel] RT5350 board issues.

2016-03-04 Thread John Crispin
On 04/03/2016 10:09, Frédéric Konrad wrote: > Ping? > > Any idea for this? Or just a clue so I can fix that? > (I don't have much experience with ralink mips stuff) > Using a vanilla kernel seems to boot fine BTW.. > > Thanks, > Fred > you are using a kernel that has no dtb. you will need to b

Re: [OpenWrt-Devel] USB Hotplug

2016-03-04 Thread John Crispin
On 04/03/2016 15:07, alzhao wrote: > Did you develop the board by yourself? Generally this is a hardware > problem, like wrong resistors. After the system boot the USB cannot > supply enough power to the drive. > > > On Fri, 4 Mar 2016 at 21:57, Baptiste Clenet > wr

Re: [OpenWrt-Devel] USB Hotplug

2016-03-04 Thread John Crispin
On 04/03/2016 16:42, alzhao wrote: > Hi john, > can you specify which patch? I want to check. > On Fri, 4 Mar 2016 at 23:34, John Crispin <mailto:blo...@openwrt.org>> wrote: > > > > On 04/03/2016 15:07, alzhao wrote: > > Did you develop the bo

Re: [OpenWrt-Devel] USB Hotplug

2016-03-04 Thread John Crispin
On 04/03/2016 16:43, John Crispin wrote: > > > On 04/03/2016 16:42, alzhao wrote: >> Hi john, >> can you specify which patch? I want to check. >> On Fri, 4 Mar 2016 at 23:34, John Crispin > <mailto:blo...@openwrt.org>> wrote: >> >> >> &

Re: [OpenWrt-Devel] USB Hotplug

2016-03-04 Thread John Crispin
On 04/03/2016 17:50, Baptiste Clenet wrote: > We don't use the current tree but a version from November. > You're talking about this changeset: > https://dev.openwrt.org/changeset/48749 > > I will apply it and let you know if it is better. > >>> >> yep, try adding that one please and see if t

Re: [OpenWrt-Devel] [PATCH 0/3] ar71xx: fix imagenames for some TPlink units

2016-03-04 Thread John Crispin
On 05/03/2016 03:57, Sven Roederer wrote: > Am Thursday 25 February 2016, 09:07:22 schrieb John Crispin: >> i am also pretty sure that the wiki was not updated as per my >> request to the last series. > > Hi, I'm back now after some hardware outage ... > > Th

Re: [OpenWrt-Devel] [PATCH] ar71xx: fix qca956x ethernet initialization

2016-03-05 Thread John Crispin
On 05/03/2016 16:53, Weijie Gao wrote: > Signed-off-by: Weijie Gao > > fix ticket #21520 please write 2-3 words on what the patch does and why it is needed John > > --- > target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c | 21 > ++--- > 1 file changed, 18 inserti

Re: [OpenWrt-Devel] USB Hotplug

2016-03-07 Thread John Crispin
On 07/03/2016 09:47, Baptiste Clenet wrote: > 2016-03-04 18:24 GMT+01:00 John Crispin : >> >> >> On 04/03/2016 17:50, Baptiste Clenet wrote: >>> We don't use the current tree but a version from November. >>> You're talking about this chang

Re: [OpenWrt-Devel] Read-only mirror https://github.com/openwrt/openwrt is stuck since 12 days ago

2016-03-07 Thread John Crispin
On 07/03/2016 11:47, Álvaro Fernández Rojas wrote: > I just want to add that openwrt-commits list is also affected, since last > commit published there matches the last one in the read-only mirror. > > Regards, > Álvaro. i noticed that one aswell, will investigate ... sorry for the delay/incon

Re: [OpenWrt-Devel] [RFC] fstools/overlayfs race condition

2016-03-07 Thread John Crispin
On 07/03/2016 14:03, Roman Yeryomin wrote: > There is a race between `cp -a /tmp/root/* /rom/overlay` from > libfstools/overlay.c and a process creating new file(s) before > pivot(/rom, /mnt) occured. > That is a process can create a file and it will not be copied. > > Currently I do additional

Re: [OpenWrt-Devel] [RFC] fstools/overlayfs race condition

2016-03-07 Thread John Crispin
On 07/03/2016 14:34, Roman Yeryomin wrote: > On 7 March 2016 at 15:09, John Crispin wrote: >> >> >> On 07/03/2016 14:03, Roman Yeryomin wrote: >>> There is a race between `cp -a /tmp/root/* /rom/overlay` from >>> libfstools/overlay.c and a process cre

Re: [OpenWrt-Devel] [RFC] fstools/overlayfs race condition

2016-03-07 Thread John Crispin
On 07/03/2016 14:40, Luiz Angelo Daros de Luca wrote: > > Em seg, 7 de mar de 2016 às 10:10, John Crispin <mailto:blo...@openwrt.org>> escreveu: > > > > On 07/03/2016 14:03, Roman Yeryomin wrote: > > There is a race between `cp -a /tmp/root/* /rom

Re: [OpenWrt-Devel] USB Hotplug

2016-03-07 Thread John Crispin
On 07/03/2016 15:00, Baptiste Clenet wrote: > 2016-03-07 9:51 GMT+01:00 John Crispin : >> >> >> On 07/03/2016 09:47, Baptiste Clenet wrote: >>> 2016-03-04 18:24 GMT+01:00 John Crispin : >>>> >>>> >>>> On 04/03/2016 17:50, Baptis

Re: [OpenWrt-Devel] [PATCH v2 1/3] ar71xx/image: introduce LOADER_TYPE to support elf loaders

2016-03-07 Thread John Crispin
On 08/03/2016 00:37, Alexander Couzens wrote: > The loader decompress a lzma compressed kernel. Some bootloaders > only support elf files like the tplink cpe510 > > Signed-off-by: Alexander Couzens > --- > target/linux/ar71xx/image/Makefile | 7 --- > 1 file changed, 4 insertions(+), 3 del

Re: [OpenWrt-Devel] [PATCH v3 01/11] dsl-vrx200-firmware-xdsl: create Lantiq vrx200 firmware patches

2016-03-07 Thread John Crispin
On 05/03/2016 01:27, Hauke Mehrtens wrote: > Instead of having two big binaries only add one binary and then a patch > to create the other one when needed at runtime. > This is easier to handle in one Makeifle for both firmware files. > > Signed-off-by: Hauke Mehrtens > --- > .../lantiq/dsl-vr

Re: [OpenWrt-Devel] Linux IP Virtual Server for OpenWrt patches

2016-03-07 Thread John Crispin
On 07/03/2016 23:30, Mauro Mozzarelli wrote: > All, > > I am re-submitting new and improved versions of the IP Virtual Server patches. > > There will be two separate packages > 1) ipvs: includes the ip_vs kernel modules configuration (netfilter.mk patch) > 2) ipvsadm: 1/2 contains the Makefile

Re: [OpenWrt-Devel] [PATCH] tools/cmake: fix compile on Alpine Linux

2016-03-07 Thread John Crispin
On 07/03/2016 22:08, Dirk Neukirchen wrote: > internal jsoncpp include order leads to multiple build > errors on Alpine Linux which uses musl libc > > use include order from upstream jsoncpp > > first error was: > In file included from /usr/include/c++/5.3.0/stdexcept:38:0, > f

Re: [OpenWrt-Devel] [PATCH v2 1/3] ar71xx/image: introduce LOADER_TYPE to support elf loaders

2016-03-08 Thread John Crispin
On 08/03/2016 16:12, Alexander Couzens wrote: > On Tue, 8 Mar 2016 07:21:26 +0100 > John Crispin wrote: > >> does this not need some defaults for when loader_type is not set ? > right. it must set. Should I set gz as default? > you tell me, what was the defa

Re: [OpenWrt-Devel] procd warning about respawn

2016-03-08 Thread John Crispin
On 08/03/2016 21:33, Ted Hess wrote: > [ Sorry if duplicate -- first attempt was returned as spam!? ] > > John C. -- rather than continue this on a closed Github PR... > > Since changeset (https://dev.openwrt.org/changeset/48915), > procd_close_instance issues a > WARNING about respawn not defi

Re: [OpenWrt-Devel] [RFC 1/3] firmware-utils mkmerakifw: firmware generator for Z1

2016-03-08 Thread John Crispin
On 09/03/2016 00:14, Christian Lamparter wrote: > This patch adds firmware generation tool for Cisco's Z1 > > Signed-off-by: Christian Lamparter > --- as old and new share no common code you might want to consider to just put the old style image generation code into a separate tool called mkm

Re: [OpenWrt-Devel] [RFC 2/3] kernel: owl-loader for delayed Atheros ath9k fixup

2016-03-08 Thread John Crispin
On 09/03/2016 00:14, Christian Lamparter wrote: > Some devices (like the Cisco Meraki Z1 Cloud Managed Teleworker Gateway) > need to be able to initialize the PCIe wifi device. Normally, this is done > during the early stages of booting linux, because the necessary init code > is read from the me

Re: [OpenWrt-Devel] [RFC 3/3] ar71xx: add support for Cisco Meraki Z1 Cloud Managed Teleworker Gateway

2016-03-08 Thread John Crispin
On 09/03/2016 00:14, Christian Lamparter wrote: > From: Chris Blake > > 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/lin

Re: [OpenWrt-Devel] [PATCH] [ar71xx] mach-arduino-yun.c : Arduino Yun board 'WLAN RST' button support

2016-03-08 Thread John Crispin
Hi, * do not send us HTML emails. patchwork wont pick them up properly and they end up being line wrapped/whitespace broken https://patchwork.ozlabs.org/patch/594794/ * do not use // comments but /* */, i will ask hauke to fix the rest of the file * the prefi is wrong. it should be ar71xx: please

Re: [OpenWrt-Devel] [PATCH v2 2/3] ar71xx/image: allow builds of loader without cmdline injecting

2016-03-08 Thread John Crispin
On 08/03/2016 00:37, Alexander Couzens wrote: > On most platforms the cmdline is supplied by the loader to the kernel. > When using an elf loader with cmdline the size is bloated by 512k. > For loader-elf platforms like the cpe510 better use loader-elf but patch > the cmdline into the kernel. >

Re: [OpenWrt-Devel] [PATCH v3] ipvs: Linux IP Virtual Server kernel modules (netfilter.mk patch)

2016-03-08 Thread John Crispin
Hi, the patch is line wrapped. please consider using git send-email to send the patch to avoid these problems John On 08/03/2016 21:11, Mauro Mozzarelli wrote: > IPVS (IP Virtual Server) implements transport-layer load balancing inside the > Linux > kernel so called Layer-4 switching. >

Re: [OpenWrt-Devel] [PATCH 2/3] ar71xx: add WNR2200 16M version

2016-03-08 Thread John Crispin
On 07/03/2016 22:12, Dirk Neukirchen wrote: > - change naming of old firmware to indicate 8M flash > > this change should support 16M international version > > totally untested, used > - input from IRC chat, > - ticket #14356 w. patch, > - verified against GPL tarball (WNR2200 russia version)

Re: [OpenWrt-Devel] [PATCH] [ar71xx] [CC] change some TP-link modelnames (WR841, WA701, WA730)

2016-03-08 Thread John Crispin
please do not use [ar71xx] in the prefix, git will drop that part while merging. use "ar71xx:". John On 07/03/2016 02:23, Sven Roederer wrote: > This patch changes the image-name of some TPlink-routers. > Esp. for the TPlink WR841N + WR841ND some users are confused by the fact > that some

Re: [OpenWrt-Devel] [PATCH] tools/cmake: fix compile on Alpine Linux

2016-03-09 Thread John Crispin
On 08/03/2016 07:52, John Crispin wrote: > > > On 07/03/2016 22:08, Dirk Neukirchen wrote: >> internal jsoncpp include order leads to multiple build >> errors on Alpine Linux which uses musl libc >> >> use include order from upstream jsoncpp >> >> f

Re: [OpenWrt-Devel] [PATCH v2] ramips: EX2700: remove unused kernel modules

2016-03-10 Thread John Crispin
On 10/03/2016 14:01, Joseph C. Lehner wrote: > This patch has been merged in Chaos Calmer 6 days ago, > but it also applies to trunk! > > Also, checking the most recent trunk images (2016-03-10), > I've noticed that the image for the EX2700 also includes > kmod-usb-core, kmod-usb-ohci, kmod-ledt

Re: [OpenWrt-Devel] [PATCH v2] ramips: EX2700: remove unused kernel modules

2016-03-10 Thread John Crispin
; even though these modules should have been removed by the PACKAGES >> specification even before this patch, and I'm assuming that the same >> thing will happen to kmod-mt76. >> >> Doesn't this indicate another issue somewhere, since I'd assume that >> the bu

Re: [OpenWrt-Devel] [PATCH v2] ar71xx: Add support for the OMYlink OMY-X1

2016-03-10 Thread John Crispin
Hi Larry, On 10/03/2016 19:34, L. D. Pinney wrote: > This patch adds support for the OMYlink OMY-X1 > > https://wiki.openwrt.org/toh/omylink/omy-x1 > > http://www.omylink.com/ > > Signed-off-by: L. D. Pinney > --- > > v2 change in mach-omy-x1.c suggested by Karl Palsson > > target/linux/ar

Re: [OpenWrt-Devel] [PATCH] support for ext4fs overlay

2016-03-10 Thread John Crispin
Hi, thanks for the patch. please use the prefix "fstools: " in the subject see inline for more nitpicks On 10/03/2016 12:47, Ram Chandra Jangir wrote: > This change will enables eMMC (ext4 fs) boot support, when we try to boot > from eMMC card then it will read partition names from > /sys/block/

Re: [OpenWrt-Devel] [PATCH v2 2/3] ar71xx/image: allow builds of loader without cmdline injecting

2016-03-10 Thread John Crispin
On 10/03/2016 20:27, Alexander Couzens wrote: > On Wed, 9 Mar 2016 06:15:50 +0100 > John Crispin wrote: > >>> target/linux/ar71xx/image/Makefile | 10 +++--- >>> 1 file changed, 7 insertions(+), 3 deletions(-) >>> >>> diff --git a/target/l

Re: [OpenWrt-Devel] [PATCH 1/3] ramips: Add support for GL-MT300A

2016-03-10 Thread John Crispin
ouch, none of these have a signed-off-by line and i noticed only after pushing :( On 10/03/2016 07:31, alzhao wrote: > This patches adds support for GL-MT300A. > GL-MT300A is powered by MT7620A. It has 16MB flash, 128MB RAM, > Two LANs, USB, UART and MMC daughter board. > --- > target/linux/ramip

Re: [OpenWrt-Devel] Question regarding call python script

2016-03-10 Thread John Crispin
On 10/03/2016 22:11, Alexandru Ardelean wrote: > > > On Thu, Mar 10, 2016 at 6:38 PM, Jo-Philipp Wich > wrote: > > Hi Jason, > > no reason against it per se but it would introduce a new build prereq I > suppose. If possible we'd like to stick to things we

Re: [OpenWrt-Devel] Question regarding call python script

2016-03-10 Thread John Crispin
> array. > > The other reason is that I got a existing python script does similar > thing but more specific to my own purpose. Just though it will be easier > to modify it to suit the need with OpenWrt. > > There is no reason why the script can't be implemented in shell.

Re: [OpenWrt-Devel] ARMv4 (not v4t) marked obsolete in gcc-6

2016-03-10 Thread John Crispin
On 11/03/2016 06:44, Hans Ulli Kroll wrote: > Hi >> >> * Gemini: officially supported in OpenWRT today, with the latest compiler. >> This one >> will likely cause the most issues for actual users. It would be helpful to >> get >> some numbers about users or downloads here, to see whether it

Re: [OpenWrt-Devel] procd warning about respawn

2016-03-11 Thread John Crispin
On 11/03/2016 10:54, Helmut Schaa wrote: > On Tue, Mar 8, 2016 at 9:39 PM, John Crispin wrote: >> >> >> On 08/03/2016 21:33, Ted Hess wrote: >>> [ Sorry if duplicate -- first attempt was returned as spam!? ] >>> >>> John C. -- rather than cont

Re: [OpenWrt-Devel] procd warning about respawn

2016-03-11 Thread John Crispin
On 11/03/2016 10:57, John Crispin wrote: > > > On 11/03/2016 10:54, Helmut Schaa wrote: >> On Tue, Mar 8, 2016 at 9:39 PM, John Crispin wrote: >>> >>> >>> On 08/03/2016 21:33, Ted Hess wrote: >>>> [ Sorry if duplicate -- first attempt was

Re: [OpenWrt-Devel] Question regarding call python script

2016-03-11 Thread John Crispin
On 11/03/2016 11:11, Paul Fertser wrote: > Hey folks, > > Bastian Bittorf writes: >> * John Crispin [11.03.2016 06:27]: >>> depends on what you want to do. i dont really see anything that cannot >>> be handled using shell. what exactly do you want to write in

Re: [OpenWrt-Devel] [PATCH v3] ipvs: Linux IP Virtual Server kernel modules (netfilter.mk patch)

2016-03-11 Thread John Crispin
On 11/03/2016 13:45, Jo-Philipp Wich wrote: > Hi, > > seems that change fails all builds now due to undeclared symbols: > > * > * IPVS application helper > * > FTP protocol helper (IP_VS_FTP) [N/m/?] (NEW) aborted! > > > Please fix. > > ~ Jow > ___

Re: [OpenWrt-Devel] [PATCH v3] ipvs: Linux IP Virtual Server kernel modules (netfilter.mk patch)

2016-03-11 Thread John Crispin
On 11/03/2016 15:24, John Crispin wrote: > > > On 11/03/2016 13:45, Jo-Philipp Wich wrote: >> Hi, >> >> seems that change fails all builds now due to undeclared symbols: >> >> * >> * IPVS application helper >> * >> FTP protocol

Re: [OpenWrt-Devel] Cannot flash UBNT Loco M2

2016-03-12 Thread John Crispin
On 11/03/2016 15:28, Matthias Schiffer wrote: > On 03/11/2016 02:46 PM, Joseph Marlin wrote: >> We certainly haven't. I've tried applying these patches - >> http://thread.gmane.org/gmane.comp.embedded.openwrt.devel/39001 >> >> to no avail. I still get hit by a "Error code 2 - Firmware Check Fail

Re: [OpenWrt-Devel] Cannot flash UBNT Loco M2

2016-03-12 Thread John Crispin
On 12/03/2016 14:53, Matthias Schiffer wrote: > On 03/12/2016 02:08 PM, John Crispin wrote: >> >> >> On 11/03/2016 15:28, Matthias Schiffer wrote: >>> On 03/11/2016 02:46 PM, Joseph Marlin wrote: >>>> We certainly haven't. I've tried ap

Re: [OpenWrt-Devel] Question regarding call python script

2016-03-12 Thread John Crispin
On 12/03/2016 23:43, Karl Palsson wrote: > > Bastian Bittorf wrote: >> * Paul Fertser [11.03.2016 11:15]: >>> As a sidenote, POSIX shell doesn't support associative arrays (which >>> were mentioned in this thread), so it's probably worth clarifying >>> whether it's ok to require bash >= 4 for

Re: [OpenWrt-Devel] Question regarding call python script

2016-03-14 Thread John Crispin
On 14/03/2016 03:55, Jason Wu wrote: > > > On 13/03/2016 8:41 PM, Bastian Bittorf wrote: >> Using n-dimensional arrays in build scripts is >> a rare usecase. you can easily switch to AWK if this >> fits more. But using Perl or Python should be avoided, >> because it adds more complexity to the

Re: [OpenWrt-Devel] ARMv4 (not v4t) marked obsolete in gcc-6

2016-03-15 Thread John Crispin
On 15/03/2016 16:59, Arnd Bergmann wrote: > On Friday 11 March 2016 17:56:12 Hans Ulli Kroll wrote: >> On Fri, 11 Mar 2016, Roman Yeryomin wrote: >>> On 2016-03-11 08:48, John Crispin wrote: >>>> On 11/03/2016 06:44, Hans Ulli Kroll wrote: > >>> As to t

Re: [OpenWrt-Devel] [PATCH] Ramips: Enable wmac for WRTnode2 series

2016-03-16 Thread John Crispin
Hi, 2 comments Re: [OpenWrt-Devel] [PATCH] Ramips: Enable wmac for WRTnode2 series ^ ^ lower case R and E please On 15/03/2016 04:26, xzmu wrote: > Signed-off-by: xzmu ^ fullname please even if it is UTF8 encoded John > --- > t

Re: [OpenWrt-Devel] [PATCH] CC: toolchain: use latest glibc 2.21 revision

2016-03-16 Thread John Crispin
On 16/03/2016 11:21, Michael Marley wrote: > When I originally posted this patch, GLIBC 2.23 had not yet been > released. Additionally, this was a patch to fix the issue for the > stable release (CC), so I didn't figure bumping the GLIBC version would > be a good idea. The issue is fixed becaus

Re: [OpenWrt-Devel] 15.05.1 - Chaos Calmer

2016-03-19 Thread John Crispin
On 16/03/2016 19:17, Mauro Mozzarelli wrote: > > On Wed, March 16, 2016 12:06, John Crispin wrote: > [...] >> - openssl updated to 1.0.2f > > Thanks for the update, why not upgrade to the latest openssl 1.0.2g? It has > been > released already a few wee

Re: [OpenWrt-Devel] Read-only mirror https://github.com/openwrt/openwrt is stuck since 12 days ago

2016-03-19 Thread John Crispin
On 18/03/2016 14:18, John Crispin wrote: > > > On 18/03/2016 10:26, John Crispin wrote: >> >> >> On 18/03/2016 09:55, John Crispin wrote: >>> >>> >>> On 18/03/2016 08:39, Roman Yeryomin wrote: >>>> On 18 March 2016 at 04:40

Re: [OpenWrt-Devel] [PATCH v2] [CC] [backport] ar71xx: change some TP-link modelnames (WR841, WA701, WA730)

2016-03-19 Thread John Crispin
On 17/03/2016 22:45, Sven Roederer wrote: > Am Friday 11 March 2016, 00:20:15 schrieb Sven Roederer: >> This patch changes the image-name of some TPlink-routers. >> Esp. for the TPlink WR841N + WR841ND some users are confused by the fact >> that some images have "nd"-names and others "n"-names on

Re: [OpenWrt-Devel] [PATCH 2/5] ar71xx: Clear bits in ath79_setup_qca955x_eth_cfg

2016-03-19 Thread John Crispin
On 17/03/2016 09:12, Sven Eckelmann wrote: > On Wednesday 16 March 2016 23:47:02 John Crispin wrote: > [...] >> this seems to break boards that rely on the bits being set byt the >> bootloader and dont explicitly set them in the kernel. i'll revert the >> series whe

[OpenWrt-Devel] 15.05.1 - Chaos Calmer

2016-03-19 Thread John Crispin
The OpenWrt developers are proud to announce the minor fix release of OpenWrt Chaos Calmer. ___ __ | |.-.-.-.| | | |..| |_ | - || _ | -__| || | | || _|| _| |___|| __|_|__|__||||__| ||

Re: [OpenWrt-Devel] [PATCH v3] ramips: Add support for Xiaomi MiWiFi Nano

2016-03-19 Thread John Crispin
On 17/03/2016 17:38, Reinhard Max wrote: > Hi, > > On Sun, 13 Mar 2016 at 22:22, Noble Pepper wrote: > >> +gpio-export { >> +compatible = "gpio-export"; >> +#size-cells = <0>; >> + >> +gpio11 { >> +/* blue led */ >> +gpio-export,name = "gpio11

[OpenWrt-Devel] SVN server

2016-03-19 Thread John Crispin
Hi, the following SVN server will be online for the next 4-6 weeks. please start migrating away from SVN now. we will give 1 week prior notice before finally turning it of. --> svn://svn.mein.io/openwrt John ___ openwrt-devel mailing list openw

Re: [OpenWrt-Devel] 15.05.1 - Chaos Calmer

2016-03-19 Thread John Crispin
On 16/03/2016 19:40, Bruno Randolf wrote: > On 03/16/2016 12:06 PM, John Crispin wrote: >> The OpenWrt developers are proud to announce the minor fix release of >> OpenW

Re: [OpenWrt-Devel] rsync mirror of download.openwrt.org ?

2016-03-19 Thread John Crispin
On 19/03/2016 14:10, Laurent GUERBY wrote: > Hi, > > We've setup a mirror of openwrt on a 10G+ connection IPv4+v6, MPTCP > support using initial rsync from ba.mirror.garr.it : > > http://openwrt.tetaneutral.net > > But garr.it does not have 15.05.1, is there a way to directly rsync from > dow

Re: [OpenWrt-Devel] USB Hotplug

2016-03-19 Thread John Crispin
On 16/03/2016 14:25, Baptiste Clenet wrote: > 2016-03-07 15:19 GMT+01:00 John Crispin : >> >> >> On 07/03/2016 15:00, Baptiste Clenet wrote: >>> 2016-03-07 9:51 GMT+01:00 John Crispin : >>>> >>>> >>>> On 07/03/2016 09:47, Ba

Re: [OpenWrt-Devel] [PATCH] lantiq: use upstream mechanism to append device tree file

2016-03-19 Thread John Crispin
(KDIR)/vmlinux$(2)-$(1).lzma) > endef > > define MkBrnImage > diff --git > a/target/linux/lantiq/patches-4.4/0002-MIPS-lantiq-dtb-image-hack.patch > b/target/linux/lantiq/patches-4.4/0002-MIPS-lantiq-dtb-image-hack.patch > deleted file mode 100644 > index 89a498d.

Re: [OpenWrt-Devel] [PATCH] lantiq: use upstream mechanism to append device tree file

2016-03-19 Thread John Crispin
On 19/03/2016 18:23, Hauke Mehrtens wrote: > On 03/19/2016 06:08 PM, John Crispin wrote: >> >> >> On 19/03/2016 17:27, Hauke Mehrtens wrote: >>> Instead of using our patch-dtb program just place the device tree >>> behind the kernel binary and then let the

Re: [OpenWrt-Devel] USB Hotplug

2016-03-19 Thread John Crispin
On 16/03/2016 15:42, Baptiste Clenet wrote: > 2016-03-16 14:46 GMT+01:00 John Crispin : >> >> >> On 16/03/2016 14:25, Baptiste Clenet wrote: >>> 2016-03-07 15:19 GMT+01:00 John Crispin : >>>> >>>> >>>> On 07/03/2016 15:00, B

Re: [OpenWrt-Devel] Read-only mirror https://github.com/openwrt/openwrt is stuck since 12 days ago

2016-03-19 Thread John Crispin
On 18/03/2016 08:39, Roman Yeryomin wrote: > On 18 March 2016 at 04:40, Shankar Unni > wrote: >> On Wed, Mar 16, 2016 at 1:53 AM, Karl Vogel wrote: >>> >>> Doesn't look like the SVN server is back yet either. >>> >>> Are there any plans to resurrect the anon SVN server? Or should everybody >>>

Re: [OpenWrt-Devel] [PATCH] ramips:MiWifi-Nano-change gpios to leds, add to default build group

2016-03-19 Thread John Crispin
On 19/03/2016 19:41, Noble Pepper wrote: > > Signed-off-by: Noble Pepper > > --- > > Note: Red led is not functional, appears to be issue in pinctrl system > fix for this will follow at later date. > --- > target/linux/ramips/base-files/etc/board.d/01_leds | 7 > target/linux/ramips/dt

Re: [OpenWrt-Devel] [PATCH 2/5] ar71xx: Clear bits in ath79_setup_qca955x_eth_cfg

2016-03-19 Thread John Crispin
On 08/03/2016 18:39, Sven Eckelmann wrote: > From: Sven Eckelmann > > Some u-boot versions for QCA955x set currently not cleared bits depending > on the used link speed. This breaks the rx/tx under OpenWrt. The mach-*.c > file is responsible to select the correct configuration bits and thus the

Re: [OpenWrt-Devel] Read-only mirror https://github.com/openwrt/openwrt is stuck since 12 days ago

2016-03-19 Thread John Crispin
On 18/03/2016 10:26, John Crispin wrote: > > > On 18/03/2016 09:55, John Crispin wrote: >> >> >> On 18/03/2016 08:39, Roman Yeryomin wrote: >>> On 18 March 2016 at 04:40, Shankar Unni >>> wrote: >>>> On Wed, Mar 16, 2016 at 1:53 AM,

Re: [OpenWrt-Devel] Read-only mirror https://github.com/openwrt/openwrt is stuck since 12 days ago

2016-03-19 Thread John Crispin
On 18/03/2016 09:55, John Crispin wrote: > > > On 18/03/2016 08:39, Roman Yeryomin wrote: >> On 18 March 2016 at 04:40, Shankar Unni >> wrote: >>> On Wed, Mar 16, 2016 at 1:53 AM, Karl Vogel wrote: >>>> >>>> Doesn't look like the S

Re: [OpenWrt-Devel] [PATCH 2/5] ar71xx: Clear bits in ath79_setup_qca955x_eth_cfg

2016-03-19 Thread John Crispin
On 17/03/2016 09:21, Sven Eckelmann wrote: > On Thursday 17 March 2016 09:14:55 John Crispin wrote: >>> Now I have to move the function to each mach file which correctly sets the >>> ETH_CFG to avoid problems caused by the u-boot presets. This requires that >>> yo

Re: [OpenWrt-Devel] Read-only mirror https://github.com/openwrt/openwrt is stuck since 12 days ago

2016-03-19 Thread John Crispin
On 18/03/2016 21:02, Roman Yeryomin wrote: > On 18 March 2016 at 19:36, John Crispin wrote: >> >> >> On 18/03/2016 18:19, Roman Yeryomin wrote: >>> On 18 March 2016 at 15:32, John Crispin wrote: >>>>> >>>>> please use this svn s

Re: [OpenWrt-Devel] [PATCH 3/5] ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x

2016-03-19 Thread John Crispin
On 17/03/2016 11:26, Sven Eckelmann wrote: > But it looks that John doesn't like that mach-* files correctly set the >> content of ETH_CFG via this function. i like it if it is consistent. the current patch lead to people sending me mails that their boards no longer work ;) people like to point

Re: [OpenWrt-Devel] Read-only mirror https://github.com/openwrt/openwrt is stuck since 12 days ago

2016-03-19 Thread John Crispin
On 18/03/2016 18:19, Roman Yeryomin wrote: > On 18 March 2016 at 15:32, John Crispin wrote: >>> >>> please use this svn server for now. it will be online for 4-6 weeks so >>> that people have time to migrate away from svn. i will send out a notice >>> 1 we

Re: [OpenWrt-Devel] [PATCH v2] ramips:MiWifi-Nano-change gpios to leds, add to default build group

2016-03-20 Thread John Crispin
Hi ramips:MiWifi-Nano-change gpios to leds, add to default build group space after the ":" space before and after the "-" On 19/03/2016 20:49, Noble Pepper wrote: > Signed-off-by: Noble Pepper > Description missing > --- > v2 changes - fix spelling, remove comments > > Note: Red led is n

Re: [OpenWrt-Devel] Read-only mirror https://github.com/openwrt/openwrt is stuck since 12 days ago

2016-03-20 Thread John Crispin
On 20/03/2016 12:22, Imre Kaloz wrote: > On Fri, 18 Mar 2016 21:09:35 +0100, John Crispin > wrote: > >> >> >> On 18/03/2016 21:02, Roman Yeryomin wrote: >>> On 18 March 2016 at 19:36, John Crispin wrote: >>>> >>>> >>>> On

Re: [OpenWrt-Devel] [PATCH] modules/sound: enable ALSA PCM timer and procfs interface

2016-03-20 Thread John Crispin
On 16/03/2016 14:02, Daniel Golle wrote: > pcm-timer and /proc/asound/* is needed for basic things (e.g. aplay). > Without those two symbols set, only OSS emulation works. > are you certain ? i am sure i tried alsa 3-4 months ago and aplay worked even without this fix. i dont mind adding the pa

Re: [OpenWrt-Devel] Sha256 checksum generation of images: why OpenSSL instead of sha256sum?

2016-03-22 Thread John Crispin
On 22/03/2016 08:51, Bastian Bittorf wrote: > * Stijn Segers [22.03.2016 08:47]: >> Is there a specific reason why OpenSSL is used instead of sha256sum? > > it's all about portability. OpenSSL is widely available, and sha256 not. > maybe you can 'sanitize' the output somehow? > > bye, bastian

<    1   2   3   4   5   6   7   8   9   10   >