Re: [OpenWrt-Devel] [PATCH] ar71xx: enable QCA955x SGMII fixup on Mikrotik wAP AC

2019-07-14 Thread Etienne Champetier
Hi David, Le dim. 14 juil. 2019 à 04:25, David Bauer a écrit : > > Hi Etienne, > > one small remark: > > On 14.07.19 04:43, Etienne Champetier wrote: > > ath79_init_mac(ath79_eth1_data.mac_addr, ath79_mac_base, 0); > > ath79_eth1_data.mii_bus_dev = &rbwapgsc_phy_device.dev; > >

[OpenWrt-Devel] fstools review incomplete

2019-07-14 Thread Ansuel Smith
Hello i notice 2 of 4 patched has been accepted. Can someone review the other 2? Also why the changes didn't got merged in master? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH v2] gemini: Bring up DSA switches

2019-07-14 Thread Linus Walleij
On Sun, Jul 14, 2019 at 10:46 PM Linus Walleij wrote: > On Sun, Jul 14, 2019 at 5:15 PM Pawel Dembicki > wrote: > > > > +storlink,gemini324) > > > + # These are all connected to eth1 thru VSC7385 > > > + ucidef_set_interface "eth" ifname "eth1" protocol "none" > > > + ucidef_set_inte

Re: [OpenWrt-Devel] [PATCH v2] gemini: Bring up DSA switches

2019-07-14 Thread Linus Walleij
On Sun, Jul 14, 2019 at 5:15 PM Pawel Dembicki wrote: > > +storlink,gemini324) > > + # These are all connected to eth1 thru VSC7385 > > + ucidef_set_interface "eth" ifname "eth1" protocol "none" > > + ucidef_set_interfaces_lan_wan "eth1 lan1 lan2 lan3 lan4" "eth0" > > + ;; Ooops

Re: [OpenWrt-Devel] [PATCH RFC 2/3] ramips: mt76x8: pinctrl: add a hack for ESD_MODE bit in GPIO1_MODE

2019-07-14 Thread Petr Štetiar
Chuanhong Guo [2019-07-15 00:34:27]: Hi, > To properly solve this problem and the other pinctrl hack in mtk-mmc > driver we'll need to write a dedicated pinctrl driver for mt76x8, I would prefer a proper fix instead of this hack series :-) -- ynezz ___

[OpenWrt-Devel] [PATCH] libroxml: bump to the 3.0.2 version

2019-07-14 Thread Rafał Miłecki
From: Rafał Miłecki * Fix for memory leak regression * Support for (un)escaping Signed-off-by: Rafał Miłecki --- package/libs/libroxml/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libs/libroxml/Makefile b/package/libs/libroxml/Makefile index 334ca8

[OpenWrt-Devel] [PATCH] orion: sysupgrade: change platform_check_image() args validation

2019-07-14 Thread Rafał Miłecki
From: Rafał Miłecki sysupgrade passes image to check as argument so use $# instead of $ARGC Signed-off-by: Rafał Miłecki --- target/linux/orion/generic/base-files/lib/upgrade/platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/orion/generic/base-files/l

[OpenWrt-Devel] [PATCH] mvebu: sysupgrade: drop platform_copy_config_sdcard() argument

2019-07-14 Thread Rafał Miłecki
From: Rafał Miłecki That function doesn't take any arguments so don't pass anything when calling it. Signed-off-by: Rafał Miłecki --- target/linux/mvebu/base-files/lib/upgrade/platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/mvebu/base-files/lib/upgr

[OpenWrt-Devel] [sdwalker/sdwalker.github.io] 7b7b8e: This week's update

2019-07-14 Thread Stephen Walker
Branch: refs/heads/master Home: https://github.com/sdwalker/sdwalker.github.io Commit: 7b7b8e8a25ddb6444c3c91fbb23f41a5f4b80deb https://github.com/sdwalker/sdwalker.github.io/commit/7b7b8e8a25ddb6444c3c91fbb23f41a5f4b80deb Author: Stephen Walker Date: 2019-07-14 (Sun, 14 Jul 2

[OpenWrt-Devel] [PATCH] treewide: sysupgrade: don't use $ARGV in platform_do_upgrade()

2019-07-14 Thread Rafał Miłecki
From: Rafał Miłecki stage2 passes image path to platform_do_upgrade() as an argument so it can be simply accessed using $1 Signed-off-by: Rafał Miłecki --- .../base-files/lib/upgrade/platform.sh | 4 ++-- .../ar71xx/base-files/lib/upgrade/dir825.sh| 4 ++-- .../ar71xx/base-files/

[OpenWrt-Devel] [PATCH 2/2] base-files: don't set ARGV and ARGC

2019-07-14 Thread Rafał Miłecki
From: Rafał Miłecki Those are not used by any image check function anymore. Signed-off-by: Rafał Miłecki --- package/base-files/files/sbin/sysupgrade | 3 --- 1 file changed, 3 deletions(-) diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index

[OpenWrt-Devel] [PATCH 1/2] mvebu: sysupgrade: don't use $ARGV in platform_check_image()

2019-07-14 Thread Rafał Miłecki
From: Rafał Miłecki sysupgrade passes image path to platform_check_image() as an argument so it can be simply accessed using $1 Signed-off-by: Rafał Miłecki --- target/linux/mvebu/base-files/lib/upgrade/platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linu

