Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/4] Gemini forward-port to kernel v4.14

2018-05-05 Thread Roman Yeryomin
On 2018-05-05 16:35, Linus Walleij wrote: On Sat, May 5, 2018 at 11:25 AM, Linus Walleij wrote: On Fri, May 4, 2018 at 11:49 PM, Linus Walleij wrote: On Fri, May 4, 2018 at 11:37 PM, Roman Yeryomin wrote: The GPIO LEDs does not come up though? CONFIG_LEDS_GPIO is not in config, and /sys

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/4] Gemini forward-port to kernel v4.14

2018-05-05 Thread Roman Yeryomin
On 2018-05-05 17:32, Linus Walleij wrote: On Tue, May 1, 2018 at 8:44 PM, Roman Yeryomin wrote: Linus, if you have time, could you check if this helps to bring network up on dir-685? https://github.com/yeryomin/openwrt/commit/b0296b1f71bd3d677c931addd6de341203fbf18f Sadly not. At least not

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/4] Gemini forward-port to kernel v4.14

2018-05-04 Thread Roman Yeryomin
On 2018-05-04 20:15, Linus Walleij wrote: On Fri, May 4, 2018 at 5:26 PM, Roman Yeryomin wrote: [ 11.345619] kmodloader: 3 modules could not be probed [ 11.376633] kmodloader: dependency not loaded mbcache [ 11.407619] kmodloader: dependency not loaded jbd2 I think those should be

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/4] Gemini forward-port to kernel v4.14

2018-05-04 Thread Roman Yeryomin
On 2018-05-02 11:01, Linus Walleij wrote: There is some moaning in dmesg: [ 10.071561] Btrfs loaded, crc32c=crc32c-generic [ 10.105705] mbcache: exports duplicate symbol __mb_cache_entry_free (owned by kernel) [ 10.161586] jbd2: exports duplicate symbol jbd2__journal_restart (owned by ker

[LEDE-DEV] ipq40xx cpu frequency

2018-05-04 Thread Roman Yeryomin
Hi Christian, I'm seeing this [1.275858] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 632000 KHz [1.276620] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 716000 KHz on ap-dk01 board (I suspect others may be affected too, I don't have hw to test).

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/4] Gemini forward-port to kernel v4.14

2018-05-02 Thread Roman Yeryomin
On 2018-05-02 11:01, Linus Walleij wrote: On Wed, May 2, 2018 at 12:18 AM, Linus Walleij wrote: On Sun, Apr 29, 2018 at 8:32 PM, Roman Yeryomin wrote: Linus, could you test that branch on your device and see if network is working by default? I've pulled in the branch and building i

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/4] Gemini forward-port to kernel v4.14

2018-05-01 Thread Roman Yeryomin
On 2018-04-29 21:32, Roman Yeryomin wrote: On 2018-04-27 09:18, John Crispin wrote: On 17/04/18 00:34, Roman Yeryomin wrote: On 2018-04-15 20:22, Roman Yeryomin wrote: On 2018-04-14 20:36, Hans Ulli Kroll wrote: Hi Roman On Tue, 10 Apr 2018, Linus Walleij wrote: On Mon, Apr 9, 2018 at 12

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/4] Gemini forward-port to kernel v4.14

2018-04-29 Thread Roman Yeryomin
On 2018-04-27 09:18, John Crispin wrote: On 17/04/18 00:34, Roman Yeryomin wrote: On 2018-04-15 20:22, Roman Yeryomin wrote: On 2018-04-14 20:36, Hans Ulli Kroll wrote: Hi Roman On Tue, 10 Apr 2018, Linus Walleij wrote: On Mon, Apr 9, 2018 at 12:38 PM, Roman Yeryomin wrote: > I h

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/4] Gemini forward-port to kernel v4.14

2018-04-16 Thread Roman Yeryomin
On 2018-04-15 20:22, Roman Yeryomin wrote: On 2018-04-14 20:36, Hans Ulli Kroll wrote: Hi Roman On Tue, 10 Apr 2018, Linus Walleij wrote: On Mon, Apr 9, 2018 at 12:38 PM, Roman Yeryomin wrote: > I have tested them quickly yesterday on nas4220b board. Although I've > managed

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/4] Gemini forward-port to kernel v4.14

2018-04-16 Thread Roman Yeryomin
On 2018-04-17 00:36, Linus Walleij wrote: On Mon, Apr 16, 2018 at 2:00 AM, Roman Yeryomin wrote: Looking at your tree... I don't see any (affecting) differences in ethernet driver itself. Probably it's something else.. MDIO? After looking into ethernet I've found several

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/4] Gemini forward-port to kernel v4.14

2018-04-15 Thread Roman Yeryomin
On 2018-04-12 00:37, Roman Yeryomin wrote: On 2018-04-11 00:51, Linus Walleij wrote: On Mon, Apr 9, 2018 at 12:38 PM, Roman Yeryomin wrote: I have tested them quickly yesterday on nas4220b board. Although I've managed to boot it (had to fix rootfs image) ethernet and usb didn't

Re: [LEDE-DEV] [PATCH 0/4] Gemini forward-port to kernel v4.14

2018-04-15 Thread Roman Yeryomin
On 2018-04-14 20:36, Hans Ulli Kroll wrote: Hi Roman On Tue, 10 Apr 2018, Linus Walleij wrote: On Mon, Apr 9, 2018 at 12:38 PM, Roman Yeryomin wrote: > I have tested them quickly yesterday on nas4220b board. Although I've > managed to boot it (had to fix rootfs image) ether

Re: [LEDE-DEV] [PATCH 0/4] Gemini forward-port to kernel v4.14

2018-04-11 Thread Roman Yeryomin
On 2018-04-11 00:51, Linus Walleij wrote: On Mon, Apr 9, 2018 at 12:38 PM, Roman Yeryomin wrote: I have tested them quickly yesterday on nas4220b board. Although I've managed to boot it (had to fix rootfs image) ethernet and usb didn't work. And I didn't check anything els

Re: [LEDE-DEV] [OpenWrt-Devel] kernel version status

2018-04-09 Thread Roman Yeryomin
On 2018-04-01 17:48, Hauke Mehrtens wrote: The next OpenWrt release will use kernel 4.9 and kernel 4.14 depending on the target. All targets that are *not* on either kernel 4.9 or 4.14 will not be included in the next release. The following targets are on kernel 4.4 and will probably not be incl

Re: [LEDE-DEV] [PATCH 0/4] Gemini forward-port to kernel v4.14

2018-04-09 Thread Roman Yeryomin
On 2018-04-04 23:34, Linus Walleij wrote: This patch set forward-ports Gemini to v4.14 with as good support as I can get. I don't know if all or any patches actually make it through to the devel list. They are also posted here: https://dflund.se/~triad/krad/gemini/openwrt/ It would be nice if

[LEDE-DEV] [OpenWrt-Devel] [PATCH] ramips: mt7621: add Mediatek AP-MT7621A-V60 EVB support

2018-02-22 Thread Roman Yeryomin
interactive u-boot menu, interrupt with 2. After that sysupgrade. Tested both with 4.9 and 4.14 Signed-off-by: Roman Yeryomin --- .../linux/ramips/base-files/etc/board.d/02_network | 1 + .../ramips/base-files/lib/upgrade/platform.sh | 1 + target/linux/ramips/dts/AP-MT7621A-V60.dts

[LEDE-DEV] [OpenWrt-Devel] [PATCH] ramips: mt7621: fix usb init

2018-02-22 Thread Roman Yeryomin
In 4.14 reg-names is required to identify resources. Otherwise init fails with: [5.900501] xhci-mtk 1e1c.xhci: invalid resource [5.910499] xhci-mtk: probe of 1e1c.xhci failed with error -22 Signed-off-by: Roman Yeryomin --- target/linux/ramips/dts/mt7621.dtsi | 1 + 1 file

Re: [LEDE-DEV] [OpenWrt-Devel] kernel version status

2018-02-19 Thread Roman Yeryomin
On 2018-02-19 12:42, Karl Palsson wrote: Hauke Mehrtens wrote: The following targets are on kernel 4.4 and will probably not be included in the next release: * gemini This is a platform that upstream seems to be actually working on, would it not be at least polite to keep it alive while it's

Re: [LEDE-DEV] [PATCH] ag71xx: Add some unlikely calls + rearange some stuff in hard_start_xmit.

2018-02-19 Thread Roman Yeryomin
On 2018-02-15 13:29, Felix Fietkau wrote: On 2018-02-14 16:20, Rosen Penev wrote: On Tue, Feb 13, 2018 at 11:10 PM, Felix Fietkau wrote: On 2018-02-13 23:53, Rosen Penev wrote: Based on Qualcomm driver. Improves iperf3 throughput by ~20mbps on transmit on Archer C7v4. Signed-off-by: Rosen P

Re: [LEDE-DEV] [PATCH 1/2] procd/base-files: move init.d locking to rc.common

2018-01-25 Thread Roman Yeryomin
On 2018-01-18 10:30, John Crispin wrote: On 18/01/18 09:14, John Crispin wrote: rather than using flock for procd enabled services we add locking to the rc.common code. Signed-off-by: John Crispin --- package/base-files/files/etc/rc.common | 6 ++ package/system/procd/files/procd.sh

Re: [LEDE-DEV] [PATCH fstools] overlay: fix race condition when switching to jffs2

2018-01-07 Thread Roman Yeryomin
On 2018-01-03 22:54, Hauke Mehrtens wrote: On 12/15/2017 03:10 PM, 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

Re: [LEDE-DEV] [PATCH] base-files: rc.common: fix enable() return code and logic

2017-12-27 Thread Roman Yeryomin
On 2017-12-26 10:39, Karl Palsson wrote: Roman Yeryomin wrote: On 2017-12-21 21:35, Roman Yeryomin wrote: > In current state, if there is STOP but no START, enbale() > will return 0 (success), which is wrong. > Moreover there is no need to check for START/STOP twice. > Inst

Re: [LEDE-DEV] [PATCH] base-files: rc.common: fix enable() return code and logic

2017-12-22 Thread Roman Yeryomin
On 2017-12-21 21:35, Roman Yeryomin wrote: In current state, if there is STOP but no START, enbale() will return 0 (success), which is wrong. Moreover there is no need to check for START/STOP twice. Instead, add err variable to save success state and and return it's value. Also eliminat

[LEDE-DEV] [PATCH v2] base-files: rc.common: fix enable() return code and logic

