Discussion:
[PATCH 0/4] add support for mt7620 wifi
(too old to reply)
Roman Yeryomin
2014-06-30 17:34:20 UTC
Permalink
This adds support for mt7620 SoC.
Tested with Asus RT-N14U only.

Thanks to everybody who participated in this effort.
Epecially Miko Hissa and Сергей Василюгин.


Roman Yeryomin (4):
[mac80211] add support for mt7620
[mac80211] enable driver compilation for mt7620
[ramips] enable wmac clock for mt7620
[ramips] add wmac to mt7620 device tree

package/kernel/mac80211/Makefile | 2 +-
...910-00-rt2x00-enable-rt2800soc-for-mt7620.patch | 20 +
.../patches/910-01-add-support-for-mt7620.patch | 1198 ++++++++++++++++++++
target/linux/ramips/dts/mt7620n.dtsi | 10 +
.../patches-3.10/0401-mt7620n-add-wmac-clock.patch | 27 +
5 files changed, 1256 insertions(+), 1 deletion(-)
create mode 100644 package/kernel/mac80211/patches/910-00-rt2x00-enable-rt2800soc-for-mt7620.patch
create mode 100644 package/kernel/mac80211/patches/910-01-add-support-for-mt7620.patch
create mode 100644 target/linux/ramips/patches-3.10/0401-mt7620n-add-wmac-clock.patch
--
1.9.1
John Crispin
2014-07-01 10:31:13 UTC
Permalink
This adds support for mt7620 SoC. Tested with Asus RT-N14U only.
Thanks to everybody who participated in this effort. Epecially Miko
Hissa and Сергей Василюгин.
Roman Yeryomin (4): [mac80211] add support for mt7620 [mac80211]
enable driver compilation for mt7620 [ramips] enable wmac clock for
mt7620 [ramips] add wmac to mt7620 device tree
package/kernel/mac80211/Makefile | 2 +-
...910-00-rt2x00-enable-rt2800soc-for-mt7620.patch | 20 +
.../patches/910-01-add-support-for-mt7620.patch | 1198
++++++++++++++++++++ target/linux/ramips/dts/mt7620n.dtsi
| 10 + .../patches-3.10/0401-mt7620n-add-wmac-clock.patch | 27
+ 5 files changed, 1256 insertions(+), 1 deletion(-) create mode
100644
package/kernel/mac80211/patches/910-00-rt2x00-enable-rt2800soc-for-mt7620.patch
create mode 100644
package/kernel/mac80211/patches/910-01-add-support-for-mt7620.patch
create mode 100644
target/linux/ramips/patches-3.10/0401-mt7620n-add-wmac-clock.patch
Hi,

confirmed working and pushed to trunk.

tested on mt7620a/n. i tested on 2 eval kits and 4 buffalo routers.

for me all have functional ethernet even without the vid patch.

nonetheless we should make the vid = vlan nr thing explicit and default

i have a recollection, that the eep layout is different on mt7620 and
i don't see that code being patched. so we need to look into that

i am also missing the lna/pna fixes, we should add those as well,
similar to how rt3352 does it.

those nitpicks set aside, we have working wifi on mt7620x !!! :)

thanks again to all involved, i think we will have the final cleanups
in trunk soon, now that we have packet flow.

John


PS: just tested whr-1166 and get this, telling me the eeprom code
needs a bit more love. i can still assoc though and am sending this
mail via the whr-1166

[ 26.430000] WARNING: at
/openwrt/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/compat-wireless-2014-05-22/drivers/net/wireless/rt2x00/rt2800lib.c:408
rt2800_vco_calibration+0x2d8/0x3d4 [rt2800lib]()
[ 26.470000] phy0: invalid EEPROM word 208
[ 26.480000] Modules linked in: rt2800soc rt2800pci rt2800mmio
....
Roman Yeryomin
2014-07-01 15:04:29 UTC
Permalink
Post by John Crispin
This adds support for mt7620 SoC. Tested with Asus RT-N14U only.
Thanks to everybody who participated in this effort. Epecially Miko
Hissa and Сергей Василюгин.
Hi,
confirmed working and pushed to trunk.
tested on mt7620a/n. i tested on 2 eval kits and 4 buffalo routers.
for me all have functional ethernet even without the vid patch.
nonetheless we should make the vid = vlan nr thing explicit and default
i have a recollection, that the eep layout is different on mt7620 and
i don't see that code being patched. so we need to look into that
i am also missing the lna/pna fixes, we should add those as well,
similar to how rt3352 does it.
those nitpicks set aside, we have working wifi on mt7620x !!! :)
thanks again to all involved, i think we will have the final cleanups
in trunk soon, now that we have packet flow.
John
PS: just tested whr-1166 and get this, telling me the eeprom code
needs a bit more love. i can still assoc though and am sending this
mail via the whr-1166
[ 26.430000] WARNING: at
/openwrt/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/compat-wireless-2014-05-22/drivers/net/wireless/rt2x00/rt2800lib.c:408
rt2800_vco_calibration+0x2d8/0x3d4 [rt2800lib]()
[ 26.470000] phy0: invalid EEPROM word 208
[ 26.480000] Modules linked in: rt2800soc rt2800pci rt2800mmio
....
I think there is still a lot of work to do.
But yes, I'm using my asus board all the day and it seems pretty
stable. Although I didn't try extracting eeprom from the board itself
yet (I'm using the one from original driver).


Regards,
Roman
Сергей Василюгин
2014-07-01 16:27:18 UTC
Permalink
Continue reading on narkive:
Loading...