Re: [OpenWrt-Devel] [PATCH] ath79: Add support of Tp_Link MR-3040 v2

2018-08-13 Thread Dmitry Tunin
13.08.2018 19:34, Mathias Kresin пишет: 2018-08-13 18:28 GMT+02:00 Dmitry Tunin : Add support for the ar71xx supported Tp_link MR-3040 v2 to ath79. Signed-off-by: Dmitry Tunin --- .../linux/ath79/base-files/etc/board.d/02_network | 1 + .../linux/ath79/dts/ar9331_tplink_tl-mr3040-v2

[OpenWrt-Devel] [PATCH] ath79: Add support of Tp_Link MR-3040 v2

2018-08-13 Thread Dmitry Tunin
Add support for the ar71xx supported Tp_link MR-3040 v2 to ath79. Signed-off-by: Dmitry Tunin --- .../linux/ath79/base-files/etc/board.d/02_network | 1 + .../linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts | 161 + target/linux/ath79/image/tiny-tp-link.mk | 10

Re: [OpenWrt-Devel] [PATCH] ath79: Add support of Tp_Link MR-3040 v2

2018-08-13 Thread Dmitry Tunin
13.08.2018 19:34, Mathias Kresin пишет: 2018-08-13 18:28 GMT+02:00 Dmitry Tunin : Add support for the ar71xx supported Tp_link MR-3040 v2 to ath79. Signed-off-by: Dmitry Tunin --- .../linux/ath79/base-files/etc/board.d/02_network | 1 + .../linux/ath79/dts/ar9331_tplink_tl-mr3040-v2

[OpenWrt-Devel] [PATCH] ath79: ar71xx create a separate driver for ar71xx pci interrupt controller.

2018-08-21 Thread Dmitry Tunin
It is based on Chuanhong Guo work. PCI interrupt controller is not part of PCI. It is a part of reset controller with 0x18060018, 0x1806001c control registers. This should fix a bug with one IRQ for all PCI devices and also handle the PCI_CORE interrupt. I am not sure that this kind of

Re: [OpenWrt-Devel] [PATCH] ath79: ar71xx create a separate driver for ar71xx pci interrupt controller.

2018-08-21 Thread Dmitry Tunin
> > This should fix a bug with one IRQ for all PCI devices and also handle the > > PCI_CORE interrupt. > No it doesn't. Assigning it in dts doesn't mean that we "handled" it. > But I still like this patch because it's doing a cleanup of the messy code. I am still not very competent in the IRQ

Re: [OpenWrt-Devel] [PATCH] ath79: ar71xx create a separate driver for ar71xx pci interrupt controller.

2018-08-21 Thread Dmitry Tunin
> > They are similar. I used that code as an example, but the > > irq-ath79-pci has your mask/unmask for pci with reading the registers. > > It is possible to make one driver for both, but is it really needed? > It helps reducing code duplication. If we completely drop that PCI_CORE IRQ that we

Re: [OpenWrt-Devel] [PATCH] ath79: ar71xx create a separate driver for ar71xx pci interrupt controller.

2018-08-22 Thread Dmitry Tunin
_IRQ_COUNT. We don't need that huge domain. According to spec the misc controller has 8 IRQs and the PCI has actually 4, but we need 5 to be linear. So 8 will be enough for both. But it must be another patch. ср, 22 авг. 2018 г. в 10:11, Chuanhong Guo : > > Dmitry Tunin 于2018年

[OpenWrt-Devel] [PATCH] ath79: ar7100: remove IRQ code from PCI driver

2018-08-22 Thread Dmitry Tunin
IRQ handling code from the PCI driver. 2. Defines pci-intc interrupt controller@18060018 in dtsi. 3. Removes interrupt-controller property from PCI node. 4. Sets a correct interrupt mask for PCI devices. Run tested on DIR-825 B1. Signed-off-by: Dmitry Tunin --- target/linux/ath79/dts/ar7100.dtsi

Re: [OpenWrt-Devel] [PATCH] ath79: ar7100: remove IRQ code from PCI driver

2018-08-22 Thread Dmitry Tunin
> we need a comparable patch for ar724x, right ? and then these 2 patches > obsolete the PR on github ? > > John Frankly speaking I didn't look into ar724x code. It has a PCIE, not a PCI controller, so it wasn't affected that badly. Chuanhong Guo knows that better.

Re: [OpenWrt-Devel] ar71xx with kernel 4.14 - a few test results

