Request for Help on Porting BCM53XX ARM Asus RT-AC88U

2020-11-06 Thread Arınç ÜNAL
Hello. I'm working on porting OpenWRT for Asus RT-AC88U router. - Quick specs about the router - CPU: Broadcom BCM4709C0 Platform: bcm53xx arm Switch: 4GbE BCM4709C0 + 4GbE Realtek RTL8365MB Wireless: Broadcom BCM4366C0 128MB NAND 512MB RAM Realtek Switch and Broadcom Wireless only have

Re: OpenWrt 21.02.0 Fourth release candidate - DSA docs

2021-08-22 Thread Arınç ÜNAL
Hello. (This is my new email address that I use from now on. I'm also testing a new mail client, sorry if my reply is unintentionally garbled.) On 22/08/2021 17:11, Rich Brown wrote: All, On Aug 10, 2021, at 1:10 PM, Hauke Mehrtens wrote: ... For 21.02 we should work on the DSA

Re: OpenWrt 21.02 status

2021-09-01 Thread Arınç ÜNAL
Hey Hauke. On 31/08/2021 00:51, Hauke Mehrtens wrote: All people who answered agreed to do the release soon and keep this as a known bug. I plan to tag 21.02.0 on Wednesday, 1. September if no one objects. I have a detailed mail to send about the situation with DSA. It's about

Re: OpenWrt 21.02.0 Fourth release candidate - DSA docs

2021-09-18 Thread Arınç ÜNAL
Hey Rich. On 17/09/2021 14:30, Rich Brown wrote: Hi Arınç On Sep 17, 2021, at 3:17 AM, Arınç ÜNAL wrote: The current naming used on LuCI/UCI is inaccurate and confusing. The “interfaces” under Network → Interfaces actually represent networks. The actual interfaces are called “device”. I

Re: OpenWrt 21.02.0 Fourth release candidate - DSA docs

2021-09-18 Thread Arınç ÜNAL
Hi Perry. On 17/09/2021 15:27, Perry wrote: Hi all, On 9/17/21 1:30 PM, Rich Brown wrote: Hi Arınç On Sep 17, 2021, at 3:17 AM, Arınç ÜNAL wrote: The current naming used on LuCI/UCI is inaccurate and confusing. The “interfaces” under Network → Interfaces actually represent networks

Re: OpenWrt 21.02.0 Fourth release candidate - DSA docs

2021-09-18 Thread Arınç ÜNAL
Hello Paul. On 18/09/2021 15:36, Paul D wrote: On 2021-09-17 13:27, Perry wrote: Hi all, On 9/17/21 1:30 PM, Rich Brown wrote: Hi Arınç On Sep 17, 2021, at 3:17 AM, Arınç ÜNAL wrote: The current naming used on LuCI/UCI is inaccurate and confusing. The “interfaces” under Network

Re: OpenWrt 21.02.0 Fourth release candidate - DSA docs

2021-09-17 Thread Arınç ÜNAL
;Devices" to "Interfaces" --- About the DSA documentation... I believe DSA & Bridge VLAN filtering feature should be properly distinguished on the wiki to prevent confusion. I'll work on this along with other things on the documentation with Rich. Cheers. Arınç On 22/08/2021

Re: [PATCH] mvebu: cortexa9: remove wifi migration script

2021-08-10 Thread Arınç ÜNAL
On Sat, Aug 7, 2021 at 5:03 PM DENG Qingfang wrote: > > As we can't upgrade to 21.02 while keeping config anyway, remove the > migration script. Hey Deng. As of now, it's impossible to upgrade to 21.02 with older configurations for targets that switched from swconfig to DSA. There's a lack of a

Re: OpenWrt 21.02.0 Fourth release candidate

2021-08-08 Thread Arınç ÜNAL
Congrats! Before we get to the final release, the DSA migration script should be included. Looks like I'm going to hire someone to write the script for me. I know DSA, not changing text on configuration files with awk, grep, etc. Want to give a hand? Please let me know. I still plan to update the

Re: OpenWrt 21.02.0 Fourth release candidate

2021-08-10 Thread Arınç ÜNAL
Hey Hauke. On Tue, Aug 10, 2021 at 8:10 PM Hauke Mehrtens wrote: > For 21.02 we should work on the DSA documentation which Rafal and Rich > already did and continue like it is now. Not all targets are migrated to > DSA yet, so a migration script would still be useful for the next > release or we

Re: [PATCH 21.02] mwlwifi: downgrade the 88W8964's firmware to 9.3.2.6 to prevent instability

2021-10-18 Thread Arınç ÜNAL
This patch can be closed as it doesn't provide a proper solution. Arınç On Thu, Jul 22, 2021 at 7:54 PM Arınç ÜNAL wrote: > > Avoid 88W8964 firmware 9.3.2.12 for Wi-Fi instabilities it causes on Linksys > WRT3200ACM & WRT32X until fixes on master branch are backported to &g

Re: [PATCH v2] bcm53xx: add support for Asus RT-AC88U

2021-12-22 Thread Arınç ÜNAL
Hey Rafał. How should we proceed with this patch? We can just ditch the nvram script and get the patch applied if that’s what you want. It’s just the wireless LEDs that won’t work along with a randomised MAC address of the eth2 interface derived from GMAC2. However, we could use the script

[PATCH v2] bcm53xx: add support for Asus RT-AC88U

2021-11-12 Thread Arınç ÜNAL
mage as firmware.trx. * Run a TFTP server and make it serve the firmware.trx file. * Run the URL below on a browser or curl. http://192.168.1.1/do.htm?cmd=flash+-noheader+192.168.1.2:firmware.trx+flash0.trx Signed-off-by: Arınç ÜNAL --- target/linux/bcm53xx/base-files/etc/board.d/01_leds | 6 ++ .../l

[PATCH 1/2] bcm53xx: remove extsw interface on Linksys EA9500

2021-10-23 Thread Arınç ÜNAL
Remove extsw interface from the bridge as it's used as a master interface by the DSA driver. Signed-off-by: Arınç ÜNAL --- target/linux/bcm53xx/base-files/etc/board.d/02_network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/bcm53xx/base-files/etc/board.d

[PATCH 2/2] bcm53xx: add support for Asus RT-AC88U

2021-10-23 Thread Arınç ÜNAL
mage as firmware.trx. * Run a TFTP server on the computer and make it serve the firmware.trx file. * Run the URL below on a browser or curl. http://192.168.1.1/do.htm?cmd=flash+-noheader+192.168.1.2:firmware.trx+flash0.trx Signed-off-by: Arınç ÜNAL --- target/linux/bcm53xx/base-files/etc/board.d/01_leds

Re: [PATCH] bcm53xx: add support for Asus RT-AC88U

2021-11-06 Thread Arınç ÜNAL
Sorry for the late response. > On 4 Nov 2021, at 10:20, Rafał Miłecki wrote: > > On 25.10.2021 23:37, Arınç ÜNAL wrote: >> @@ -8,6 +8,12 @@ netgear,r8000) >> ucidef_set_led_usbport "usb2" "USB 2.0" "bcm53xx:white:usb2" >> "

