ASUS RT-AC55U
Dual-band wireless-AC1200 gigabit router at a pricepoint of 100$ Cad when on sale. support usb 3.0 and has decent coverage with a more than acceptable ram and processing power for a small home
OpenWrt support
Not supported.
Hardware highlights
CPU | Ram | Flash | Network | WLAN | USB | Serial | JTag |
---|---|---|---|---|---|---|---|
QCA9558 @xxxMHz | 128 MiB | 128 MiB NAND | ? | ? | ? | ? | ? |
Flash Layout
Please check out the article flash.layout. It contains an example and a couple of explanations.
OEM Flash Layout
/ # cat /proc/mtd dev: size erasesize name mtd0: 000e0000 00020000 "Bootloader" mtd1: 07e00000 00020000 "UBI_DEV" mtd2: 0001f000 0001f000 "nvram" mtd3: 0003e000 0001f000 "Factory" mtd4: 0003e000 0001f000 "Factory2" mtd5: 03013000 0001f000 "linux" mtd6: 02ec7f00 0001f000 "rootfs" mtd7: 03013000 0001f000 "linux2" mtd8: 02ec7f00 0001f000 "rootfs2" mtd9: 00516000 0001f000 "lsdk" mtd10: 00100000 00020000 "caldata"
Basic configuration
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
Specific Configuration
Interfaces
The default network configuration is:
Interface Name | Description | Default configuration |
---|---|---|
br-lan | LAN & WiFi | 192.168.1.1/24 |
vlan0 (eth0.0) | LAN ports (1 to 4) | None |
vlan1 (eth0.1) | WAN port | DHCP |
wl0 | WiFi | Enable (asus + asus 5GHz) |
Switch Ports (for VLANs)
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 |
---|---|
Internet (WAN) | 4 |
LAN 1 | 3 |
LAN 2 | 2 |
LAN 3 | 1 |
LAN 4 | 0 |
Failsafe mode
Buttons
→ hardware.button on howto use and configure the hardware button(s).
The Asus RT-AC56U has three buttons. They are Power, Reset and Wireless Protected Setup. Here, we merely name the buttons, so we can use them in the above Howto:
BUTTON | Event |
---|---|
power switch | power on/ power off |
Reset | reset |
Wireless Protected Setup | WPS |
Hardware
Info
Architecture | EXAMPLE MIPS |
---|---|
Vendor | EXAMPLE Ralink |
Bootloader | EXAMPLE U-Boot |
System-On-Chip | EXAMPLE Ralink RT3052 - MIPS 24K V4.12 |
CPU/Speed | EXAMPLE 451 MHz |
Flash-Chip | EXAMPLE unkown |
Flash size | EXAMPLE 8 MiB |
RAM | EXAMPLE 64 MiB |
Wireless | EXAMPLE RT2860v2 2.4GHz 802.11bgn |
Ethernet | EXAMPLE 10/100 Mbit/s w/ vlan support |
USB | EXAMPLE 1x 2.0 |
Serial | EXAMPLE Yes |
JTAG | EXAMPLE Not populated |
Opening the case
Note: This will void your warranty!
- To remove the cover remove the four pads on the bottom, remove the 4 phillips head screw, then pry the top out with a flat head (Hard so dont be too gentle)
JTAG
only need rx,tx and gnd
Debricking
Bootlogs
OEM bootlog
__________________sri____________________ 944x BootROM Ver. (asic) 1.0 [Nov 8 2011 13:42:57] _________________________________________ find_hif: bootstrap = 0x31650 Nand Flash init hdr: [0xbd004000 : 0xbd004000 : 0x3000 : 0x87d46a94] nand_load_fw: read 6 pages nand_load_fw: 0x10000 0x800 0xbd0047f0 nand_load_fw: 0x20000 0x800 0xbd004ff0 nand_load_fw: 0x30000 0x800 0xbd0057f0 nand_load_fw: 0x40000 0x800 0xbd005ff0 nand_load_fw: 0x50000 0x800 0xbd0067f0 f/w 0 read complete, jumping to 0xbd004000 RT-AC55U bl stage1 ver: 1.0.0.8 init PLL & DDR sri Scorpion 1.0 ath_ddr_initial_config(321): (16bit) ddr2 init ... done *** Warning *** : PCIe WLAN Module not found !!! ... done fw1: Nand Init uboot hdr: [0xa0100000 : 0xa0100000 : 0x3b800 : 0x153e39a8] ...................................................................................................................... U-Boot 1.1.4-g5589c4e5 (Jul 24 2014 - 08:59:49) RT-AC55U bootloader version: 1.0.0.8 ap135 - Scorpion 1.0DRAM: 128 MB ASUS RT-AC55U gpio init : wps / reset pin Atheros on-chip NAND FLash Controller Driver, Version 0.1 (c) 2010 Atheros Communications, Ltd. Ath Nand ID[87ff0024]: ec:f1:00:95:41 Samsung NAND 128MiB 3,3V 8-bit [128MB] ====== NAND Parameters ====== sc = 0x87ff0000 bbt = 0x86dcc008 bbt_size = 0x100 nf_ctrl = 0x344 page = 0x800 block = 0x20000 oob = 0x40 size = 128MB Creating 1 MTD partitions on "nand0": 0x00100000-0x07f00000 : "mtd=2" UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 126976 bytes UBI: smallest flash I/O unit: 2048 UBI: VID header offset: 2048 (aligned 2048) UBI: data offset: 4096 UBI: max. sequence number: 2770 UBI: attached mtd1 to ubi0 UBI: MTD device name: "mtd=2" UBI: MTD device size: 126 MiB UBI: number of good PEBs: 1008 UBI: number of bad PEBs: 0 UBI: number of corrupted PEBs: 0 UBI: max. allowed volumes: 128 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 UBI: number of user volumes: 7 UBI: available PEBs: 30 UBI: total number of reserved PEBs: 978 UBI: number of PEBs reserved for bad PEB handling: 10 UBI: max/mean erase counter: 17/3 UBI: image sequence number: 0 UBI: vol_id reserved_pebs alignment data_pad vol_type usable_leb_size used_ebs used_bytes last_eb_bytes corrupted upd_marker name_len name UBI: 0 1 1 0 dynamic 1f000 1 1f000 1f000 0 0 5 nvram UBI: 1 2 1 0 dynamic 1f000 2 3e000 1f000 0 0 7 Factory UBI: 2 2 1 0 dynamic 1f000 2 3e000 1f000 0 0 8 Factory2 UBI: 3 18d 1 0 dynamic 1f000 18d 3013000 1f000 0 0 5 linux UBI: 4 18d 1 0 dynamic 1f000 18d 3013000 1f000 0 0 6 linux2 UBI: 5 2a 1 0 dynamic 1f000 2a 516000 1f000 0 0 4 lsdk UBI: 6 7b 1 0 dynamic 1f000 7b ee5000 1f000 0 0 5 jffs2 UBI: 7fffefff 2 1 0 dynamic 1f000 2 3e000 2 0 0 d layout volume UBI volume [jffs2] size ee5000 smaller than 1f000! Read 0x1f000 bytes from volume [Factory] offset 0x0 to 86d8ccc8 EEPROM set 0: OK (version 12) Read 0x1f000 bytes from volume [Factory] offset 0x1f000 to 86d8ccc8 EEPROM set 1: OK (version 12) Read 0x1f000 bytes from volume [Factory2] offset 0x0 to 86d8ccc8 EEPROM set 2: OK (version 12) Read 0x1f000 bytes from volume [Factory2] offset 0x1f000 to 86d8ccc8 EEPROM set 3: OK (version 12) Read 0x1f000 bytes from volume [Factory] offset 0x0 to 86dcc110 Select EEPROM set 0 at offset 0x0. Maximum malloc length: 16384 KBytes mem_malloc_start/brk/end: 0x86dcc000/86e46000/87dec000 *** Warning - bad CRC or NAND, using default environment In: serial Out: serial Err: serial 0: hdr1 [ 0xbd004000,bd004000,00003000,87d46a94 ], hdr2 [ 0xa0100000,a0100000,0003b800,153e39a8 ] 40000: hdr1 [ 0xbd004000,bd004000,00003000,87d46a94 ], hdr2 [ 0xa0100000,a0100000,0003b800,153e39a8 ] 80000: hdr1 [ 0xbd004000,bd004000,00003000,87d46a94 ], hdr2 [ 0xa0100000,a0100000,0003b800,153e39a8 ] c0000: hdr1 [ 0xbd004000,bd004000,00003000,87d46a94 ], hdr2 [ 0xa0100000,a0100000,0003b800,153e39a8 ] bootloader-0: 0x0-40000, len 3e800/40000, buf 87f0789c: OK bootloader-1: 0x40000-80000, len 3e800/40000, buf 87f4789c: OK bootloader-2: 0x80000-c0000, len 3e800/40000, buf 87f8789c: OK bootloader-3: 0xc0000-e0000, len 70000/80000, buf 87fc789c: fragment choose bootloader-0 at 87f0789c, length 3e800 bytes Net: ath_gmac_enet_initialize... athrs_sgmii_res_cal: cal value = 0xe Fetching MAC Address from factory Fetching MAC Address from factory ath_gmac_enet_initialize: reset mask:c02200 Scorpion ----> S17 PHY * Vlan config... TEST: FINAL REG VAL after TX Calibration - 0x4a000000 TEST: FINAL XMII VAL after RX Calibration - 0x5a000000 TEST: FINAL ETH_CFG VAL after RX Calibration - 0x00000001 athrs17_reg_init: complete : cfg1 0x80000000 cfg2 0x7335 eth0: f0:79:59:eb:7f:f8 eth0 up athrs17_reg_init_wan done SGMII in forced mode athr_gmac_sgmii_setup SGMII done : cfg1 0x800c0000 cfg2 0x7214 eth1: f0:79:59:eb:7f:f8 eth1 up eth0, eth1 Setting XTAL_ADDRESS 0x18116290 to 0x458ba14f Please choose the operation: 1: Load System code to SDRAM via TFTP. 2: Load System code then write to Flash via TFTP. 3: Boot System code via Flash (default). 4: Entr boot command line interface. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. L: Load LSDK NART firmware, write to Flash via TFTP and reboot. 0 3: Boot System code via Flash (default). RT-AC55U bootloader version: 1.0.0.8 MAC Address: F0:79:59:EB:7F:F8 ## Checking 2nd firmware at a21ae000 ... Read 0x40 bytes from volume [linux2] offset 0x0 to 87fe8450 Image Name: Created: 2015-05-30 13:20:41 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 30154799 Bytes = 28.8 MB Load Address: 80060000 Entry Point: 80060000 Read 0x1cc202f bytes from volume [linux2] offset 0x40 to 81000000 Verifying Checksum ... OK ## Checking 1st firmware at 9f19b000 ... Read 0x40 bytes from volume [linux] offset 0x0 to 87fe8450 Image Name: Created: 2015-05-30 13:20:41 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 30154799 Bytes = 28.8 MB Load Address: 80060000 Entry Point: 80060000 Read 0x1cc202f bytes from volume [linux] offset 0x40 to 81000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK volume linux seq: 4 ## Giving linux ramsize: 134217728 (128 MB) Starting kernel ... Linux version 3.3.8 (gitserv_asus@wireless-pub1) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat May 30 20:21:41 CST 2015 CPU revision is: 00019750 (MIPS 74Kc) SoC: Qualcomm Atheros QCA9558 rev 0 Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz Determined physical RAM map: memory: 08000000 @ 00000000 (usable) User-defined physical RAM map: memory: 08000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: Normal 0x00000000 -> 0x00008000 Movable zone start PFN for each node Early memory PFN ranges 0: 0x00000000 -> 0x00008000 Built 1 zonelists in Zone order, mobility grouping off. Total pages: 32512 Kernel command line: board=AP135 console=ttyS0,115200 root=/dev/mtdblock6 rootfstype=squashfs mem=128M ubi.mtd=UBI_DEV PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes Writing ErrCtl register=00000000 Readback ErrCtl register=00000000 Memory: 125464k/131072k available (2838k kernel code, 5608k reserved, 797k data, 204k init, 0k highmem) SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 _ Reboot message ... _______________________________________________________ >>> Emergency Sync complete >>> br0: port 3(ath1) entered disabled state >>> br0: port 2(ath0) entered disabled state >>> br0: port 1(eth1) entered disabled state >>> device eth1 left promiscuous mode >>> br0: port 1(eth1) entered disabled state >>> eth1: link down >>> device ath0 left promiscuous mode >>> br0: port 2(ath0) entered disabled state >>> DEVICE IS DOWN ifname=ath0 >>> device ath1 left promiscuous mode >>> br0: port 3(ath1) entered disabled state >>> DEVICE IS DOWN ifname=ath0 >>> wmi_unified_vdev_stop_send for vap 0 (86a60000) >>> STOPPED EVENT for vap 0 (86a60000) >>> DEVICE IS DOWN ifname=ath0 >>> DEVICE IS DOWN ifname=ath0 >>> osif_ioctl_delete_vap: deleting vap: (86fd0000), osif: (865a7b80) >>> _ieee80211_scan_unregister_event_handler: Failed to unregister evhandler=8608a47c arg=865a7b80 >>> _ieee80211_scan_unregister_event_handler: Failed to unregister evhandler=8608a47c arg=865a7b80 >>> _ieee80211_scan_unregister_event_handler: Failed to unregister evhandler=8608aed8 arg=865a7b80 >>> wlan_vap_delete : enter. vaphandle=0x86fd0000 >>> wlan_vap_delete : exit. vaphandle=0x86fd0000 >>> DEVICE IS DOWN ifname=ath1 >>> DEVICE IS DOWN ifname=ath1 >>> osif_ioctl_delete_vap: deleting vap: (8648c000), osif: (86452380) >>> OL vap_stop + >>> wmi_unified_vdev_stop_send for vap 0 (86a60000) >>> OL vap_stop - >>> STOPPED EVENT for vap 0 (86a60000) >>> OL vap_stop + >>> wmi_unified_vdev_stop_send for vap 0 (86a60000) >>> OL vap_stop - >>> STOPPED EVENT for vap 0 (86a60000) >>> ol_ath_vap_delete: wmi_unified_vdev_delete_send done ID = 0 VAP Addr = f0:79:59:eb:7f:fc: >>> [wifi1] FWLOG: [501027] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 ) >>> [wifi1] FWLOG: [501070] RESOURCE_PEER_FREE ( 0x0, 0xeb5979f0, 0xfc7f, 0x1 ) >>> usbcore: deregistering interface driver usblp >>> xhci_hcd 0000:01:00.0: ## USB2 port 0/0 addr(b2000420) s1(000002a0) --> (00000080) >>> xhci_hcd 0000:01:00.0: ## USB2 port 1/1 addr(b2000430) s1(000002a0) --> (00000080) >>> xhci_hcd 0000:01:00.0: ## USB3 port 0/2 addr(b2000440) s1(00000080) --> (00000080) >>> xhci_hcd 0000:01:00.0: ## USB3 port 1/3 addr(b2000450) s1(00000080) --> (00000080) >>> Restarting system. >>> ____________________________________________________________________________ NR_IRQS:83 Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 NET: Registered protocol family 16 gpiochip_add: registered GPIOs 0 to 23 on device: ath79 MIPS: machine is Atheros AP135 reference board registering PCI controller with io_map_base unset registering PCI controller with io_map_base unset bio: create slab <bio-0> at 0 SCSI subsystem initialized PCI host bridge to bus 0000:00 pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff] pci_bus 0000:00: root bus resource [io 0x0000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref] PCI host bridge to bus 0000:01 pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff] pci_bus 0000:01: root bus resource [io 0x0001] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x12007fff 64bit] pci 0000:00:00.0: using irq 40 for pin 1 pci 0000:01:00.0: using irq 41 for pin 1 Switching to clocksource MIPS NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 squashfs: version 4.0 (2009/01/31) Phillip Lougher msgmni has been set to 245 alg: No test for xz (xz-generic) alg: No test for stdrng (krng) io scheduler noop registered (default) HDLC line discipline maxframe=4096 N_HDLC line discipline registered. Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A console [ttyS0] enabled brd: module loaded ath79-nand ath79-nand: AR71xx/AR9xxx Qualcomm-Atheros NAND FLash Controller driver, Version 1.0 (c) 2010 Atheros Communications, Ltd. NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit) Scanning device for bad blocks ath79-nand ath79-nand: ====== NAND Parameters ====== total size = 0x8000000, page = 0x800 block = 0x20000 oob = 0x40 MTD_BOOT_PART_SIZE e0000 MTD_CONFIG_PART_SIZE 20000 ath79_nand_partitions[0].size e0000 mtd->erasesize 20000 Creating 2 MTD partitions on "ath79-nand": 0x000000000000-0x0000000e0000 : "Bootloader" 0x000000100000-0x000007f00000 : "UBI_DEV" UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 126976 bytes UBI: smallest flash I/O unit: 2048 UBI: VID header offset: 2048 (aligned 2048) UBI: data offset: 4096 UBI: max. sequence number: 2770 UBI: attached mtd1 to ubi0 UBI: MTD device name: "UBI_DEV" UBI: MTD device size: 126 MiB UBI: number of good PEBs: 1008 UBI: number of bad PEBs: 0 UBI: number of corrupted PEBs: 0 UBI: max. allowed volumes: 128 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 UBI: number of user volumes: 7 UBI: available PEBs: 30 UBI: total number of reserved PEBs: 978 UBI: number of PEBs reserved for bad PEB handling: 10 UBI: max/mean erase counter: 17/3 UBI: image sequence number: 0 UBI: background thread "ubi_bgt0d" started, PID 22 gluebi_create: Hook read/write method of Factory. gluebi_create: Hook read/write method of Factory2. [Factory-0]: OK (ver: 12) [Factory-1]: OK (ver: 12) [Factory2-0]: OK (ver: 12) [Factory2-1]: OK (ver: 12) Select [Factory-0] Creating 1 MTD partitions on "linux": 0x00000014b040-0x000003013000 : "rootfs" Creating 1 MTD partitions on "linux2": 0x00000014b040-0x000003013000 : "rootfs2" Creating 1 MTD partitions on "ath79-nand": 0x000007f00000-0x000008000000 : "caldata" gluebi_create: skip jffs2 volume IMQ driver loaded successfully. (numdevs = 2, numqueues = 1) Hooking IMQ after NAT on PREROUTING. Hooking IMQ before NAT on POSTROUTING. ag71xx_mdio: probed eth0: Atheros AG71xx at 0xb9000000, irq 4, MAC F0:79:59:EB:7F:F8 eth0: Atheros AR8327/AR8337 switch driver attached. ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316] eth1: Atheros AG71xx at 0xba000000, irq 5, MAC F0:79:59:EB:7F:FC PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 PPTP driver version 0.8.5 u32 classifier nf_conntrack version 0.5.0 (1960 buckets, 7840 max) xt_time: kernel timezone is -0000 GRE over IPv4 demultiplexor driver ip_tables: (C) 2000-2006 Netfilter Core Team arp_tables: (C) 2002 David S. Miller TCP cubic registered NET: Registered protocol family 10 ip6_tables: (C) 2000-2006 Netfilter Core Team NET: Registered protocol family 17 L2TP core driver, V2.0 PPPoL2TP kernel driver, V2.0 8021q: 802.1Q VLAN Support v1.8 ### of_selftest(): No testcase data in device tree; not running tests VFS: Mounted root (squashfs filesystem) readonly on device 31:6. Freeing unused kernel memory: 204k freed offset 0x10000 elapse 10ms 1: set_action 0 Hit ENTER for console... firmware version: 3.0.0.4.378_6117-ge96e3eb bootloader version: RT-AC55U-01-00-00-08 firmware version: 3.0.bled: GPIO#15: netdev eth0. 0.4 [1 init:inibled: GPIO#18: switch ports mask 0. t_nvram +9] initbled: GPIO#13: netdev ath0. _nvram for 13 sbled: GPIO#0: netdev ath1. et_basic_ifname_bled: GPIO#4: USB BUS mask c. vars: WAN eth0 Lbled: GPIO#1: USB BUS mask 3. AN eth1 2G ath0 5G ath1 USB usb AP_LAN eth1 DW_WAN vlan2 DW_LAN vlan3 force_dwlan 0, sw_mode 1 wan_ifnames: vlan35 config_tcode(0x072b): tcode is [] config_tcode(0x072d): [tcode] no territory_code setting, using default region size: 28994 bytes (32446 left) num_of_mssid_support(0x0096): [mssid] support [3] mssid config_switch(0x00e7): link down all ports config_qca8337_LANWANPartition: LAN/WAN/WANS_LAN portmask 0000003c/00000002/00000000 __mask_to_portnumber_str: mask(0000003d) untag(0000003d) portstr[0 2 3 4 5 ] __mask_to_portnumber_str: mask(00000042) untag(00000042) portstr[1 6 ] config_switch(0x0101): ISP Profile/STB: manual/0 wrong ioctl cmd: 29 initialize_Vlan: LAN/WAN/WANS_LAN portmask 0000003c/00000002/00000000 __mask_to_portnumber_str: mask(0000003d) untag(0000003d) portstr[0 2 3 4 5 ] __setup_vlan: vid 35 prio 0 mask 0x02000210 __mask_to_portnumber_str: mask(00000042) untag(00000000) portstr[1t 6t ] config_switch(0x01ef): link up wan port(s) asf: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint ****Address of trace_timer :8766a560 ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, TX_DATA_SWAP, RX_DATA_SWAP, 11D) ath_tx99: Version 2.0 Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved ath_spectral: Version 2.0.0 Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved SPECTRAL module built on May 30 2015 20:32:35 ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved ath_dfs: Version 2.0.0 Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved __ath_attach: Set global_scn[0] *** All the minfree values should be <= ATH_TXBUF-32, otherwise default value will be used instead *** ACBKMinfree = 48 ACBEMinfree = 32 ACVIMinfree = 16 ACVOMinfree = 0 CABMinfree = 48 UAPSDMinfree = 0 ATH_TXBUF=540 Enterprise mode: 0x40000000 Restoring Cal data from DRAM ART Version : -48.0.0 SW Image Version : -48.0.0.0.0 Board Revision : ar9300_attach: nf_2_nom -110 nf_2_max -60 nf_2_min -125 SPECTRAL : get_capability not registered HAL_CAP_PHYDIAG : Capable SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 231) SPECTRAL : get_capability not registered HAL_CAP_RADAR : Capable SPECTRAL : Need to fix the capablity check for SPECTRAL (spectral_attach : 236) SPECTRAL : get_capability not registered HAL_CAP_SPECTRAL_SCAN : Capable SPECTRAL : get_tsf64 not registered spectral_init_netlink 65 NULL SKB SPECTRAL : No ADVANCED SPECTRAL SUPPORT SPECTRAL :----- module attached Green-AP : Green-AP : Attached ath_get_caps[6169] rx chainmask mismatch actual 3 sc_chainmak 0 ath_get_caps[6144] tx chainmask mismatch actual 3 sc_chainmak 0 band steering initialized for direct attach hardware ieee80211_bsteering_attach: Band steering initialized ath_attach_dfs[12687] dfsdomain 1 SPECTRAL : module already attached ath_tx_paprd_init sc 86490000 PAPRD disabled in HAL wifi0: Atheros ???: mem=0xb8100000, irq=47 ath_pci: SmartAntenna-DRT-0.1 (Atheros/multi-bss) ath_pci_probe PCI device id is 003c :003c ath_pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit] PCI: Enabling device 0000:00:00.0 (0000 -> 0002) ath_pci 0000:00:00.0: ath DEBUG: sc=0x8645de00 ol_ath_pci_configure : num_desired MSI set to 0 Using PCI Legacy Interrupt hotplug net INTERFACE=wifi0 ACTION=add CE_per_engine_handler_adjust, base=8645de00 offset=00057400 CE_per_engine_handler_adjust, base=8645de00 offset=00057800 __ol_ath_attach: ath_attach TODO __ol_ath_attach: dev name wifi1 ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko) OL_ACBKMinfree : 0 OL_ACBEMinfree : 0 OL_ACVIMinfree : 0 OL_ACVOMinfree : 0 ol_ath_attach() BMI inited. ol_ath_attach() BMI Get Target Info. ol_ath_attach() TARGET TYPE: 7 Vers 0x4100016c NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0 ol_ath_attach() configure Target . ath_nand_local_read: cal_part [Factory] from 5000 len 844 qc98xx_verify_checksum: flash checksum passed: 0xfafd ol_transfer_bin_file 2238: Download Flash data len 2116 Download AR9888v2_bin ol_transfer_bin_file 2159: Download Firmware data len 235576 ol_ath_attach() Download FW. ol_ath_attach() HT Create . ol_ath_attach() HIF Claim. ol_ath_attach() BMI Done. ol_ath_attach() WMI attached. wmi_handle 86a60000 +HWT SOC_RESET_CONTROL_ADDRESS : 800 CPU_INTR_ADDRESS = [0] SOC_GLOBAL_RESET_ADDRESS = [0] Rx_Filter : [0] CE_per_engine_handler_adjust, base=8645de00 offset=00057400 CE_per_engine_handler_adjust, base=8645de00 offset=00057800 CE_per_engine_handler_adjust, base=8645de00 offset=00057c00 CE_per_engine_handler_adjust, base=8645de00 offset=00058000 CE_per_engine_handler_adjust, base=8645de00 offset=00058400 CE_per_engine_handler_adjust, base=8645de00 offset=00058800 CE_recv_buf_enqueue 653 Populate last entry 512 for CE 5 CE_recv_buf_enqueue 662 CE 5 wi 511 dest_ptr 0x6632840 nbytes 0 recv_ctxt 0x86615540 Target:86584000 HTC Service:0x0001, ULpipe:0 DLpipe:1 id:0 Ready -HWT Target:86584000 HTC Service:0x0300, ULpipe:4 DLpipe:5 id:1 Ready HTC Service:0x0300 ep:1 TX flow control disabled CE_pkt_dl_len_set CE 4 Pkt download length 64 ol_txrx_pdev_attach: 1424 tx desc's allocated ; range starts from 85e80000 Target:86584000 HTC Service:0x0100, ULpipe:3 DLpipe:2 id:2 Ready HTC Service:0x0100 ep:2 TX flow control disabled wmi_service_ready_event_rx: WMI UNIFIED SERVICE READY event num_rf_chain : 00000002 ht_cap_info: : 0000085b vht_cap_info : 338001b2 vht_supp_mcs : 0000fffa LARGE_AP enabled. num_peers 144, num_vdevs 16, num_tids 256, lteu_support 0 idx 0 req 1 num_units 0 num_unit_info 2 unit size 440 actual units 145 chunk 0 len 63800 requested ,ptr 0x5e90000 FIRMWARE:P 145 V 16 T 443 FIRMWARE:_wlan_rtt_enable wmi_ready_event_rx: WMI UNIFIED READY event ol_ath_connect_htc() WMI is ready ol_ath_set_host_app_area TODO target uses HTT version 2.1; host uses 2.1 ol_ath_attach() connect HTC. bypasswmi : 0 ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0. ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080 Add VHT80 channel: 5210 Add VHT80 channel: 5775 Skipping VHT80 channel 5825 ol_ath_phyerr_attach: called OL Resmgr Init-ed ieee80211_bsteering_attach: Band steering initialized ol_if_spectral_setup SPECTRAL : get_capability not registered HAL_CAP_PHYDIAG : Capable SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 231) SPECTRAL : get_capability not registered HAL_CAP_RADAR : Capable SPECTRAL : Need to fix the capablity check for SPECTRAL (spectral_attach : 236) SPECTRAL : get_capability not registered HAL_CAP_SPECTRAL_SCAN : Capable SPECTRAL : get_tsf64 not registered spectral_init_netlink 65 NULL SKB Green-AP : Green-AP : Attached Green-AP : Attached ol_if_dfs_setup: called ol_if_dfs_attach: called; ptr=85e3d974, radar_info=87039b78 ol_ath_rtt_meas_report_attach: called ol_ath_attach() UMAC attach . ol_if_dfs_configure: called ol_if_dfs_configure: UNINIT domain ol_if_dfs_disable: called ol_ath_attach: Calling ol_if_dfs_configure __ol_ath_attach: init tx/rx TODO __ol_ath_attach: hard_header_len reservation 58 hotplug net INTERFACE=wifi1 ACTION=add sc nodebug 0 ath_attach_dfs[12687] dfsdomain 1 isCountryCodeValid: EEPROM regdomain 0x0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080 ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080 Add VHT80 channel: 5210 Add VHT80 channel: 5775 Skipping VHT80 channel 5825 init_wl(0x026f): init_wl:create wi node init_wl(0x0280): create a wifi node ath0 from wifi0 wlan_vap_create : enter. devhandle=0x86440380, opmode=IEEE80211_M_HOSTAP, flags=0x1 wlan_vap_create : exit. devhandle=0x86440380, opmode=IEEE80211_M_HOSTAP, flags=0x1. VAP device ath0 created osifp: (86587b80) os_if: (86f90000) ath0 hotplug net INTERFACE=ath0 ACTION=add [wifi1] FWLOG: [30714] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x460, 0x460, 0x0 ) [wifi1] FWLOG: [30714] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x460, 0x460, 0x0 ) [wifi1] FWLOG: [30714] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x460, 0x460, 0x0 ) [wifi1] FWLOG: [30714] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x460, 0x460, 0x0 ) [wifi1] FWLOG: [30719] WHAL_ERROR_RECV_STOPPCU ( 0x110298a, 0x3 ) [wifi1] FWLOG: [30719] WHAL_ERROR_RESET_PM ( ) [wifi1] FWLOG: [30727] WAL_DBGID_DEV_RESET ( 0x1, 0x1, 0x1 ) [wifi1] FWLOG: [30903] ANI Enable: 1 [wifi1] FWLOG: [30911] WAL_DBGID_DEV_RESET ( 0x1, 0x1, 0x1 ) init_wl(0x0280): create a wifi node ath1 from wifi1 ath_ioctl: SIOC80211IFCREATE CALLED wmi_unified_vdev_create_send: ID = 0 VAP Addr = f0:79:59:eb:7f:fc: Setting dscp for vap id: 0 VAP device ath1 created osifp: (8693a380) os_if: (86454000) ath1 hotplug net INTERFACE=ath1 ACTION=add / # 1: check_action 0 *** ubifs: 0, 6, 15618048 [1 init:init_main +18] main loop signal/state=17 start_logger: _ifconfig: name=eth0 flags=1043 IFUP addr=(null) netmask=(null) update_lan_state(lan_, 0, 0) start_lan: setting up the bridge br0 hotplug net INTERFACE=vlan35 ACTION=add hotplug net INTERFACE=br0 ACTION=add _ifconfig: name=eth1 flags=1043 IFUP addr=(null) netmask=(null) start_lan: setting MAC of br0 bridge to F0:79:59:EB:7F:FC _ifconfig: name=ath0 flags=1043 IFUP addr=(null) netmask=(null) _ifconfig: name=ath0 flags=1043 IFUP addr=(null) netmask=(null) _ifconfig: name=ath1 flags=1043 IFUP addr=(null) netmask=(null) _ifconfig: name=ath1 flags=1043 IFUP addr=(null) netmask=(null) _ifconfig: name=br0 flags=1043 IFUP addr=192.168.15.1 netmask=255.255.255.0 gen qca config mac_filter[0] = 0 gen qca config mac_filter[0] = 0 _ifconfig: OL vap_stop + name=ath0 flags=wmi_unified_vdev_stop_send for vap 0 (86a60000) 0000 addr=(nullOL vap_stop - ) netmask=(null)STOPPED EVENT for vap 0 (86a60000) _ifconfig: name=ath1 flags=0000 addr=(null) netmask=(null) Set freq vap 0 stop send + 86f90000 Set freq vap 0 stop send -86f90000 Set wait done --86f90000 Set freq vap 0 stop send + 86454000 OL vap_stop + wmi_unified_vdev_stop_send for vap 0 (86a60000) OL vap_stop - STOPPED EVENT for vap 0 (86a60000) Set freq vap 0 stop send -86454000 Set wait done --86454000 _ifconfig: name=ath0 flags=1043 IFUP addr=(null) netmask=(null) ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1 DEVICE IS DOWN ifname=ath0 DEVICE IS DOWN ifname=ath0 DES SSID SET=Chickpea and Booberry ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1 OL vap_stop + wmi_unified_vdev_stop_send for vap 0 (86a60000) OL vap_stop - STOPPED EVENT for vap 0 (86a60000) DEVICE IS DOWN ifname=ath1 DEVICE IS DOWN ifname=ath1 DES SSID SET=Chickpea and Booberry_5 OL vap_stop + wmi_unified_vdev_stop_send for vap 0 (86a60000) OL vap_stop - STOPPED EVENT for vap 0 (86a60000) _ifconfig: name=lo flags=1043 IFUP addr=127.0.0.1 netmask=255.0.0.0 route_manip: cmd=ADD name=lo addr=127.0.0.0 netmask=255.0.0.0 gateway=0.0.0.0 metric=0 update_lan_state(lan_, 2, 0) [wifi1] FWLOG: [36435] WAL_DBGID_SECURITY_ENCR_EN ( ) [wifi1] FWLOG: [36435] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 ) stop_nat_rules: apply the redirect_rules! start_lan 2136 start_services 3519 # wanduck: Got LAN(-1) information: [1 init:start_dnsmasq +20] begin [1 init:stop_dnsmasq +20] begin [1 init:stop_dnsmasq +20] end [1 init:start_dnsmasq +20] end # Enable direct rule start_lan_port(0) 1 decomp: fname=/var/lib/misc/rstats-speed.gz decomp: gzip -dc /var/lib/misc/rstats-speed.gz > /var/tmp/rstats-uncomp != 0 load: speed_count = 0 load: read source= save_path= load_history: fname=/var/lib/misc/rstats-history.gz decomp: fname=/var/lib/misc/rstats-history.gz decomp: gzip -dc /var/lib/misc/rstats-history.gz > /var/tmp/rstats-uncomp != 0 decomp: fname=/var/lib/misc/rstats-history.gz decomp: gzip -dc /var/lib/misc/rstats-history.gz > /var/tmp/rstats-uncomp != 0 load_history: load failed TZ watchdog reinit_sfe:DUALWAN: unit -1,0 type 0 iptv [manual] nat_x -1 qos 0 wans_mode fo link 1,1: action 0. start_wan: start_wan_if(0)! [1 init:start_wan_if +21] unit=0. update_wan_state(wan0_, 0, 0) disk_monitor: starting... disk_monitor: day=31, week=3, time=20:0. disk_monitor: decide if scan the target... disk_monitor: 0: wait_second=10800... disk_monitor: 1: wait_second=10800... disk_monitor: wait_second=10800... disk_monitor: Pause... convert_wan_nvram(wan0_) ** wan_ifname: vlan35 is NOT UP _ifconfig: name=vlan35 flags=1043 IFUP addr=(null) netmask=(null) update_wan_state(wan0_, 1, 0) _ifconfig: name=vlan35 flags=1043 IFUP addr=(null) netmask=(null) start_auth:: done start_wan_if(): End. start_usb udhcpc_wan:: deconfig _ifconfig: name=vlan35 flags=1043 IFUP addr=0.0.0.0 netmask=(null) wan_down(vlan35) wan_down(vlan35): . stop_auth:: done route_manip: cmd=DEL name=vlan35 addr=0.0.0.0 netmask=0.0.0.0 gateway=(null) metric=0 update_wan_state(wan0_, 3, 0) update_wan_state(wan0_, 4, 3) udhcpc:: deconfig done OL vap_start + wmi_unified_vdev_start_send for vap 0 (86a60000) OL vap_start - ol_vdev_start_resp_ev for vap 0 (86a60000) ol_ath_vap_join: join operation is only for STA/IBSS mode ol_ath_wmm_update: wmi_unified_vdev_up_send for vap 0 (86a60000) Notification to UMAC VAP layer ready to modprobe xhci xhci_hcd 0000:01:00.0: ## USB3 port 0/2 addr(b2000440) s1(000002a0) --> (000002a0) xhci_hcd 0000:01:00.0: ## USB3 port 1/3 addr(b2000450) s1(000002a0) --> (000002a0) [1 init:init_main +25] main loop signal/state=14
U-Boot Env.
ath> printenv bootcmd=tftp bootdelay=2 baudrate=115200 ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee ipaddr=192.168.1.1 serverip=192.168.1.10 preferred_nic=eth1 mtdids=nand0=nand0 mtdparts=mtdparts=nand0:896k(Bootloader),128k(environment),126m(UBI_DEV),1m(caldata) stdin=serial stdout=serial