Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:mercusys:mr90x_v1 [2023/07/29 14:58] – [OEM bootlog] csharper2005 | toh:mercusys:mr90x_v1 [2024/11/30 21:25] – [UART method] csharper2005 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| /* DO NOT CREATE NEW DEVICEPAGES VIA COPY & PASTE! */ | /* DO NOT CREATE NEW DEVICEPAGES VIA COPY & PASTE! */ | ||
| /* USE https:// | /* USE https:// | ||
| - | |||
| - | {{page> | ||
| The MERCUSYS MR90X(EU) v1 router supports 4 802.11ax streams on both 2.4GHz @40MHz and 5GHz @160MHz for a combined 6000Mbps wireless speed. It is based on the MediaTek MT7986B SoC. | The MERCUSYS MR90X(EU) v1 router supports 4 802.11ax streams on both 2.4GHz @40MHz and 5GHz @160MHz for a combined 6000Mbps wireless speed. It is based on the MediaTek MT7986B SoC. | ||
| + | |||
| + | The Chinese model X60G(AX6000) is **NOT** the same, which doesn' | ||
| /*****/ | /*****/ | ||
| Line 17: | Line 17: | ||
| ===== Supported Versions ===== | ===== Supported Versions ===== | ||
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | headers | + | " |
| - | align : c,c,c,c,c,c,c | + | " |
| - | filter | + | " |
| - | filter | + | " |
| - | filter | + | |
| - | ---- | + | } --> |
| /* If no unsupported functions known, comment out the following datatable or delete it. */ | /* If no unsupported functions known, comment out the following datatable or delete it. */ | ||
| /* | /* | ||
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | filter | + | |
| - | filter | + | |
| - | filter | + | |
| - | ---- | + | " |
| - | */ | + | } --> |
| - | ===== Experimental Versions ===== | ||
| - | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | + | ===== Installation ===== |
| - | | + | /* stable |
| - | | + | |
| - | | + | |
| - | | + | |
| - | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | + | |
| - | //None at this time.// | + | <!-- ToH: { |
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| - | ===== Hardware Highlights | + | ==== Installation |
| - | ---- datatable ---- | + | |
| - | cols : Model, Versions, CPU, CPU MHz, CPU Cores_numcores, | + | |
| - | header | + | |
| - | align : c, | + | |
| - | filter | + | |
| - | filter | + | |
| - | filter | + | |
| - | ---- | + | |
| + | 1. Connect network cable to the LAN1 port of the router | ||
| - | ===== Installation ===== | + | 2. Login as root via SSH (router IP, port '' |
| - | /* stable release */ | + | |
| - | /* uncomment once stable release is available | + | |
| - | ---- datatable ---- | + | |
| - | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | + | |
| - | headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock | + | |
| - | align : c,c,c | + | |
| - | filter | + | |
| - | filter | + | |
| - | filter | + | |
| - | ---- | + | |
| - | */ | + | |
| + | <code bash> | ||
| + | BusyBox v1.19.4 (2022-09-15 21:10:21 CST) built-in shell (ash) | ||
| + | Enter ' | ||
| - | /* snapshot */ | + | |
| - | /* delete once stable release is available */ | + | $MMMMM |
| - | ---- datatable ---- | + | |
| - | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt snapshot Install URL_url, Firmware OpenWrt snapshot Upgrade URL_url, Firmware OEM Stock URL_url | + | MMMM= MMMMMM |
| - | headers : Model, Version, Current Release, Firmware OpenWrt snapshot Install, Firmware OpenWrt snapshot Upgrade, Firmware OEM Stock | + | MMMM= MMMMM MMMM MM |
| - | align | + | MMMM= |
| - | filter | + | MMMM= |
| - | filter | + | MMMM= |
| - | filter | + | MMMM= |
| - | ---- | + | MMMM= MMMM |
| + | MMMM$ , | ||
| + | | ||
| + | MMMMMM | ||
| + | | ||
| + | M | ||
| + | --------------------------------------------------------------- | ||
| + | For those about to rock... (Attitude Adjustment, unknown) | ||
| + | | ||
| + | admin@Akronite:/ | ||
| + | </ | ||
| + | 3. Run the following command: | ||
| - | -> [[docs: | + | <code bash> |
| + | fw_printenv | ||
| + | </ | ||
| - | FIXME Please add the installation procedure here. | + | If the result is '' |
| + | 4. Open for editing ''/ | ||
| + | |||
| + | 5. Add a newline after ''# | ||
| + | <code bash> | ||
| + | telnetd -l / | ||
| + | </ | ||
| + | |||
| + | 6. Save '' | ||
| + | |||
| + | 7. Toggle '' | ||
| + | |||
| + | 8. Make sure that telnetd is running: | ||
| + | <code bash> | ||
| + | netstat -ltunp | grep 23 | ||
| + | </ | ||
| + | |||
| + | 9. Login via telnet to router IP, port '' | ||
| + | |||
| + | < | ||
| + | BusyBox v1.19.4 (2022-09-15 21:10:21 CST) built-in shell (ash) | ||
| + | Enter ' | ||
| + | |||
| + | | ||
| + | | ||
| + | MMMMMMMM | ||
| + | MMMM= MMMMMM | ||
| + | MMMM= MMMMM MMMM MM | ||
| + | MMMM= | ||
| + | MMMM= | ||
| + | MMMM= | ||
| + | MMMM= | ||
| + | MMMM= | ||
| + | MMMM$ , | ||
| + | MMMMMMM: | ||
| + | MMMMMM | ||
| + | | ||
| + | M | ||
| + | | ||
| + | For those about to rock... (Attitude Adjustment, unknown) | ||
| + | | ||
| + | root@Akronite:/# | ||
| + | </ | ||
| + | |||
| + | 10. Upload OpenWrt '' | ||
| + | | ||
| + | 11. Stock busybox doesn' | ||
| + | <code bash> | ||
| + | cd /tmp | ||
| + | chmod a+x busybox | ||
| + | </ | ||
| + | |||
| + | 12. Check '' | ||
| + | <code bash> | ||
| + | du -h initramfs-kernel.bin | ||
| + | </ | ||
| + | |||
| + | 13. Delete old and create a new one '' | ||
| + | <code bash> | ||
| + | ubirmvol /dev/ubi0 -N kernel | ||
| + | ubimkvol /dev/ubi0 -n 1 -N kernel -s 9MiB | ||
| + | </ | ||
| + | |||
| + | 14. Write OpenWrt '' | ||
| + | <code bash> | ||
| + | ./busybox ubiupdatevol /dev/ubi0_1 / | ||
| + | </ | ||
| + | |||
| + | 15. Reboot to OpenWrt initramfs: | ||
| + | <code bash> | ||
| + | reboot | ||
| + | </ | ||
| + | |||
| + | 16. Login as root via SSH (IP '' | ||
| + | |||
| + | 17. Once inside OpenWrt, set (or update) env variables: | ||
| + | <code bash> | ||
| + | fw_setenv baudrate 115200 | ||
| + | fw_setenv bootargs " | ||
| + | fw_setenv fdtcontroladdr 5ffc0e70 | ||
| + | fw_setenv ipaddr 192.168.1.1 | ||
| + | fw_setenv loadaddr 0x46000000 | ||
| + | fw_setenv mtdids " | ||
| + | fw_setenv mtdparts " | ||
| + | fw_setenv netmask 255.255.255.0 | ||
| + | fw_setenv serverip 192.168.1.2 | ||
| + | fw_setenv stderr serial@11002000 | ||
| + | fw_setenv stdin serial@11002000 | ||
| + | fw_setenv stdout serial@11002000 | ||
| + | fw_setenv tp_boot_idx 0 | ||
| + | </ | ||
| + | |||
| + | 18. Upload OpenWrt '' | ||
| + | |||
| + | 19. Run sysupgrade: | ||
| + | <code bash> | ||
| + | sysupgrade -n / | ||
| + | </ | ||
| + | |||
| + | ==== Installation (using serial console) ==== | ||
| + | |||
| + | 1. Place OpenWrt initramfs image on tftp server with IP '' | ||
| + | |||
| + | 2. Attach [[https:// | ||
| + | |||
| + | 3. Load and run OpenWrt initramfs image: | ||
| + | <code bash> | ||
| + | tftpboot initramfs-kernel.bin | ||
| + | bootm | ||
| + | </ | ||
| + | |||
| + | 4. Once inside OpenWrt, set (or update) env variables: | ||
| + | <code bash> | ||
| + | fw_setenv baudrate 115200 | ||
| + | fw_setenv bootargs " | ||
| + | fw_setenv fdtcontroladdr 5ffc0e70 | ||
| + | fw_setenv ipaddr 192.168.1.1 | ||
| + | fw_setenv loadaddr 0x46000000 | ||
| + | fw_setenv mtdids " | ||
| + | fw_setenv mtdparts " | ||
| + | fw_setenv netmask 255.255.255.0 | ||
| + | fw_setenv serverip 192.168.1.2 | ||
| + | fw_setenv stderr serial@11002000 | ||
| + | fw_setenv stdin serial@11002000 | ||
| + | fw_setenv stdout serial@11002000 | ||
| + | fw_setenv tp_boot_idx 0 | ||
| + | </ | ||
| + | | ||
| + | 5. Run '' | ||
| + | |||
| + | ==== Installation (OpenWrt U-Boot layout) ==== | ||
| + | |||
| + | 1. Download files from // | ||
| + | openwrt-mediatek-filogic-mercusys_mr90x-v1-ubi-bl31-uboot.fip | ||
| + | openwrt-mediatek-filogic-mercusys_mr90x-v1-ubi-initramfs-recovery.itb | ||
| + | openwrt-mediatek-filogic-mercusys_mr90x-v1-ubi-preloader.bin | ||
| + | openwrt-mediatek-filogic-mercusys_mr90x-v1-ubi-squashfs-sysupgrade.itb | ||
| + | |||
| + | 2. Connect network cable to the LAN1 port of the router | ||
| + | |||
| + | 3. Login as root via SSH (router IP, port '' | ||
| + | |||
| + | <code bash> | ||
| + | BusyBox v1.19.4 (2022-09-15 21:10:21 CST) built-in shell (ash) | ||
| + | Enter ' | ||
| + | |||
| + | | ||
| + | | ||
| + | MMMMMMMM | ||
| + | MMMM= MMMMMM | ||
| + | MMMM= MMMMM MMMM MM | ||
| + | MMMM= | ||
| + | MMMM= | ||
| + | MMMM= | ||
| + | MMMM= | ||
| + | MMMM= | ||
| + | MMMM$ , | ||
| + | MMMMMMM: | ||
| + | MMMMMM | ||
| + | | ||
| + | M | ||
| + | | ||
| + | For those about to rock... (Attitude Adjustment, unknown) | ||
| + | | ||
| + | admin@Akronite:/ | ||
| + | </ | ||
| + | |||
| + | 4. Run the following command: | ||
| + | |||
| + | <code bash> | ||
| + | fw_printenv | grep tp_boot_idx | ||
| + | </ | ||
| + | |||
| + | If the result is '' | ||
| + | |||
| + | 5. Open for editing ''/ | ||
| + | |||
| + | 6. Add a newline after ''# | ||
| + | <code bash> | ||
| + | telnetd -l / | ||
| + | </ | ||
| + | |||
| + | 7. Save '' | ||
| + | |||
| + | 8. Toggle '' | ||
| + | |||
| + | 9. Make sure that telnetd is running: | ||
| + | <code bash> | ||
| + | netstat -ltunp | grep 23 | ||
| + | </ | ||
| + | |||
| + | 10. Login via telnet to router IP, port '' | ||
| + | |||
| + | < | ||
| + | BusyBox v1.19.4 (2022-09-15 21:10:21 CST) built-in shell (ash) | ||
| + | Enter ' | ||
| + | |||
| + | | ||
| + | | ||
| + | MMMMMMMM | ||
| + | MMMM= MMMMMM | ||
| + | MMMM= MMMMM MMMM MM | ||
| + | MMMM= | ||
| + | MMMM= | ||
| + | MMMM= | ||
| + | MMMM= | ||
| + | MMMM= | ||
| + | MMMM$ , | ||
| + | MMMMMMM: | ||
| + | MMMMMM | ||
| + | | ||
| + | M | ||
| + | | ||
| + | For those about to rock... (Attitude Adjustment, unknown) | ||
| + | | ||
| + | root@Akronite:/# | ||
| + | </ | ||
| + | |||
| + | 11. Upload OpenWrt '' | ||
| + | | ||
| + | 12. Stock busybox doesn' | ||
| + | |||
| + | Download the '' | ||
| + | <code bash> | ||
| + | cd /tmp | ||
| + | chmod a+x busybox | ||
| + | </ | ||
| + | |||
| + | 13. Check '' | ||
| + | <code bash> | ||
| + | du -h openwrt-mediatek-filogic-mercusys_mr90x-v1-ubi-initramfs-recovery.itb | ||
| + | </ | ||
| + | |||
| + | 14. Delete old and create a new one '' | ||
| + | <code bash> | ||
| + | ubirmvol /dev/ubi0 -N kernel | ||
| + | ubimkvol /dev/ubi0 -n 1 -N kernel -s 9MiB | ||
| + | </ | ||
| + | |||
| + | 15. Write OpenWrt '' | ||
| + | <code bash> | ||
| + | ./busybox ubiupdatevol /dev/ubi0_1 / | ||
| + | </ | ||
| + | |||
| + | 16. Make backups: | ||
| + | <code bash> | ||
| + | cat /dev/mtd0 > / | ||
| + | cat /dev/mtd5 > / | ||
| + | </ | ||
| + | Copy ''/ | ||
| + | |||
| + | 17. Reboot to OpenWrt initramfs: | ||
| + | <code bash> | ||
| + | reboot | ||
| + | </ | ||
| + | |||
| + | 18. Copy OpenWrt '' | ||
| + | |||
| + | 19. Prepare UBI: | ||
| + | <code bash> | ||
| + | ubidetach -p /dev/mtd3; ubiformat /dev/mtd3 -y; ubiattach -p /dev/mtd3 | ||
| + | ubimkvol /dev/ubi0 -N fip -t static -s 1MiB | ||
| + | ubiupdatevol /dev/ubi0_0 / | ||
| + | ubimkvol /dev/ubi0 -N ubootenv -s 0x1f000 | ||
| + | ubimkvol /dev/ubi0 -N ubootenv2 -s 0x1f000 | ||
| + | </ | ||
| + | |||
| + | 20. Install '' | ||
| + | <code bash> | ||
| + | opkg update && opkg install kmod-mtd-rw | ||
| + | insmod mtd-rw i_want_a_brick=1 | ||
| + | mtd unlock boot | ||
| + | mtd unlock bl2 | ||
| + | mtd unlock factory | ||
| + | </ | ||
| + | |||
| + | 21. Prepare " | ||
| + | <code bash> | ||
| + | dd if=/ | ||
| + | dd if=/ | ||
| + | dd if=/ | ||
| + | </ | ||
| + | |||
| + | 22. Write " | ||
| + | <code bash> | ||
| + | mtd erase factory | ||
| + | mtd write / | ||
| + | </ | ||
| + | |||
| + | 23. Write preloader partition: | ||
| + | <code bash> | ||
| + | mtd erase bl2 | ||
| + | mtd write / | ||
| + | </ | ||
| + | |||
| + | 24. Write OpenWrt sysupgrade image: | ||
| + | <code bash> | ||
| + | sysupgrade -n / | ||
| + | </ | ||
| ==== Flash Layout ==== | ==== Flash Layout ==== | ||
| <code bash> | <code bash> | ||
| Line 113: | Line 411: | ||
| U-Boot 2022.01-rc4 (Sep 15 2022 - 20:55:22 +0800) | U-Boot 2022.01-rc4 (Sep 15 2022 - 20:55:22 +0800) | ||
| </ | </ | ||
| + | |||
| + | MAC address is stored in UBI partition '' | ||
| + | |||
| ==== OEM easy installation ==== | ==== OEM easy installation ==== | ||
| Line 121: | Line 422: | ||
| ===== Upgrading OpenWrt ===== | ===== Upgrading OpenWrt ===== | ||
| -> [[docs: | -> [[docs: | ||
| - | |||
| - | <WRAP BOX> | ||
| - | |||
| - | FIXME These are generic instructions. Update with your router' | ||
| ==== LuCI Web Upgrade Process ==== | ==== LuCI Web Upgrade Process ==== | ||
| - | * Browse to ''< | + | * Browse to ''< |
| * Upload image file for sysupgrade to LuCI | * Upload image file for sysupgrade to LuCI | ||
| * Wait for reboot | * Wait for reboot | ||
| Line 135: | Line 432: | ||
| If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. | If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. | ||
| - | There are two command line methods for upgrading: | + | //Note: It is important that you put the firmware image into the ramdisk ('' |
| - | + | ||
| - | * '' | + | |
| - | * '' | + | |
| - | + | ||
| - | Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing. | + | |
| === sysupgrade === | === sysupgrade === | ||
| Line 148: | Line 440: | ||
| < | < | ||
| cd /tmp | cd /tmp | ||
| - | wget http:// | + | wget http:// |
| - | sysupgrade /tmp/xxx.abc | + | sysupgrade /tmp/sysupgrade.bin |
| </ | </ | ||
| - | === mtd === | + | ===== Debricking |
| + | -> [[docs: | ||
| - | If '' | + | 1. Press Reset button and power on the router |
| - | * Login as root via SSH on 192.168.1.1, then enter the following commands: | + | 2. Navigate to U-Boot recovery web server (http://192.168.1.1/) and upload |
| - | < | + | ==== UART method |
| - | cd /tmp | + | 1. Place OpenWrt initramfs image on tftp server with IP '' |
| - | wget http:// | + | |
| - | mtd write /tmp/xxx.abc linux && reboot | + | 2. Attach UART, switch on the router and interrupt the boot process by pressing '' |
| + | |||
| + | 3. Load and run OpenWrt initramfs image: | ||
| + | <code bash> | ||
| + | tftpboot initramfs-kernel.bin | ||
| + | bootm | ||
| </ | </ | ||
| - | </ | + | 4. Do what you need (restore partitions from a backup, install OpenWrt etc.) |
| - | ===== Debricking ===== | + | ===== Debricking |
| - | -> [[docs: | + | |
| + | 1. Place OpenWrt '' | ||
| + | |||
| + | 2. Press " | ||
| + | |||
| + | 3. Use OpenWrt initramfs system for recovery. | ||
| + | |||
| + | ==== BL2 and FIP recovery ==== | ||
| + | |||
| + | Use '' | ||
| + | |||
| + | https://github.com/ | ||
| + | https:// | ||
| ===== Failsafe mode ===== | ===== Failsafe mode ===== | ||
| -> [[docs: | -> [[docs: | ||
| Line 177: | Line 487: | ||
| ===== Specific Configuration ===== | ===== Specific Configuration ===== | ||
| - | |||
| - | <WRAP BOX> | ||
| - | FIXME Please fill in real values for this device, then remove the EXAMPLEs | ||
| ==== Network interfaces ==== | ==== Network interfaces ==== | ||
| + | |||
| The default network configuration is: | The default network configuration is: | ||
| - | ^ Interface Name ^ Description | ||
| - | | br-lan | ||
| - | | vlan0 (eth0.0) | ||
| - | | vlan1 (eth0.1) | ||
| - | | wl0 | EXAMPLE WiFi | EXAMPLE Disabled | ||
| - | </WRAP> | + | ^ Interface Name ^ Description |
| + | | br-lan | ||
| + | | wan | WAN port | DHCP | | ||
| ==== Switch Ports (for VLANs) ==== | ==== Switch Ports (for VLANs) ==== | ||
| - | <WRAP BOX> | ||
| - | FIXME Please fill in real values for this device, then remove the EXAMPLEs | ||
| - | Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on. | + | ^ Port ^ Switch port ^ |
| - | ^ Port | + | | WAN/LAN 2.5Gbps |
| - | | Internet (WAN) | EXAMPLE 4 | | + | | WAN/LAN 1Gbps | lan0 |
| - | | LAN 1 | + | | LAN1 |
| - | | LAN 2 | + | | LAN2 |
| - | | LAN 3 | + | |
| - | | LAN 4 | EXAMPLE 0 | | + | |
| - | </ | ||
| ==== Buttons ==== | ==== Buttons ==== | ||
| -> [[docs: | -> [[docs: | ||
| Here, we merely name the buttons, so we can use them in the above Howto. | Here, we merely name the buttons, so we can use them in the above Howto. | ||
| - | |||
| - | <WRAP BOX> | ||
| - | FIXME Please fill in real values for this device, then remove the EXAMPLEs | ||
| The MERCUSYS MR90X has the following buttons: | The MERCUSYS MR90X has the following buttons: | ||
| - | ^ BUTTON | + | ^ BUTTON |
| - | | EXAMPLE | + | | Reset | reset | |
| - | | EXAMPLE Secure Easy Setup | | + | |
| - | | EXAMPLE No buttons at all. | + | |
| - | </ | ||
| ===== Hardware ===== | ===== Hardware ===== | ||
| ==== Info ==== | ==== Info ==== | ||
| - | <WRAP BOX> | ||
| - | FIXME | ||
| - | - This table is automatically generated, **once the correct filters for Brand and Model are set.** | ||
| - | - If you see " | ||
| - | - If you still don't see a table here, or a table filled with ' | ||
| - | - If you see a table with the desired device data, everything is OK and you can delete this text and the ''< | ||
| - | - If it still doesn' | ||
| - | </ | ||
| - | ---- datatemplatelist dttpllist ---- | + | <!-- ToH: { |
| - | template: meta:template_datatemplatelist | + | " |
| - | cols | + | " |
| - | filter | + | " |
| - | filter | + | " |
| - | filter | + | " |
| - | ---- | + | |
| + | } --> | ||
| ==== Photos ==== | ==== Photos ==== | ||
| Line 246: | Line 535: | ||
| /* Thanks, your wiki administration - Oct. 2015 */ | /* Thanks, your wiki administration - Oct. 2015 */ | ||
| + | /* | ||
| // | // | ||
| **Insert photo of front of the casing** | **Insert photo of front of the casing** | ||
| Line 254: | Line 544: | ||
| //Backside label://\\ | //Backside label://\\ | ||
| **Insert photo of backside label** | **Insert photo of backside label** | ||
| + | */ | ||
| ==== Opening the case ==== | ==== Opening the case ==== | ||
| - | **Note:** This will void your warranty! | + | **Note:** This may void your warranty! |
| - | <WRAP BOX> | + | Unscrew the crews. There are also clips around the edge of the case you will need to prize open, using, for example, a plastic card. Be careful. Case latches are very tight. |
| - | FIXME //Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...// | + | |
| - | * To remove the cover and open the device, do a/b/c | + | |
| - | </ | + | |
| //Main PCB://\\ | //Main PCB://\\ | ||
| + | |||
| + | /* | ||
| **Insert photo of PCB** | **Insert photo of PCB** | ||
| + | */ | ||
| + | |||
| ==== Serial ==== | ==== Serial ==== | ||
| Line 274: | Line 566: | ||
| {{media: | {{media: | ||
| - | The R3 (TX line) and R6 (RX line) are absent on the PCB. You should solder them or solder the jumpers. | + | The R3 and R6 are absent on the PCB. You should solder them or solder the jumpers. |
| <code bash> | <code bash> | ||
| V | V | ||
| +-------+-------+-------+-------+ | +-------+-------+-------+-------+ | ||
| - | | +3.3V | GND | | + | | +3.3V | GND | |
| +---+---+-------+-------+-------+ | +---+---+-------+-------+-------+ | ||
| | | | | ||
| Line 285: | Line 577: | ||
| </ | </ | ||
| - | ^ Serial connection parameters\\ for MERCUSYS MR90X v1 | EXAMPLE | + | ^ Serial connection parameters\\ for MERCUSYS MR90X v1 | 115200, 8N1, 3.3V | |
| ==== JTAG ==== | ==== JTAG ==== | ||
| + | |||
| + | None so far. | ||
| + | |||
| -> [[docs: | -> [[docs: | ||
| Line 295: | Line 590: | ||
| */ | */ | ||
| ===== Bootloader mods ===== | ===== Bootloader mods ===== | ||
| + | |||
| + | None so far. | ||
| + | |||
| -> [[docs: | -> [[docs: | ||
| Line 1851: | Line 2149: | ||
| ==== OpenWrt bootlog ==== | ==== OpenWrt bootlog ==== | ||
| <WRAP bootlog> | <WRAP bootlog> | ||
| - | < | + | < |
| + | [ 0.000000] Linux version 5.15.118 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23228-cd17d8df2a) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Jun 26 11:20:39 2023 | ||
| + | [ 0.000000] Machine model: Mercusys MR90X v1 | ||
| + | [ 0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '' | ||
| + | [ 0.000000] printk: bootconsole [uart8250] enabled | ||
| + | [ 0.000000] Zone ranges: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Movable zone start for each node | ||
| + | [ 0.000000] Early memory node ranges | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff] | ||
| + | [ 0.000000] psci: probing for conduit method from DT. | ||
| + | [ 0.000000] psci: PSCIv1.1 detected in firmware. | ||
| + | [ 0.000000] psci: Using standard PSCI v0.2 function IDs | ||
| + | [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. | ||
| + | [ 0.000000] psci: SMC Calling Convention v1.2 | ||
| + | [ 0.000000] percpu: Embedded 17 pages/cpu s30040 r8192 d31400 u69632 | ||
| + | [ 0.000000] pcpu-alloc: s30040 r8192 d31400 u69632 alloc=17*4096 | ||
| + | [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 | ||
| + | [ 0.000000] Detected VIPT I-cache on CPU0 | ||
| + | [ 0.000000] CPU features: detected: GIC system register CPU interface | ||
| + | [ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration | ||
| + | [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129024 | ||
| + | [ 0.000000] Kernel command line: ubi.mtd=ubi0 console=ttyS0, | ||
| + | [ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear) | ||
| + | [ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) | ||
| + | [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off | ||
| + | [ 0.000000] Memory: 498100K/ | ||
| + | [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, | ||
| + | [ 0.000000] rcu: Hierarchical RCU implementation. | ||
| + | [ 0.000000] Tracing variant of Tasks RCU enabled. | ||
| + | [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. | ||
| + | [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 | ||
| + | [ 0.000000] GICv3: GIC: Using split EOI/ | ||
| + | [ 0.000000] GICv3: 640 SPIs implemented | ||
| + | [ 0.000000] GICv3: 0 Extended SPIs implemented | ||
| + | [ 0.000000] GICv3: Distributor has no Range Selector support | ||
| + | [ 0.000000] Root IRQ handler: 0xffffffc008423104 | ||
| + | [ 0.000000] GICv3: 16 PPIs implemented | ||
| + | [ 0.000000] GICv3: CPU0: found redistributor 0 region 0: | ||
| + | [ 0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys). | ||
| + | [ 0.000000] clocksource: | ||
| + | [ 0.000000] sched_clock: | ||
| + | [ 0.008178] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000) | ||
| + | [ 0.018587] pid_max: default: 32768 minimum: 301 | ||
| + | [ 0.023461] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear) | ||
| + | [ 0.030813] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear) | ||
| + | [ 0.039707] rcu: Hierarchical SRCU implementation. | ||
| + | [ 0.044840] smp: Bringing up secondary CPUs ... | ||
| + | [ 0.049673] Detected VIPT I-cache on CPU1 | ||
| + | [ 0.049694] GICv3: CPU1: found redistributor 1 region 0: | ||
| + | [ 0.049717] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] | ||
| + | [ 0.049997] Detected VIPT I-cache on CPU2 | ||
| + | [ 0.050010] GICv3: CPU2: found redistributor 2 region 0: | ||
| + | [ 0.050022] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] | ||
| + | [ 0.050296] Detected VIPT I-cache on CPU3 | ||
| + | [ 0.050307] GICv3: CPU3: found redistributor 3 region 0: | ||
| + | [ 0.050318] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] | ||
| + | [ 0.050353] smp: Brought up 1 node, 4 CPUs | ||
| + | [ 0.106920] SMP: Total of 4 processors activated. | ||
| + | [ 0.111641] CPU features: detected: 32-bit EL0 Support | ||
| + | [ 0.116799] CPU features: detected: CRC32 instructions | ||
| + | [ 0.121985] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching | ||
| + | [ 0.130426] CPU: All CPU(s) started at EL2 | ||
| + | [ 0.134550] alternatives: | ||
| + | [ 0.141512] clocksource: | ||
| + | [ 0.151419] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) | ||
| + | [ 0.158473] pinctrl core: initialized pinctrl subsystem | ||
| + | [ 0.164391] NET: Registered PF_NETLINK/ | ||
| + | [ 0.170614] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations | ||
| + | [ 0.177721] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations | ||
| + | [ 0.185517] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations | ||
| + | [ 0.193741] thermal_sys: | ||
| + | [ 0.193745] thermal_sys: | ||
| + | [ 0.199863] thermal_sys: | ||
| + | [ 0.205900] thermal_sys: | ||
| + | [ 0.212108] ASID allocator initialised with 65536 entries | ||
| + | [ 0.223996] pstore: Registered ramoops as persistent store backend | ||
| + | [ 0.230208] ramoops: using 0x10000@0x42ff0000, | ||
| + | [ 0.243864] cryptd: max_cpu_qlen set to 1000 | ||
| + | [ 0.249886] SCSI subsystem initialized | ||
| + | [ 0.253740] libata version 3.00 loaded. | ||
| + | [ 0.258471] clocksource: | ||
| + | [ 0.265102] NET: Registered PF_INET protocol family | ||
| + | [ 0.270082] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear) | ||
| + | [ 0.277735] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) | ||
| + | [ 0.286139] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) | ||
| + | [ 0.293927] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear) | ||
| + | [ 0.301735] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear) | ||
| + | [ 0.308947] TCP: Hash tables configured (established 4096 bind 4096) | ||
| + | [ 0.315386] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) | ||
| + | [ 0.321957] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) | ||
| + | [ 0.329061] NET: Registered PF_UNIX/ | ||
| + | [ 0.334765] PCI: CLS 0 bytes, default 64 | ||
| + | [ 0.340838] workingset: timestamp_bits=46 max_order=17 bucket_order=0 | ||
| + | [ 0.350367] squashfs: version 4.0 (2009/ | ||
| + | [ 0.356233] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. | ||
| + | [ 0.393945] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) | ||
| + | [ 0.404874] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled | ||
| + | [ 0.413166] printk: console [ttyS0] disabled | ||
| + | [ 0.437604] 11002000.serial: | ||
| + | [ 0.446914] printk: console [ttyS0] enabled | ||
| + | [ 0.455268] printk: bootconsole [uart8250] disabled | ||
| + | [ 0.465578] mtk_rng 1020f000.rng: | ||
| + | [ 0.465636] hwrng: no data available | ||
| + | [ 0.471034] cacheinfo: Unable to detect cache hierarchy for CPU 0 | ||
| + | [ 0.482798] loop: module loaded | ||
| + | [ 0.485943] Loading iSCSI transport class v2.0-870. | ||
| + | [ 0.492453] spi-nand spi0.0: GigaDevice SPI NAND was found. | ||
| + | [ 0.498019] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 128 | ||
| + | [ 0.506381] 6 fixed-partitions partitions found on MTD device spi0.0 | ||
| + | [ 0.512727] Creating 6 MTD partitions on " | ||
| + | [ 0.517502] 0x000000000000-0x000000200000 : " | ||
| + | [ 0.524774] 0x000000200000-0x000000300000 : " | ||
| + | [ 0.531458] 0x000000300000-0x000003500000 : " | ||
| + | [ 0.591088] 0x000003500000-0x000006700000 : " | ||
| + | [ 0.647759] 0x000006700000-0x000006f00000 : " | ||
| + | [ 0.660828] 0x000006f00000-0x000007300000 : " | ||
| + | [ 3.409474] Maxlinear Ethernet GPY211C mdio-bus: | ||
| + | [ 3.418846] mtk_soc_eth 15100000.ethernet: | ||
| + | [ 3.427707] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc009580000, | ||
| + | [ 3.436874] mtk_soc_eth 15100000.ethernet: | ||
| + | [ 3.445733] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc009580000, | ||
| + | [ 3.455231] i2c_dev: i2c /dev entries driver | ||
| + | [ 3.460509] mtk-wdt 1001c000.watchdog: | ||
| + | [ 3.468988] NET: Registered PF_INET6 protocol family | ||
| + | [ 3.474618] Segment Routing with IPv6 | ||
| + | [ 3.478288] In-situ OAM (IOAM) with IPv6 | ||
| + | [ 3.482252] NET: Registered PF_PACKET protocol family | ||
| + | [ 3.487306] bridge: filtering via arp/ | ||
| + | [ 3.500362] 8021q: 802.1Q VLAN Support v1.8 | ||
| + | [ 3.505483] pstore: Using crash dump compression: | ||
| + | [ 3.550064] mt7530-mdio mdio-bus: | ||
| + | [ 3.560329] mt7530-mdio mdio-bus: | ||
| + | [ 3.569366] mt7530-mdio mdio-bus: | ||
| + | [ 3.578308] mt7530-mdio mdio-bus:1f lan0 (uninitialized): | ||
| + | [ 3.598601] mt7530-mdio mdio-bus:1f lan1 (uninitialized): | ||
| + | [ 3.618618] mt7530-mdio mdio-bus:1f lan2 (uninitialized): | ||
| + | [ 3.630411] DSA: tree 0 setup | ||
| + | [ 3.633652] ubi0: default fastmap pool size: 20 | ||
| + | [ 3.638171] ubi0: default fastmap WL pool size: 10 | ||
| + | [ 3.642968] ubi0: attaching mtd2 | ||
| + | [ 4.472546] ubi0: scanning is finished | ||
| + | [ 4.499699] ubi0: attached mtd2 (name " | ||
| + | [ 4.505177] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes | ||
| + | [ 4.512039] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 | ||
| + | [ 4.518809] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 | ||
| + | [ 4.525749] ubi0: good PEBs: 400, bad PEBs: 0, corrupted PEBs: 0 | ||
| + | [ 4.531738] ubi0: user volume: 4, internal volumes: 1, max. volumes count: 128 | ||
| + | [ 4.538941] ubi0: max/mean erase counter: 21/15, WL threshold: 4096, image sequence number: 302291140 | ||
| + | [ 4.548135] ubi0: available PEBs: 0, total reserved PEBs: 400, PEBs reserved for bad PEB handling: 20 | ||
| + | [ 4.557336] ubi0: background thread " | ||
| + | [ 4.561063] block ubiblock0_2: | ||
| + | [ 4.568801] ubiblock: device ubiblock0_2 (rootfs) set to be root filesystem | ||
| + | [ 4.591116] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. | ||
| + | [ 4.598418] Freeing unused kernel memory: 448K | ||
| + | [ 4.648538] Run / | ||
| + | [ 4.652793] | ||
| + | [ 4.655745] | ||
| + | [ 4.658620] | ||
| + | [ 4.661745] | ||
| + | [ 4.664089] | ||
| + | [ 5.281931] init: Console is alive | ||
| + | [ 5.285434] init: - watchdog - | ||
| + | [ 6.268381] kmodloader: loading kernel modules from / | ||
| + | [ 6.390598] Key type encrypted registered | ||
| + | [ 6.397026] device-mapper: | ||
| + | [ 6.409252] kmodloader: done loading kernel modules from / | ||
| + | [ 6.426071] init: - preinit - | ||
| + | [ 6.725891] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/ | ||
| + | [ 6.734331] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/ | ||
| + | [ 6.757431] ubi1: default fastmap pool size: 8 | ||
| + | [ 6.761905] ubi1: default fastmap WL pool size: 4 | ||
| + | [ 6.766593] ubi1: attaching mtd5 | ||
| + | [ 6.769831] ubi1: MTD device 5 is write-protected, | ||
| + | [ 6.842735] ubi1: scanning is finished | ||
| + | [ 6.869269] ubi1 warning: 0xffffffc00856b974: | ||
| + | [ 6.879906] ubi1: attached mtd5 (name " | ||
| + | [ 6.885554] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes | ||
| + | [ 6.888486] random: procd: uninitialized urandom read (4 bytes read) | ||
| + | [ 6.892414] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 | ||
| + | [ 6.905507] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096 | ||
| + | [ 6.912452] ubi1: good PEBs: 32, bad PEBs: 0, corrupted PEBs: 0 | ||
| + | [ 6.918351] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128 | ||
| + | [ 6.925555] ubi1: max/mean erase counter: 4/2, WL threshold: 4096, image sequence number: 682472375 | ||
| + | [ 6.934582] ubi1: available PEBs: 0, total reserved PEBs: 32, PEBs reserved for bad PEB handling: 8 | ||
| + | [ 6.943613] ubi1: background thread " | ||
| + | [ 6.953467] UBIFS (ubi1:0): read-only UBI device | ||
| + | [ 6.960180] UBIFS (ubi1:0): Mounting in unauthenticated mode | ||
| + | [ 7.259856] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name " | ||
| + | [ 7.268192] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes | ||
| + | [ 7.278088] UBIFS (ubi1:0): FS size: 1269760 bytes (1 MiB, 10 LEBs), max 18 LEBs, journal size 888833 bytes (0 MiB, 5 LEBs) | ||
| + | [ 7.289196] UBIFS (ubi1:0): reserved for root: 59973 bytes (58 KiB) | ||
| + | [ 7.295443] UBIFS (ubi1:0): media format: w5/r0 (latest is w5/r0), UUID BCFB1CE0-BA38-4F61-BFD5-EDD01DB8BDC2, | ||
| + | [ 7.391873] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode | ||
| + | [ 9.483068] mount_root: loading kmods from internal overlay | ||
| + | [ 9.493321] kmodloader: loading kernel modules from // | ||
| + | [ 9.500647] kmodloader: done loading kernel modules from // | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| </ | </ | ||
| ===== Notes ===== | ===== Notes ===== | ||
| + | |||
| + | None so far. | ||
| + | |||
| + | /* | ||
| //Space for additional notes, links to forum threads or other resources.// | //Space for additional notes, links to forum threads or other resources.// | ||
| * ... | * ... | ||
| + | */ | ||
| ===== Tags ===== | ===== Tags ===== | ||
| - | <WRAP BOX> | ||
| - | FIXME //Add tags below, then remove this fixme.// | ||
| - | </ | ||
| [[meta: | [[meta: | ||
| - | {{tag>EXAMPLETAG}} | + | {{tag>mediatek MT7986 armv8 128NAND SPI-NAND 512RAM 4Port 2.5GigabitEthernet GigabitEthernet 8Ant NonDetachableAntenna 0usb 4core 4thread 2wnic 4x4 802.11ax wifi6 u-boot ARMv8 cortexa53 Filogic Serial 12v_powered Dual_firmware serial 1button |