2018-08-23 Thread Dmitry Tunin
> There are other shortcomings along with upgraded kernel e.g. the > kernel is getting so big that we may not be able to use 4M flash with > even just basic functions of a router in a near future. > (I remember that someone successfully fit USB support and Samba into > 4M flash using OpenWrt

Re: [OpenWrt-Devel] ar71xx with kernel 4.14 - a few test results

2018-08-23 Thread Dmitry Tunin
> A bit off-topic, but what does OF stand for ? > (that legacy code does not use DT is known). > OF stands for Open Firmware. It doesn't use the DT, but the code is still there in many cases. It is not cut out by prerocessor in many cases. ___

[OpenWrt-Devel] [PATCH] ath79: fix ar7100 PCI IRQ handling

2018-08-24 Thread Dmitry Tunin
tiny un terms of RAM and that is not very important and can be tuned if we implement "nr-interrupts" property". 2. It reuses the same irg chip name "MISC" for both controllers. Run tested on DIR-825 B1. Signed-off-by: Dmitry Tunin --- target/linux/ath79/dts/ar7100.dtsi

Re: [OpenWrt-Devel] [PATCH] ath79: fix ar7100 PCI IRQ handling

2018-08-24 Thread Dmitry Tunin
I fixed the compatible and tried to improve commit msg. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] ath79: fix SUPPORTED_DEVICES for TL-MR3020

2018-08-19 Thread Dmitry Tunin
вс, 19 авг. 2018 г. в 12:28, Mathias Kresin : > > 18.08.2018 14:01, David Bauer: > > Sysupgrading to ath79 from ar71xx currently fails because of mismatching > > supported_devices. ar71xx is expecting "tl-mr3020" which is missing in > > the ath79 image. Upgrading from ath79 is unaffected, as the

Re: [OpenWrt-Devel] [PATCH] ath79: drop SUPPORTED_DEVICES for all TP-LINK routers

2018-08-19 Thread Dmitry Tunin
вс, 19 авг. 2018 г. в 17:46, Mathias Kresin : > > 2018-08-19 15:47 GMT+02:00 Chuanhong Guo : > > These lines are coming from ar71xx to allow using sysupgrade to > > switch from ar71xx to ath79. But a sysupgrade with config preserved > > won't work since some of the config files are incompatible. >

Re: [OpenWrt-Devel] [PATCH] ath79: fix SUPPORTED_DEVICES for TL-MR3020

2018-08-19 Thread Dmitry Tunin
вс, 19 авг. 2018 г. в 14:29, Dmitry Tunin : > > вс, 19 авг. 2018 г. в 12:28, Mathias Kresin : > > > > 18.08.2018 14:01, David Bauer: > > > Sysupgrading to ath79 from ar71xx currently fails because of mismatching > > > supported_devices. ar71xx is ex

Re: [OpenWrt-Devel] [PATCH] ath79: reduce irq count in irq-ath79-misc.c

2018-08-22 Thread Dmitry Tunin
We probably need to add a SoC check there. Otherwise we'll have two 32 IRQ domains when using it with PCI. I guess older ones have 8 IRQs and newer ones - 16. We cal leave default of 32 for unknown SoCs if there are any. ср, 22 авг. 2018 г. в 13:59, Dmitry Tunin : > > Oops. I looked into

Re: [OpenWrt-Devel] [PATCH] ath79: ar7100: remove IRQ code from PCI driver

2018-08-22 Thread Dmitry Tunin
I looked now and I think ro ar724x we need only https://github.com/openwrt/openwrt/pull/1299/commits/0d2c51cc04b6f3872806970b1de6967ccd30289c It looks OK in that case that IRQ is handled inside PCIE. ср, 22 авг. 2018 г. в 12:27, Dmitry Tunin : > > > we need a comparable patch for ar72

Re: [OpenWrt-Devel] [PATCH] ath79: reduce irq count in irq-ath79-misc.c

2018-08-22 Thread Dmitry Tunin
It allocates some RAM I guess. ср, 22 авг. 2018 г. в 15:34, Chuanhong Guo : > > Hi! > Dmitry Tunin 于2018年8月22日周三 下午8:31写道: > > > > We probably need to add a SoC check there. Otherwise we'll have two 32 > > IRQ domains when using it with PCI. > But this doesn't matt

Re: [OpenWrt-Devel] [PATCH] ath79: ar7100: remove IRQ code from PCI driver

2018-08-23 Thread Dmitry Tunin
чт, 23 авг. 2018 г. в 6:36, Chuanhong Guo : > > Dmitry Tunin 于2018年8月23日周四 上午1:24写道: > > > > I looked into the specs and now I see that the > > AR71XX_RESET_REG_MISC_INT_STATUS is read-only on ar7100, so we need to > > change the compatible > > to &q

Re: [OpenWrt-Devel] [PATCH] ath79: ar7100: remove IRQ code from PCI driver

2018-08-23 Thread Dmitry Tunin
It may have sense of doing the ack this in some cases. I need to do some hardware testing to look at it more closely. I think we can leave it is is. It's not important as I said before for slow devices. But the miscintc is redefined in ar7100.dtsi. So I am happy with that. We need to have change

Re: [OpenWrt-Devel] [PATCH] ath79: ar7100: remove IRQ code from PCI driver

2018-08-23 Thread Dmitry Tunin
> This is true for ar7100. On other chips the entire > RST_MISC_INTERRUPT_STATUS block is marked as Read/Write-to-Clear. Do you have the ar7240 datasheet with those specs? > > It makes no sense to have a separate ack done this way. It slow things down. > You can use an implementation without ack

Re: [OpenWrt-Devel] [PATCH] ath79: reduce irq count in irq-ath79-misc.c

2018-08-22 Thread Dmitry Tunin
dled a way that if it is not set some default maximum possible value is applied, like 32 in this case. But we'll be able to set some number for each controller if we want it. ср, 22 авг. 2018 г. в 15:35, Dmitry Tunin : > > It allocates some RAM I guess. > ср, 22 авг. 2018 г. в 15:34, Chuanhong Guo : >

Re: [OpenWrt-Devel] [PATCH] ath79: reduce irq count in irq-ath79-misc.c

2018-08-22 Thread Dmitry Tunin
Oops. I looked into newer specs. Some chips now have 16. ср, 22 авг. 2018 г. в 13:50, Dmitry Tunin : > > According to specs this interrupt controller has 8 IRQs (0-7). > If we reuse it for PCI, we need even less (0-4). > We don't need that hude domain there. > > Signed-of

Re: [OpenWrt-Devel] [PATCH v3] ath79: ag71xx: apply interface mode to MII0/1_CTRL on ar71xx/ar913x

2018-08-22 Thread Dmitry Tunin
ср, 22 авг. 2018 г. в 12:05, John Crispin : > > > > On 21/08/18 13:39, Chuanhong Guo wrote: > > We currently don't have any code configuring interface mode in ath79, > > meaning that we relies on bootloader to set the correct interface mode. > > > > This patch added code to set interface correctly

[OpenWrt-Devel] [PATCH] ath79: reduce irq count in irq-ath79-misc.c

2018-08-22 Thread Dmitry Tunin
According to specs this interrupt controller has 8 IRQs (0-7). If we reuse it for PCI, we need even less (0-4). We don't need that hude domain there. Signed-off-by: Dmitry Tunin --- .../0037-MIPS-ath79-irq-misc-reduce-irq-count.patch | 13 + 1 file changed, 13 insertions

Re: [OpenWrt-Devel] [PATCH] ath79: ar7100: remove IRQ code from PCI driver

2018-08-22 Thread Dmitry Tunin
t "MISC and "PCI" will be seen separately in /proc/interrupts. 3. I suggest removing legacy __init ath79_misc_irq_init() and leaving only the OF stuff. Any comments? ср, 22 авг. 2018 г. в 14:47, Chuanhong Guo : > > Dmitry Tunin 于2018年8月22日周三 下午5:07写道: > > > > Currently a

Re: [OpenWrt-Devel] [PATCH] ath79: ar7100: remove IRQ code from PCI driver

2018-08-22 Thread Dmitry Tunin
this way, since we are > reusing this driver for PCI, I suggest to declare also > "qca,ath79-pci-intc" that will > have a different chip name = "PCI", so that "MISC and "PCI" will be > seen separately in /proc/interrupts. > > 3. I suggest removing legacy __

Re: [OpenWrt-Devel] [PATCH] ath79: ar71xx create a separate driver for ar71xx pci interrupt controller.

2018-08-21 Thread Dmitry Tunin
Performance tests look good too. вт, 21 авг. 2018 г. в 17:59, Dmitry Tunin : > > It is based on Chuanhong Guo work. > > PCI interrupt controller is not part of PCI. It is a part of reset controller > with 0x18060018, 0x1806001c control registers. > > This should fix a bug wit

Re: [OpenWrt-Devel] [PATCH] ath79: ar7100: remove IRQ code from PCI driver

2018-08-22 Thread Dmitry Tunin
> > I see no reason of having two different ways of mask-ack for similar > > hardware. We need to chose one that looks better and drop the other. > I suggest discussing any irq-ath79-misc changes with the upstream developers > Alban Bedel did *a lot* of work to make the ath79 code devicetree >

Re: [OpenWrt-Devel] [PATCH] ath79: add support for GL.iNet GL-MIFI

2018-09-05 Thread Dmitry Tunin
> I'm not really sure how to proceed here. I would suggest to set it as everywhere else as e.g. I did for Tp-Link MR2040. A user can always change it to netdev if they want it that way. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH v2 0/3] Speed up caldata/eeprom handling for ar71xx/ath79

2019-02-25 Thread Dmitry Tunin
пн, 25 февр. 2019 г. в 21:01, Dmitry Tunin : > > I suggest Adrian's. I was too lazy to patch them all. Only merging > this what matters. > > пн, 25 февр. 2019 г. в 20:27, Christian Lamparter : > > > > Hello, > > > > On Friday, February 22, 2019 7:52:37 PM CE

Re: [OpenWrt-Devel] [PATCH] ath79: speed up ath9k-eeprom extraction

2019-02-25 Thread Dmitry Tunin
пн, 25 февр. 2019 г. в 21:20, Christian Lamparter : > > The only problem here is that not all platforms need it. > The problem I always have is more along the way that a patch should receive > some "on-device" testing. So I do look forward for patches that received a > "Tested-by:" tag or has

Re: [OpenWrt-Devel] [PATCH v2 0/3] Speed up caldata/eeprom handling for ar71xx/ath79

2019-02-25 Thread Dmitry Tunin
ally well on multiple platforms, so I've sent the one I could. > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > > Behalf Of Dmitry Tunin > > Sent: Montag, 25. Februar 2019 19:01 > > To: Christian Lampar

Re: [OpenWrt-Devel] [PATCH v2 0/3] Speed up caldata/eeprom handling for ar71xx/ath79

2019-02-25 Thread Dmitry Tunin
unification. > > Best > > Adrian > > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > > Behalf Of Christian Lamparter > > Sent: Montag, 25. Februar 2019 18:28 > > To: openwrt-devel@lists.openwrt.o

Re: [OpenWrt-Devel] [PATCH] ath79: speed up ath9k-eeprom extraction

2019-02-26 Thread Dmitry Tunin
вт, 26 февр. 2019 г. в 16:03, Adrian Schmutzler : > > > -Original Message- > > From: Dmitry Tunin [mailto:hanipouspi...@gmail.com] > > Sent: Dienstag, 26. Februar 2019 10:45 > > To: Adrian Schmutzler > > Subject: Re: [OpenWrt-Devel] [PATCH] ath79: spe

[OpenWrt-Devel] [PATCH] ath79: speed up ath9k-eeprom extraction

2019-02-22 Thread Dmitry Tunin
sys 0m 0.03s With this change eeprom extraction is fast enough to get working Wi-Fi after initial install. Signed-off-by: Dmitry Tunin --- target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux

Re: [OpenWrt-Devel] [PATCH] ath79: speed up ath9k-eeprom extraction

2019-02-22 Thread Dmitry Tunin
пт, 22 февр. 2019 г. в 16:57, Petr Štetiar : > > Dmitry Tunin [2019-02-22 16:13:52]: > > > What do you mean by "generalize"? Fix it on all platforms, or having > > common 10-ath9k-eeprom, 11-ath10k-caldata, etc files., or common code > > that will be use

Re: [OpenWrt-Devel] [PATCH] ath79: speed up ath9k-eeprom extraction

2019-02-22 Thread Dmitry Tunin
пт, 22 февр. 2019 г. в 15:53, Petr Štetiar : > > Dmitry Tunin [2019-02-22 15:30:39]: > > Hi, > > > Signed-off-by: Dmitry Tunin > > --- > > target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | 2 +- > > 1 file changed, 1 inserti

Re: [OpenWrt-Devel] speed up ath10k-caldata extraction for non-ipq40xx

2019-02-22 Thread Dmitry Tunin
This is useful for ath9k extraction as well. пт, 22 февр. 2019 г. в 13:09, Christian Lamparter : > > Hello, > > On Wednesday, February 20, 2019 7:26:55 PM CET Adrian Schmutzler wrote: > > just saw the commit “ipq40xx: speed up ath10k-caldata extraction”: > > > >

Re: [OpenWrt-Devel] [PATCH v2 0/3] Speed up caldata/eeprom handling for ar71xx/ath79

2019-02-22 Thread Dmitry Tunin
пт, 22 февр. 2019 г. в 21:48, Adrian Schmutzler : > > Based on the ipq40xx commit from chunkeey, I tried to do the same for > ar71xx/ath79. > I want to add that without this patch firmware extraction is not fast enough to get it in time after a flash. That's why wireless needs a restart. I don't

Re: [OpenWrt-Devel] ath9k broken

2019-03-09 Thread Dmitry Tunin
You can build with the 4.9 kernel. I think that something like https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=3b53d6fdbc241173b4264aa49142ba94d406a806 is needed for your SoC. сб, 9 мар. 2019 г. в 21:36, Dmitry Tunin : > > сб, 9 мар. 2019 г. в 21:17, W. Michael Petullo : > &

Re: [OpenWrt-Devel] ath9k broken

2019-03-09 Thread Dmitry Tunin
> I have been trying to narrow this down as I find time. > > A stock install of "OpenWrt 18.06.2, r7676-cddd7b4c77" works. This doesn't narrow anything down. You need to find a master commit that broke things down. And also rebuild /etc/config/wireless

Re: [OpenWrt-Devel] ath9k broken

2019-03-09 Thread Dmitry Tunin
сб, 9 мар. 2019 г. в 21:17, W. Michael Petullo : > > >> I have been trying to narrow this down as I find time. > >> > >> A stock install of "OpenWrt 18.06.2, r7676-cddd7b4c77" works. > > > This doesn't narrow anything down. You need to find a master commit > > that broke things down. > > And also

[OpenWrt-Devel] dnscypt-proxy for 18.06.2 is not in packages.gz

2019-02-16 Thread Dmitry Tunin
packages.gz in the repos doesn't contain this package. It can't be installed by opkg. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] cherry-pick wolfssl-3.15.7 update to 19.07

2019-07-08 Thread Dmitry Tunin
This 19.07 commit didn't update the hash in Makefile. Please fix it. пн, 8 июл. 2019 г. в 14:38, Eneas Queiroz : > > Can someone please cherry-pick this to 19.07: > 2792daab5a wolfssl: update to 3.15.7, fix Makefile > > This includes a fix for a medium-level potential cache attack with a >

Re: [OpenWrt-Devel] [PATCH v2] ath79: convert devices to interrupt-driven gpio-keys

2019-08-12 Thread Dmitry Tunin
Tested-by: Dmitry Tunin ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] GitHub starts blocking developers in countries facing US trade sanctions

2019-08-12 Thread Dmitry Tunin
I know that this is a bit off-topic but can anyone maintaining openwrt git repo solve the problem with baninng of Digital Ocean servers in Russia? git.openwrt.org is not accessible. This is a side effect of the fight against Telegram, that was los by the government. It is not a really _big_

Re: [OpenWrt-Devel] [PATCH] ath79: convert devices to interrupt-driven gpio-keys

2019-08-02 Thread Dmitry Tunin
пт, 2 авг. 2019 г. в 17:46, Adrian Schmutzler : > > This converts all remaining devices to use interrupt-driven > gpio-keys compatible instead of gpio-keys-polled. > The poll-interval is removed. > When I ported DIR-825-b1 to ath79 last year, "gpio-keys" where very unreliable and I had to switch

Re: [OpenWrt-Devel] ath9k: mtd-cal-data vs firmware bin file

2019-08-14 Thread Dmitry Tunin
> /etc/hotplug.d/firmware/10-ath9k-eeprom for these routers just extracts > 4k of calibration data from ART to bin file in /lib/firmware. I > compared bin file to mtd area and they are identical. Why ath9k cannot > use this data directly accessing /dev/mtd6? Is that 'mtd-cal-data' dts > option

Re: [OpenWrt-Devel] [PATCH] ath79: convert devices to interrupt-driven gpio-keys

2019-08-10 Thread Dmitry Tunin
I tested gpio-keys on dir825b1 and didn't see a noticable change against gpio-keys-polled. Both miss events and work poorly. So no objections for a switch. пн, 5 авг. 2019 г. в 19:27, Dmitry Tunin : > > > This recent Pull Request used gpio-keys on ar7100: > > https://github.com/

Re: [OpenWrt-Devel] [PATCH] ath79: convert devices to interrupt-driven gpio-keys

2019-08-10 Thread Dmitry Tunin
If you will be pushing it some way, remove debounce-interval too. Without it gpio-keys work better. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] ath79: convert devices to interrupt-driven gpio-keys

2019-08-10 Thread Dmitry Tunin
> So should it remove the change for ath9k keys and only do the other ones at > the moment? That's a good question. I suggest to leave devices that HAVE some keys attached to ath9k keys using 'gpio-keys-polled'. It makes no sense to use both drivers.

Re: [OpenWrt-Devel] [PATCH] ath79: convert devices to interrupt-driven gpio-keys

2019-08-10 Thread Dmitry Tunin
> Can I add your Tested-by? I tested only one target, it makes no sense to add this. And I what about ath9k keys. They are a problem. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH v2] ath79: convert devices to interrupt-driven gpio-keys

2019-08-10 Thread Dmitry Tunin
As I mentioned before with 'gpio-keys' debounce-interval is not needed. Default is OK and looks better on ar7161. Maybe testing on other targets is needed. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] Did they check security of OpenWrt?

2019-08-20 Thread Dmitry Tunin
Rich, OpenWrt is a Linux distro. It has all security as any other one. All CVE are timely addressed. There is no need for special tests. вт, 20 авг. 2019 г. в 18:34, Rich Brown : > > Hi Vincent, > > I don't know whether the article, or its underlying report from Cyber > Independent Testing Lab

[OpenWrt-Devel] [PATCH] ath79: DIR825B1 switch to gpio-keys

2019-08-30 Thread Dmitry Tunin
Signed-off-by: Dmitry Tunin --- target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts b/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts index da19921..8e60bb4 100644

Re: [OpenWrt-Devel] kernel: bump 4.19 to 4.19.72 broke ath79

2019-09-14 Thread Dmitry Tunin
сб, 14 сент. 2019 г. в 14:12, Dmitry Tunin : > > > 2. It modifies arch/mips/ath79/irq.c. The patch that fails on ath79, > > 0027-MIPS-ath79-drop-legacy-IRQ-code, deletes this file completely > > (which now fails, as the file content is changed by > > 343-MIPS-ath79

[OpenWrt-Devel] ath79 on 19.07 doesn't build on 4.14.143 kernel

2019-09-14 Thread Dmitry Tunin
Patch target/linux/ath79/patches-4.14/0027-MIPS-ath79-drop-legacy-IRQ-code.patch doesn't apply Applying /home/pilot6/LEDE/openwrt/target/linux/ath79/patches-4.14/0027-MIPS-ath79-drop-legacy-IRQ-code.patch using plaintext: patching file arch/mips/ath79/Makefile patching file

Re: [OpenWrt-Devel] kernel: bump 4.19 to 4.19.72 broke ath79

2019-09-14 Thread Dmitry Tunin
Magnus, You are 100% correct. Fix potentially missed IRQ handling during dispatch has an error. It should be applied only to ar71xx platform. It should be fixed on both master and 19.07 branches. сб, 14 сент. 2019 г. в 14:15, Dmitry Tunin : > > сб, 14 сент. 2019 г. в 14:12, Dmitry

Re: [OpenWrt-Devel] kernel: bump 4.19 to 4.19.72 broke ath79

2019-09-14 Thread Dmitry Tunin
Thx. It is fixed now сб, 14 сент. 2019 г. в 18:36, Koen Vandeputte : > > > On 14-09-19 12:47, Magnus Kroken wrote: > > Hi Andre > > > > On 14.09.2019 10:49, Andre Valentin wrote: > >> It seems the kernel bump broke ath79 compilation. The problem lies in > >>

Re: [OpenWrt-Devel] kernel: bump 4.19 to 4.19.72 broke ath79

2019-09-14 Thread Dmitry Tunin
> 2. It modifies arch/mips/ath79/irq.c. The patch that fails on ath79, > 0027-MIPS-ath79-drop-legacy-IRQ-code, deletes this file completely > (which now fails, as the file content is changed by > 343-MIPS-ath79-Fix-potentially-missed-IRQ-handling-durin.patch). I refreshed

Re: [OpenWrt-Devel] Why ath79 has been made source-only on 19.07?

2019-07-30 Thread Dmitry Tunin
> e) if you want to use ath79, you should use snapshot images (and expect > support) or >build 19.07 for ath79 yourself (but don't expect much support) Are you taking in account that many devices added during the last year as ath79 won't be supported by a stable release. Master is no good

Re: [OpenWrt-Devel] Why ath79 has been made source-only on 19.07?

2019-07-30 Thread Dmitry Tunin
> Can you explain why not? I'm not aware about any critical issues on ath79. How > are we going to prepare ath79 in possibly best shape for the next release, if > we now provide ath79 images in 19.07? Users would simply stick to stable > images and snapshots would get less testing. There are some

[OpenWrt-Devel] [PATCH v5] ath79: add support of Netgear WNDR3800CH

2019-08-07 Thread Dmitry Tunin
Add support for the ar71xx supported Netgear WNDR3800CH to ath79. The device is identical to WNDR3800 except NETGEAR_BOARD_ID. Signed-off-by: Dmitry Tunin --- .../linux/ath79/base-files/etc/board.d/02_network | 3 +- .../etc/hotplug.d/firmware/10-ath9k-eeprom | 6 ++-- .../linux

Re: [OpenWrt-Devel] [PATCH] ath79: add support of Netgear WNR3800 (Ch)

2019-08-07 Thread Dmitry Tunin
> in commit title/description, you are using "WNR" instead of "WNDR" ... Oops. > Despite, from a quick research, it looks like the device is called > "WNDR3800CH" most frequently. > I would update the name accordingly. I copied the ar71xx name, but I agree. > Note that you also have to update

Re: [OpenWrt-Devel] [PATCH] ath79: add support of Netgear WNR3800 (Ch)

2019-08-07 Thread Dmitry Tunin
> If the CH stands for China, as I've also read when googleing, I would prefer > having CN here. This will then very much depend upon whether the CH is used > officially somewhere or whether it's just an invention of previous OpenWrt > versions ... (Where in the latter case I'd actually change

[OpenWrt-Devel] [PATCH v3] ath79: add support of Netgear WNDR3800CH

2019-08-07 Thread Dmitry Tunin
Add support for the ar71xx supported Netgear WNDR3800CH to ath79. The device is identical to WNDR3800 except NETGEAR_BOARD_ID. Signed-off-by: Dmitry Tunin --- .../linux/ath79/base-files/etc/board.d/02_network | 3 +- .../etc/hotplug.d/firmware/10-ath9k-eeprom | 6 ++-- .../linux

Re: [OpenWrt-Devel] [PATCH] ath79: add support of Netgear WNR3800 (Ch)

2019-08-07 Thread Dmitry Tunin
Sent v2. ср, 7 авг. 2019 г. в 21:48, Adrian Schmutzler : > > > > Note that you also have to update to DEVICE_VENDOR/DEVICE_MODEL syntax ... > > I don't quite get it. Where is this syntax? > > Here: > > > +define Device/netgear_wndr3800ch > > + $(Device/netgear_wndr3800) > > + DEVICE_TITLE :=

[OpenWrt-Devel] [PATCH v2] ath79: add support of Netgear WNDR3800CH

2019-08-07 Thread Dmitry Tunin
Add support for the ar71xx supported Netgear WNR3800CH to ath79. The device is identical to WNDR3800 except NETGEAR_BOARD_ID. Signed-off-by: Dmitry Tunin --- .../linux/ath79/base-files/etc/board.d/02_network | 3 +- .../etc/hotplug.d/firmware/10-ath9k-eeprom | 6 ++-- .../linux/ath79

Re: [OpenWrt-Devel] [PATCH] ath79: add support of Netgear WNR3800 (Ch)

2019-08-07 Thread Dmitry Tunin
> You still have one WNR in the commit description and you can remove the > DEVICE_VENDOR, as it is still inherited. It looks like all the file should be changed to VENDOR/MODEL, but you are correct. ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [PATCH] ath79: add support of Netgear WNR3800 (Ch)

2019-08-07 Thread Dmitry Tunin
Oops again. I didn't pull master for a while, because was playing with 19.07. ср, 7 авг. 2019 г. в 22:58, Dmitry Tunin : > > > Are you using recent master? > > > > DEVICE_MODEL is the way to go now. > Yes, I do. ___ openwrt-de

[OpenWrt-Devel] [PATCH] ath79: add support of Netgear WNR3800 (Ch)

2019-08-07 Thread Dmitry Tunin
Add support for the ar71xx supported Netgear WNR3800 (Ch) to ath79. The device is identical to WNR3800 except NETGEAR_BOARD_ID. Signed-off-by: Dmitry Tunin --- .../linux/ath79/base-files/etc/board.d/02_network | 3 +- .../etc/hotplug.d/firmware/10-ath9k-eeprom | 6 ++-- .../linux

Re: [OpenWrt-Devel] [PATCH] ath79: add support of Netgear WNR3800 (Ch)

2019-08-07 Thread Dmitry Tunin
With VENDOR/MODEL it doesn't appear in menuconfig. So v1 with WNDR fix should work. ср, 7 авг. 2019 г. в 22:11, Dmitry Tunin : > > > You still have one WNR in the commit description and you can remove the > > DEVICE_VENDOR, as it is still inherited. > It looks like all the file

Re: [OpenWrt-Devel] [PATCH] ath79: add support of Netgear WNR3800 (Ch)

2019-08-07 Thread Dmitry Tunin
> Are you using recent master? > > DEVICE_MODEL is the way to go now. Yes, I do. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH v6] ath79: add support of Netgear WNDR3800CH

2019-08-07 Thread Dmitry Tunin
Add support for the ar71xx supported Netgear WNDR3800CH to ath79. The device is identical to WNDR3800 except NETGEAR_BOARD_ID. Signed-off-by: Dmitry Tunin --- .../linux/ath79/base-files/etc/board.d/02_network | 3 +- .../etc/hotplug.d/firmware/10-ath9k-eeprom | 6 ++-- .../linux

Re: [OpenWrt-Devel] [PATCH] ath79: add support of Netgear WNR3800 (Ch)

2019-08-07 Thread Dmitry Tunin
Maybe DEVICE_VARIANT := CH is a better choice, since it is the same device. ср, 7 авг. 2019 г. в 21:40, Dmitry Tunin : > > > in commit title/description, you are using "WNR" instead of "WNDR" ... > Oops. > > > Despite, from a quick research, it looks l

[OpenWrt-Devel] [PATCH v4] ath79: add support of Netgear WNDR3800CH

2019-08-07 Thread Dmitry Tunin
Add support for the ar71xx supported Netgear WNDR3800CH to ath79. The device is identical to WNDR3800 except NETGEAR_BOARD_ID. Signed-off-by: Dmitry Tunin --- .../linux/ath79/base-files/etc/board.d/02_network | 3 +- .../etc/hotplug.d/firmware/10-ath9k-eeprom | 6 ++-- .../linux

[OpenWrt-Devel] Why ath79 has been made source-only on 19.07?

2019-07-29 Thread Dmitry Tunin
2b074654b0f259518aa56e0975ca8e26c0c12bc9 I see no reason why not to build both ar71xx and ath79 for devices that have been ported to ath79 already. Many people already use 19.07 branch and wait for the release. That will require lots of custom builds. What is the point of excluding ath79?

Re: [OpenWrt-Devel] Why ath79 has been made source-only on 19.07?

2019-07-29 Thread Dmitry Tunin
There is also a few devices that have been recently added as ath79 only. So they won't be supported. пн, 29 июл. 2019 г. в 19:28, Dmitry Tunin : > > 2b074654b0f259518aa56e0975ca8e26c0c12bc9 > > I see no reason why not to build both ar71xx and ath79 for devices > that have been

Re: [OpenWrt-Devel] [PATCH] ath79: convert devices to interrupt-driven gpio-keys

2019-08-05 Thread Dmitry Tunin
пн, 5 авг. 2019 г. в 16:53, Adrian Schmutzler : > > > -Original Message- > > From: Dmitry Tunin [mailto:hanipouspi...@gmail.com] > > Sent: Freitag, 2. August 2019 18:51 > > To: Adrian Schmutzler > > Cc: OpenWrt Development List > > Subject: Re:

Re: [OpenWrt-Devel] [PATCH] ath79: convert devices to interrupt-driven gpio-keys

2019-08-05 Thread Dmitry Tunin
> This recent Pull Request used gpio-keys on ar7100: > https://github.com/openwrt/openwrt/pull/1359 > > However, I cannot extract how well this was tested. I will have a device for testing around the next weekend. I'll report back. ___ openwrt-devel

Re: [OpenWrt-Devel] [PATCH] ipq40xx: remove redundant ucidef_set_interfaces_* in 02_network

2019-09-23 Thread Dmitry Tunin
пн, 23 сент. 2019 г. в 16:34, Adrian Schmutzler : > > If already included in ucidef_add_switch, you do not have to > additionally set the interface mode in ucidef_set_interfaces_* > functions. > > This patch removes/adjusts such redundant cases. > > Signed-off-by: Adrian Schmutzler > > --- > >

Re: [OpenWrt-Devel] [PATCH] ipq40xx: remove redundant ucidef_set_interfaces_* in 02_network

2019-09-24 Thread Dmitry Tunin
Hi David, > On the other hand there's ipqess and qca8k on the horizon to end the ar40xx > mess. > But i don't think this is a showstopper for this. That stopped me from doing this fast. ipqess will solve it anyway. Maybe it is not worth the effort now. I don't see a straightforward simple

Re: [OpenWrt-Devel] [PATCH] ipq40xx: remove redundant ucidef_set_interfaces_* in 02_network

2019-09-24 Thread Dmitry Tunin
> Are you just talking about asus/zyxel case or should I remove the entire > patch (-> mark as deferred)? I mean all ipq40xx devices with two MACs. I mentioned the two I have. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] ath79/qca9533rev2: Help needed on missing GPIO on ath9k-phy0