2017-12-22 Thread Roman Yeryomin
27;, which will first delete the old symlink if one exists. Changes from v1: - fixed description Signed-off-by: Roman Yeryomin --- package/base-files/files/etc/rc.common | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/package/base-files/files/etc/rc.common

Re: [LEDE-DEV] [PATCH 1/3] busybox: enable flock by default

2017-12-21 Thread Roman Yeryomin
On 2017-12-18 20:47, Mathias Kresin wrote: 18.12.2017 10:48, Roman Yeryomin: On 2017-12-18 09:58, Mathias Kresin wrote: 17.12.2017 19:30, Roman Yeryomin: This is needed for procd init script protection to work. flock adds 4248 bytes to stripped busybox binary. Signed-off-by: Roman Yeryomin

[LEDE-DEV] [PATCH] base-files: rc.common: fix enable() return code and logic

2017-12-21 Thread Roman Yeryomin
27;, which will first delete the old symlink if one exists. Signed-off-by: Roman Yeryomin --- package/base-files/files/etc/rc.common | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/

Re: [LEDE-DEV] [PATCH 1/4] firmware: ath10k-firmware: update QCA4019 firmware to 10.4-3.2.1-00058

2017-12-21 Thread Roman Yeryomin
On 2017-12-20 23:35, Matthew McClintock wrote: On Tue, Nov 21, 2017 at 9:06 AM, Roman Yeryomin wrote: 2. the pre-cal-ahb-a80.wifi.bin and pre-cal-ahb-a00.wifi.bin don't get loaded or the pre-cal* data is shifted/trimmed/mangled/bad. For 2. you should check if the fir

Re: [LEDE-DEV] [PATCH 1/3] busybox: enable flock by default

2017-12-18 Thread Roman Yeryomin
On 2017-12-18 09:58, Mathias Kresin wrote: 17.12.2017 19:30, Roman Yeryomin: This is needed for procd init script protection to work. flock adds 4248 bytes to stripped busybox binary. Signed-off-by: Roman Yeryomin --- package/utils/busybox/Config-defaults.in | 2 +- 1 file changed, 1

[LEDE-DEV] [PATCH 1/3] busybox: enable flock by default

2017-12-17 Thread Roman Yeryomin
This is needed for procd init script protection to work. flock adds 4248 bytes to stripped busybox binary. Signed-off-by: Roman Yeryomin --- package/utils/busybox/Config-defaults.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/utils/busybox/Config-defaults.in b

[LEDE-DEV] [PATCH fstools] overlay: fix race condition when switching to jffs2

2017-12-15 Thread Roman Yeryomin
x27;t completely solve the problem but since there was no other fix provided since original RFC [1], it is better than nothiing. [1] https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg38218.html Signed-off-by: Roman Yeryomin --- libfstools/overlay.c | 4 1 file changed, 4 insertions(+)

[LEDE-DEV] [PATCH 3/3] base-files: protect stop and reload actions with procd_lock

2017-12-14 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin Signed-off-by: Andrejs Hanins --- package/base-files/files/etc/rc.common | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common index a2ea6a5679..89ad187c3c 100755 --- a/package/base

[LEDE-DEV] [PATCH 1/3] busybox: enable flock by default

2017-12-14 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- package/utils/busybox/Config-defaults.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/utils/busybox/Config-defaults.in b/package/utils/busybox/Config-defaults.in index 2a8d9dd397..6fc5093055 100644 --- a/package/utils/busybox

[LEDE-DEV] [PATCH 2/3] procd: introduce procd_lock for init script protection

2017-12-14 Thread Roman Yeryomin
Use flock to protect init script from concurrent execution (of the same script). Important for services which generate native config files. Signed-off-by: Roman Yeryomin Signed-off-by: Andrejs Hanins --- package/system/procd/files/procd.sh | 15 +++ 1 file changed, 15 insertions

[LEDE-DEV] [PATCH 0/3] protect init scripts from races

2017-12-14 Thread Roman Yeryomin
generate native config files. Thus, instead of fixing every init script separately, we can fix this race in procd/base-files for everyone, using flock. [1] https://dev.openwrt.org/ticket/19205 [2] 712b6fdc5c1d56287e1f4eae5724590b241b5674 Roman Yeryomin (3): busybox: enable flock by default procd

Re: [LEDE-DEV] [PATCH] base-files: uci-defaults: do config flush in one shot

2017-12-14 Thread Roman Yeryomin
On 2017-12-12 13:41, John Crispin wrote: On 12/12/17 12:37, Felix Fietkau wrote: On 2017-12-12 11:19, John Crispin wrote: On 02/12/17 00:26, Roman Yeryomin wrote: Moving a file between tmpfs and other fs is neither faster nor safer, thus no point in doing it in two steps. Signed-off-by

Re: [LEDE-DEV] [PATCH 1/7] ag71xx: Reorder some more structs based on warmth.

2017-12-08 Thread Roman Yeryomin
On 2017-12-08 04:37, Rosen Penev wrote: Should help slightly. Hi, Rosen, did you actually see any measurable improvements when applying these? I was playing with these QCA changes back in 4.1 times and didn't see any improvement. When there are several patches it would be better to include

Re: [LEDE-DEV] [PATCH] base-files: config_generate: keep ipv6 interface in sync

2017-12-05 Thread Roman Yeryomin
On 2017-12-05 21:52, Hans Dedecker wrote: On Tue, Dec 5, 2017 at 5:22 PM, Roman Yeryomin wrote: It's better not to configure ifname separately since they are tied together. Signed-off-by: Roman Yeryomin --- package/base-files/files/bin/config_generate | 2 +- 1 file changed, 1 inse