[OpenWrt-Devel] [PATCH RFC 1/3] ramips: mtk-mmc: mt76x8: check ESD_MODE before applying AGPIO_CFG

2019-07-14 Thread Chuanhong Guo
Since mt76x8an ver1 eco2, SDXC pins can be switched to the following pinmap: sd_d1 -> PAD_I2S_SDI sd_d0 -> PAD_I2S_WS sd_cmd -> PAD_I2S_CLK sd_d3 -> PAD_I2C_SCLK sd_d2 -> PAD_I2C_SD sd_clk -> PAD_GPIO0 sd_wp -> PAD_TXD1 sd_cd -> PAD_RXD1 To use this pinmap, one would need to set ESD_MODE bit

[OpenWrt-Devel] [PATCH RFC 3/3] ramips: enable sdxc driver for hc5661a

2019-07-14 Thread Chuanhong Guo
Since we've fixed AGPIO_MODE setup in sdxc driver, we can enable SDXC interface for HC5661A now. Signed-off-by: Chuanhong Guo --- pinctrl disallows "double enable" for a function (meaning can't set a group to gpio twice), so the gpio group needs to be specified for every dts and can't be put int

[OpenWrt-Devel] [PATCH RFC 2/3] ramips: mt76x8: pinctrl: add a hack for ESD_MODE bit in GPIO1_MODE

2019-07-14 Thread Chuanhong Guo
This bit is used to specify sdxc pinmap for mt76x8. Details available in patch description. To properly solve this problem and the other pinctrl hack in mtk-mmc driver we'll need to write a dedicated pinctrl driver for mt76x8, with the support for configuring AGPIO_MODE and RGCTL registers as well

[OpenWrt-Devel] [PATCH RFC 0/3] ramips: fix SDXC for HiWiFi HC5661A

2019-07-14 Thread Chuanhong Guo
Since mt76x8 ver1 eco2, SDXC pins can be switched to the following pinmap: sd_d1 -> PAD_I2S_SDI sd_d0 -> PAD_I2S_WS sd_cmd -> PAD_I2S_CLK sd_d3 -> PAD_I2C_SCLK sd_d2 -> PAD_I2C_SD sd_clk -> PAD_GPIO0 sd_wp -> PAD_TXD1 sd_cd -> PAD_RXD1 To use this pinmap, one would need to set ESD_MODE bit (

Re: [OpenWrt-Devel] [PATCH v2] gemini: Bring up DSA switches

2019-07-14 Thread Pawel Dembicki
On 14.07.2019 15:50, Linus Walleij wrote: +storlink,gemini324) + # These are all connected to eth1 thru VSC7385 + ucidef_set_interface "eth" ifname "eth1" protocol "none" + ucidef_set_interfaces_lan_wan "eth1 lan1 lan2 lan3 lan4" "eth0" + ;; and: +itian,sq201) +

Re: [OpenWrt-Devel] [PATCH] gemini: Bring up DSA switches

2019-07-14 Thread Pawel Dembicki
Hi Linus, I work with P2020RDB and I stucked at the same problem. On 14.07.2019 12:04, Linus Walleij wrote: On Sat, Jul 13, 2019 at 10:38 PM Florian Fainelli wrote: I really tried to figure out a way to get both the Vitesse and Realtek switches to do internal tagging but they just don't. I

[OpenWrt-Devel] [PATCH v2] gemini: Bring up DSA switches

2019-07-14 Thread Linus Walleij
First group the interfaces on the DSA switch into the right LAN/WAN groups. Tested successfully on the Itian Square One SQ201 and the SL93512 reference design with the Vitesse DSA switches. As discussed on the mailing list, these switches are untagged (DSA_TAG_PROTO_NONE) so the DSA slave devices

[OpenWrt-Devel] [PATCH] nftables: Update nftables & clean up dependencies

2019-07-14 Thread Kristian Evensen
This patch does three things: * Bumps nftables from 0.9.0 to 0.9.1 and remove a patch that was accepted upstream. * Cleans up the nftables-dependencies in netfilter.mk. All targets are not at 4.14+, so there is no need to specify for example "ge 4.9.0" or keep "lt 4.9.0" around. * Fix building sup

Re: [OpenWrt-Devel] [PATCH] ar71xx: enable QCA955x SGMII fixup on Mikrotik wAP AC

2019-07-14 Thread David Bauer
Hi Etienne, one small remark: On 14.07.19 04:43, Etienne Champetier wrote: > ath79_init_mac(ath79_eth1_data.mac_addr, ath79_mac_base, 0); > ath79_eth1_data.mii_bus_dev = &rbwapgsc_phy_device.dev; > ath79_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_SGMII; > ath79_eth1_data.p

Re: [OpenWrt-Devel] [PATCH] gemini: Bring up DSA switches

2019-07-14 Thread Linus Walleij
On Sat, Jul 13, 2019 at 10:38 PM Florian Fainelli wrote: > drivers/net/dsa/vitesse-vsc73xx.c returns DSA_TAG_PROTO_NONE for the > tagging protocol, which means that the DSA slave devices are only > control devices they are not used by the data-path (which requires an > appropriate tagging protoco