Re: [PATCH] bcm53xx: add support for Asus RT-AC88U

2021-11-06 Thread Arınç ÜNAL
> On 4 Nov 2021, at 10:25, Rafał Miłecki wrote: > > On 04.11.2021 07:52, Rafał Miłecki wrote: >>> On 25.10.2021 23:37, Arınç ÜNAL wrote: >>> @@ -8,6 +8,12 @@ netgear,r8000) >>> ucidef_set_led_usbport "usb2" "USB 2.0&

Re: [PATCH] bcm53xx: add support for Asus RT-AC88U

2021-11-09 Thread Arınç ÜNAL
On 06/11/2021 17:55, Arınç ÜNAL wrote: On 4 Nov 2021, at 10:25, Rafał Miłecki wrote: On 04.11.2021 07:52, Rafał Miłecki wrote: On 25.10.2021 23:37, Arınç ÜNAL wrote: @@ -8,6 +8,12 @@ netgear,r8000) ucidef_set_led_usbport "usb2" "USB 2.0" "bcm53xx:white:

[PATCH v2 2/2] bcm53xx: add support for Asus RT-AC88U

2021-10-23 Thread Arınç ÜNAL
mage as firmware.trx. * Run a TFTP server on the computer and make it serve the firmware.trx file. * Run the URL below on a browser or curl. http://192.168.1.1/do.htm?cmd=flash+-noheader+192.168.1.2:firmware.trx+flash0.trx Signed-off-by: Arınç ÜNAL --- target/linux/bcm53xx/base-files/etc/board.d/01_leds

[PATCH v2 1/2] bcm53xx: remove extsw interface on Linksys EA9500

2021-10-23 Thread Arınç ÜNAL
Remove extsw interface from the bridge as it's used as a master interface by the DSA driver. Signed-off-by: Arınç ÜNAL --- target/linux/bcm53xx/base-files/etc/board.d/02_network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/bcm53xx/base-files/etc/board.d

Re: [PATCH v2 1/2] bcm53xx: remove extsw interface on Linksys EA9500

2021-10-23 Thread Arınç ÜNAL
On 23/10/2021 23:35, Rafał Miłecki wrote: On 2021-10-23 21:56, Arınç ÜNAL wrote: Remove extsw interface from the bridge as it's used as a master interface by the DSA driver. According to Vivek it's required, I explicitly asked about it: https://forum.openwrt.org/t/build-for-linksys-ea9500

[PATCH] bcm53xx: add support for Asus RT-AC88U

2021-10-25 Thread Arınç ÜNAL
mage as firmware.trx. * Run a TFTP server on the computer and make it serve the firmware.trx file. * Run the URL below on a browser or curl. http://192.168.1.1/do.htm?cmd=flash+-noheader+192.168.1.2:firmware.trx+flash0.trx Signed-off-by: Arınç ÜNAL --- target/linux/bcm53xx/base-files/etc/board.d/01_leds

Re: [PATCH v2 1/2] bcm53xx: remove extsw interface on Linksys EA9500

2021-10-25 Thread Arınç ÜNAL
This patch series can be disregarded as the first patch in this series causes a bigger issue than the one it fixes. Ref: https://forum.openwrt.org/t/build-for-linksys-ea9500/1817/999 Arınç On 23/10/2021 22:56, Arınç ÜNAL wrote: Remove extsw interface from the bridge as it's used as a master

Re: [PATCH v2 1/2] bcm53xx: remove extsw interface on Linksys EA9500

2021-10-23 Thread Arınç ÜNAL
On 24/10/2021 00:14, Rafał Miłecki wrote: On 2021-10-23 23:09, Arınç ÜNAL wrote: On 23/10/2021 23:35, Rafał Miłecki wrote: On 2021-10-23 21:56, Arınç ÜNAL wrote: Remove extsw interface from the bridge as it's used as a master interface by the DSA driver. According to Vivek it's required, I

Re: OpenWrt 21.02 status

2021-07-20 Thread Arınç ÜNAL
. Arınç On Tue, Jul 20, 2021 at 3:59 PM Rich Brown wrote: > > Hi Arınç > > > On Jul 20, 2021, at 12:23 AM, Arınç ÜNAL wrote: > > > > I believe I could try to make one, I have a pretty good understanding > > of swconfig and DSA configuration. If someone can help me o

Re: OpenWrt 21.02 status