[LEDE-DEV] [PATCH v3] base-files: expand ucidef_set_interface_raw to allow custom configuration

2017-12-05 Thread Roman Yeryomin
users Signed-off-by: Roman Yeryomin --- .../base-files/files/lib/functions/uci-defaults.sh | 23 +- .../linux/ar71xx/base-files/etc/board.d/02_network | 4 ++-- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/package/base-files/files/lib/functions/uci-defaults.sh

[LEDE-DEV] [PATCH] base-files: config_generate: keep ipv6 interface in sync

2017-12-05 Thread Roman Yeryomin
It's better not to configure ifname separately since they are tied together. Signed-off-by: Roman Yeryomin --- package/base-files/files/bin/config_generate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/bin/config_generate b/package/base-

[LEDE-DEV] [PATCH] base-files: uci-defaults: do config flush in one shot

2017-12-01 Thread Roman Yeryomin
Moving a file between tmpfs and other fs is neither faster nor safer, thus no point in doing it in two steps. Signed-off-by: Roman Yeryomin --- package/base-files/files/lib/functions/uci-defaults.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/base-files/files

[LEDE-DEV] [PATCH v2] base-files: expand ucidef_set_interface_raw to allow custom configuration

2017-12-01 Thread Roman Yeryomin
This allows custom config generation. E.g. setting lan adrress from eeprom or random address (so that routers can be chained by default) or configuring a fully custom interface. Changes from v1: - fix protocol option name for users Signed-off-by: Roman Yeryomin --- .../base-files/files/lib

[LEDE-DEV] [PATCH] packages: dnsmasq: remove unused stamp file

2017-12-01 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- package/network/services/dnsmasq/files/dnsmasq.init | 4 1 file changed, 4 deletions(-) diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 2fd56ed4ab..8c40f3b59a 100644 --- a

[LEDE-DEV] [PATCH] base-files: expand ucidef_set_interface_raw to allow custom configuration

2017-11-30 Thread Roman Yeryomin
This allows custom config generation. E.g. setting lan adrress from eeprom or random address (so that routers can be chained by default) or configuring a fully custom interface. Signed-off-by: Roman Yeryomin --- .../base-files/files/lib/functions/uci-defaults.sh | 26

Re: [LEDE-DEV] [PATCH rpcd v3] sys: fix passwd path

2017-11-26 Thread Roman Yeryomin
On 2017-11-26 19:50, Arjen de Korte wrote: Citeren Roman Yeryomin : Changes from v2: - const both to pointer and char itself, so nothing can be modified The first const may be useful to prevent changes to the pointer, but the second is nonsense. You won't be able to modify the stri

[LEDE-DEV] [PATCH rpcd v3] sys: fix passwd path

2017-11-26 Thread Roman Yeryomin
Changes from v2: - const both to pointer and char itself, so nothing can be modified Signed-off-by: Roman Yeryomin --- sys.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys.c b/sys.c index 40f49ca..122191b 100644 --- a/sys.c +++ b/sys.c @@ -78,6 +78,7

Re: [LEDE-DEV] [PATCH rpcd v2] sys: fix passwd path

2017-11-26 Thread Roman Yeryomin
On 2017-11-26 17:39, Daniel Golle wrote: Hi Roman, On Sun, Nov 26, 2017 at 12:02:14PM +0200, Roman Yeryomin wrote: Changes from v1: - use pointer to reduce compile size Signed-off-by: Roman Yeryomin --- sys.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys.c b

[LEDE-DEV] [PATCH rpcd v2] sys: fix passwd path

