Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
inbox:toh:asus:rt-ac57u_v2 [2022/03/26 06:36] – Add info from wikidevi and some important notes alex.constinbox:toh:asus:rt-ac57u_v2 [2022/04/17 22:25] – [Installing OpenWrt] remove confusing info about similar devices (updated tag in repo has symlinks for all devices); clarify partition layout note alex.const
Line 1: Line 1:
-====== ASUS RT-AC57U v2/v3, RT-AC58U v2/v3, RT-AC59U v1/v2 ======+====== ASUS RT-AC57U v2 ======
  
 {{page>meta:infobox:construction&noheader&nofooter&noeditbtn}} {{page>meta:infobox:construction&noheader&nofooter&noeditbtn}}
  
-AC1200/AC1300/AC1500 Dual Band WiFi Gigabit Router.+AC1200 Dual Band WiFi Gigabit Router.\\ 
 +Support for this device is **Work In Progress**!
  
-Support for this device is Work In Progress.+^ Links ^^ 
 +| wikidevi (source of some info on the page)            | https://wikidevi.wi-cat.ru/ASUS_RT-AC57U_v2 | 
 +| GPL Source Code (select "Others" in "select OS" drop-down) | https://www.asus.com/Networking-IoT-Servers/WiFi-Routers/ASUS-WiFi-Routers/RT-AC57U-V2/HelpDesk_Download/ |
  
-Relevant forum thread: https://forum.openwrt.org/t/adding-openwrt-support-for-asus-rt-ac57u-v2/53281+===== Common information =====
  
-Support for qcn5502 (802.11n at 2.4GHz) Wi-Fi is WIP too, see: https://github.com/openwrt/openwrt/pull/9389+This section describes information that is shared across the series of related devices.
  
-This device is sold under multiple names+^ Common Links ^^ 
-There are two variants with different flash sizes+| Forum thread | https://forum.openwrt.org/t/adding-openwrt-support-for-asus-rt-ac57u-v2/53281 | 
-All models within the same variant are identical hardware-wise.+| WIP PR for qcn5502 (802.11n at 2.4GHz) Wi-Fi | https://github.com/openwrt/openwrt/pull/9389 | 
 +| FCC            | https://fcc.io/MSQ/-RTACRH01 
 +| Similar or identical devices          | [[inbox:toh:asus:rt-ac59u_series|series]] |
  
-16 MiB variant models: +Common specifications ^^ 
-  * RT-AC57U v2 +SoC            Qualcomm QCN5502 WiSoC| 
-  * RT-AC58U v2 +CPU            MIPS 74Kc (v5.0) @775MHz| 
-  * RT-AC59U v1 +WLAN1          Qualcomm Atheros QCN5502 (bgn)| 
-32 MiB variant models: +WLAN2          Qualcomm Atheros QCA9888 (an+ac, 2T2R, 5GHz)| 
-  * RT-AC57U v3 +RAM            128 MiB (Winbond W971GG6SB-25)| 
-  * RT-AC58U v3 +USB            one USB 2.0 port| 
-  * RT-AC59U v2 +Switch         | Qualcomm Atheros QCA8337| 
- +Ethernet speed 1000Mbps| 
-Common specifications +LAN ports      4| 
-  SoCQualcomm QCN5502 WiSoC +WAN ports      1|
-  CPUMIPS 74Kc (v5.0) @775MHz +
-  WLAN1Qualcomm Atheros QCN5502 (bgn) +
-  WLAN2Qualcomm Atheros QCA9888 (an+ac, 2T2R, 5GHz) +
-  RAM128 MiB (Winbond W971GG6SB-25) +
-  USBone USB 2.0 port +
-  SwitchQualcomm Atheros QCA8337 +
-  Ethernet speed1000Mbps +
-  LAN ports+
-  WAN ports1+
  
 Serial: there are 4 connection points in the upper right corner of the board. Serial: there are 4 connection points in the upper right corner of the board.
