Repository navigation
Mr85x dsa2 - #131
Closed
namiltd wants to merge 1 commit into
Closed
Mr85x dsa2#131namiltd wants to merge 1 commit into
namiltd wants to merge 1 commit into
Conversation
namiltd
force-pushed
the
MR85X_DSA2
branch
3 times, most recently
from
June 17, 2026 09:53
2dc58ca to
82c535e
Compare
namiltd
force-pushed
the
MR85X_DSA2
branch
6 times, most recently
from
June 28, 2026 15:53
7d0f1c0 to
406d40c
Compare
namiltd
force-pushed
the
MR85X_DSA2
branch
2 times, most recently
from
July 1, 2026 16:58
8100e78 to
dfc8259
Compare
namiltd
force-pushed
the
MR85X_DSA2
branch
9 times, most recently
from
July 22, 2026 20:03
f6c57ab to
9c833d4
Compare
This commit adds DSA support for Mercusys MR85X router. Device specification: - SoC: Mediatek MT7981b, Cortex-A53, 64-bit - RAM: 512MB - Flash: SPI NAND GigaDevice GD5F1GQ5UEYIGY (128 MB) - Ethernet: Realtek rtl8367s + 2.5Gbe Airoha en8811h - Ethernet: 1x2.5Gbe (WAN 2.5Gbps), 3xGbe (LAN 1Gbps, port0, port1, port2) - Wireless: 2.4GHz (802.11 b/g/n/ax) - Wireless: 5GHz (802.11 a/n/ac/ax) - LEDs: 1 amber and 1 green status LEDs, 4 green gpio-controlled LEDs on ethernet ports - Buttons: 2 (reset,wps) - Bootloader: Main U-Boot - U-Boot 2022.07-rc3. Additionally, both UBI slots contain "seconduboot" (also U-Boot 2022.07-rc3) Installation (UART): - Place OpenWrt initramfs-kernel image on tftp server with IP 192.168.1.2 - Attach UART, switch on the router and interrupt the boot process by pressing 'Ctrl-C'. - Set the uboot environment for startup. setenv tp_boot_idx 0; saveenv If the bootarg is set to boot from ubi1, also change it to ubi0. - Load and run OpenWrt initramfs image. setenv serverip 192.168.1.2; setenv ipaddr 192.168.1.1; tftpboot initramfs-kernel.bin; bootm - Browse IP 192.168.1.1, upload the 'sysupgrade' image and do upgrade. Recovery: - Press Reset button and power on the router. - Navigate to U-Boot recovery web server (http://192.168.1.1/) and upload the OEM firmware. Stock layout: 0x000000000000-0x000000200000 : "boot" 0x000000200000-0x000000300000 : "u-boot-env" 0x000000300000-0x000003500000 : "ubi0" 0x000003500000-0x000006700000 : "ubi1" 0x000006700000-0x000006f00000 : "userconfig" 0x000006f00000-0x000007300000 : "tp_data" ubi0/ubi1 format: U-Boot at boot checks that all volumes are in place: +-------------------------------+ | Volume Name: uboot Vol ID: 0| | Volume Name: kernel Vol ID: 1| | Volume Name: rootfs Vol ID: 2| +-------------------------------+ MAC addresses: +---------+-------------------+-----------+ | | MAC | Algorithm | +---------+-------------------+-----------+ | label | 00:FF:xx:xx:xx:EE | label | | WAN | 00:FF:xx:xx:xx:EF | label+1 | | LAN | 00:FF:xx:xx:xx:EE | label | | WLAN 2g | 00:FF:xx:xx:xx:ED | label-1 | | WLAN 5g | 00:FF:xx:xx:xx:EC | label-2 | +---------+-------------------+-----------+ label MAC address was found in UBI partition "tp_data", file "default-mac". OEM wireless eeprom is also there, file "MT7981_EEPROM.bin". Signed-off-by: Schneider Azima <[email protected]>
csharper2005
added a commit
to csharper2005/openwrt
that referenced
this pull request
Aug 4, 2026
Migrate the Mercusys MR85X network switch configuration from the legacy swconfig architecture to the Distributed Switch Architecture (DSA) driver framework. This updates the device tree bindings to utilize the realtek-rtl8365mb DSA driver for the integrated Realtek RTL8367S switch, enabling proper native Linux bridging interface management. Co-authored-by: Schneider Azima <[email protected]> Link: openwrt#19445 Co-authored-by: Mieczyslaw Nalewaj <[email protected]> Link: namiltd#131 Co-authored-by: Mikhail Zhilkin <[email protected]> Signed-off-by: Mikhail Zhilkin <[email protected]>
csharper2005
added a commit
to csharper2005/openwrt
that referenced
this pull request
Aug 4, 2026
Migrate the Mercusys MR85X network switch configuration from the legacy swconfig architecture to the Distributed Switch Architecture (DSA) driver framework. This updates the device tree bindings to utilize the realtek-rtl8365mb DSA driver for the integrated Realtek RTL8367S switch, enabling proper native Linux bridging interface management. Co-authored-by: Schneider Azima <[email protected]> Link: openwrt#19445 Co-authored-by: Mieczyslaw Nalewaj <[email protected]> Link: namiltd#131 Co-authored-by: Mikhail Zhilkin <[email protected]> Signed-off-by: Mikhail Zhilkin <[email protected]>
csharper2005
added a commit
to csharper2005/openwrt
that referenced
this pull request
Aug 5, 2026
Migrate the Mercusys MR85X network switch configuration from the legacy swconfig architecture to the Distributed Switch Architecture (DSA) driver framework. This updates the device tree bindings to utilize the realtek-rtl8365mb DSA driver for the integrated Realtek RTL8367S switch, enabling proper native Linux bridging interface management. Co-authored-by: Schneider Azima <[email protected]> Link: openwrt#19445 Co-authored-by: Mieczyslaw Nalewaj <[email protected]> Link: namiltd#131 Co-authored-by: Mikhail Zhilkin <[email protected]> Signed-off-by: Mikhail Zhilkin <[email protected]>
csharper2005
added a commit
to csharper2005/openwrt
that referenced
this pull request
Aug 6, 2026
Migrate the Mercusys MR85X network switch configuration from the legacy swconfig architecture to the Distributed Switch Architecture (DSA) driver framework. This updates the device tree bindings to utilize the realtek-rtl8365mb DSA driver for the integrated Realtek RTL8367S switch, enabling proper native Linux bridging interface management. Co-authored-by: Schneider Azima <[email protected]> Link: openwrt#19445 Co-authored-by: Mieczyslaw Nalewaj <[email protected]> Link: namiltd#131 Co-authored-by: Mikhail Zhilkin <[email protected]> Signed-off-by: Mikhail Zhilkin <[email protected]>
csharper2005
added a commit
to csharper2005/openwrt
that referenced
this pull request
Aug 7, 2026
Migrate the Mercusys MR85X network switch configuration from the legacy swconfig architecture to the Distributed Switch Architecture (DSA) driver framework. This updates the device tree bindings to utilize the realtek-rtl8365mb DSA driver for the integrated Realtek RTL8367S switch, enabling proper native Linux bridging interface management. Co-authored-by: Schneider Azima <[email protected]> Link: openwrt#19445 Co-authored-by: Mieczyslaw Nalewaj <[email protected]> Link: namiltd#131 Co-authored-by: Mikhail Zhilkin <[email protected]> Signed-off-by: Mikhail Zhilkin <[email protected]>
csharper2005
added a commit
to csharper2005/openwrt
that referenced
this pull request
Aug 7, 2026
Migrate the Mercusys MR85X network switch configuration from the legacy swconfig architecture to the Distributed Switch Architecture (DSA) driver framework. This updates the device tree bindings to utilize the realtek-rtl8365mb DSA driver for the integrated Realtek RTL8367S switch, enabling proper native Linux bridging interface management. Co-authored-by: Schneider Azima <[email protected]> Link: openwrt#19445 Co-authored-by: Mieczyslaw Nalewaj <[email protected]> Link: namiltd#131 Co-authored-by: Mikhail Zhilkin <[email protected]> Signed-off-by: Mikhail Zhilkin <[email protected]>
csharper2005
added a commit
to csharper2005/openwrt
that referenced
this pull request
Aug 7, 2026
Migrate the Mercusys MR85X network switch configuration from the legacy swconfig architecture to the Distributed Switch Architecture (DSA) driver framework. This updates the device tree bindings to utilize the realtek-rtl8365mb DSA driver for the integrated Realtek RTL8367S switch, enabling proper native Linux bridging interface management. Co-authored-by: Schneider Azima <[email protected]> Link: openwrt#19445 Co-authored-by: Mieczyslaw Nalewaj <[email protected]> Link: namiltd#131 Co-authored-by: Mikhail Zhilkin <[email protected]> Signed-off-by: Mikhail Zhilkin <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks for your contribution to OpenWrt!
To help keep the codebase consistent and readable,
and to help people review your contribution,
we ask you to follow the rules you find in the wiki at this link
https://openwrt.org/submitting-patches
Please remove this message before posting the pull request.