2019-10-30 Thread Dmitry Tunin
ср, 30 окт. 2019 г. в 17:31, Adrian Schmutzler : > > Hi, > > we are still working on broken WiFi on CPE210v2/v3 (ath79, QCA9533 rev. 2) > and have found that on ath79 a GPIO is missing compared to ar71xx (where WIFI > is working): > > GPIO Config on the ar71xx: > > gpiochip0: GPIOs 0-31, parent:

Re: [OpenWrt-Devel] ath79/qca9533rev2: Help needed on missing GPIO on ath9k-phy0

2019-10-30 Thread Dmitry Tunin
Is one wireless adapter connected using PCIE? If it is true, you'll have to set it's node in DTS. Generally it's not required, but if you need a gpio controller, then you have to. ср, 30 окт. 2019 г. в 17:51, Dmitry Tunin : > > ср, 30 окт. 2019 г. в 17:31, Adrian Schmutzler : >

Re: [OpenWrt-Devel] [PATCH 0/2] introduce label_mac into hostname and SSID

2019-11-16 Thread Dmitry Tunin
I am strongly against this change for a simple reason. Advantage of this change is questionable, but we can get all sorts of trouble. сб, 16 нояб. 2019 г. в 18:31, Piotr Dymacz : > > Hi Adrian, > > On 08.11.2019 12:48, Adrian Schmutzler wrote: > > This patchset will introduce the label MAC

Re: [OpenWrt-Devel] [PATCH] ipq40xx: essedma: Fix dead lock

2019-10-22 Thread Dmitry Tunin
It seems that it is not quite proper fix. Yesterday I flashed a Linksys EA6450v3 with 19.07 build. I couldn't connect to the device using a 100 Mbit laptop. I had to use another laptop with a 1000 Mbit port to reach the device. It seems that after the patch we avoided a lock on 1000 Mbit but got

Re: [OpenWrt-Devel] Question: Migration from ar71xx to ath79

2020-01-10 Thread Dmitry Tunin
This means a sysupgrade with resetting all configs, nothing else. sysupgrade -n пт, 10 янв. 2020 г. в 12:50, Pumr, Ondrej (EEK) : > > Hello, > > > > I have TP-LINK TL-WR842N-V3 running OpenWrt 18.06 with ar71xx and I want to > migrate to OpenWrt 19.07 with ath79. > > > > In the list of known

Re: [OpenWrt-Devel] OpenWrt 19.07 final timeline

2020-01-06 Thread Dmitry Tunin
вт, 7 янв. 2020 г. в 02:16, : > > make clean? (would be no. 6 now :-) ) My apologies. We are in the middle of Christmas holidays here :-)) ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] OpenWrt 19.07 final timeline

2020-01-06 Thread Dmitry Tunin
Nice release tag )) Ever tried a build test before the tag? Tried to build Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for base-files: * libubox20170601 * opkg_install_cmd: Cannot install package base-files. * satisfy_dependencies_for: Cannot

[PATCH] ipq40xx: increase SPI frequency for Zyxel NBG6617 The mx25l25635e supports clock speed up to 50Mhz.

2021-07-09 Thread Dmitry Tunin
Also remove obsolete "mx25l25635f" hack. Signed-off-by: Dmitry Tunin --- .../ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts b/ta

[PATCH v2] ipq40xx: increase SPI frequency for Zyxel NBG6617

2021-07-09 Thread Dmitry Tunin
The mx25l25635e supports clock speed up to 50Mhz. Also remove obsolete "mx25l25635f" hack. Signed-off-by: Dmitry Tunin --- .../files/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts| 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target/linux/ipq40xx/file

Re: [PATCH v2] ipq40xx: increase SPI frequency for Zyxel NBG6617

2021-07-11 Thread Dmitry Tunin
The chip installed in my device is mx25l25635e. But it shouldn't matter. пт, 9 июл. 2021 г. в 13:33, Dmitry Tunin : > > The mx25l25635e supports clock speed up to 50Mhz. > > Also remove obsolete "mx25l25635f" hack. > > Signed-off-by: Dmitry Tunin > --- > .../fi