2021-07-21 Thread Arınç ÜNAL
do it themselves for DSA. Arınç On Wed, Jul 21, 2021 at 9:44 AM Arınç ÜNAL wrote: > > If the user enabled packet mirroring on swconfig, we need to migrate that too. > > I don't think UCI supports packet mirroring via the DSA framework, > yet. Anyone with UCI knowledge want to h

Re: OpenWrt 21.02 status

2021-07-20 Thread Arınç ÜNAL
Hi Rich On Wed, Jul 21, 2021 at 2:06 AM Rich Brown wrote: > > Hi Arınç > > On Jul 20, 2021, at 3:09 PM, Arınç ÜNAL wrote: > > Let's say we wrote a script that takes 19.07 network config and > outputs one with DSA configuration instead, how do we implement it in > the i

Re: OpenWrt 21.02 status

2021-07-21 Thread Arınç ÜNAL
, 2021 at 8:31 AM Arınç ÜNAL wrote: > > Hi Rich > > On Wed, Jul 21, 2021 at 2:06 AM Rich Brown wrote: > > > > Hi Arınç > > > > On Jul 20, 2021, at 3:09 PM, Arınç ÜNAL wrote: > > > > Let's say we wrote a script that takes 19.07 network config and > &

Re: dsa: change default interface configuration at first install on architectures using DSA driver

2021-07-19 Thread Arınç ÜNAL
This method of configuring the switch would also make it substantially easier to make a migration script for migrating from swconfig to DSA. On Wed, Jul 7, 2021 at 11:45 PM Arınç ÜNAL wrote: > > This is the proper way of managing the switch ports and VLANs on the > DSA driver. All of t

[PATCH] mwlwifi: downgrade the 88W8964's firmware to 9.3.2.6 to prevent instability

2021-07-22 Thread Arınç ÜNAL
/t/users-needed-to-test-wi-fi-stability-on-linksys-wrt3200acm-wrt32x-on-openwrt-21-02-0-rc3/101700 Signed-off-by: Arınç ÜNAL --- package/kernel/mwlwifi/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/kernel/mwlwifi/Makefile b/package/kernel/mwlwifi/Makefi

Re: [PATCH] mwlwifi: downgrade the 88W8964's firmware to 9.3.2.6 to prevent instability

2021-07-22 Thread Arınç ÜNAL
Scratch this email, I couldn't include [PATCH 21.02]. This patch was intended for the OpenWrt 21.02 branch. On Thu, Jul 22, 2021 at 7:47 PM Arınç ÜNAL wrote: > > Avoid 88W8964 firmware 9.3.2.12 for Wi-Fi instabilities it causes on Linksys > WRT3200ACM & WRT32X until fixes on

[PATCH 21.02] mwlwifi: downgrade the 88W8964's firmware to 9.3.2.6 to prevent instability

2021-07-22 Thread Arınç ÜNAL
/t/users-needed-to-test-wi-fi-stability-on-linksys-wrt3200acm-wrt32x-on-openwrt-21-02-0-rc3/101700 Signed-off-by: Arınç ÜNAL --- package/kernel/mwlwifi/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/kernel/mwlwifi/Makefile b/package/kernel/mwlwifi/Makefi

Re: OpenWrt 21.02 status

2021-07-17 Thread Arınç ÜNAL
I would like to bring this to everyone's attention for the final release of 21.02. There must be a fundamental change of handling interfaces & VLANs on a switch on DSA-enabled architectures on OpenWrt. Please refer to this post:

Re: [PATCH 21.02] mwlwifi: downgrade the 88W8964's firmware to 9.3.2.6 to prevent instability

2021-07-24 Thread Arınç ÜNAL
On Sat, Jul 24, 2021 at 6:40 PM Hauke Mehrtens wrote: > > On 7/22/21 6:54 PM, Arınç ÜNAL wrote: > > Avoid 88W8964 firmware 9.3.2.12 for Wi-Fi instabilities it causes on > > Linksys WRT3200ACM & WRT32X until fixes on master branch are backported to > > openwrt-21.02.

Re: [PATCH 21.02] mwlwifi: downgrade the 88W8964's firmware to 9.3.2.6 to prevent instability

2021-07-24 Thread Arınç ÜNAL
> On Sat, Jul 24, 2021 at 6:40 PM Hauke Mehrtens wrote: >> >>> On 7/22/21 6:54 PM, Arınç ÜNAL wrote: >>> Avoid 88W8964 firmware 9.3.2.12 for Wi-Fi instabilities it causes on >>> Linksys WRT3200ACM & WRT32X until fixes on master branch are backported to

Re: [PATCH v3 3/3] ramips: mt7621-dts: add pinctrl properties for ethernet

2022-02-13 Thread Arınç ÜNAL
Hey Sander, On 13/02/2022 15:31, Sander Vanheule wrote: Hi Arınç, On Sun, 2022-02-13 at 11:15 +0300, Arınç ÜNAL wrote: Add the missing pinctrl properties on the ethernet node. GMAC1 will start working with this change. Link: https://lore.kernel.org/netdev/83a35aa3-6cb8-2bc4-2ff4-64278bbcd

Re: [PATCH v3 1/3] ramips: mt7621-dts: fix switch@1f warnings

2022-02-13 Thread Arınç ÜNAL
On 13/02/2022 15:39, Sander Vanheule wrote: Hi Arınç, On Sun, 2022-02-13 at 11:15 +0300, Arınç ÜNAL wrote: Remove reg property from ports node to fix this warning: Warning (unit_address_vs_reg): /ethernet@1e10/mdio-bus/switch@1f/ports: node has a reg or ranges property, but no unit name

[PATCH v3 3/3] ramips: mt7621-dts: add pinctrl properties for ethernet

2022-02-13 Thread Arınç ÜNAL
). Add rgmii2 pin group to gpio function on mt7621_tplink_archer-x6-v3.dtsi which uses GPIO 28. Signed-off-by: Arınç ÜNAL --- target/linux/ramips/dts/mt7621.dtsi | 3 +++ target/linux/ramips/dts/mt7621_alfa-network_quad-e4g.dts| 4 target/linux/ramips/dts