2017-11-26 Thread Roman Yeryomin
Changes from v1: - use pointer to reduce compile size Signed-off-by: Roman Yeryomin --- sys.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys.c b/sys.c index 40f49ca..122191b 100644 --- a/sys.c +++ b/sys.c @@ -78,6 +78,7 @@ rpc_cgi_password_set(struct ubus_context

[LEDE-DEV] [PATCH rpcd] sys: fix passwd path

2017-11-25 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- sys.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys.c b/sys.c index 40f49ca..8756dcc 100644 --- a/sys.c +++ b/sys.c @@ -78,6 +78,7 @@ rpc_cgi_password_set(struct ubus_context *ctx, struct ubus_object *obj, struct blob_attr

Re: [LEDE-DEV] [PATCH 1/4] firmware: ath10k-firmware: update QCA4019 firmware to 10.4-3.2.1-00058

2017-11-21 Thread Roman Yeryomin
On 2017-11-21 01:13, Matthew McClintock wrote: I think it's complaining that it can't find the right board info from the board-2.bin file which is just multiple board files wrapped up together? [ 233.761660] ath10k_ahb a00.wifi: failed to fetch board data for bus=ahb,vendor=,device=00

[LEDE-DEV] [PATCH] ipq806x: ipq4019: enable usb phy

2017-11-16 Thread Roman Yeryomin
Run tested on ap-dk01.2-c1 Signed-off-by: Roman Yeryomin --- target/linux/ipq806x/config-4.9 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ipq806x/config-4.9 b/target/linux/ipq806x/config-4.9 index a2dd40272e..bca4264c8f 100644 --- a/target/linux/ipq806x

Re: [LEDE-DEV] LEDE version numbers?

2017-11-07 Thread Roman Yeryomin
On 2017-11-07 22:17, Matthias Schiffer wrote: On 11/07/2017 06:20 PM, Bjørn Mork wrote: Matthias Schiffer writes: Fixing our revision numbering to include the branch name to make this more or less unambiguous is the intent of the two patches I linked. The commit ID should still be included

[LEDE-DEV] [PATCH v3] ipq806x: ipq4019: add ap-dk01.1-c1 board support

2017-10-29 Thread Roman Yeryomin
: http://lists.infradead.org/pipermail/lede-dev/2017-October/009596.html - precise reserved memory mapping - more precise description - compatible string Signed-off-by: Roman Yeryomin --- .../etc/hotplug.d/firmware/11-ath10k-caldata | 6 ++ target/linux/ipq806x/base-files/lib/ipq806x.sh

[LEDE-DEV] [PATCH 8/8] ipq806x: ipq4019: dts: fix maximum cpu speed

2017-10-29 Thread Roman Yeryomin
Supported frequencies of all ipq40xx chips are 48, 200, 500 and 716.8 MHz. Previous 666MHz setting was most likely related to instability of early chips/boards made before mass production. Signed-off-by: Roman Yeryomin --- .../files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts | 9

[LEDE-DEV] [PATCH 7/8] ipq806x: ipq4019: dts: remove spi chip node from ap-dk01 dtsi

2017-10-29 Thread Roman Yeryomin
All ap-dk01 boards have different spi chips, thus no point in keeping it in dtsi. Signed-off-by: Roman Yeryomin --- .../arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts| 6 -- .../arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts | 8 .../arch/arm/boot/dts/qcom-ipq4019-rt

[LEDE-DEV] [PATCH 6/8] ipq806x: ipq4019: dts: move ap-dk01 networking entries to dtsi

2017-10-29 Thread Roman Yeryomin
That is mdio/ethernet and wifi are present on all ap-dk01 boards. Signed-off-by: Roman Yeryomin --- .../arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts | 20 -- .../arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts | 24 .../arch/arm/boot/dts/qcom-ipq4019-rt-ac58u.dts

[LEDE-DEV] [PATCH 5/8] ipq806x: ipq4019: dts: remove counter entry from ap-dk01 boards

2017-10-29 Thread Roman Yeryomin
There is no code implementing "qcom,qca-gcnt", so no point in keeping it. Signed-off-by: Roman Yeryomin --- .../ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts | 5 - .../ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts | 5 - .../ipq806x/file

[LEDE-DEV] [PATCH 4/8] ipq806x: ipq4019: dts: move ap-dk01 tcsr nodes to dtsi

2017-10-29 Thread Roman Yeryomin
tcsr configuration is the same for all ap-dk01 boards Signed-off-by: Roman Yeryomin --- .../arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts | 28 --- .../arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts | 28 --- .../arch/arm/boot/dts/qcom-ipq4019-rt-ac58u.dts| 29

[LEDE-DEV] [PATCH 3/8] ipq806x: ipq4019: dts: remove crypto nodes from board dts

2017-10-29 Thread Roman Yeryomin
crypto and cryptobam are already present in dtsi used by these boards: - fritz4040 - nbg6617 - rt-ac58u Signed-off-by: Roman Yeryomin --- .../files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts| 8 .../ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts | 8

[LEDE-DEV] [PATCH 1/8] ipq806x: ipq4019: dts: fix pinctrl node name

2017-10-29 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- .../arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts | 2 +- ...-v3-1-2-dts-ipq4019-Fix-pinctrl-node-name.patch | 44 ++ ...dts-ipq4019-ap-dk04-fix-pinctrl-node-name.patch | 11 ++ 3 files changed, 56 insertions(+), 1 deletion(-) create

[LEDE-DEV] [PATCH 2/8] ipq806x: ipq4019: dts: move xo and timer nodes to SoC dtsi

2017-10-29 Thread Roman Yeryomin
xo and timer are common thing and it makes more sense to keep them in SoC dtsi Signed-off-by: Roman Yeryomin --- ...q4019-Move-xo-and-timer-nodes-to-SoC-dtsi.patch | 78 ++ ...ipq4019-ap-dk04-remove-xo-and-timer-nodes.patch | 27 2 files changed, 105 insertions

[LEDE-DEV] [PATCH 0/8] ipq806x: ipq4019: rework/cleanup dts(i)

2017-10-29 Thread Roman Yeryomin
from ap-dk01 boards (no code implemented) - move ap-dk01 networking entries to dtsi (common) - remove spi chip node from ap-dk01 dtsi (not common) - fix maximum cpu speed (all ipq40xx chips can run @716.8MHz) Roman Yeryomin (8): ipq806x: ipq4019: dts: fix pinctrl node name ipq806x: ipq4019

Re: [LEDE-DEV] [PATCH v2] ipq806x: add ap.dk01.1 board support

2017-10-23 Thread Roman Yeryomin
On 2017-10-16 23:30, Christian Lamparter wrote: On Monday, October 16, 2017 10:10:52 PM CEST Roman Yeryomin wrote: On 2017-10-16 20:32, Christian Lamparter wrote: > Added John, maybe he has more comments. (This time with the right mail address - sorry) >> Changes: >> -

Re: [LEDE-DEV] [PATCH v2] ipq806x: add ap.dk01.1 board support

2017-10-17 Thread Roman Yeryomin
On 2017-10-16 23:30, Christian Lamparter wrote: > Lede-dev@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/lede-dev Why do I receive emails two times? One with this signature ^^^ and another without? Probably because, I hit "reply all"? But this is a mailing-list! If you are

Re: [LEDE-DEV] [PATCH v2] ipq806x: add ap.dk01.1 board support

2017-10-16 Thread Roman Yeryomin
On 2017-10-16 20:32, Christian Lamparter wrote: Added John, maybe he has more comments. On Monday, October 16, 2017 5:04:19 PM CEST Roman Yeryomin wrote: AP.DK01.1 is QCA dev board with: - ipq4028 (quad core ARM @710MHz, 2x2 dual an+ac radios) ^^ might not be

[LEDE-DEV] [PATCH v2] ipq806x: add ap.dk01.1 board support

2017-10-16 Thread Roman Yeryomin
interrupts over different cores. Wifi needs love -- too slow. Could be that latest ath10k helps, didn't test yet. Changes since v1: - add hw description and install instruction Signed-off-by: Roman Yeryomin --- .../etc/hotplug.d/firmware/11-ath10k-caldata | 6 ++ target/linux/ipq806x

[LEDE-DEV] [PATCH] ipq806x: add ap.dk01.1 board support

2017-10-15 Thread Roman Yeryomin
ath10k helps, didn't test yet. Signed-off-by: Roman Yeryomin --- .../etc/hotplug.d/firmware/11-ath10k-caldata | 6 ++ target/linux/ipq806x/base-files/lib/ipq806x.sh | 3 + target/linux/ipq806x/image/Makefile| 18 - ...s-ipq4019-ap.dk01.1-add-256MB-memory-node.

Re: [LEDE-DEV] [OpenWrt-Devel] LEDE call for vote on remerge proposal V3

2017-09-20 Thread Roman Yeryomin
On 19 September 2017 at 18:22, Zoltan HERPAI wrote: > Hi John, > > On Tue, 19 Sep 2017, John Crispin wrote: > >> Hi Zoltan, >> >> actually its been 29 days since the domain transfer had been completed and >> ownership has been set properly. >> >> i already had a chat with some devs last week about

Re: [LEDE-DEV] [PATCH 5/5] rb532: add myself as maintainer

2017-09-18 Thread Roman Yeryomin
On 18 September 2017 at 12:27, Stijn Tintel wrote: > On 17-09-17 21:35, Roman Yeryomin wrote: >> Signed-off-by: Roman Yeryomin >> --- > > Hi Roman, > > I have merged your series in my staging tree, but the commit author > doesn't match the SoB line. Do you

[LEDE-DEV] [PATCH] ramips: mt7621: add MT29F2G08ABAE NAND flash support

2017-09-17 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- target/linux/ramips/patches-4.9/0039-mtd-add-mt7621-nand-support.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/patches-4.9/0039-mtd-add-mt7621-nand-support.patch b/target/linux/ramips/patches-4.9/0039-mtd-add

[LEDE-DEV] [PATCH 5/5] rb532: add myself as maintainer

2017-09-17 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- target/linux/rb532/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/rb532/Makefile b/target/linux/rb532/Makefile index 3a8eec6..7979bb4 100644 --- a/target/linux/rb532/Makefile +++ b/target/linux/rb532/Makefile @@ -10,6 +10,7 @@ ARCH

[LEDE-DEV] [PATCH 4/5] rb532: switch to 4.9

2017-09-17 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- target/linux/rb532/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/rb532/Makefile b/target/linux/rb532/Makefile index e95524a..3a8eec6 100644 --- a/target/linux/rb532/Makefile +++ b/target/linux/rb532/Makefile @@ -11,7

[LEDE-DEV] [PATCH 3/5] rb532: add support for 4.9 (including latest korina fixes)

2017-09-17 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- target/linux/rb532/config-4.9 | 185 + .../linux/rb532/patches-4.9/001-cmdline_hack.patch | 20 +++ .../patches-4.9/004-rb532-fix-partition-info.patch | 17 ++ ...e-rx-overflow-and-tx-underflow-interrupts.patch | 156

[LEDE-DEV] [PATCH 2/5] rb532: set lan interface type to brigde

2017-09-17 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- target/linux/rb532/base-files/etc/config/network | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/rb532/base-files/etc/config/network b/target/linux/rb532/base-files/etc/config/network index 75a14a7..c689d63 100644 --- a/target/linux/rb532/base

[LEDE-DEV] [PATCH 1/5] rb532: increase kernel size limit (prepare for 4.9)

2017-09-17 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- target/linux/rb532/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/rb532/image/Makefile b/target/linux/rb532/image/Makefile index 06255c6..12265fe 100644 --- a/target/linux/rb532/image/Makefile +++ b/target/linux

Re: [LEDE-DEV] [PATCH v2 2/3] base-files: put board_name into separate file

2017-05-18 Thread Roman Yeryomin
On 18 May 2017 at 01:05, Mathias Kresin wrote: > 17.05.2017 21:08, Roman Yeryomin: >> >> On 17 May 2017 at 21:39, Roman Yeryomin wrote: >>> >>> On 17 May 2017 at 16:19, Mathias Kresin wrote: >>>> >>>> Hey Roman., >>>> &

Re: [LEDE-DEV] [PATCH v2 2/3] base-files: put board_name into separate file

2017-05-17 Thread Roman Yeryomin
On 17 May 2017 at 21:39, Roman Yeryomin wrote: > On 17 May 2017 at 16:19, Mathias Kresin wrote: >> Hey Roman., >> >> independent of the work done by you, I worked on exactly the same >> topic. But I've pushed it a bit further by switching all targets to >>

Re: [LEDE-DEV] [PATCH v2 2/3] base-files: put board_name into separate file

2017-05-17 Thread Roman Yeryomin
. You can find the changes at > https://git.lede-project.org/?p=lede/mkresin/staging.git;a=shortlog;h=refs/heads/boarddetection. > What is missing: testing! > > 2017-05-17 13:49 GMT+02:00 Roman Yeryomin : >> Hi John, >> >> the reasoning is that most scripts which need board_n

Re: [LEDE-DEV] [PATCH v2 3/3] ipq806x: migrate to generic board detect infrastructure

2017-05-17 Thread Roman Yeryomin
On 16 May 2017 at 13:33, John Crispin wrote: > > > On 09/05/17 11:17, Roman Yeryomin wrote: >> >> Signed-off-by: Roman Yeryomin >> --- >> .../linux/ipq806x/base-files/etc/board.d/01_leds | 4 +- >> .../ipq806x/base-files/etc/board.d/02_network

Re: [LEDE-DEV] [PATCH v2 2/3] base-files: put board_name into separate file

2017-05-17 Thread Roman Yeryomin
ing this function to its own file ? > > John > > > > On 09/05/17 11:17, Roman Yeryomin wrote: >> >> Signed-off-by: Roman Yeryomin >> --- >> package/base-files/files/lib/functions.sh | 4 +--- >> package/base-files/files/lib/function

Re: [LEDE-DEV] [PATCH v2 1/3] base-files: add/convert generic board detection scripts

2017-05-09 Thread Roman Yeryomin
On 9 May 2017 at 12:51, Piotr Dymacz wrote: > Hello Roman, Hi > Your mail addresses in from header and in SoB line don't match. is that a problem? > Also, some questions inline, below. > > > On 09.05.2017 11:16, Roman Yeryomin wrote: >> >> Signed-off-by:

[LEDE-DEV] [PATCH v2 2/3] base-files: put board_name into separate file

2017-05-09 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- package/base-files/files/lib/functions.sh | 4 +--- package/base-files/files/lib/functions/board.sh | 6 ++ 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 package/base-files/files/lib/functions/board.sh diff --git a/package/base

[LEDE-DEV] [PATCH v2 1/3] base-files: add/convert generic board detection scripts

2017-05-09 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- package/base-files/files/lib/board_detect.sh | 9 + package/base-files/files/lib/preinit/03_preinit_board_detect | 11 +++ package/base-files/files/lib/preinit/10_sysinfo | 10 -- 3 files changed, 20

[LEDE-DEV] [PATCH v2 3/3] ipq806x: migrate to generic board detect infrastructure

2017-05-09 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- .../linux/ipq806x/base-files/etc/board.d/01_leds | 4 +- .../ipq806x/base-files/etc/board.d/02_network | 4 +- target/linux/ipq806x/base-files/etc/diag.sh| 13 +++- .../etc/hotplug.d/firmware/11-ath10k-caldata | 3 +- .../etc/hotplug.d

[LEDE-DEV] [PATCH v2 0/3] generalize board detection

2017-05-09 Thread Roman Yeryomin
This provides non intrusive way to generalize board detection. ipq806x target is migrated as example (tested on Netgear R7800). Changes from v1: - convert /lib/preinit/10_sysinfo into default /lib/board_detect.sh - nuke include_file, sysinfo and board_model functions Roman Yeryomin (3): base

Re: [LEDE-DEV] [PATCH 1/5] base-files: introduce /lib/functions/board.sh

2017-05-03 Thread Roman Yeryomin
On 3 May 2017 at 13:38, Felix Fietkau wrote: > On 2017-05-03 12:15, Roman Yeryomin wrote: >>>> Simply including a big >>>> functions.sh doesn't say anything and IMO can only be a workaround, >>>> when you don't know what you need. But even now

Re: [LEDE-DEV] [PATCH 1/5] base-files: introduce /lib/functions/board.sh

2017-05-03 Thread Roman Yeryomin
On 2 May 2017 at 21:47, Felix Fietkau wrote: > On 2017-05-02 20:31, Roman Yeryomin wrote: >> On 2 May 2017 at 20:46, Felix Fietkau wrote: >>> On 2017-05-02 19:32, Roman Yeryomin wrote: >>>> I just want to save maintenance time. As you admit it's already a &g

Re: [LEDE-DEV] [PATCH 1/5] base-files: introduce /lib/functions/board.sh

2017-05-02 Thread Roman Yeryomin
On 2 May 2017 at 20:46, Felix Fietkau wrote: > On 2017-05-02 19:32, Roman Yeryomin wrote: >> I just want to save maintenance time. As you admit it's already a >> clutter. I'm trying to introduce some order. >> Actually uci-defaults is another one which doesn't

Re: [LEDE-DEV] [PATCH 1/5] base-files: introduce /lib/functions/board.sh

2017-05-02 Thread Roman Yeryomin
On 2 May 2017 at 19:18, Felix Fietkau wrote: > On 2017-05-02 17:53, Roman Yeryomin wrote: >> On 2 May 2017 at 10:25, Felix Fietkau wrote: >>> board_name already exists, and I've already converted e.g. the lantiq >>> target to use it directly from functions

Re: [LEDE-DEV] [PATCH 1/5] base-files: introduce /lib/functions/board.sh

2017-05-02 Thread Roman Yeryomin
On 2 May 2017 at 10:25, Felix Fietkau wrote: > On 2017-05-02 00:50, Roman Yeryomin wrote: >> On 30 April 2017 at 12:46, Felix Fietkau wrote: >>> On 2017-04-28 22:51, Roman Yeryomin wrote: >>>> On 28 April 2017 at 20:12, Felix Fietkau wrote: >>>>&

Re: [LEDE-DEV] [PATCH 4/5] base-files: add generic board detection preinit script

2017-05-01 Thread Roman Yeryomin
On 30 April 2017 at 12:53, Felix Fietkau wrote: > On 2017-04-28 14:57, Roman Yeryomin wrote: >> Signed-off-by: Roman Yeryomin >> --- >> package/base-files/files/lib/preinit/03_preinit_board_detect | 11 >> +++ >> 1 file changed, 11 insertions(+) >&g

Re: [LEDE-DEV] [PATCH 1/5] base-files: introduce /lib/functions/board.sh

2017-05-01 Thread Roman Yeryomin
On 30 April 2017 at 12:46, Felix Fietkau wrote: > On 2017-04-28 22:51, Roman Yeryomin wrote: >> On 28 April 2017 at 20:12, Felix Fietkau wrote: >>> On 2017-04-28 14:56, Roman Yeryomin wrote: >>>> Signed-off-by: Roman Yeryomin >>>> --- >>>>

Re: [LEDE-DEV] [PATCH 1/5] base-files: introduce /lib/functions/board.sh

2017-05-01 Thread Roman Yeryomin
On 30 April 2017 at 12:44, Felix Fietkau wrote: > On 2017-04-30 11:23, Bastian Bittorf wrote: >> * Felix Fietkau [30.04.2017 09:30]: >>> > +board_name() >>> > +{ >>> > + sysinfo board_name >>> > +} >>> > + >>> > +board_model() >>> > +{ >>> > + sysinfo model >>> > +} >> >>> Do we really need boa

Re: [LEDE-DEV] [PATCH 1/5] base-files: introduce /lib/functions/board.sh

2017-04-28 Thread Roman Yeryomin
On 28 April 2017 at 20:12, Felix Fietkau wrote: > On 2017-04-28 14:56, Roman Yeryomin wrote: >> Signed-off-by: Roman Yeryomin >> --- >> package/base-files/files/lib/functions/board.sh | 17 + >> 1 file changed, 17 insertions(+) >> create mode 10

Re: [LEDE-DEV] rb532 / install to NAND

2017-04-28 Thread Roman Yeryomin
On 20 April 2017 at 12:15, Bastian Bittorf wrote: > i'am having problems getting NAND to work. > i can boot r3979 from compact flash without problems and do: > > # sysupgrade -n lede-rb532-nand-squashfs-sysupgrade.bin > (and hope it writes to nand, so i can remove the CF-card) > > it looks good so

[LEDE-DEV] [PATCH 4/5] base-files: add generic board detection preinit script

2017-04-28 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- package/base-files/files/lib/preinit/03_preinit_board_detect | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 package/base-files/files/lib/preinit/03_preinit_board_detect diff --git a/package/base-files/files/lib/preinit

[LEDE-DEV] [PATCH 5/5] ipq806x: migrate to generic board detect infrastructure

2017-04-28 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- .../linux/ipq806x/base-files/etc/board.d/01_leds | 4 +- .../ipq806x/base-files/etc/board.d/02_network | 4 +- target/linux/ipq806x/base-files/etc/diag.sh| 13 +++- .../etc/hotplug.d/firmware/11-ath10k-caldata | 3 +- .../etc/hotplug.d

[LEDE-DEV] [PATCH 2/5] base-files: functions.sh: use board functions from board.sh

2017-04-28 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- package/base-files/files/lib/functions.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh index 2b6415a..2aaafcf 100755 --- a/package/base-files/files

[LEDE-DEV] [PATCH 1/5] base-files: introduce /lib/functions/board.sh

2017-04-28 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- package/base-files/files/lib/functions/board.sh | 17 + 1 file changed, 17 insertions(+) create mode 100644 package/base-files/files/lib/functions/board.sh diff --git a/package/base-files/files/lib/functions/board.sh b/package/base-files/files

[LEDE-DEV] [PATCH 3/5] base-files: functions.sh: add include_file()

2017-04-28 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- package/base-files/files/lib/functions.sh | 4 1 file changed, 4 insertions(+) diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh index 2aaafcf..da47c30 100755 --- a/package/base-files/files/lib/functions.sh

[LEDE-DEV] [PATCH 0/5] generalize board detection

2017-04-28 Thread Roman Yeryomin
This provides non intrusive way to generalize board detection. ipq806x target is migrated as example (tested on Netgear R7800). Roman Yeryomin (5): base-files: introduce /lib/functions/board.sh base-files: functions.sh: use board functions from board.sh base-files: functions.sh: add

  1   2   >