Re: [OpenWrt-Devel] Initial Support for Ubiquiti UniFi Outdoor Plus

2014-06-13 Thread Sergey Ryazanov
Hi David, 2014-05-22 18:33 GMT+04:00 David Hutchison dhutchi...@bluemesh.net: It's running well in OpenWRT, I just need some guidance on how to go about patching the m25p80.c file. Nobody responded about the Makefile change, if it was proper to use the UAPPRO profile, since it matches the

[OpenWrt-Devel] [PATCH v2] kernel/3.1{0, 2, 3, 4}: mtd: m25p80: add support for EON EN25QH128

2014-06-12 Thread Sergey Ryazanov
This flash is used in newer Ubnt UniFi AP Pro Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- v2 * Patch v3.12, v3.13, v3.14 kernels as well --- ...-m25p80-add-support-for-EON-EN25QH128-flash.patch | 20 ...-m25p80-add-support-for-EON-EN25QH128-flash.patch | 20

Re: [OpenWrt-Devel] [PATCH] kernel/3.10: mtd: m25p80: add support for EON EN25QH128

2014-06-11 Thread Sergey Ryazanov
Hi Luka, 2014-06-11 12:24 GMT+04:00 Luka Perkov l...@openwrt.org: Hi Sergey, On Wed, Jun 11, 2014 at 03:05:34AM +0400, Sergey Ryazanov wrote: This flash is used in newer Ubnt UniFi AP Pro Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- ...-m25p80-add-support-for-EON-EN25QH128

[OpenWrt-Devel] [PATCH] kernel/3.10: mtd: m25p80: add support for EON EN25QH128

2014-06-10 Thread Sergey Ryazanov
This flash is used in newer Ubnt UniFi AP Pro Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- ...-m25p80-add-support-for-EON-EN25QH128-flash.patch | 20 1 file changed, 20 insertions(+) create mode 100644 target/linux/generic/patches-3.10/473-mtd-m25p80-add

[OpenWrt-Devel] [PATCH 00/17] atheros: checkpatch fixes

2014-06-09 Thread Sergey Ryazanov
This series is an attempt to cleanup checkpatch generated warnings and errors to make AR231x patches suitable for upstream merge. Sergey Ryazanov (17): atheros: avoid CamelCase atheros: various comments fixes atheros: parenthesis around complex macroses value atheros: remove parentheses

[OpenWrt-Devel] [PATCH 04/17] atheros: remove parentheses around return values

2014-06-09 Thread Sergey Ryazanov
Remove parentheses around return values since return is no a function, as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 2 +- target/linux/atheros/patches-3.10/105-ar2315_pci.patch | 2

[OpenWrt-Devel] [PATCH 06/17] atheros: remove trailing whitespace

2014-06-09 Thread Sergey Ryazanov
as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/141-redboot_partition_scan.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/atheros/patches-3.10/141-redboot_partition_scan.patch b

[OpenWrt-Devel] [PATCH 08/17] atheros: various braces fixes

2014-06-09 Thread Sergey Ryazanov
Fix braces location, remove unnecessary empty lines before or after code block, remove useless braces. All cases are detected by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 26 +++--- .../atheros

[OpenWrt-Devel] [PATCH 09/17] atheros: various printk(...) fixes

2014-06-09 Thread Sergey Ryazanov
Use more particular functions dev_level or pr_level(...) insead of direct printk(...) call. Add KERN_LEVEL to calls what missed it. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 38 +++--- .../linux/atheros/patches

[OpenWrt-Devel] [PATCH 13/17] atheros: trailing statements fixes

2014-06-09 Thread Sergey Ryazanov
Move trailing statements to next line with indentation as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch| 5 +++-- target/linux/atheros/patches-3.10/101-early-printk-support.patch | 8

[OpenWrt-Devel] [PATCH 07/17] atheros: do not initialize statics to 0 or false

2014-06-09 Thread Sergey Ryazanov
as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 2 +- target/linux/atheros/patches-3.10/130-watchdog.patch | 4 ++-- target/linux/atheros/patches-3.10/220

[OpenWrt-Devel] [PATCH 11/17] atheros: indent fixes

2014-06-09 Thread Sergey Ryazanov
Various indent fixes suggested by checkpatch: use tabs, use same level of indentation for switch and case, correct indentation levels. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 213 +++-- .../atheros/patches

[OpenWrt-Devel] [PATCH 05/17] atheros: do not assignment in if condition