[PATCH v3 2/3] ramips: mt7621-dts: enable flow control on port@6

2022-02-13 Thread Arınç ÜNAL
Flow control needs to be enabled on both sides to work. It is already enabled on gmac0, enable it on port@6 too. Signed-off-by: Arınç ÜNAL Tested-by: Sungbo Eo --- target/linux/ramips/dts/mt7621.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ramips/dts/mt7621.dtsi b

[PATCH v3 1/3] ramips: mt7621-dts: fix switch@1f warnings

2022-02-13 Thread Arınç ÜNAL
this warning: Warning (avoid_unnecessary_addr_size): /ethernet@1e10/mdio-bus/switch@1f: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Signed-off-by: Arınç ÜNAL --- target/linux/ramips/dts/mt7621.dtsi | 3 --- 1 file changed, 3 deletions(-)

[PATCH v3 0/3] ramips: mt7621-dts: fix dtc warning, links and pinctrl

2022-02-13 Thread Arınç ÜNAL
i2 pin group. Arınç ÜNAL (3): ramips: mt7621-dts: fix switch@1f warnings ramips: mt7621-dts: enable flow control on port@6 ramips: mt7621-dts: add pinctrl properties for ethernet target/linux/ramips/dts/mt7621.dtsi | 7 --- target/linux/ramips/dts

Re: [PATCH v3 0/3] ramips: mt7621-dts: fix dtc warning, links and pinctrl

2022-02-13 Thread Arınç ÜNAL
On 13/02/2022 13:19, Bjørn Mork wrote: Arınç ÜNAL writes: Now that pinctrl properties are properly defined on the ethernet node, GMAC1 will start working. Not sure I understand this. Surely GMAC1 was working fine before? You're just rearranging the pinctrl config, right? No, my tests

Re: [PATCH v3 3/3] ramips: mt7621-dts: add pinctrl properties for ethernet

2022-02-13 Thread Arınç ÜNAL
On 13/02/2022 17:14, Sander Vanheule wrote: [snip] Are you sure this is the only way to make this work? Overwriting a default in this many files doesn't make it look like a great default. This is probably happening because these This is actually a minority of devicetrees. 26 opposed to 156

Re: [PATCH v2 3/3] ramips: mt7621-dts: add pinctrl properties for ethernet

2022-02-11 Thread Arınç ÜNAL
On 12/02/2022 00:53, Rosen Penev wrote: On Fri, Feb 11, 2022 at 4:46 AM Arınç ÜNAL wrote: Add the missing pinctrl properties on the ethernet node. GMAC1 will start working with this change. Link: https://lore.kernel.org/netdev/83a35aa3-6cb8-2bc4-2ff4-64278bbcd...@arinc9.com/ Overwrite

[PATCH] ramips: mt7621-dts: fix claiming rgmii2 pin group for EdgeRouter X SFP

2022-03-17 Thread Arınç ÜNAL
ode. With this change, we also get to remove a definition from mt7621_ubnt_edgerouter-x.dtsi which is specific to EdgeRouter X SFP. This change is tested on an EdgeRouter X SFP. Signed-off-by: Arınç ÜNAL --- target/linux/ramips/dts/mt7621_ubnt_edgerouter-x-sfp.dts | 6 ++ target/linux/ramips/

Re: [PATCH v3 2/2] iproute2: add support for cpu set

2022-02-21 Thread Arınç ÜNAL
On 21/02/2022 05:30, Daniel Golle wrote: On Mon, Feb 21, 2022 at 01:37:10AM +0100, Ansuel Smith wrote: On Thu, Feb 03, 2022 at 01:44:12AM +0100, Ansuel Smith wrote: Add support for cpu set useful to set CPU port for dsa devices. Please also document the newly added 'cpu' parameter in the

Re: [PATCH v2 3/3] ramips: mt7621-dts: add pinctrl properties for ethernet

2022-02-11 Thread Arınç ÜNAL
 > >> On 12 Feb 2022, at 04:54, Rosen Penev wrote: >> >> On Fri, Feb 11, 2022 at 2:27 PM Arınç ÜNAL wrote: >>> On 12/02/2022 00:53, Rosen Penev wrote: >>> On Fri, Feb 11, 2022 at 4:46 AM Arınç ÜNAL wrote: >>>> Add the missing pinctrl pro

[PATCH v4 1/3] ramips: mt7621-dts: fix switch@1f warnings

2022-02-13 Thread Arınç ÜNAL
this warning: Warning (avoid_unnecessary_addr_size): /ethernet@1e10/mdio-bus/switch@1f: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Signed-off-by: Arınç ÜNAL --- target/linux/ramips/dts/mt7621.dtsi | 3 --- 1 file changed, 3 deletions(-)

Re: [PATCH v3 3/3] ramips: mt7621-dts: add pinctrl properties for ethernet

2022-02-14 Thread Arınç ÜNAL
On 14/02/2022 12:30, Sander Vanheule wrote: On Sun, 2022-02-13 at 19:23 +0300, Arınç ÜNAL wrote: On 13/02/2022 17:14, Sander Vanheule wrote: [snip] Are you sure this is the only way to make this work? Overwriting a default in this many files doesn't make it look like a great default

[PATCH v4 0/3] ramips: mt7621-dts: fix dtc warning, links and pinctrl

2022-02-13 Thread Arınç ÜNAL
ested-by tag on the second patch. v2: Overwrite pinctrl-0 property for devicetrees which give gpio function to the rgmii2 pin group. Arınç ÜNAL (3): ramips: mt7621-dts: fix switch@1f warnings ramips: mt7621-dts: enable flow control on port@6 ramips: mt7621-dts: add pinctrl properties

