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 | ||
| inbox:toh:asus:rt-ac57u_v2 [2021/10/29 12:01] – [Hardware] hsxsky | inbox: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 | + | ====== ASUS RT-AC57U |
| {{page> | {{page> | ||
| - | AC1200 Dual Band WiFi Gigabit Router. | + | AC1200 Dual Band WiFi Gigabit Router.\\ |
| + | Support for this device is **Work In Progress**! | ||
| - | Features: | + | ^ Links ^^ |
| - | | + | | wikidevi |
| - | | + | | GPL Source Code (select " |
| - | * 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:// | ||
| + | | WIP PR for qcn5502 (802.11n at 2.4GHz) Wi-Fi | https:// | ||
| + | | FCC | https:// | ||
| + | | Similar or identical devices | ||
| + | |||
| + | ^ 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 | ||
| + | | 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 | + | * 2.4Ghz |
| - | * 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 | + | ^ Default |
| - | | + | | SSID 2.4GHz| ASUS| |
| - | | + | | SSID 5GHz | ASUS_5G| |
| - | * SSH Port: port from 1025 to 65535 | + | | IP address | 192.168.50.1| |
| - | * Allow Password Login: Yes (It use your | + | | User | admin| |
| + | | Password | ||
| + | |||
| + | ==== Installing OpenWrt ==== | ||
| + | |||
| + | NOTE! There is no official support at this point. The following link leads to an unofficial, personal repository where the development is taking place. | ||
| + | |||
| + | You can download the WIP source code and community images at https:// | ||
| + | | ||
| + | | ||
| + | - make sure your stock flash layout matches the table under the "Flash Layout" | ||
| + | - checkout the '' | ||
| + | - select the file depending on the name **(and version!)** of your device | ||
| + | - '' | ||
| + | |||
| + | In recovery mode, the bootloader will start a tftp //server// and wait for you to send the image. | ||
| + | |||
| + | - Connect router' | ||
| + | | ||
| + | - 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: '' | ||
| + | - If there are no errors from tftp client, bootloader is installing OpenWrt; wait 2-3 minutes | ||
| + | - Remove static IP from your computer' | ||
| + | |||
| + | ==== Flash Layout ==== | ||
| + | |||
| + | ^ partition | ||
| + | |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): '' | ||
| + | * Use scp to download the image | ||
| - | Get device type: | ||
| - | * uname -n | ||
| - | * RT-AC57U_V2 | ||
| ===== Hardware ===== | ===== Hardware ===== | ||
| - | Router was produced | + | Router was produced |
| * 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 | ||
| - | + | < | |
| + | <WRAP bootlog> | ||
| + | < | ||
| + | IMQ driver loaded successfully. (numdevs = 8, numqueues = 1, imq_dev_accurate_stats = 1) | ||
| + | Hooking IMQ after NAT on PREROUTING. | ||
| + | Hooking IMQ before NAT on POSTROUTING. | ||
| + | libphy: ag71xx_mdio: | ||
| + | switch0: Atheros AR8337 rev. 2 switch registered on 19000000.mdio | ||
| + | ar71xx: using random MAC address for 0 | ||
| + | eth0: Atheros AG71xx at 0xb9000000, irq 4 | ||
| + | ag71xx 19000000.ethernet: | ||
| + | PPP generic driver version 2.4.2 | ||
| + | PPP MPPE Compression module registered | ||
| + | NET: Registered protocol family 24 | ||
| + | PPTP driver version 0.8.5 | ||
| + | ath79_wdt: WDOG_REG_CTRL: | ||
| + | ath79_wdt: Last system reboot was due to WDOG | ||
| + | u32 classifier | ||
| + | Performance counters on | ||
| + | nf_conntrack version 0.5.0 (1948 buckets, 7792 max) | ||
| + | xt_time: kernel timezone is -0000 | ||
| + | gre: GRE over IPv4 demultiplexor driver | ||
| + | ip_tables: (C) 2000-2006 Netfilter Core Team | ||
| + | arp_tables: (C) 2002 David S. Miller | ||
| + | NET: Registered protocol family 10 | ||
| + | ip6_tables: (C) 2000-2006 Netfilter Core Team | ||
| + | NET: Registered protocol family 17 | ||
| + | bridge: automatic filtering via arp/ | ||
| + | Bridge firewalling registered | ||
| + | l2tp_core: L2TP core driver, V2.0 | ||
| + | l2tp_ppp: PPPoL2TP kernel driver, V2.0 | ||
| + | l2tp_netlink: | ||
| + | 8021q: 802.1Q VLAN Support v1.8 | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | **WLAN Hardware** | ||
| - | ==== Flash Layout ==== | + | < |
| - | 16MB flash memory. | + | |
| - | + | ||
| - | ^ ASUS RT-AC57U V2 ^^^^ | + | |
| - | ^ partition | + | |
| - | |mtd0| 0x000000000000 | 0x000000040000 | " | + | |
| - | |mtd1| 0x000000040000 | 0x000000050000 | " | + | |
| - | |mtd2| 0x000000050000 | 0x000000060000 | " | + | |
| - | |mtd3| 0x000000060000 | 0x000000f80000 | " | + | |
| - | |mtd4| 0x0000001ecb00 | 0x000000f80000 | " | + | |
| - | |mtd5| 0x000000f80000 | 0x000001000000 | " | + | |
| - | |mtd6| 0x000000000000 | 0x000001000000 | " | + | |
| - | You can backup partition like that: | + | Qualcomm Atheros 5500 (integrated to SOC?) |
| - | * Login by ssh | + | * WLAN 2.4GHz: bgn |
| - | * Use dd command to backup.(Danger, wrong usege can overwrite rom.) | + | |
| < | < | ||
| - | admin@RT-AC57U_V2:/ | + | wifi0: Qualcomm Atheros 5500: mem_start: =0xb8100000, mem_end: =0xb8120000, |
| - | 32768+0 records in | + | ath_da_pci: |
| - | 32768+0 records out | + | ath_ol_pci: |
| + | hif_pci_enable_bus: | ||
| + | ath_ol_pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit] | ||
| </ | </ | ||
| - | * Use scp (for example: winscp.net) to download the image | ||
| + | < | ||
| + | wifi0 Link encap: | ||
| + | UP BROADCAST RUNNING MULTICAST | ||
| + | RX packets: | ||
| + | TX packets: | ||
| + | | ||
| + | RX bytes: | ||
| + | | ||
| + | </ | ||
| + | Qualcomm Atheros QCA9888 | ||
| + | * WLAN 5.0GHz: a/n/ac | ||
| + | <WRAP bootlog> | ||
| + | < | ||
| + | PCI: Enabling device 0000: | ||
| + | hif_pci_enable_bus: | ||
| + | chip_id 0xc chip_revision 0x0 | ||
| + | CLOCK PLL skipped | ||
| + | hif_set_hia_extnd: | ||
| + | hif_set_hia_extnd: | ||
| + | hif_pci_bus_configure: | ||
| + | hif_napi_event: | ||
| + | __ol_ath_attach() Allocated scn 86500400 | ||
| + | __ol_ath_attach: | ||
| + | ol_ath_attach interface_id 1 | ||
| + | ol_target_init() BMI inited. | ||
| + | ol_target_init() BMI Get Target Info. | ||
| + | Chip id: 0xc, chip version: 0x1000000 | ||
| + | CE WAR Disabled | ||
| + | NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0 | ||
| + | ol_target_init() configure Target . | ||
| + | | ||
| + | Flash Download Address | ||
| + | ol_transfer_bin_file: | ||
| + | ath_mtd_read: | ||
| + | qc98xx_verify_checksum: | ||
| + | ol_transfer_bin_file 3929: Download Flash data len 12064 | ||
| + | Board extended Data download address: 0x0 | ||
| + | Board data initialized | ||
| + | ol_ath_download_firmware: | ||
| + | | ||
| + | ath_ol_pci 0000: | ||
| + | ath_ol_pci 0000: | ||
| + | ol_transfer_bin_file 3738: downloading file 0, Download data len 9116 | ||
| + | First OTP send param 8000 | ||
| + | ol_ath_download_firmware :First OTP download and Execute is good address: | ||
| + | ol_ath_download_firmware:## | ||
| + | ol_ath_download_firmware: | ||
| + | |||
| + | | ||
| + | ol_transfer_bin_file: | ||
| + | ath_ol_pci 0000: | ||
| + | ath_ol_pci 0000: | ||
| + | ol_transfer_bin_file 3738: downloading file 3, Download data len 12064 | ||
| + | Board extended Data download address: 0x0 | ||
| + | ol_ath_download_firmware: | ||
| + | |||
| + | | ||
| + | ath_ol_pci 0000: | ||
| + | ath_ol_pci 0000: | ||
| + | ol_transfer_bin_file 3738: downloading file 0, Download data len 9116 | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | wifi1 Link encap: | ||
| + | UP BROADCAST RUNNING MULTICAST | ||
| + | RX packets: | ||
| + | TX packets: | ||
| + | | ||
| + | RX bytes: | ||
| + | | ||
| + | </ | ||
| + | |||
| + | </ | ||
| - | ===== Forum ===== | ||
| - | https:// | ||
| ===== Data ===== | ===== Data ===== | ||
| Device datta according: [[: | Device datta according: [[: | ||
| + | |||
| + | < | ||
| dmesg: | dmesg: | ||
| Line 1942: | Line 2104: | ||
| </ | </ | ||
| + | </ | ||
| + | |||
| + | ===== Tags ===== | ||
| + | {{tagpage> | ||