[OpenWrt-Devel] [PATCH v5] kernel: lantiq: add support for SMP IRQ routing

2019-05-16 Thread Petr Cvek
Some lantiq SoCs have multiple VPE support but no support for the IRQ routing, so only the first VPE is receiving interrupts. This patch adds support for rerouting interrupts to the other VPE. Basically it expands the current ICU driver for the second controller, adds new address ranges to the devi

Re: [OpenWrt-Devel] [PATCH] libbsd: Fix compilation under ARC

2019-05-16 Thread Rosen Penev
On Fri, May 3, 2019 at 12:11 PM Rosen Penev wrote: > > > On Fri, May 3, 2019 at 11:55 AM, Petr Štetiar wrote: > > Rosen Penev [2019-05-03 10:49:54]: > > > On May 3, 2019, at 10:17, Petr Štetiar wrote: > > Rosen > > Penev [2019-05-01 10:04:45]: > >> The 8 year old file > > does not have any A

[OpenWrt-Devel] [PATCH] lua: lnum: fix strtoul based number parsing

2019-05-16 Thread Petr Štetiar
From: Liangbin Lian Lua's LNUM patch currently doesn't parse properly certain numbers as it's visible from the following simple tests. On x86_64 host (stock Lua 5.1.5, expected output): $ /usr/bin/lua -e 'print(0x8000); print(0x800); print(0x1)' 2147483648 879609302220

Re: [OpenWrt-Devel] [PATCH] mvebu: Add support for kernel 4.19

2019-05-16 Thread Marek Behun
On Thu, 16 May 2019 22:35:35 +0200 Tomasz Maciej Nowak wrote: > Hi Marek, > > W dniu 16.05.2019 o 20:38, Marek Behún pisze: > > Add support for kernel 4.19 to the mvebu target. > > > > This is the first version, unfortunately I only have Turris Omnia and > > Turris Mox to test this on, and Turr

Re: [OpenWrt-Devel] [PATCH] mvebu: Add support for kernel 4.19

2019-05-16 Thread Marek Behun
On Thu, 16 May 2019 22:35:35 +0200 Tomasz Maciej Nowak wrote: > What I would like to ask is if You've had also link training issues with PCIe > port > and particular Atheros/Qualcomm (AR3890, QCA9890) wifi cards on Turris MOX? > Which we > work around with these patches: > 527-PCI-aardvark-allo

Re: [OpenWrt-Devel] [PATCH] mvebu: Add support for kernel 4.19

2019-05-16 Thread Tomasz Maciej Nowak
Hi Marek, W dniu 16.05.2019 o 20:38, Marek Behún pisze: > Add support for kernel 4.19 to the mvebu target. > > This is the first version, unfortunately I only have Turris Omnia and > Turris Mox to test this on, and Turris Mox is not yet supported in these > patches. You beat me to it, but not on

Re: [OpenWrt-Devel] [PATCH] interface-ip: fix find locally addressable target for p2p

2019-05-16 Thread Tan Xiaofan
Hi, the email replace TAB with SPACE, so apply failed. So, I put the patch file in my server http://167.88.124.64/0001-interface-ip-fix-find-locally-addressable-target-for.patch > > Hi > > On Thu, May 16, 2019 at 5:09 PM Tan Xiaofan wrote: > > > > Hi, I add some explanation to the pa

[OpenWrt-Devel] 回复: [PATCH] interface-ip: fix find locally addressable target for p2p

2019-05-16 Thread Tan Xiaofan
Hi, this is a new patch >From 66c6e2d739daf60c3d4336b6ec8fe24334ee44eb Mon Sep 17 00:00:00 2001 From: xiaofan Date: Fri, 17 May 2019 01:15:11 +0800 Subject: [PATCH] interface-ip: fix find locally addressable target for p2p In case of tunnel over PPP(such as gretap over l2tp): tunnel interface us

Re: [OpenWrt-Devel] [PATCH] interface-ip: fix find locally addressable target for p2p

2019-05-16 Thread Hans Dedecker
Hi On Thu, May 16, 2019 at 5:09 PM Tan Xiaofan wrote: > > Hi, I add some explanation to the patch > > From 57007eef77f266e40640a2c76aabd56fd37553f7 Mon Sep 17 00:00:00 2001 > From: xiaofan > Date: Thu, 16 May 2019 21:12:47 +0800 > Subject: [PATCH] interface-ip: fix find locally addressable targe

[OpenWrt-Devel] 回复: [PATCH] interface-ip: fix find locally addressable target for p2p

2019-05-16 Thread Tan Xiaofan
Hi, I add some explanation to the patch From 57007eef77f266e40640a2c76aabd56fd37553f7 Mon Sep 17 00:00:00 2001 From: xiaofan Date: Thu, 16 May 2019 21:12:47 +0800 Subject: [PATCH] interface-ip: fix find locally addressable target for p2p In case of tunnel over PPP(such as gretap over l2tp): tunn

Re: [OpenWrt-Devel] [PATCH] interface-ip: fix find locally addressable target for p2p

2019-05-16 Thread Hans Dedecker
Hi, On Thu, May 16, 2019 at 4:01 PM Tan Xiaofan wrote: > > From d0e1cb81b45ec825199d499cda9c8daef94e13a5 Mon Sep 17 00:00:00 2001 > From: xiaofan > Date: Thu, 16 May 2019 21:12:47 +0800 > Subject: [PATCH] interface-ip: fix find locally addressable target for p2p The patch fails to explain why th

[OpenWrt-Devel] 回复: [PATCH] interface-ip: fix find locally addressable target for p2p

2019-05-16 Thread Tan Xiaofan
Fix code style From 5ab54a6b1fd4c4a721e66727a135b5c03051224e Mon Sep 17 00:00:00 2001 From: xiaofan Date: Thu, 16 May 2019 21:12:47 +0800 Subject: [PATCH] interface-ip: fix find locally addressable target for p2p Signed-off-by: xiaofan --- interface-ip.c | 3 +++ 1 file changed, 3 insertions(+

[OpenWrt-Devel] [PATCH] interface-ip: fix find locally addressable target for p2p

2019-05-16 Thread Tan Xiaofan
From d0e1cb81b45ec825199d499cda9c8daef94e13a5 Mon Sep 17 00:00:00 2001 From: xiaofan Date: Thu, 16 May 2019 21:12:47 +0800 Subject: [PATCH] interface-ip: fix find locally addressable target for p2p Signed-off-by: xiaofan --- interface-ip.c | 4 1 file changed, 4 insertions(+) diff --git a

[OpenWrt-Devel] [PATCH v3] ramips: Add support for ZBT WE826-E

2019-05-16 Thread Kristian Evensen
ZBT WE826-E is a dual-SIM version of the ZBT WE826. The router has the following specifications: - MT7620A (580 MHz) - 128MB RAM - 32MB of flash (SPI NOR) - 5x 10/100Mbps Ethernet (MT7620A built-in switch) - 1x microSD slot - 1x miniPCIe slot (only USB2.0 bus) - 2x SIM card slots (standard size) -

Re: [OpenWrt-Devel] [PATCH v2] ramips: Add support for ZBT WE826-E

2019-05-16 Thread Kristian Evensen
Hi, On Thu, May 16, 2019 at 3:17 PM Petr Štetiar wrote: > it's not mandatory, so you're not obliged to do so, but it makes me wonder if > it would be possible to generate factory image which could be flashed with the > same recovery mechanism, thus avoiding the -F in the sysupgrade above > (consi

Re: [OpenWrt-Devel] [PATCH v2] ramips: Add support for ZBT WE826-E

2019-05-16 Thread Petr Štetiar
Kristian Evensen [2019-05-16 15:02:31]: Hi, > The router ships with an older version of OpenWRT, but with a broken web > user interface. In order to install the image, you need to SSH into the > router and run sysupgrade. The default address of the router is > 192.168.1.1, user is root and passw

[OpenWrt-Devel] [PATCH v2] ramips: Add support for ZBT WE826-E

2019-05-16 Thread Kristian Evensen
ZBT WE826-E is a dual-SIM version of the ZBT WE826. The router has the following specifications: - MT7620A (580 MHz) - 128MB RAM - 32MB of flash (SPI NOR) - 5x 10/100Mbps Ethernet (MT7620A built-in switch) - 1x microSD slot - 1x miniPCIe slot (only USB2.0 bus) - 2x SIM card slots (standard size) -

Re: [OpenWrt-Devel] [PATCH 2/4] ipq40xx: fix sleep clock

2019-05-16 Thread Sven Eckelmann
On Tuesday, 14 May 2019 15:42:18 CEST Pavel Kubelun wrote: > +--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi > b/arch/arm/boot/dts/qcom-ipq4019.dtsi > +@@ -141,9 +141,9 @@ > + }; > + > + clocks { > +- sleep_clk: sleep_clk { > ++ sleep_clk: gcc_sleep_clk_src {

Re: [OpenWrt-Devel] [PATCH 2/4] ipq40xx: fix sleep clock

2019-05-16 Thread Павел
чт, 16 мая 2019 г., 13:05 Sven Eckelmann : > On Wednesday, 15 May 2019 19:16:51 CEST Павел wrote: > [...] > > > Is there any particular reason why > > > this > > > shouldn't be sent upstream and then backported to OpenWrt? > > > > > > > There are no reasons why it shouldn't be sent upstream along

Re: [OpenWrt-Devel] [PATCH 2/4] ipq40xx: fix sleep clock

2019-05-16 Thread Sven Eckelmann
On Wednesday, 15 May 2019 19:16:51 CEST Павел wrote: [...] > > Is there any particular reason why > > this > > shouldn't be sent upstream and then backported to OpenWrt? > > > > There are no reasons why it shouldn't be sent upstream along with other > patches. I hope to find someone with datasheet

Re: [OpenWrt-Devel] [PATCH v4] ramips: Add support for Head Weblink HDRM200

2019-05-16 Thread Petr Štetiar
Kristian Evensen [2019-05-16 10:19:59]: Hi, > On Wed, May 15, 2019 at 9:21 PM Petr Štetiar wrote: > > Thanks, I've merged it into my staging tree[1], but I had to fix one merge > > conflict in target.mk so please check it if I did it properly. > > Thanks and strange about the conflict + whites

Re: [OpenWrt-Devel] [PATCH v4] ramips: Add support for Head Weblink HDRM200

2019-05-16 Thread Kristian Evensen
Hi, On Wed, May 15, 2019 at 9:21 PM Petr Štetiar wrote: > Thanks, I've merged it into my staging tree[1], but I had to fix one merge > conflict in target.mk so please check it if I did it properly. Thanks and strange about the conflict + whitespace, as patch applies cleanly to master and checkpa