[PATCH v4 3/3] ramips: mt7621-dts: add pinctrl properties for ethernet

2022-02-13 Thread Arınç ÜNAL
). Give gpio function to rgmii2 pin group on mt7621_tplink_archer-x6-v3.dtsi which uses GPIO 28. Signed-off-by: Arınç ÜNAL --- target/linux/ramips/dts/mt7621.dtsi | 3 +++ target/linux/ramips/dts/mt7621_alfa-network_quad-e4g.dts| 4 target/linux/ramips/dts

[PATCH v4 2/3] ramips: mt7621-dts: enable flow control on port@6

2022-02-13 Thread Arınç ÜNAL
Flow control needs to be enabled on both sides to work. It is already enabled on gmac0, enable it on port@6 too. Signed-off-by: Arınç ÜNAL Tested-by: Sungbo Eo --- target/linux/ramips/dts/mt7621.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ramips/dts/mt7621.dtsi b

Re: [PATCH v4 0/3] ramips: mt7621-dts: fix dtc warning, links and pinctrl

2022-02-14 Thread Arınç ÜNAL
Please don't merge. Even though it's good to go, I'd like to make this patch series more organised and include more fixes on the mt7621 devicetrees. Arınç ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [PATCH v2 2/2] ramips: support TP-Link EAP615-Wall

2022-02-27 Thread Arınç ÜNAL
status = "okay"; + label = "lan0"; + }; + + port@1 { + status = "okay"; + label = "lan3"; + }; + + port@2 { + st

Re: [PATCH v2] bcm53xx: add support for Asus RT-AC88U

2022-03-29 Thread Arınç ÜNAL
On 29/03/2022 16:29, Rafał Miłecki wrote: On 12.11.2021 11:56, Arınç ÜNAL wrote: Asus RT-AC88U is an AC3100 router featuring 9 Ethernet ports over the integrated Broadcom and the external Realtek switch. Hardware info: * Processor: Broadcom BCM4709C0KFEBG dual-core @ 1.4 GHz * Switch: BCM53012

[PATCH] packages: nvram: add NVRAM quirks for bcm53xx target

2022-03-31 Thread Arınç ÜNAL
Add NVRAM quirks script for the bcm53xx target. Split NVRAM quirks for the bcm47xx and bcm53xx targets. Move clear partialboot NVRAM quirk for Linksys EA9500 here. Add set wireless LED behaviour quirk for Asus RT-AC88U. Signed-off-by: Arınç ÜNAL --- package/utils/nvram/Makefile

[PATCH] bcm53xx: complete Asus RT-AC88U support

2022-03-31 Thread Arınç ÜNAL
Add white:lan LED configuration. Replace the reverted commit on upstream with the current one. Remove the BROKEN flag. Signed-off-by: Arınç ÜNAL --- .../bcm53xx/base-files/etc/board.d/01_leds | 3 +++ target/linux/bcm53xx/image/Makefile| 1 - ...-define-RTL8365MB-switch

[PATCH v2] bcm53xx: complete Asus RT-AC88U support

2022-03-31 Thread Arınç ÜNAL
Add white:lan LED configuration. Remove the BROKEN flag. Signed-off-by: Arınç ÜNAL --- v2: remove adding rtl8365mb patch as it's already done. --- target/linux/bcm53xx/base-files/etc/board.d/01_leds | 3 +++ target/linux/bcm53xx/image/Makefile | 1 - 2 files changed, 3

Re: [PATCH v2] bcm53xx: add support for Asus RT-AC88U

2022-03-31 Thread Arınç ÜNAL
On 30/03/2022 05:37, Arınç ÜNAL wrote: On 29/03/2022 16:29, Rafał Miłecki wrote: On 12.11.2021 11:56, Arınç ÜNAL wrote: Asus RT-AC88U is an AC3100 router featuring 9 Ethernet ports over the integrated Broadcom and the external Realtek switch. Hardware info: * Processor: Broadcom

Re: [PATCH] ramips: support TP-Link EAP615-Wall

2022-01-29 Thread Arınç ÜNAL
On 29/01/2022 16:03, Sander Vanheule wrote: Hi Stijn, Thanks for the patch, been looking forward to this! On Fri, 2022-01-28 at 00:00 +0200, Stijn Tintel wrote: Add support for the TP-Link EAP615-Wall, an AX1800 Wall Plate WiFi 6 AP. The device is very similar to the TP-Link EAP235-Wall.

Re: [PATCH 0/6] backport fixes and improvements for MT7530

2022-02-04 Thread Arınç ÜNAL
Tested this patch series on a private mt7621a board. With the Mediatek GE PHY driver, the link instability issue on the MT7530 switch ports is gone. You can use my tested-by tag on all of the patches. Tested-by: Arınç ÜNAL Cheers. Arınç

[PATCH 3/3] ramips: mt7621-dts: add pinctrl properties for ethernet

2022-02-07 Thread Arınç ÜNAL
Add the missing pinctrl properties on the ethernet node. GMAC1 will start working with this change. Link: https://lore.kernel.org/netdev/83a35aa3-6cb8-2bc4-2ff4-64278bbcd...@arinc9.com/ Signed-off-by: Arınç ÜNAL --- target/linux/ramips/dts/mt7621.dtsi | 3 +++ 1 file changed, 3 insertions

[PATCH 0/3] ramips: mt7621-dts: fix dtc warning, links and pinctrl

2022-02-07 Thread Arınç ÜNAL
working. Traffic flow on GMAC1 was tested on an mt7621a board with these modes: External phy <-> GMAC1 PHY 0/4 <-> GMAC1 Cheers. Arınç Arınç ÜNAL (3): ramips: mt7621-dts: fix switch@1f warnings ramips: mt7621-dts: enable flow control on port@6 ramips: mt7621-dts:

[PATCH 2/3] ramips: mt7621-dts: enable flow control on port@6

2022-02-07 Thread Arınç ÜNAL
Flow control needs to be enabled on both sides to work. It is already enabled on gmac0, enable it on port@6 too. Signed-off-by: Arınç ÜNAL --- target/linux/ramips/dts/mt7621.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts

[PATCH 1/3] ramips: mt7621-dts: fix switch@1f warnings

2022-02-07 Thread Arınç ÜNAL
this warning: Warning (avoid_unnecessary_addr_size): /ethernet@1e10/mdio-bus/switch@1f: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Signed-off-by: Arınç ÜNAL --- target/linux/ramips/dts/mt7621.dtsi | 3 --- 1 file changed, 3 deletions(-)

Re: [PATCH 0/6] backport fixes and improvements for MT7530

2022-02-05 Thread Arınç ÜNAL
On 06/02/2022 00:43, Hauke Mehrtens wrote: On 2/5/22 22:15, Arınç ÜNAL wrote: On 05/02/2022 21:23, Hauke Mehrtens wrote: On 2/5/22 19:21, Rosen Penev wrote: On Sat, Feb 5, 2022 at 10:12 AM Hauke Mehrtens wrote: On 2/3/22 13:06, DENG Qingfang wrote: Hi, This series backports some patches

Re: [PATCH 3/3] ramips: mt7621-dts: add pinctrl properties for ethernet

2022-02-08 Thread Arınç ÜNAL
Hey Chuanhong, On 08/02/2022 17:20, Chuanhong Guo wrote: Hi! On Tue, Feb 8, 2022 at 3:38 AM Arınç ÜNAL wrote: diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 9256e118e4..95113d4e11 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target

Re: [PATCH 0/6] backport fixes and improvements for MT7530

2022-02-06 Thread Arınç ÜNAL
On 06/02/2022 00:15, Arınç ÜNAL wrote: On 05/02/2022 21:30, Rosen Penev wrote: On Sat, Feb 5, 2022 at 10:23 AM Hauke Mehrtens wrote: On 2/5/22 19:21, Rosen Penev wrote: On Sat, Feb 5, 2022 at 10:12 AM Hauke Mehrtens wrote: On 2/3/22 13:06, DENG Qingfang wrote: Hi, This series

Re: [PATCH 0/6] backport fixes and improvements for MT7530

2022-02-06 Thread Arınç ÜNAL
On 06/02/2022 00:15, Arınç ÜNAL wrote: On 05/02/2022 21:23, Hauke Mehrtens wrote: On 2/5/22 19:21, Rosen Penev wrote: On Sat, Feb 5, 2022 at 10:12 AM Hauke Mehrtens wrote: On 2/3/22 13:06, DENG Qingfang wrote: Hi, This series backports some patches from upstream to address the current

Re: [PATCH v2 1/2] kernel: backport MediaTek Ethernet PHY driver

2022-02-05 Thread Arınç ÜNAL
t phy_device *phydev) Can you also send a patch to remove the phydev->interface != PHY_INTERFACE_MODE_INTERNAL check from upstream? Tested-by: Arınç ÜNAL Arınç ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/m