Line 40: Line 36:
 Left to right: power, ground, TX, RX. Check the labels near the holes. Baud-rate is 115200. Left to right: power, ground, TX, RX. Check the labels near the holes. Baud-rate is 115200.
  
- +The router has 9 LEDs:
-The router has 9 leds:+
   * Power   * Power
   * Port4   * Port4
Line 48: Line 43:
   * Port1   * Port1
   * Wan   * Wan
-  * 2.4Ghz Wifi +  * 2.4Ghz WiFi 
-  * 5 Ghz Wifi +  * 5 Ghz WiFi 
-  * Usb+  * USB
  
-GPL Source Code: https://www.asus.com/Networking-IoT-Servers/WiFi-Routers/ASUS-WiFi-Routers/RT-AC57U-V2/HelpDesk_Download/ +==== Stock firmware ====
-===== Stock firmware =====+
  
-Default settings +ssh access can be enabled on the router web admin page at this menu pointAdministration -> System -> Service. 
-  * SSIDASUS, ASUS_5G +You have full root access.
-  * IP address: 192.168.50.1 +
-  * User: admin +
-  * Password: admin+
  
-Ssh access can be enabled by router web admin page at this menu point: Administration - System - Service+^ Default settings ^^ 
 +| SSID 2.4GHz| ASUS| 
 +| SSID 5GHz  | ASUS_5G| 
 +| IP address | 192.168.50.1| 
 +| User       admin
 +| Password   | admin|
  
 +==== Installing OpenWrt ====
  
-I suggest these settings for security reason: +NOTE! There is no official support at this point. The following link leads to an unofficial, personal repository where the development is taking place.
-  * Enable Telnet: No +
-  * Enable SSH: Lan only +
-  * SSH Port: port from 1025 to 65535 +
-  * Allow Password Login: Yes (It use your  web admin password)+
  
