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 [2021/10/29 14:02] – [Hardware] hsxskyinbox: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 ======+====== ASUS RT-AC57U v2 ======
  
 {{page>meta:infobox:construction&noheader&nofooter&noeditbtn}} {{page>meta:infobox:construction&noheader&nofooter&noeditbtn}}
  
-AC1200 Dual Band WiFi Gigabit Router. +AC1200 Dual Band WiFi Gigabit Router.\\ 
 +Support for this device is **Work In Progress**!
  
-Features: +^ Links ^^ 
-    300 Mbps(2.4GHzWiFi +| wikidevi (source of some info on the page           | https://wikidevi.wi-cat.ru/ASUS_RT-AC57U_v2 | 
-    867 Mbps (5GHzWiFi +| 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/ |
-  *   4 pc Gigabit LAN ports  +
-  *   1 pc Gigabit WAN ports +
-  *   1 pc USB 2.0 port+
  
-The router has 9 leds:+===== Common information ===== 
 + 
 +This section describes information that is shared across the series of related devices. 
 + 
 +^ Common Links ^^ 
 +| Forum thread | https://forum.openwrt.org/t/adding-openwrt-support-for-asus-rt-ac57u-v2/53281 | 
 +| 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]] | 
 + 
 +^ Common specifications ^^ 
 +| SoC            | Qualcomm QCN5502 WiSoC| 
 +| CPU            | MIPS 74Kc (v5.0) @775MHz| 
 +| WLAN1          | Qualcomm Atheros QCN5502 (bgn)| 
 +| WLAN2          | Qualcomm Atheros QCA9888 (an+ac, 2T2R, 5GHz)| 
 +| RAM            | 128 MiB (Winbond W971GG6SB-25)| 
 +| USB            | one USB 2.0 port| 
 +| Switch         | Qualcomm Atheros QCA8337| 
 +| Ethernet speed | 1000Mbps| 
 +| LAN ports      | 4| 
 +| WAN ports      | 1| 
 + 
 +Serial: there are 4 connection points in the upper right corner of the board. 
 + 
 +Left to right: power, ground, TX, RX. Check the labels near the holes. Baud-rate is 115200. 
 + 
 +The router has 9 LEDs:
   * Power   * Power
   * Port4   * Port4
Line 19: Line 43:
   * Port1   * Port1
   * Wan   * Wan
-  * 2.4Ghz Wifi +  * 2.4Ghz WiFi 
-  * 5 Ghz Wifi +  * 5 Ghz WiFi 
-  * Usb +  * USB
-===== Ssh =====+
  
-Ssh access can be enabled by router web admin page at this menu point: Administration - System - Service+==== Stock firmware ====
  
 +ssh access can be enabled on the router web admin page at this menu point: Administration -> System -> Service.
 +You have full root access.
  
-I suggest these settings for security reason: +^ Default settings ^^ 
-  * Enable Telnet: No +| SSID 2.4GHz| ASUS| 
-  * Enable SSH: Lan only +| SSID 5GHz  | ASUS_5G| 
-  * SSH Port: port from 1025 to 65535 +| IP address | 192.168.50.1| 
-  * Allow Password Login: Yes (It use your  web admin password)+| User       | admin| 
 +Password   | admin|
  
-Get device type: +==== Installing OpenWrt ====
-  * uname -n +
-  * RT-AC57U_V2+
  
-===== Hardware =====+NOTE! There is no official support at this point. The following link leads to an unofficial, personal repository where the development is taking place.
  
-wikidevi.wi-cat.ru link[[hwinfo>ASUS_RT-AC57U_v2]]+You can download the WIP source code and community images at https://gitlab.com/alexconst.sh/openwrt. 
 +  - Building from sourcebranch apjet01-802.11n is probably what you want as it is the only one with qcn5502 support 
 +  - 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
  
-Router was produced at two slightly different SOC: +In recovery mode, the bootloader will start a tftp //server// and wait for you to send the image. 
 + 
 +  - 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 ==== 
 + 
 +^ 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**
   * Qualcomm Atheros QCA5502 ver 1 rev 0   * Qualcomm Atheros QCA5502 ver 1 rev 0
   * Qualcomm Atheros QCA5502 rev 0   * Qualcomm Atheros QCA5502 rev 0
  
-Switch: Atheros AR8337 rev. 2+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> 
 <WRAP bootlog> <WRAP bootlog>
 <nowiki> <nowiki>
Line 82: Line 147:
 </WRAP>\\ </WRAP>\\
  
-wifi0: Qualcomm Atheros 5500 (integrated to SOC?)<br> +</hidden> 
-WLAN 2.4GHz: bgn+ 
 +**WLAN Hardware** 
 + 
 +<hidden> 
 + 
 +Qualcomm Atheros 5500 (integrated to SOC?) 
 +  WLAN 2.4GHz: bgn
 <code> <code>
 wifi0: Qualcomm Atheros 5500: mem_start: =0xb8100000, mem_end: =0xb8120000, irq=47 wifi0: Qualcomm Atheros 5500: mem_start: =0xb8100000, mem_end: =0xb8120000, irq=47
Line 102: Line 173:
 </code>   </code>  
  
-WLAN Hardware: Qualcomm Atheros QCA9888 +Qualcomm Atheros QCA9888 
-WLAN 5.0GHz: a/n/ac+  WLAN 5.0GHz: a/n/ac
 <WRAP bootlog> <WRAP bootlog>
 <nowiki> <nowiki>
Line 173: 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 partition like that: 
-  * Login by ssh 
-  * Use dd command to backup.(Danger, wrong usege 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 2070: Line 2104:
 </code> </code>
  
 +</hidden>
 +
 +===== Tags =====
  
 +{{tagpage>WIP}} {{tagpage>ath79}} {{tagpage>16flash}} {{tagpage>128ram}} {{tagpage>5port}} {{tagpage>1usb}}
  • Last modified: 2024/05/09 00:21
  • by marceloalm