Re: [PATCH 3/3] ramips: mt7621-dts: add pinctrl properties for ethernet

2022-02-08 Thread Arınç ÜNAL
On 09/02/2022 01:29, Rosen Penev wrote: On Tue, Feb 8, 2022 at 1:02 PM Arınç ÜNAL wrote: On 08/02/2022 18:02, Arınç ÜNAL wrote: Hey Chuanhong, On 08/02/2022 17:20, Chuanhong Guo wrote: Hi! On Tue, Feb 8, 2022 at 3:38 AM Arınç ÜNAL wrote: diff --git a/target/linux/ramips/dts/mt7621

Re: [PATCH 3/3] ramips: mt7621-dts: add pinctrl properties for ethernet

2022-02-08 Thread Arınç ÜNAL
On 08/02/2022 18:02, Arınç ÜNAL wrote: Hey Chuanhong, On 08/02/2022 17:20, Chuanhong Guo wrote: Hi! On Tue, Feb 8, 2022 at 3:38 AM Arınç ÜNAL wrote: diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 9256e118e4..95113d4e11 100644 --- a/target

Re: [PATCH 3/3] ramips: mt7621-dts: add pinctrl properties for ethernet

2022-02-10 Thread Arınç ÜNAL
On 09/02/2022 09:18, Arınç ÜNAL wrote: On 09/02/2022 01:29, Rosen Penev wrote: On Tue, Feb 8, 2022 at 1:02 PM Arınç ÜNAL wrote: On 08/02/2022 18:02, Arınç ÜNAL wrote: Hey Chuanhong, On 08/02/2022 17:20, Chuanhong Guo wrote: Hi! On Tue, Feb 8, 2022 at 3:38 AM Arınç ÜNAL wrote: diff

[PATCH v2 0/3] ramips: mt7621-dts: fix dtc warning, links and pinctrl

2022-02-11 Thread Arınç ÜNAL
<-> GMAC1 PHY 0/4 <-> GMAC1 RGMII2 pins which are used as GPIO on some devicetrees were tested on a TP-Link RE650 v1. Cheers. Arınç Arınç ÜNAL (3): ramips: mt7621-dts: fix switch@1f warnings ramips: mt7621-dts: enable flow control on port@6 ramips: mt7621-dts: add pinctr

Re: [PATCH 0/6] backport fixes and improvements for MT7530

2022-02-05 Thread Arınç ÜNAL
On 05/02/2022 21:23, Hauke Mehrtens wrote: On 2/5/22 19:21, Rosen Penev wrote: On Sat, Feb 5, 2022 at 10:12 AM Hauke Mehrtens wrote: On 2/3/22 13:06, DENG Qingfang wrote: Hi, This series backports some patches from upstream to address the current MT7530 DSA driver's problems. Thanks.