-Get device type+You can download the WIP source code and community images at https://gitlab.com/alexconst.sh/openwrt. 
-  * uname -n +  - Building from source: branch apjet01-802.11n is probably what you want as it is the only one with qcn5502 support 
-  * RT-AC57U_V2+  - Using unofficial images (NO WARRANTY! **BACK UP YOUR FLASH!**) 
 +    - make sure your stock flash layout matches the table under the "Flash Layout" section below on this page (rootfs doesn't matter as long as it's contained inside "linux"
 +    - checkout the ''apjet01-releases/v1'' tag and look inside ''asus-apjet01-releases'' directory 
 +    - select the file depending on the name **(and version!)** of your device 
 +    - ''*squashfs-factory.bin'' is what you want for full initial install
  
-===== Hardware =====+In recovery mode, the bootloader will start a tftp //server// and wait for you to send the image.
  
-wikidevi.wi-cat.ru link[[hwinfo>ASUS_RT-AC57U_v2]]+  - Connect router's LAN port to your computer 
 +  - Set static IP of computer to ''192.168.1.10/24'' 
 +  Make sure the router is turned off 
 +  - Hold the reset button 
 +  - Turn the router on and keep holding the button a few seconds until you see the power LED blinking slowly 
 +  - Use a tftp **client** to send the image file to IP 192.168.1.1 at port 69 (example with atftp''%%atftp --put -l /path/to/image 192.168.1.1 69%%''
 +  - If there are no errors from tftp client, bootloader is installing OpenWrt; wait 2-3 minutes 
 +  Remove static IP from your computer's network interface, switch back to DHCP
  
 +==== Flash Layout ====
  
-Fcc link:https://fcc.io/MSQ/-RTACRH01+^ partition   ^ start            ^ end              ^ Name          ^ 
 +|mtd0| 0x000000000000 | 0x000000040000 | Bootloader| 
 +|mtd1| 0x000000040000 | 0x000000050000 | nvram     | 
 +|mtd2| 0x000000050000 | 0x000000060000 | Factory   | 
 +|mtd3| 0x000000060000 | 0x000000f80000 | linux     | 
 +|mtd4| 0x0000001ecb00 | 0x000000f80000 | rootfs    | 
 +|mtd5| 0x000000f80000 | 0x000001000000 | jffs2     | 
 +|mtd6| 0x000000000000 | 0x000001000000 | ALL       |
  
 +You can backup a partition like this:
 +  * Login via ssh, telnet or serial console
 +  * Use dd command to backup (Danger, wrong usage can overwrite rom): ''dd if=/dev/mtd6 of=all.img''
 +  * Use scp to download the image
  
 +
 +===== Hardware =====
  
 Router was produced at two slightly different **SOC**:  Router was produced at two slightly different **SOC**: 
Line 89: Line 107:
 74Kc MIPS processor with 64 KB I-Cache and 32 KB D-Cache, targeted to operate at up to 775 MHz 74Kc MIPS processor with 64 KB I-Cache and 32 KB D-Cache, targeted to operate at up to 775 MHz
  
 +**Switch**: Atheros AR8337 rev. 2
  
- +<hidden>
-**Memory**: 128 Mb  +
- +
-Type: Winbond w25q128 +
- +
-Link:https://www.winbond.com/hq/product/code-storage-flash-memory/serial-nor-flash/?__locale=en&partNo=W25Q128JV +
- +
- +
-**Switch**: Atheros AR8337 rev. 2 +
-  * 4 pc Gigabit LAN ports +
-  * 1 pc Gigabit WAN ports+
  
 <WRAP bootlog> <WRAP bootlog>
Line 138: Line 147:
 </WRAP>\\ </WRAP>\\
  
-**WLAN Hardware**:+</hidden> 
 + 
 +**WLAN Hardware** 
 + 
 +<hidden> 
 Qualcomm Atheros 5500 (integrated to SOC?) Qualcomm Atheros 5500 (integrated to SOC?)
   * WLAN 2.4GHz: bgn   * WLAN 2.4GHz: bgn
Line 230: Line 244:
 </code>              </code>             
  
-         +</hidden>
-   +
  
- 
- 
- 
- 
-==== Flash Layout ==== 
-16MB flash memory. 
- 
-^ ASUS RT-AC57U V2  ^^^^ 
-^ partition   ^ start            ^ end              ^ Name          ^ 
-|mtd0| 0x000000000000 | 0x000000040000 | "Bootloader"| 
-|mtd1| 0x000000040000 | 0x000000050000 | "nvram"| 
-|mtd2| 0x000000050000 | 0x000000060000 | "Factory"| 
-|mtd3| 0x000000060000 | 0x000000f80000 | "linux"| 
-|mtd4| 0x0000001ecb00 | 0x000000f80000 | "rootfs"| 
-|mtd5| 0x000000f80000 | 0x000001000000 | "jffs2"| 
-|mtd6| 0x000000000000 | 0x000001000000 | "ALL"| 
- 
-You can backup a partition like that: 
-  * Login by ssh 
-  * Use dd command to backup.(Danger, wrong usage can overwrite rom.) 
-<code> 
-admin@RT-AC57U_V2:/tmp/home/root# dd if=/dev/mtd6 of=all.img 
-32768+0 records in 
-32768+0 records out 
-</code> 
-  * Use scp (for example: winscp.net) to download the image 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
-===== Forum  ===== 
-https://forum.openwrt.org/t/adding-openwrt-support-for-asus-rt-ac57u-v2/53281/27 
  
 ===== Data  ===== ===== Data  =====
 Device datta according: [[:docs:guide-developer:adding_new_device]] Device datta according: [[:docs:guide-developer:adding_new_device]]
 +
 +<hidden>
  
 dmesg: dmesg:
Line 2127: Line 2104:
 </code> </code>
  
-----+</hidden> 
 + 
 +===== Tags =====
  
-This page contains information from wikidevi (licenses are compatible): https://wikidevi.wi-cat.ru/ASUS_RT-AC59U+{{tagpage>WIP}} {{tagpage>ath79}} {{tagpage>16flash}} {{tagpage>128ram}} {{tagpage>5port}} {{tagpage>1usb}}
  • Last modified: 2024/05/09 00:21
  • by marceloalm