New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ramips: add Wavlink WL-WN572HG3 router #15179
base: main
Are you sure you want to change the base?
Conversation
No specifications, installation method, etc. in the commit description. In the definition of LEDs the label is deprecated, use color/function instead. |
e835e8f
to
3e556d3
Compare
01d9444
to
93a56c2
Compare
|
@namiltd, I too initally thought it should be 10/100Mbps. But I've run an iperf3 test and I get higher than 100Mbps. That is why I believe WAN should be 1G. I googled it and found some references in this same direction: wavlinkstore iperf3
I think it tops by cpu wavlink side
router upstream from WAN
|
It's ok, the router has an additional Realtek chip (RTL8211F) connected via rgmii on port4. What is the effect after enabling pa_gpio? The name of the router is WL-WN572HG3, not WL-572HG3. LAN 80:3f:5d:b7:58:8f for compatibility this means:
Log also confirms eLNA: [ 14.688000] [7620]:20-E2P[0x36]:(c004),EXT LNA|PA on! |
Hi @namiltd, with the current config I already get mac address with the same increasing sequence, and the same mac addresses I used to have. Current DTS maps firmware address 0x28 for eth I don't think we need to offset -2 eth and remap wlan mac-address MTD Firmware
Original
Current Openwrt build
|
In my opinion, the code is almost ready for commit. It only requires changing the router name in the commit title and description (to WL-WN572HG3). |
Updated model. |
Hi @namiltd, I was reviewing the bootlog, and there are some warnings in the MTD partitions that I need some help with. Some regarding bad cell count on dts-tree partitions. The other regarding erase block boundaries.
|
This is just a warning which you can ignore completely or change the code by adding two lines so it doesn't appear:
|
Understood. |
Hi,anything else to merge this PR? |
Adds support for Wavlink AC 1200 (WL-WN572HG3) router. Specifications: * Soc: MT7620A * RAM: 64MiB * Flash: NOR 8MiB GD25Q64B * Wi-Fi: * MT7612E: 5GHz * MT7620A: 2.4GHz * Ethernet: 1x 10/100Mb LAN + 1x 1Gb-WAN * USB: 1x 2.0 - only used internally * UART: 57600, 8N1 * LEDs: * 7 blue at the front * 1 Power (fixed) * 2 LAN / WAN * 2 WIFI 2.4 / 5 (annotated wifi/low) * 2 Status: running / boot,failsafe (annotated mid/high) * Buttons: 1 reset button * POE: Passive 24 VDC, 0.5 A Installation: * Set host computer's ip to 192.168.10.100 * save sysupgrade image file as 'firmware.bin' * setup tftp server on computer, serving the file from root * connect your computer to the LAN port of the WAVLINK router via an Ethernet cable * press and hold the reset button while powering on the router * keep it pressed for ten seconds * wait for firmware to be uploaded Signed-off-by: Adrian Panella <ianchi74@outlook.com>
Updated leds and tested. |
Hi @hauke/@namiltd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing label_mac
?
read-only; | ||
}; | ||
|
||
factory: partition@40000 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
factory: partition@40000 { | |
partition@40000 { |
mediatek,fixed-link = <1000 1 1 1>; | ||
}; | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove duplicated new line.
reg = <4>; | ||
phy-mode = "rgmii"; | ||
}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove new line.
|
||
ðernet { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>; | |
pinctrl-0 = <&rgmii2_pins>, <&mdio_pins>; |
}; | ||
|
||
&pcie0 { | ||
mt76@0,0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mt76@0,0 { | |
wifi@0,0 { |
Adds support for Wavlink AC 1200 (WL-WN572HG3) router.
Thanks to varu for a lot of work.
See furum thread.
Specifications:
Installation: