Re: [OpenWrt-Devel] [PATCH procd] watchdog: shutdown the kernel watchdog when stopping

2015-09-28 Thread John Crispin
On 28/09/2015 14:14, Helmut Schaa wrote: > On Mon, Sep 28, 2015 at 12:58 AM, Alexander Couzens wrote: >> The kernel wdt counting down even when not pinged. >> Shutdown the filehandler to /dev/watchdog with magic cookie >> to prevent this. >> >> Signed-off-by: Alexander Couzens >> --- >> watchd

Re: [OpenWrt-Devel] [PATCH] procd: make nand_do_platform_check check image only

2015-09-24 Thread John Crispin
On 24/09/2015 11:32, Rafał Miłecki wrote: > Recently all targets have been updated to call nand_do_upgrade directly. > It's not needed anymore to leave a magic /tmp/sysupgrade-nand-path mark > during image check. > > Signed-off-by: Rafał Miłecki Acked-by: John Crispin

Re: [OpenWrt-Devel] [PATCH] [SIGNED-OFF] Add WeIO Board Support

2015-09-24 Thread John Crispin
its in trunk finally, sorry for the delay On 23/09/2015 20:23, Drasko DRASKOVIC wrote: > A kind reminder, > please someone take a look at this patch and integrate it if it is OK. > > BR, > Drasko > > > On Sun, Sep 20, 2015 at 7:27 PM, Drasko DRASKOVIC > wrote: >> Add support for WeIO board (ht

Re: [OpenWrt-Devel] [PATCH] Configure IPv6 kernel options in config/Config-kernel.in

2015-09-22 Thread John Crispin
On 22/09/2015 22:17, Arjen de Korte wrote: > Citeren John Crispin : > >> On 22/09/2015 19:31, Arjen de Korte wrote: >>> Revision 46834 changed IPv6 support from a module to builtin. But >>> since the configuration of the IPv6 kernel options was left in &g

Re: [OpenWrt-Devel] [PATCH] Configure IPv6 kernel options in config/Config-kernel.in

2015-09-22 Thread John Crispin
On 22/09/2015 19:31, Arjen de Korte wrote: > Revision 46834 changed IPv6 support from a module to builtin. But > since the configuration of the IPv6 kernel options was left in > package/kernel/linux/modules/netsupport.mk, this means that an > empty kmod-ipv6 module was still being generated (not

Re: [OpenWrt-Devel] [PATCH 6/7] ramips: improve mt7621 spi flash read speed

2015-09-22 Thread John Crispin
On 22/09/2015 15:48, Felix Fietkau wrote: > On 2015-09-22 15:26, Michael Lee wrote: >> From: michael lee >> >> only support spi flash command (half duplex). >> no need chunk io patch. done by driver. >> >> test results on mt7621. use dd read bs=512 with 32128 records >> old driver : 30.52s >> ne

Re: [OpenWrt-Devel] [PATCH v4 5/5] ar71xx: add support for Cisco's MR18

2015-09-21 Thread John Crispin
On 21/09/2015 15:52, Karl Palsson wrote: >> --- a/package/base-files/files/etc/rc.button/reset >> > +++ b/package/base-files/files/etc/rc.button/reset >> > @@ -19,7 +19,7 @@ released) >> >elif [ "$SEEN" -gt 5 ] >> >then >> >echo "FACTORY RESET" > /dev/console >> > - j

Re: [OpenWrt-Devel] [PATCH trunk/CC] tools/mtd-utils: fix PKG_MIRROR_MD5SUM

2015-09-21 Thread John Crispin
On 21/09/2015 15:47, Lars wrote: > hold on, why doesn't it match any longer? > > On 21.09.2015 15:43, Matthias Schiffer wrote: >> The checksum doesn't match the file on mirror2.openwrt.org. >> *cough* lets see whats up there ... simply changing the md5sum in the makefile without knowing what

Re: [OpenWrt-Devel] Bug #20542 affects all DEVICE_TYPE!=router targets on Chaos Calmer 15.05

2015-09-21 Thread John Crispin
On 21/09/2015 08:44, Yousong Zhou wrote: > On 21 September 2015 at 01:19, John Crispin wrote: >> >> >> >> On 20/09/2015 19:12, Daniel Golle wrote: >>> Hi! >>> >>> I just tested the Chaos Calmer 15.05 release binaries realizing that >&

Re: [OpenWrt-Devel] [OpenWrt-Tickets] [OpenWrt] #20473: Source lm_sensors-3.3.5.tar.bz2 for lm-sensors not available on mirror2.openwrt.org

2015-09-20 Thread John Crispin
On 20/09/2015 23:22, Carlos Ferreira wrote: > Still dead :S > This is bad... This is why caching source files used by the packages > Makefiles is important :S > > On 15 September 2015 at 13:10, OpenWrt > wrote: > > #20473: Source lm_sensors-3.3.5.tar.

Re: [OpenWrt-Devel] Bug #20542 affects all DEVICE_TYPE!=router targets on Chaos Calmer 15.05

2015-09-20 Thread John Crispin
On 20/09/2015 19:12, Daniel Golle wrote: > Hi! > > I just tested the Chaos Calmer 15.05 release binaries realizing that > bug #20542 may render targets having DEVICE_TYPE set to something > else than 'router' unreachable due to missing firewall modules. > jow fixed that in commit 820008e in tru

Re: [OpenWrt-Devel] ZyXEL NBG4615

2015-09-19 Thread John Crispin
On 19/09/2015 11:27, Nerijus Baliunas wrote: > Hello, > > it is similar to NBG-419N but has Atheros AR8316 4+1 GbE switch. I enabled > CONFIG_AR8216_PHY=y in target/linux/ramips/rt305x/config-3.18, rebuilt and > loaded openwrt-ramips-rt305x-nbg-419n-initramfs-uImage.bin to SDRAM via TFTP. > >

Re: [OpenWrt-Devel] [PATCH] procd: Allow override of default respawn parameters

2015-09-18 Thread John Crispin
On 18/09/2015 11:40, Etienne Champetier wrote: > Hi, > > 2015-09-18 11:03 GMT+02:00 Helmut Schaa <mailto:helmut.sc...@googlemail.com>>: > > Hi John, > > On Fri, Sep 18, 2015 at 10:18 AM, John Crispin <mailto:blo...@openwrt.org>> wrote: >

Re: [OpenWrt-Devel] [PATCH] procd: Allow override of default respawn parameters

2015-09-18 Thread John Crispin
Hi On 18/09/2015 09:59, Helmut Schaa wrote: > Allow to pass RESPAWN_THESHOLD_DEFAULT, DRESPAWN_TIMEOUT_DEFAULT > and RESPAWN_RETRY_DEFAULT as parameters to cmake to change the > default respawn behavior. > technically ok but why cant you tweak them in your packages initd script ? i am wondering

Re: [OpenWrt-Devel] [PATCH v2] ar71xx: add support for qca955x sgmii/serdes calibration

2015-09-17 Thread John Crispin
Hi, both patches are whitespace broken. John On 17/09/2015 15:08, Chris Blake wrote: > This patch is to add support for sgmii/serdes calibration from within > the OpenWRT environment. This is needed on boards that do not use u-boot > or do not have a pre-init process that runs calibratio

Re: [OpenWrt-Devel] Warning: ABI breakage - rebuild your ATM trees

2015-09-17 Thread John Crispin
On 17/09/2015 11:11, John Crispin wrote: > > > On 17/09/2015 10:54, David Woodhouse wrote: >> On Wed, 2015-09-16 at 15:23 +0200, John Crispin wrote: >>> how i hate this shitty dsl driver ... adding new sockopt is nort an >>> option. that would involve editin

Re: [OpenWrt-Devel] Warning: ABI breakage - rebuild your ATM trees

2015-09-17 Thread John Crispin
On 17/09/2015 10:54, David Woodhouse wrote: > On Wed, 2015-09-16 at 15:23 +0200, John Crispin wrote: >> how i hate this shitty dsl driver ... adding new sockopt is nort an >> option. that would involve editing the dsl driver and userland and even >> looking at the code c

Re: [OpenWrt-Devel] Factory reset implementation on x86 platform

2015-09-17 Thread John Crispin
On 17/09/2015 09:06, Tavish Naruka wrote: > On Thu, Sep 17, 2015 at 11:30 AM, Chetan C R wrote: >> Hi, >> >> I wanted to implement factory reset functionality on x86 platform. >> my rootfs is ext4 >> > > Failsafe and factory rest would work only with squashfs+jffs2 afaik, > in which case 'first

Re: [OpenWrt-Devel] [OpenWrt-Commits] r46981 - trunk/target/linux/generic/patches-3.18

2015-09-16 Thread John Crispin
.18/652-atm_header_changes.patch >> Log: >> kernel: properly guard the lantiq atm abi hack with an ifdef > > Would not it make sense to move this to target/linux/lantiq now that > this is target-specific? no because then it wont be part of the kernel-headers and linu

Re: [OpenWrt-Devel] Warning: ABI breakage - rebuild your ATM trees

2015-09-16 Thread John Crispin
On 16/09/2015 15:17, David Woodhouse wrote: > On Wed, 2015-09-16 at 13:23 +0200, John Crispin wrote: >> thinking about this, the new elements should also be guarded by a #ifdef >> CONFIG_lantiq will add that now > > You can't do that in user-visible headers. CONFIG_L

Re: [OpenWrt-Devel] Warning: ABI breakage - rebuild your ATM trees

2015-09-16 Thread John Crispin
On 16/09/2015 13:20, John Crispin wrote: > Hi, > > i pushed a patch today that removes some serious ABI brain damage of the > ATM layer that i introduced 1/2 a decade ago > > http://git.openwrt.org/?p=openwrt.git;a=commit;h=c5d4911448898f7fabdd2c4737ed0820ced4fc4d > >

[OpenWrt-Devel] Warning: ABI breakage - rebuild your ATM trees

2015-09-16 Thread John Crispin
Hi, i pushed a patch today that removes some serious ABI brain damage of the ATM layer that i introduced 1/2 a decade ago http://git.openwrt.org/?p=openwrt.git;a=commit;h=c5d4911448898f7fabdd2c4737ed0820ced4fc4d https://dev.openwrt.org/ticket/20523 as a side effect you will need to rebuild your

Re: [OpenWrt-Devel] [PATCH v2] opkg: Extend 'opkg list' command to optionally display package size

2015-09-16 Thread John Crispin
On 16/09/2015 10:22, Hannu Nyman wrote: > On 16.9.2015 11:18, John Crispin wrote: >> see inline ... >> >> On 16/09/2015 10:09, Hannu Nyman wrote: >>> Index: package/system/opkg/Makefile >>> =

Re: [OpenWrt-Devel] [PATCH] include: download.mk: If checkouts fail, attempt default download method

2015-09-16 Thread John Crispin
On 15/09/2015 22:01, Pushpal Sidhu wrote: > This will allow a more robust download system, especially in cases when > building an older release where a source checkout system is gone. > > Signed-off-by: Pushpal Sidhu although this looks good at first glance we notice on a closer inspection tha

Re: [OpenWrt-Devel] [PATCH v2] opkg: Extend 'opkg list' command to optionally display package size

2015-09-16 Thread John Crispin
see inline ... On 16/09/2015 10:09, Hannu Nyman wrote: > 'opkg list' command only displays the available packages' name, version and > description. It would be useful to also see the approximate size of the > available package. > > This patch extends "opkg list" command with "--size" to optional

Re: [OpenWrt-Devel] [PATCH 7/7] mac80211: rename iwlagn to iwlwifi

2015-09-16 Thread John Crispin
On 23/08/2015 13:00, Dirk Neukirchen wrote: > follow upstream module rename > commit 3c607d27c818cf4a5d28f2c73b18a88f8fbdfa33 > > Signed-off-by: Dirk Neukirchen this one does not apply either. can you resend all 3 in a new series please John > --- > package/kernel/mac80211/Makefile

Re: [OpenWrt-Devel] [PATCH 1/2 v2] mac80211: cleanup remove net prefixes

2015-09-16 Thread John Crispin
On 24/08/2015 17:25, Dirk Neukirchen wrote: > Signed-off-by: Dirk Neukirchen > --- > v2 : split 6/7 into two commits > sorry we need a v3 please this one does not apply anymore. the actual patch looks fine John > package/kernel/mac80211/Makefile | 82 > -

Re: [OpenWrt-Devel] [PATCH] opkg: Extend 'opkg list' command to optionally display package size

2015-09-16 Thread John Crispin
On 30/08/2015 16:37, Hannu Nyman wrote: > 'opkg list' command only displays the available packages' name, version > and description. > It would be useful to also see the approximate size of the available > package. > > This patch extends "opkg list" command with "--size" to optionally show > als

Re: [OpenWrt-Devel] [PATCH] musl: fix build on sh3

2015-09-16 Thread John Crispin
Hi, On 14/09/2015 10:38, Zoltan HERPAI wrote: > musl fails to build when compiled with gcc on sh3 (GCC target/#67260). > Work it around. > > Signed-off-by: Zoltan HERPAI > --- > toolchain/musl/common.mk |5 + > 1 file changed, 5 insertions(+) > > diff --git a/toolchain/musl/common.mk b

Re: [OpenWrt-Devel] [PATCH 4/6] generic: fix unrecognized opcode wsbh when building for MIPS16.

2015-09-16 Thread John Crispin
On 01/09/2015 14:14, Yousong Zhou wrote: > The issue was found and reported by hynman [1] when compiling reaver for > ar71xx > (Big Endian MIPS). > > {standard input}: Assembler messages: > {standard input}:79: Error: unrecognized opcode `wsbh $2,$2' > {standard input}:90: Error: un

Re: [OpenWrt-Devel] [PATCH v2 4/4] ramips: Fix pinmux functions for MT7621

2015-09-16 Thread John Crispin
On 31/07/2015 11:14, Sven Eckelmann wrote: > The pinctrl-rt2880 code doesn't support multiple functions with the same > name. This will result in a incorrect pinmux configuration. > > Signed-off-by: Sven Eckelmann > --- > This is the patch which John Crispin wante

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

2015-09-16 Thread John Crispin
/shm. If there is not enough room there, execution >>>> terminates with SIGBUS upon access. Even a single instance would >>>> exceed >>>> 512K. >>>> >>>> On Tue, 2015-07-14 at 11:50 +0200, John Crispin wrote: >>>>> what kind of us

Re: [OpenWrt-Devel] [PATCH 1/1] sysupgrade, wndr3700/wndr3800: Add allnet safety check

2015-09-16 Thread John Crispin
On 02/08/2015 09:58, Daniel Dickinson wrote: > This patch may not actually be necessary, but adds the allnet > uboot-envtools safety checks before allow a firmware upgrade to > and Netgear WNDR3700/3800 device. > > Note that the Netgear devices already have a hardware id check so > this may be s

Re: [OpenWrt-Devel] [PATCH v2] ar71xx: Add UBNT airGateway Pro support

2015-09-15 Thread John Crispin
Hi On 21/08/2015 09:27, Matthew Reeve wrote: > This patch adds kernel and userspace support for the Ubiquiti Networks > airGateway Pro. > > v2: Modify file bases so that git apply will apply it. the change log should go below the tear line > Signed-off-by: Matthew Reeve > which should be he

Re: [OpenWrt-Devel] [PATCH 0/9] Support for three PowerCloud Systems devices

2015-09-15 Thread John Crispin
On 02/09/2015 12:08, Daniel Dickinson wrote: > The following patch series adds support for three PowerCloud devices. > The patches have been reworked from the previous bunged up iteration > and have been tested on the actual devices which are currently in use. > > There is, however, one question

Re: [OpenWrt-Devel] Project specific settings

2015-09-15 Thread John Crispin
On 15/09/2015 20:32, Rüdiger, Christoph wrote: > Hello, > > I'm quite new to OpenWrt and being faced with an existing build tree here. > After reading nearly everything I could force Google to bubble it up to the > top result pages, I'm still struggling with a simple question. > > Our build t

Re: [OpenWrt-Devel] [PATCH] ipq806x: add platform_pre_upgrade for sysupgrade

2015-09-15 Thread John Crispin
On 15/09/2015 14:18, Rafał Miłecki wrote: > We're in process of cleaning nand_do_platform_check. Currently is leaves > a special mark in /tmp/sysupgrade-nand-path triggering some diffent code > path in nand_upgrade_stage1. This can be a bit confusing. > > The plan is to have the check function o

Re: [OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps

2015-09-15 Thread John Crispin
On 15/09/2015 09:27, Rafał Miłecki wrote: > On 15 September 2015 at 09:17, John kerry wrote: >> Please can anyone reply > > Is someone here your paid support with 1h response time? although i find this emails annoying and funny at the same time we can probably assume that it is not him that th

Re: [OpenWrt-Devel] [PATCH] extra configuration options for OpenVPN in init script

2015-09-14 Thread John Crispin
On 28/08/2015 15:27, François Kooman wrote: > Hi Mirko, > > To accompany my patch to the OpenVPN configuration module for luci [0] > to support some extra fields here also the change to the OpenVPN init > script. > > It adds the following fields: > > tls_version_min > tls_version_max > key_dir

Re: [OpenWrt-Devel] [PATCH] AP121 target: fix board detection in ar71xx.sh

2015-09-14 Thread John Crispin
On 31/08/2015 12:58, Attila Lendvai wrote: > hi! > > resending this patch properly, including a signed-off entry. > > it would be nice if this could make its way into CC, because this > fixes a regression. > > the obsolete copy is this: https://patchwork.ozlabs.org/patch/508527/ > > Hi, th

Re: [OpenWrt-Devel] [PATCH] uci: add import call

2015-09-14 Thread John Crispin
Hi, SoB is missing and On 02/09/2015 02:14, Alexander Couzens wrote: > similiar to import from uci cli. > import removes all old configs and import the new config. > > example: > ubus call uci import \ > '{"config": "dhcp", "values": { "srv": { ".type": "host", ".name": "srv", > "mac":

Re: [OpenWrt-Devel] [PATCH procd v2 0/5] jail work

2015-09-14 Thread John Crispin
On 15/09/2015 00:11, Etienne Champetier wrote: > > Just some random stuffs: > > -new in kernel 4.3: ambient capabilities (great explanation in the commits) > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=58319057b7847667f0c9585b9de0e8932b0fdb08 > http://git.kernel.or

Re: [OpenWrt-Devel] [PATCH] ar71xx: add TP-LINK TL-WDR3320 v2 support

2015-09-14 Thread John Crispin
Hi, On 09/09/2015 16:56, Weijie Gao wrote: > Signed-off-by: Weijie Gao this line should be the last line and not the first, i manually fixed this during the merge John > > This patch adds support for TP-LINK TL-WDR3320 v2. > > This router uses a chinese version 2 firmware header,. >

Re: [OpenWrt-Devel] [PATCH] base-files: assign proper GPIO pin for Ubiquiti Nanostation models

2015-09-14 Thread John Crispin
you used the wrong prefix, i fixed it manually, please double check it next time John On 13/09/2015 00:33, Lars Kruse wrote: > The GPIO pins for "POE passthrough" of Ubiquiti Nanostation models are the > following: > * Ubiquiti Nanostation M XM: Pin 8 > * Ubiquiti Nanostation M XW: Pin 2

Re: [OpenWrt-Devel] [PATCH] [LANTIQ] ARV7519RW22 dts fix

2015-09-14 Thread John Crispin
On 02/09/2015 16:34, José Vázquez Fernández wrote: > From a9d8a4d04c5564abb0440a3b67dd21e8645e2c43 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Jos=C3=A9=20V=C3=A1zquez=20Fern=C3=A1ndez?= > > Date: Tue, 1 Sep 2015 19:30:26 +0200 > Subject: [OpenWrt-Devel] [PATCH] [LANTIQ] ARV7519RW22 dts fix > >

Re: [OpenWrt-Devel] i2c device not in /dev

2015-09-14 Thread John Crispin
On 14/09/2015 20:09, Daniel Golle wrote: > On Mon, Sep 14, 2015 at 07:47:08PM +0200, John Crispin wrote: >> On 14/09/2015 19:28, Baptiste Clenet wrote: >>> Hi, >>> >>> I'm using a MT7628 chip and I try to implement an I2C device which >>> will

Re: [OpenWrt-Devel] i2c device not in /dev

2015-09-14 Thread John Crispin
On 14/09/2015 19:28, Baptiste Clenet wrote: > Hi, > > I'm using a MT7628 chip and I try to implement an I2C device which > will use i2c-ralink adapter. I registered my i2c device with > module_i2c_driver(i2c_device_driver); > > I can see it on my bus: > ./sys/bus/i2c/drivers/i2c_device_driver > B

Re: [OpenWrt-Devel] [PATCH 0/3] Add support of ARC architecture

2015-09-14 Thread John Crispin
On 14/09/2015 13:35, Alexey Brodkin wrote: > Hi Felix, > > On Fri, 2015-09-11 at 15:09 +0200, Felix Fietkau wrote: >> On 2015-08-27 13:03, Alexey Brodkin wrote: >>> This patch series adds support for the Synopsys DesignWare ARC architecture. >>> >>> DesignWare ARC700 is family of 32-bit CPUs dev

Re: [OpenWrt-Devel] Question about openwrt release revision

2015-09-14 Thread John Crispin
On 14/09/2015 09:34, pupie wrote: > Hello everyone, > I am so glad that openwrt 15.05 has been release. > > I noticed that since AA release, openwrt team neither tag the source > tree in subversion/git after an official release nor provide the > revision/commit sha-1 along with release note. > I

Re: [OpenWrt-Devel] x86-64: /proc is not being mounted

2015-09-13 Thread John Crispin
; The hardware target to where I'm building OpenWRT is a Supermicro > A1SAi-2750F server board > <http://www.supermicro.com/products/motherboard/Atom/X10/A1SAi-2750F.cfm>. > > I will send in annex, the configuration files. > > > > > On 1

Re: [OpenWrt-Devel] [PATCH] Fix 'Dropping frame due to full tx queue' for Ralink wifi get stuck.

2015-09-11 Thread John Crispin
Hi, before looking at this in detail, could please send a properly formatted patch. the patch you sent is not using the unified option when generating it. upstream linux-wireless wont accept it otherwise and we wont either. also please prefix the email with "mac80211: " so that we know which subs

Re: [OpenWrt-Devel] Chaos Calmer 15.05

2015-09-11 Thread John Crispin
ah indeed, i missed the IB images. will add them during the weekend On 11/09/2015 11:27, Daniel Golle wrote: > Hi! > > I'm glad to see CC is finally out! > > However, it seems like images for some boards got missing at least on > lantiq and oxnas. > See: > http://downloads.openwrt.org/chaos_calm

Re: [OpenWrt-Devel] Renaming trunk to Dxx Dxx ? Or seperate name for Trunk?

2015-09-10 Thread John Crispin
On 11/09/2015 08:53, Etienne Champetier wrote: > > > 2015-09-11 8:46 GMT+02:00 John Crispin <mailto:blo...@openwrt.org>>: > > > > On 11/09/2015 08:39, Rafał Miłecki wrote: > > On 11 September 2015 at 07:51, John Crispin <mailto:blo...@openwrt

Re: [OpenWrt-Devel] Renaming trunk to Dxx Dxx ? Or seperate name for Trunk?

2015-09-10 Thread John Crispin
On 11/09/2015 08:39, Rafał Miłecki wrote: > On 11 September 2015 at 07:51, John Crispin wrote: >> On 11/09/2015 07:18, Rafał Miłecki wrote: >>> On 9 September 2015 at 17:24, Tobias Welz wrote: >>>> BTW: Why does the trunk has to be "renamed". The trunk

Re: [OpenWrt-Devel] x86-64: /proc is not being mounted

2015-09-10 Thread John Crispin
On 11/09/2015 01:53, Carlos Ferreira wrote: > I have a custom build for x86_64 where CONFIG_PROC_FS is active (y) at > the kernel configuration. /etc/fstabs has nothing and is pointing into > an empty /tmp directory. > > Is there any reason that might prevent the /proc from being mounted? > Afte

Re: [OpenWrt-Devel] Renaming trunk to Dxx Dxx ? Or seperate name for Trunk?

2015-09-10 Thread John Crispin
On 11/09/2015 07:18, Rafał Miłecki wrote: > On 9 September 2015 at 17:24, Tobias Welz wrote: >> BTW: Why does the trunk has to be "renamed". The trunk is always recent, so >> it could also have a persistent name like "Bleeding Edge" (BTW: is this a >> cocktail?) and it would be always clear, tha

Re: [OpenWrt-Devel] AR9344 OpenWrt GUI

2015-09-10 Thread John Crispin
Hi, i dont want to ruin the fun but this is not devel chat, but user level support. please move it to the normal mailing list or the forum. this ML is for openwrt developemnt related issues John On 10/09/2015 09:50, John kerry wrote: > Where its applying the settings, except resetting

Re: [OpenWrt-Devel] [PATCH] uqmi: Added CMake option BUILD_STATIC for a static uqmi build

2015-09-09 Thread John Crispin
On 09/09/2015 09:35, Bachtin, Dmitri wrote: > Signed-off-by: Dmitri Bachtin Hi, it is always nice if a patch has a short description that goes beyond the subject. in this case it would be nice if you could explain why you need to build a static version of uqmi John > --- > CMakeLists.

Re: [OpenWrt-Devel] Using procd for USB hotplug detection

2015-08-29 Thread John Crispin
use block-mount that is what its there for. On 29/08/2015 21:03, Alexandru Ardelean wrote: > procd is for service handling mostly; so, start/stop/etc > basically you'd need to have another service that does usb-device > handling (of that device). > > what i'd do, is to write a hotplug script, add

Re: [OpenWrt-Devel] Registering an ubus namespace using Lua

2015-08-28 Thread John Crispin
Hi, have a look here please --> http://git.openwrt.org/?p=project/ubus.git;a=tree;f=lua; John On 28/08/2015 21:09, Ronaldo Afonso wrote: > Hi all, > > Can anyone provide me with an example of registering an ubus namespace > using Lua? > > Thanks in advance. > > -- > Ronaldo Af

Re: [OpenWrt-Devel] [PATCH] [package] firewall: Remove src_port from firewall.config to receive dhcpv6 replies

2015-08-28 Thread John Crispin
On 28/08/2015 12:35, Anselm Eberhardt wrote: > From: Anselm Eberhardt > > Remove src_port from firewall.config to receive dhcpv6 replies. Fixes #20295. > > Signed-off-by: Anselm Eberhardt Hi, the patch is whitespace broken i am afraid. please use git to send the patch to avoid these issues

Re: [OpenWrt-Devel] [PATCH 1/3] toolchain: add support of ARC architecture

2015-08-27 Thread John Crispin
On 27/08/2015 14:15, Alexey Brodkin wrote: > Hi John, > > On Thu, 2015-08-27 at 13:59 +0200, John Crispin wrote: >> Hi Alexey, >> >> have you already sent these patches upstream to the gcc people ? > > I'm not really sure which patches you're talking

Re: [OpenWrt-Devel] [PATCH 3/3] linux: add support of Synopsys ARC boards

2015-08-27 Thread John Crispin
Hi, i just skimmed over the patch quickly and ... On 27/08/2015 13:03, Alexey Brodkin wrote: > diff --git a/target/linux/arc/axs10x/base-files/etc/config/network > b/target/linux/arc/axs10x/base-files/etc/config/network > new file mode 100644 > index 000..1d46510 > --- /dev/null > +++ b/targ

Re: [OpenWrt-Devel] [PATCH 1/3] toolchain: add support of ARC architecture

2015-08-27 Thread John Crispin
ecipe for target 'stamp-5mloop' failed > make[7]: *** [stamp-5mloop] Error 1 > >8 > > Prerequisites are: > [1] http://patchwork.ozlabs.org/patch/510985 which adds uClibc-ng support. > [2] http://patchwork.ozlabs.org/patch/502022 whic

Re: [OpenWrt-Devel] [PATCH procd v2 0/5] jail work

2015-08-27 Thread John Crispin
On 27/08/2015 13:25, Etienne Champetier wrote: > > > 2015-08-27 12:18 GMT+02:00 John Crispin <mailto:blo...@openwrt.org>>: > > > > On 26/08/2015 18:20, Etienne Champetier wrote: > > > > > > 2015-08-26 15:48 GM

Re: [OpenWrt-Devel] [PATCH procd v2 0/5] jail work

2015-08-27 Thread John Crispin
On 26/08/2015 18:20, Etienne Champetier wrote: > > > 2015-08-26 15:48 GMT+02:00 John Crispin <mailto:blo...@openwrt.org>>: > > > > On 26/08/2015 01:00, Etienne CHAMPETIER wrote: > > This patch series rework a bit ujail, > > and ad

Re: [OpenWrt-Devel] [PATCH] malta: disable mips16

2015-08-27 Thread John Crispin
On 27/08/2015 11:29, John Crispin wrote: > hjaving ne eminent need for size reduction does not mean bloat is acceptable typo tastic ... note to self: "dont send mails on the ipad when you have a kid in one arm" ;) ___ openwrt-devel

Re: [OpenWrt-Devel] [PATCH] malta: disable mips16

2015-08-27 Thread John Crispin
On 27/08/2015 10:50, Dirk Neukirchen wrote: > On 27.08.2015 09:27, Yousong Zhou wrote: >> On 27 August 2015 at 12:02, Dirk Neukirchen wrote: >>> - it causes issues with qemu versions < 2.2 >>> should fix issues with Ubuntu 14.03 LTS (qemu 2.0) >>> errors are: >>> Kernel panic - not syncing: Atte

Re: [OpenWrt-Devel] [PATCH] toolchain/uClibc: add support of uClibc-ng

2015-08-26 Thread John Crispin
; Run-tested for [yet out of the tree] Synopsys Designware ARC AXS101. > > Signed-off-by: Alexey Brodkin > Cc: Waldemar Brodkorb > Cc: Mathieu Olivari > Cc: Felix Fietkau > Cc: John Crispin > --- > toolchain/uClibc/Config.in | 4 + &

Re: [OpenWrt-Devel] [PATCH procd v2 0/5] jail work

2015-08-26 Thread John Crispin
On 26/08/2015 01:00, Etienne CHAMPETIER wrote: > This patch series rework a bit ujail, > and add capabilities support to it nice > > Seccomp filter are very powerful but not totally generic, > each arch can have different set of syscalls, > each libc can use different syscall for the same func

Re: [OpenWrt-Devel] [PATCH RFC 10/10] ipq806x: wrap ubi in itb

2015-08-21 Thread John Crispin
On 21/08/2015 13:28, Jonas Gorski wrote: > On 21.08.2015 13:24, John Crispin wrote: >> >> >> On 21/08/2015 13:17, Jonas Gorski wrote: >>> The stock QSDK expects the ubi to be wrapped in an itb image, so >>> provide one for easy sysupgrade from QSDK. >&g

Re: [OpenWrt-Devel] [PATCH RFC 10/10] ipq806x: wrap ubi in itb

2015-08-21 Thread John Crispin
On 21/08/2015 13:17, Jonas Gorski wrote: > The stock QSDK expects the ubi to be wrapped in an itb image, so > provide one for easy sysupgrade from QSDK. > > FIXME: currently does not work? Seems to flash fine, but ubi cannot > be mounted by OpenWrt and needs to be flashed a second time. how do

Re: [OpenWrt-Devel] [PATCH 1/2] include: add a new ubinize-image build target

2015-08-21 Thread John Crispin
On 21/08/2015 11:49, Jonas Gorski wrote: > On Fri, Aug 21, 2015 at 3:34 AM, Mathieu Olivari > wrote: >> This new build target can be used to generate a ubinized.bin file, >> including the kernel and the FS specified as an argument. >> >> Signed-off-by: Mathieu Olivari > > I have a slightly di

Re: [OpenWrt-Devel] [PATCH v3] Add Minibox v1.0 support

2015-08-21 Thread John Crispin
Hi, Patch looks fine now, however the subject is missing the "ar71xx:" prefix John On 18/08/2015 21:44, Stijn Segers wrote: > This patch adds Gainstrong Minibox v1.0 into trunk. I have addressed the > following issues: > - all caps prefix > - added vendor > > I have built images and ask

Re: [OpenWrt-Devel] [PATCH] ar71xx: Add UBNT airGateway Pro support

2015-08-20 Thread John Crispin
Hi Mathew, patch content is fine however the patch is generated against the wrong basee. please use git to respin the patch and resend it. John On 21/08/2015 03:19, Matthew Reeve wrote: > This patch adds kernel and userspace support for the Ubiquiti Networks > airGateway Pro. > > Sign

Re: [OpenWrt-Devel] [PATCH] iwinfo: do not wait for scan results if scan request failed.

2015-08-20 Thread John Crispin
> In fact, I have tested my patch with both AP scan turned on and off. fair enough, will have a closer look later, thanks > On Mon, Aug 17, 2015 at 1:18 PM, John Crispin wrote: >> Hi, >> >> I have various issues with this patch >> >> On 31/07/2015 10:53, Dm

Re: [OpenWrt-Devel] [PATCH v2] AR71xx: Add Minibox V1.0 support

2015-08-18 Thread John Crispin
On 18/08/2015 12:21, Karl Palsson wrote: > John Crispin wrote: > > >> On 17/08/2015 23:25, Karl Palsson wrote: >>> Personally I'd like to see Gainstrong mentioned _somewhere_ in the patch >>> itself. >>> >>>> +--- a/arch/mip

Re: [OpenWrt-Devel] [PATCH v2] AR71xx: Add Minibox V1.0 support

2015-08-17 Thread John Crispin
On 17/08/2015 23:25, Karl Palsson wrote: > Personally I'd like to see Gainstrong mentioned _somewhere_ in the patch > itself. > >> +--- a/arch/mips/ath79/machtypes.h >> b/arch/mips/ath79/machtypes.h >> +@@ -74,6 +74,7 @@ enum ath79_mach_type { >> +ATH79_MACH_JA76PF2, /* jjPl

Re: [OpenWrt-Devel] lantiq DSL drivers / firmware info

2015-08-17 Thread John Crispin
Hi, On 15/08/2015 23:38, Mathias Kresin wrote: > Am 24.07.2015 um 01:20 schrieb Martin Blumenstingl: >> On Fri, Jul 24, 2015 at 1:00 AM, Aleksander Wałęski >> wrote: >>> Actually, it just dawned on me that they can be doing just that. In >>> the bootloader. This is the only part of firmware we ar

Re: [OpenWrt-Devel] [PATCH] [libubox] ulog: check if /dev/kmsg is special file

2015-08-17 Thread John Crispin
On 17/08/2015 22:37, Sergiy Kibrik wrote: > hi John, > >> the patch is quite invasive. how about just using "r+" >> >> from the man page --> "r+ Open for reading and writing. The stream >> is positioned at the beginning of the file." >> >> could you try the following and not apply any othe

Re: [OpenWrt-Devel] [PATCH] Added WIZnet WizFi630A Platform based on Ralink RT5350

2015-08-17 Thread John Crispin
Hi Tobias, Thanks for the patch. unfortunately its line mangled and white space broken. also it seems you sent a HTML email. If you take a few minutes to setup git, you can use "git send-email" to avoid these issues. John On 15/08/2015 10:08, Tobias Welz wrote: > Hello OpenWrt Developer

Re: [OpenWrt-Devel] [PATCH] [libubox] ulog: check if /dev/kmsg is special file

2015-08-17 Thread John Crispin
Hi, On 16/08/2015 13:08, Sergiy Kibrik wrote: > Race is possible in ulog_kmsg: if no /dev/kmsg exists > (e.g. while /dev gets re-mounted) regular file created instead. > From this point system goes without kernel logger: > special character file can't be created anymore, all clients keep > overwri

Re: [OpenWrt-Devel] [PATCH] ramips: add support for Planex DB-WRT01

2015-08-17 Thread John Crispin
On 10/08/2015 17:16, YuheiOKAWA wrote: > This patch add support for Planex DB-WRT01. DANBOARD route on > the MT7620A SoC with two Ethernet port and a 802.11n 2.4 GHz radio. > DANBOARD is Cartoon character. > > Signed-off-by: YuheiOKAWA Hi, i merged a huge 25 patch series today that clean

Re: [OpenWrt-Devel] [PATCH] iwinfo: do not wait for scan results if scan request failed.

2015-08-17 Thread John Crispin
Hi, I have various issues with this patch On 31/07/2015 10:53, Dmitry Ivanov wrote: > Do not wait for scan results if scan request failed. > > Signed-off-by: Dmitry Ivanov > --- > iwinfo_nl80211.c | 14 ++ > 1 file changed, 10 insertions(+), 4 deletions(-) > > diff --git a/iwinfo_

Re: [OpenWrt-Devel] [PATCH v2 00/25] ramips: massive code cleanups

2015-08-16 Thread John Crispin
Hi, just merged the whole lot. thanks a lot. what do you want to do next lantiq or ar71xx ? :) personally i would prefer ar71xx ;) John On 05/08/2015 20:30, Piotr Dymacz wrote: > The following changes fix different mistakes in ramips target and try to make > the code more clean and cons

Re: [OpenWrt-Devel] [PATCH 0/8] Add support for three PowerCloud Systems devices

2015-08-16 Thread John Crispin
Hi, the series is in patchwork several times. some mails are duplicated 8 times. others exist twice, have identical content but 2 different subjects. i marked all 25 patches as invalid. can you please work out what we should merge and just resend it as a clean series against trunk please.

Re: [OpenWrt-Devel] [PATCH 1/1] [buildroot] Fix for liblzma breaks redhat-like systems

2015-08-16 Thread John Crispin
On 15/08/2015 16:37, Hauke Mehrtens wrote: > On 08/09/2015 05:50 AM, Daniel Dickinson wrote: >> On RedHat/Fedora and derivatives we must use the system liblzma >> from xz-devel because the liblzma in tools/xz breaks these >> systems due to system tools (which use liblzma) having >> missing symbol

Re: [OpenWrt-Devel] [PATCH] rampips: Fix pinmux functions for MT7621

2015-07-31 Thread John Crispin
On 31/07/2015 11:23, Sven Eckelmann wrote: > On Friday 31 July 2015 10:33:59 John Crispin wrote: > [...] >>> What about the other problems like wrong settings width, wrong settings >>> position and missing settings? Should I resend them? >> >> which patch exa

Re: [OpenWrt-Devel] [PATCH 00/13] ramips: massive code cleanups

2015-07-30 Thread John Crispin
On 26/07/2015 18:24, Piotr Dymacz wrote: > The following changes fix different mistakes in ramips target and > try to make the code more clean and consistent. > > The patches affect: > * dts{,i} files > * base-files/* scripts > * image Makefile > > Piotr Dymacz (13): > ramips: fix indentat

Re: [OpenWrt-Devel] [PATCH] rampips: Fix pinmux functions for MT7621

2015-07-30 Thread John Crispin
ralink,function = "nand"; > + ralink,function = "nand2"; > }; > }; > sdhci_pins: sdhci { > diff --git > a/target/linux/ramips/patches-3.18/0012-MIPS-ralink-add-MT7621-support.patc

Re: [OpenWrt-Devel] [PATCH 1/6] CC: ar71xx: add kernel support for EnGenius EPG5000.

2015-07-25 Thread John Crispin
On 25/07/2015 16:34, John Crispin wrote: > Hi > > your patches cause a build failure on the mikrotik subtarget > > please send a fix asap > > LD init/built-in.o > arch/mips/built-in.o: In function `epg5000_get_mac': > /home/buildbot/slave-local/ar71xx

Re: [OpenWrt-Devel] [PATCH 1/6] CC: ar71xx: add kernel support for EnGenius EPG5000.

2015-07-25 Thread John Crispin
Hi your patches cause a build failure on the mikrotik subtarget please send a fix asap LD init/built-in.o arch/mips/built-in.o: In function `epg5000_get_mac': /home/buildbot/slave-local/ar71xx_mikrotik/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_mikrotik/linux-3.18.18/ar

Re: [OpenWrt-Devel] Split kernel modules out of the base opkg repo?

2015-07-25 Thread John Crispin
On 25/07/2015 14:46, Matthias Schiffer wrote: > Hi, > I'd like to propose to split the current "base" opkg repo into two, one > for userspace applications and one for kernel modules. This would > greatly simplify providing your own kernel module repository with > modules for a customized kernel,

Re: [OpenWrt-Devel] GUI user name and pass

2015-07-24 Thread John Crispin
On 24/07/2015 12:17, John kerry wrote: > Hi, > > There is one issue, normally whenever i open GUI its ask for user name > and password, again close the browser and open GUI it ask for UN and > Password, but there is problem when i do factory reset it stop asking UN > and Password for GUI anymore

Re: [OpenWrt-Devel] [PATCH 1/2] CC: brcm2708: Add sysupgrade for Rasperry Pi

2015-07-24 Thread John Crispin
On 24/07/2015 11:24, Bruno Randolf wrote: > On 07/24/2015 08:12 AM, John Crispin wrote: >> On 17/07/2015 19:18, Bruno Randolf wrote: >>> diff --git a/target/linux/brcm2708/Makefile b/target/linux/brcm2708/Makefile >>> index 30f6e1d..37ff204 100644 >>>

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

2015-07-24 Thread John Crispin
On 24/07/2015 11:19, Matti Laakso wrote: > The fix will be in 4.2, so we still need the patch for 4.1. can you prepare a patch and send it over ? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailma

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

2015-07-24 Thread John Crispin
Hi, patch fails to apply to my tree in combination with other backports. please rebase and resend once i pushed my tree On 15/07/2015 11:04, Jaehoon You wrote: > backport of r46248. > > Signed-off-by: Jaehoon You > --- > target/linux/ar71xx/base-files/etc/diag.sh | 1 + > .../ar71xx

Re: [OpenWrt-Devel] [PATCH]v2: CC: ar71xx: add support for Onion Omega

2015-07-24 Thread John Crispin
Hi, fails to apply after other backport. please rebase and resend once i pushed my tree John On 22/07/2015 13:37, L. D. Pinney wrote: > This patch adds support for the Onion Omega. > > https://onion.io/omega > > Signed-off-by: L. D. Pinney > Acked-by: Boken Lin > Tested-by: Jacky Hua

Re: [OpenWrt-Devel] [PATCH 1/2] sunxi: fix uboot install location

2015-07-24 Thread John Crispin
On 16/07/2015 22:20, Matthias Schiffer wrote: > -BOARDS:= \ > - sun4i-a10-cubieboard \ > - sun4i-a10-olinuxino-lime \ > - sun4i-a10-pcduino \ > - sun5i-a13-olinuxino \ > - sun6i-a31-colombus \ > - sun6i-a31-m9 \ > - sun7i-a20-bananapi \ > - sun7i-a20-bananapro \ >

Re: [OpenWrt-Devel] [PATCH 1/2] CC: brcm2708: Add sysupgrade for Rasperry Pi

2015-07-24 Thread John Crispin
On 17/07/2015 19:18, Bruno Randolf wrote: > diff --git a/target/linux/brcm2708/Makefile b/target/linux/brcm2708/Makefile > index 30f6e1d..37ff204 100644 > --- a/target/linux/brcm2708/Makefile > +++ b/target/linux/brcm2708/Makefile > @@ -19,7 +19,8 @@ SUBTARGETS:=bcm2708 bcm2709 > KERNEL_PATCHVER

<    5   6   7   8   9   10   11   12   13   14   >