Re: [PATCH 0/6] backport fixes and improvements for MT7530

2022-02-05 Thread Arınç ÜNAL
On 05/02/2022 21:30, Rosen Penev wrote: On Sat, Feb 5, 2022 at 10:23 AM Hauke Mehrtens wrote: On 2/5/22 19:21, Rosen Penev wrote: On Sat, Feb 5, 2022 at 10:12 AM Hauke Mehrtens wrote: On 2/3/22 13:06, DENG Qingfang wrote: Hi, This series backports some patches from upstream to address

Re: [PATCH v2] bcm53xx: complete Asus RT-AC88U support

2022-04-10 Thread Arınç ÜNAL
Can we get this applied if there're no objections? Arınç On 31/03/2022 09:35, Arınç ÜNAL wrote: Add white:lan LED configuration. Remove the BROKEN flag. Signed-off-by: Arınç ÜNAL --- v2: remove adding rtl8365mb patch as it's already done. --- target/linux/bcm53xx/base-files/etc/board.d

Re: [PATCH v3 3/5] bcm53xx: Add support for D-Link DIR-890L

2023-09-02 Thread Arınç ÜNAL
On 19.06.2023 09:36, Linus Walleij wrote: The DIR-890L is very similar to DIR-885L, but has both USB2 and USB3. The signature for the wrgac36 board was copied from DD-Wrt. The DIR-890L bootstrap will only load the first 2 MB after the SEAMA header in the NAND flash, uncompress it with LZMA and

Re: [PATCH] bcm53xx: Unconditionally build U-Boot for DIR-890L

2023-09-05 Thread Arınç ÜNAL
On 4.09.2023 23:58, Linus Walleij wrote: On Mon, Sep 4, 2023 at 12:03 PM Rafał Miłecki wrote: I don't see anything incorrect with Linus's original patch. Maybe we just have some dependency handling issue in u-boot generic .mk code? I have transient problem with the dependencies at times,

Re: [PATCH] bcm53xx: add nand subtarget

2023-08-20 Thread Arınç ÜNAL
On 20 August 2023 17:15:51 GMT+03:00, "Rafał Miłecki" wrote: >sob., 19 sie 2023 o 17:12 Arınç ÜNAL napisał(a): >> The NVMEM_BRCM_NVRAM driver won't work properly with NVRAM in NAND. It >> causes the devices with NVRAM in NAND to bootloop. Create a subtarget for &g

Re: [PATCH] bcm53xx: add nand subtarget

2023-08-20 Thread Arınç ÜNAL
On 20.08.2023 23:54, Rafał Miłecki wrote: niedz., 20 sie 2023 o 20:50 Arınç ÜNAL napisał(a): On 20 August 2023 17:15:51 GMT+03:00, "Rafał Miłecki" wrote: sob., 19 sie 2023 o 17:12 Arınç ÜNAL napisał(a): The NVMEM_BRCM_NVRAM driver won't work properly with NVRAM in NAND.

[PATCH] bcm53xx: add nand subtarget

2023-08-19 Thread Arınç ÜNAL
NVMEM_BRCM_NVRAM enabled. Signed-off-by: Arınç ÜNAL --- target/linux/bcm53xx/Makefile| 8 +- target/linux/bcm53xx/generic/target.mk | 4 + target/linux/bcm53xx/image/Makefile | 338 +-- target/linux/bcm53xx/image/generic.mk| 43 +++ target/linux/bcm53xx/image

[PATCH] bcm53xx: remove BROKEN flag from Asus RT-AC88U

2022-06-01 Thread Arınç ÜNAL
The image builds and works fine on Asus RT-AC88U. Therefore, remove the BROKEN flag from the makefile. Signed-off-by: Arınç ÜNAL --- target/linux/bcm53xx/image/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/bcm53xx/image/Makefile b/target/linux/bcm53xx/image/Makefile

Re: [PATCH RFT] ramips: use -fno-reorder-blocks for kernel compilation

2022-06-29 Thread Arınç ÜNAL
On 20.06.2022 23:24, Rafał Miłecki wrote: From: Rafał Miłecki It seems to affect (improve) NAT masquarade performance on ramips. This is SoC family specific (that flag worsens Broadcom Northstar NAT speeds) so it can't be applied to all devices. I have tested the NAT and routing performance

Re: [PATCH RFT] ramips: use -fno-reorder-blocks for kernel compilation

2022-06-29 Thread Arınç ÜNAL
On 29.06.2022 12:18, Arınç ÜNAL wrote: On 20.06.2022 23:24, Rafał Miłecki wrote: From: Rafał Miłecki It seems to affect (improve) NAT masquarade performance on ramips. This is SoC family specific (that flag worsens Broadcom Northstar NAT speeds) so it can't be applied to all devices. I have

Re: [PATCH] ramips: add support for Notion R281 (mtd5)

2022-07-24 Thread Arınç ÜNAL
On 24.07.2022 15:34, Ian Pangilinan wrote: On 2022-07-24 19:53, Arınç ÜNAL wrote: On 24.07.2022 14:48, Ian Pangilinan wrote: On 2022-07-24 18:32, Arınç ÜNAL wrote: On 24.07.2022 12:38, Ian Pangilinan wrote: + keys { + compatible = "gpio-keys"; + +

Re: [PATCH] ramips: add support for Notion R281 (mtd5)

2022-07-24 Thread Arınç ÜNAL
On 24.07.2022 12:38, Ian Pangilinan wrote: From: Ian Pangilinan Date: Sun, 24 July 2022 12:37:00 +0800 Subject: [PATCH] ramips: add support for Notion R281 (mtd5) Notion R281 is a Cat.6 LTE CPE. Product link: https://www.notioni.com/productinfo/759146.html Hardware highlights: - CPU:

Re: [PATCH] packages: nvram: add NVRAM quirks for bcm53xx target

2022-05-03 Thread Arınç ÜNAL
On 03/05/2022 10:20, Rafał Miłecki wrote: On 31.03.2022 21:19, Arınç ÜNAL wrote: Add NVRAM quirks script for the bcm53xx target. Split NVRAM quirks for the bcm47xx and bcm53xx targets. Move clear partialboot NVRAM quirk for Linksys EA9500 here. Add set wireless LED behaviour quirk for Asus RT

Re: [PATCH v2] bcm53xx: complete Asus RT-AC88U support

2022-05-03 Thread Arınç ÜNAL
On 03/05/2022 11:24, Rafał Miłecki wrote: On 31.03.2022 08:35, Arınç ÜNAL wrote: Add white:lan LED configuration. Remove the BROKEN flag. Signed-off-by: Arınç ÜNAL --- v2: remove adding rtl8365mb patch as it's already done. ---   target/linux/bcm53xx/base-files/etc/board.d/01_leds | 3

Re: [PATCH] ramips: mt7621-dts: fix claiming rgmii2 pin group for EdgeRouter X SFP

2022-05-03 Thread Arınç ÜNAL
Hi, I'd like to remind of this patch. On 17/03/2022 16:10, Arınç ÜNAL wrote: For a TX->TX connected external phy to transmit/receive data, the rgmii2 pin group needs to be claimed with gpio function, at least for EdgeRouter X SFP. We already claim the pin group under the pinctrl node with g

Re: [PATCH] packages: nvram: add NVRAM quirks for bcm53xx target

2022-05-03 Thread Arınç ÜNAL
> On 3 May 2022, at 23:12, Hauke Mehrtens wrote: > > On 5/3/22 09:44, Arınç ÜNAL wrote: >>> On 03/05/2022 10:20, Rafał Miłecki wrote: >>> On 31.03.2022 21:19, Arınç ÜNAL wrote: >>>> Add NVRAM quirks script for the bcm53xx target. Split NVRAM quirks for the

Re: [PATCH] packages: nvram: add NVRAM quirks for bcm53xx target

2022-05-04 Thread Arınç ÜNAL
On 04/05/2022 00:55, Jo-Philipp Wich wrote: Hi, I think boot() would look better, but it would be good to keep this consistent with the bcm47xx code. Using boot() or start() does not make a big difference, boot() calls start() anyway. an "/etc/init.d/whatever restart" will not execute

[PATCH v2] packages: nvram: add NVRAM quirks for bcm53xx target

2022-05-04 Thread Arınç ÜNAL
once, at boot. Signed-off-by: Arınç ÜNAL --- v2: Use boot() instead of start(). --- package/utils/nvram/Makefile | 8 +++- .../files/{nvram.init => nvram-bcm47xx.init} | 4 +- package/utils/nvram/files/nvram-bcm53xx.init | 40 +++ .../base-files/etc/ini

Re: DSA Mini-tutorial

2022-09-06 Thread Arınç ÜNAL
On 05/09/2022 15:22, Rich Brown wrote: Hello Arınç (and the rest of the list), It's good to hear from you again. On Sep 4, 2022, at 5:32 PM, Arınç ÜNAL wrote: I don't see much content to document DSA. All DSA does is creating a network interface for each switch port. What I think should

Re: DSA Mini-tutorial still marked as Work In Progress

2022-09-06 Thread Arınç ÜNAL
On 07/09/2022 00:33, Florian Fainelli wrote: On 9/4/2022 2:32 PM, Arınç ÜNAL wrote: Hi Rich, On 4.09.2022 17:58, Rich Brown wrote: Folks, The DSA Mini-tutorial on the Wiki (https://openwrt.org/docs/guide-user/network/dsa/dsa-mini-tutorial) is still marked as a "Work In Progress

Re: DSA Mini-tutorial

2022-09-07 Thread Arınç ÜNAL
On 07/09/2022 21:32, Rich Brown wrote: On Sep 6, 2022, at 5:33 PM, Florian Fainelli wrote: I don't see much content to document DSA. All DSA does is creating a network interface for each switch port. What I think should be properly documented is the Bridge VLAN filtering feature. I have

Re: DSA Mini-tutorial still marked as Work In Progress

2022-09-04 Thread Arınç ÜNAL
Hi Rich, On 4.09.2022 17:58, Rich Brown wrote: Folks, The DSA Mini-tutorial on the Wiki (https://openwrt.org/docs/guide-user/network/dsa/dsa-mini-tutorial) is still marked as a "Work In Progress" I should know - I wrote this up as we were getting ready to ship 21.02, and I thought that we

[PATCH] bcm53xx: enable Broadcom 4366b1 firmware for Asus RT-AC88U

2022-10-18 Thread Arınç ÜNAL
will be supported by having brcmfmac use the firmware file for the wireless chip it detects. Signed-off-by: Arınç ÜNAL --- Hauke, please cherry-pick this to 22.03. Arınç --- target/linux/bcm53xx/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux

[PATCH] ramips: do not use GPIO function on switch pins on certain devices

2022-10-19 Thread Arınç ÜNAL
no bridge offloading between the "wan" and "lan" interfaces. Signed-off-by: Arınç ÜNAL --- .../linux/ramips/dts/mt7621_linksys_e7350.dts | 37 --- .../ramips/dts/mt7621_netgear_wax202.dts | 18 - .../ramips/dts/mt7621_zbtlink_zbt-wg1608.dtsi | 37 -

Re: DSA Terminology

2022-09-13 Thread Arınç ÜNAL
On 13.09.2022 22:56, Jo-Philipp Wich wrote: Hi, IMHO changing, in /etc/config/network: "config interface" -> "config network" "config device" -> "config interface" would eliminate this semantic inconsistency and bring the naming convention more in line with what Rich referred to in his

  1   2   >