2014-06-09 Thread Sergey Ryazanov
Remove assignments from if conditions as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch| 9 + target/linux/atheros/patches-3.10/110-ar2313_ethernet.patch | 5 +++-- target/linux

[OpenWrt-Devel] [PATCH 10/17] atheros: fix includes

2014-06-09 Thread Sergey Ryazanov
Remove some unnecessary includes and use linux/foo.h instead of asm/foo.h when it possible as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 6 +++--- target/linux/atheros/patches-3.10/105

[OpenWrt-Devel] [PATCH 17/17] atheros: fix too short msleep

2014-06-09 Thread Sergey Ryazanov
longer delay. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/105-ar2315_pci.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/atheros/patches-3.10/105-ar2315_pci.patch b/target/linux/atheros/patches-3.10/105

[OpenWrt-Devel] [PATCH 15/17] atheros: constify some static structures

2014-06-09 Thread Sergey Ryazanov
Constify some static structures as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch| 2 +- target/linux/atheros/patches-3.10/120-spiflash.patch | 6 -- target/linux/atheros/patches-3.10/130-watchdog.patch

[OpenWrt-Devel] [PATCH 14/17] atheros: avoid __FUNCTION__ usage

2014-06-09 Thread Sergey Ryazanov
Use __func__ instead of gcc specific __FUNCTION__ as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/110-ar2313_ethernet.patch | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target/linux

[OpenWrt-Devel] [PATCH 16/17] atheros: shorten lines

2014-06-09 Thread Sergey Ryazanov
Wrap lines over 80 chars or make them shorter by other ways. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 378 - .../atheros/patches-3.10/105-ar2315_pci.patch | 39 ++- .../atheros/patches-3.10/110

[OpenWrt-Devel] [PATCH 12/17] atheros: spaces fixes

2014-06-09 Thread Sergey Ryazanov
Add missed spaces and remove odd space as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 38 +++--- .../atheros/patches-3.10/105-ar2315_pci.patch | 17 +- .../atheros/patches

Re: [OpenWrt-Devel] [PATCH] atheros: remove useless get_c0_compare_int fix

2014-04-27 Thread Sergey Ryazanov
2014-04-27 22:43 GMT+04:00 Felix Fietkau n...@openwrt.org: On 2014-04-18 22:22, Sergey Ryazanov wrote: Remove get_c0_compare_int fix which is useless for latest kernels. What upstream change makes it useless? When I faced this patch, I could not find a lot info about this bug, and I done

[OpenWrt-Devel] [PATCH] atheros: remove useless get_c0_compare_int fix

2014-04-18 Thread Sergey Ryazanov
Remove get_c0_compare_int fix which is useless for latest kernels. Tested on Ubnt Bullet2, which could successfully boot without this workaround. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- .../patches-3.10/001-get_c0_compare_int_fix.patch | 39 -- 1 file

Re: [OpenWrt-Devel] [PATCH 09/28] Remove ATHEROS_AR231X

2014-04-16 Thread Sergey Ryazanov
2014-04-15 21:08 GMT+04:00 Paul Bolle pebo...@tiscali.nl: On Thu, 2014-02-13 at 15:14 -0500, John W. Linville wrote: On Wed, Feb 12, 2014 at 02:50:30PM +0400, Sergey Ryazanov wrote: John, can you delay the merging of this patch for a few months, I will try to prepare the necessary patches

Re: [OpenWrt-Devel] Long-distance links ath9k

2014-03-26 Thread Sergey Ryazanov
2014-03-26 9:13 GMT+04:00 Bill Moffitt bmoff...@ayrstone.com: It's clear that SOMETHING is getting time-limited, but I have distance=0 and dissassoc_low_ack=0 on both the AP and the station, and I'm not sure what else I can tweak. Configure distance parameter according to real distance between

Re: [OpenWrt-Devel] Long-distance links ath9k

2014-03-26 Thread Sergey Ryazanov
2014-03-26 23:04 GMT+04:00 Bill Moffitt bmoff...@ayrstone.com: On March 26, 2014 11:29:59 AM PDT, Sergey Ryazanov ryazanov@gmail.com wrote: 2014-03-26 9:13 GMT+04:00 Bill Moffitt bmoff...@ayrstone.com: It's clear that SOMETHING is getting time-limited, but I have distance=0

Re: [OpenWrt-Devel] [PATCH 09/28] Remove ATHEROS_AR231X

2014-02-12 Thread Sergey Ryazanov
2014-02-11 3:43 GMT+04:00 Sergey Ryazanov ryazanov@gmail.com: 2014-02-11 2:37 GMT+04:00 Florian Fainelli flor...@openwrt.org: 2014-02-10 4:38 GMT-08:00 Sergey Ryazanov ryazanov@gmail.com: 2014-02-10 16:17 GMT+04:00 Oleksij Rempel li...@rempel-privat.de: Am 10.02.2014 13:05, schrieb

Re: [OpenWrt-Devel] Short preamble for adhoc?

2014-02-10 Thread Sergey Ryazanov
2014-02-11 1:11 GMT+04:00 Ben West b...@gowasabi.net: Are short preambles not possible in adhoc, i.e. not allowed per 802.11 protocol spec, and/or does the mac80211 library itself perhaps enforce long preambles? Short preamble is prohibited per 802.11 standard in adhoc, and allowed in managed

Re: [OpenWrt-Devel] ar71xx / hang during early boot in kernel loader

2013-10-13 Thread Sergey Ryazanov
2013/10/13 Bastian Bittorf bitt...@bluebottle.com: * Sergey Ryazanov ryazanov@gmail.com [13.10.2013 12:29]: Can be easier to replace the hanging board instead of inventing workarounds for loader? Board hang has their causes. the board is ok, no need for replacing it. we have several 1000

Re: [OpenWrt-Devel] ar71xx / hang during early boot in kernel loader

2013-10-12 Thread Sergey Ryazanov
Hi Bastian, 2013/10/10 Bastian Bittorf bitt...@bluebottle.com: for doing a full reboot in this stage (i think) we have to call somehow 'machine_restart(args)' - but where can i find the board-specific code/headers? If you would a full reboot, then try to set AR71XX_RESET_FULL_CHIP bit in

Re: [OpenWrt-Devel] [PATCHv2][include] Reduce configuration file entropy

2013-05-28 Thread Sergey Ryazanov
Hello, just bump thread. Patch on review for three weeks. Any further comments/suggestions from maintainers? http://patchwork.openwrt.org/patch/3604/ 2013/5/3 Sergey Ryazanov ryazanov@gmail.com: Reducing entropy of configuration file, which is introduced by find utility, by applying

Re: [OpenWrt-Devel] Renaming a package during compilation

2013-05-18 Thread Sergey Ryazanov
2013/5/18 jonsm...@gmail.com jonsm...@gmail.com: So PKG_SOURCE_SUBDIR is not the feature I am looking for. I'm trying to figure out how to make my package name end up different that the name inside the source zip. In this case source zip has binutils-2.20.1a I want to name the project

Re: [OpenWrt-Devel] [PATCH][include] Reduce configuration file entropy

2013-05-03 Thread Sergey Ryazanov
2013/5/1 Matthias Buecher / Germany m...@maddes.net: - $(call FIND_L, $(SCAN_DIR)) $(SCAN_EXTRA) -mindepth 1 $(if $(SCAN_DEPTH),-maxdepth $(SCAN_DEPTH)) -name Makefile | xargs grep -HE 'call (Build/DefaultTargets|Build(Package|Target)|.+Package)' | sed -e

[OpenWrt-Devel] [PATCHv2][include] Reduce configuration file entropy

2013-05-03 Thread Sergey Ryazanov
-off-by: Sergey Ryazanov ryazanov@gmail.com --- I develop a custom firmware and I keep configuration file along with sources in repository. I was faced with following situation: after I modify the configuration by 'make menuconfig', some untouched configuration options could change its position

Re: [OpenWrt-Devel] Makefile and .config

2013-02-08 Thread Sergey Ryazanov
2013/2/8 Pietro Paolini p.paol...@genexis.nl: These variables are simply passed at the other makefiles in the subdirectory or there are other purpose of them ? Some of them used by building system (e.g. CONFIG_PACKAGE_foo), the rest of variables are used by particular package. Let's a

Re: [OpenWrt-Devel] Mikrotik RB411 Beeper control how-to?

2012-02-17 Thread Sergey Ryazanov
2012/2/16 Weedy weedy2...@gmail.com: On 14/02/12 05:51 AM, Sergey Ryazanov wrote: Hello, I create very specialized OpenWRT based firmware for RB411 and I have some difficulty with controlling board beeper to indicate device state. As I can understand from discussion RB411 how to drive user

<    1   2   3   4