Ubiquiti Nanostation AC

The Ubiquiti NanoStation AC is a (dual band) 5 GHz AC outdoor PoE CPE with two GbE ports.

Install OpenWrt (generic explanation)

WA v8.7.0 / XC v8.7.0

See instructions in Common Procedures for Ubiquiti Products

WA v8.5.7

See instructions in Common Procedures for Ubiquiti Products

WA v8.4.1

The firmware for this ubiquiti device is signed. But since there are no mtd utilities available on the device the original fwupdate.real binary must be used. Please make sure you have got firmware version v8.4.1.35794 installed https://dl.ubnt.com/firmwares/XC-fw/v8.4.1/WA.v8.4.1.35794.171006.1417.bin. The instructions probably won't work for other versions. To install unsigned firmware the fwupdate.real binary (which is in fact just a symlink to ubntbox) must be patched:

hexdump -Cv /bin/ubntbox | sed 's/14 40 fe ff/00 00 00 00/g' | hexdump -R > /tmp/fwupdate.real
chmod +x /tmp/fwupdate.real

After that the factory image can be installed using the patched binary:

/tmp/fwupdate.real -m /tmp/openwrt-ath79-generic-ubnt-nanostation-ac-squashfs-factory.bin

The above instructions were only verified using firmware version v8.4.1.35794.

It will most likely work for any firmware version where

md5sum /bin/fwupdate.real

is

1e51abce9abe5da2b89d91e8980a35f0

I've not had a look at any other firmware versions yet but up/downgrading to version v8.4.1.35794 should always work.

If you do not have any luck with the non-invasive installation and are not afraid of opening your device and have a USB to serial adapter at hand you can always follow the instructions below.

There seem to be some additional checks in the tftp rescue and I was unable to install any of my firmware binaries that way.

It may be possible to dd the firmware onto the flash directly from AirOS but I used the tftpboot functionality of u-boot to first load an initramfs image and then persistently flash a squashfs image from inside openWrt:

  1. Connect to serial header on device (8N1 115200)
  2. Power on device and enter u -boot console
  3. Set up tftp server serving an openwrt initramfs build
  4. Load initramfs build using the command tftpboot in the uboot cli
  5. Boot the loaded image using the command bootm
  6. Copy squashfs openwrt sysupgrade build to the booted device
  7. Use mtd to write sysupgrade to partition “firmware”
  8. Reboot and enjoy

Please read the article flash.layout for a better understanding. It contains a couple of explanations. Then let's have a quick view at flash layout of this particular device:

Ubiquiti Nanostation AC Flash Layout stock firmware
Layer0 m25p128 spi0.0: Macronix MX25L12835FZ2I 16384KiB
Layer1 mtd0 mtd1 mtd2 mtd3 mtd4 mtd5
Size in KiB 256KiB 64KiB 1024KiB 14720KiB 256KiB 64KiB
Name u-boot u-boot-env kernel rootfs cfg EEPROM
mountpoint none none none / none none
filesystem none none none SquashFS 4.0 none none
Ubiquiti Nanostation AC Flash Layout
Layer0 m25p128 spi0.0: Macronix MX25L12835FZ2I 16384KiB
Layer1 mtd0 u-boot 256KiB mtd1 u-boot-env 64KiB mtd2 firmware 15744KiB mtd6 cfg 256 KiB mtd7 EEPROM 64KiB
Layer2 mtd3 kernel mtd4 rootfs
mountpoint /
filesystem overlayfs
Layer3 mtd5 rootfs_data
Size in KiB 256KiB 64KiB 256KiB 64KiB
Name u-boot u-boot-env kernel rootfs_data cfg EEPROM
mountpoint none none none /rom /overlay none none
filesystem none none none SquashFS JFFS2 none none

EEPROM = Atheros radio calibration data

cfg = Config partition, contains ubnt device config and persistent storage, remarks on format: Ubiquiti cfg partition

Maker:0x4c,Date:2017-12-12,Ver:4,Lens:Kan03,Act:Lar01,E-Y Maker:0x4c,Date:2017-12-12,Ver:4,Lens:Kan03,Act:Lar01,E-Y Maker:0x4c,Date:2017-12-12,Ver:4,Lens:Kan03,Act:Lar01,E-Y Maker:0x4c,Date:2017-12-12,Ver:4,Lens:Kan03,Act:Lar01,E-Y

To open the case depress the latch on the back of the unit and slide out the PCB assembly.

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:
serial header

Serial connection parameters
for Ubiquiti Nanostation AC
115200, 8N1

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port

dmesg

[ 0.000000] Linux version 2.6.32.68 (bamboo@4083361d6881) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.01 unknown) ) #1 Fri Oct 6 14:21:30 EEST 2017 [ 0.000000] flash_size passed from bootloader = 16 [ 0.000000] CPU revision is: 0001974c (MIPS 74Kc) [ 0.000000] ath_sys_frequency: cpu srif ddr srif cpu 535 ddr 400 ahb 200 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] User-defined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone PFN ranges: [ 0.000000] Normal 0x00000000 -> 0x00004000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[1] active PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00004000 [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] free_area_init_node: node 0, pgdat 80295020, node_mem_map 81000000 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16256 pages, LIFO batch:3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs init=/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),14720k(rootfs),256k(cfg),64k(EEPROM) mem=64M panic=3 quiet [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 61760k/65536k available (2122k kernel code, 3704k reserved, 518k data, 132k init, 0k highmem) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:128 [ 0.000000] plat_time_init: plat time init done [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] Calibrating delay loop... 266.24 BogoMIPS (lpj=133120) [ 0.022000] Mount-cache hash table entries: 512 [ 0.024000] NET: Registered protocol family 16 [ 0.027000] PCIe WLAN H/W found [tries: 1] [ 0.027000] PCI init:ath_pcibios_init [ 0.027000] ath_pcibios_init(419): PCI CMD write: 0x356 [ 0.027000] registering PCI controller with io_map_base unset [ 0.032000] bio: create slab <bio-0> at 0 [ 0.034000] pci 0000:00:00.0: reg 10 64bit mmio: [0x000000-0x1fffff] [ 0.034000] pci 0000:00:00.0: reg 30 32bit mmio pref: [0x000000-0x00ffff] [ 0.034000] pci 0000:00:00.0: supports D1 D2 [ 0.034000] Returning IRQ 64 [ 0.035000] Switching to clocksource MIPS [ 0.037000] NET: Registered protocol family 2 [ 0.038000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.039000] TCP established hash table entries: 2048 (order: 2, 16384 bytes) [ 0.039000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.039000] TCP: Hash tables configured (established 2048 bind 2048) [ 0.039000] TCP reno registered [ 0.040000] NET: Registered protocol family 1 [ 0.040000] ATH GPIOC major 0 [ 0.041000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.041000] msgmni has been set to 120 [ 0.042000] io scheduler noop registered (default) [ 0.066000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.067000] serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A [ 0.067000] console [ttyS0] enabled [ 0.068000] 6 cmdlinepart partitions found on MTD device ath-nor0 [ 0.068000] Creating 6 MTD partitions on "ath-nor0": [ 0.069000] 0x000000000000-0x000000040000 : "u-boot" [ 0.070000] 0x000000040000-0x000000050000 : "u-boot-env" [ 0.071000] 0x000000050000-0x000000150000 : "kernel" [ 0.072000] 0x000000150000-0x000000fb0000 : "rootfs" [ 0.073000] mtd: partition "rootfs" set to be root filesystem [ 0.073000] 0x000000fb0000-0x000000ff0000 : "cfg" [ 0.075000] 0x000000ff0000-0x000001000000 : "EEPROM" [ 0.076000] u32 classifier [ 0.076000] Performance counters on [ 0.076000] input device check on [ 0.076000] Actions configured [ 0.078000] TCP westwood registered [ 0.078000] NET: Registered protocol family 10 [ 0.081000] NET: Registered protocol family 17 [ 0.081000] Bridge firewalling registered [ 0.081000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> [ 0.081000] All bugs added by David S. Miller <davem@redhat.com> [ 0.081000] athwdt_init: Registering WDT success [ 0.082000] Reset: Normal [ 0.082000] ath_otp_init: Registering OTP success [ 0.082000] ath_clksw_init: Registering Clock Switch Interface success [ 0.090000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3. [ 0.091000] Freeing unused kernel memory: 132k freed [ 1.633000] ubnthal: module license 'Proprietary' taints kernel. [ 1.633000] Disabling lock debugging due to kernel taint [ 1.679000] ubnthal: initializing... [ 1.679000] ath-gpio 2.0 initialised [ 1.679000] ubnthal: initialised, board found, sysid = 0xe7fb, name = NanoStation 5AC [ 1.679000] ubnthal: host_board_t size: 7320B, boards table size: 142kB [ 6.673000] ATHR_GMAC: Length per segment 1536 [ 6.673000] ATHR_GMAC: fifo cfg 3 01f00140 [ 6.673000] Found PHY at address 0 with ID 4d:d036 [ 6.673000] Found PHY at address 1 with ID 4d:d036 [ 6.673000] Found PHY at address 2 with ID 4d:d036 [ 6.673000] Found PHY at address 3 with ID 4d:d036 [ 6.674000] Found PHY at address 4 with ID 4d:d036 [ 6.675000] AR833x Detected [ 6.675000] mac:0 Registering S17.... [ 6.675000] ATHR_GMAC: RX TASKLET - Pkts per Intr:160 [ 6.675000] ATHR_GMAC: Mac address for unit 0:bfff0000 [ 6.675000] ATHR_GMAC: fc:ec:da:9b:1c:b3 [ 7.229000] ATHR_GMAC: Max segments per packet : 1 [ 7.229000] ATHR_GMAC: Max tx descriptor count : 128 [ 7.229000] ATHR_GMAC: Max rx descriptor count : 252 [ 7.229000] ATHR_GMAC: Mac capability flags : 40042A01 [ 7.229000] ATHR_GMAC: Setup virtual eth [ 7.233000] ATHR_GMAC: Mac address for unit 1:bfff0006 [ 7.233000] ATHR_GMAC: fe:ec:da:9b:1c:b3 [ 7.346000] PPP generic driver version 2.4.2 [ 7.403000] PPP MPPE Compression module registered [ 7.435000] NET: Registered protocol family 24 [ 7.605000] GRE over IPv4 tunneling driver [ 7.685000] URD Init [ 8.189000] ath_hal: 0.9.17.1 (AR9380, REGOPS_FUNC, 11D) [ 8.354000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved [ 8.469000] ath_spectral: Version 2.0.0 [ 8.469000] Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved [ 8.469000] SPECTRAL module built on Oct 6 2017 14:20:13 [ 8.736000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved [ 10.658000] ath_pci: 10.1.467 (Atheros/multi-bss) [ 10.658000] Ubiquiti U-AME chipset detected [ 10.658000] ath_pci_probe [ 10.658000] PCI: Setting latency timer of device 0000:00:00.0 to 64 [ 10.659000] ath_pci 0000:00:00.0: ath DEBUG: sc=0x83a82000 [ 10.659000] [ 10.659000] ol_ath_pci_configure : num_desired MSI set to 0 [ 10.659000] [ 10.659000] Using PCI Legacy Interrupt [ 11.273000] __ol_ath_attach: ath_attach TODO [ 11.274000] ol_ath_attach() BMI inited. [ 11.274000] ol_ath_attach() BMI Get Target Info. [ 11.274000] ol_ath_attach() TARGET TYPE: 7 Vers 0x4100016c [ 11.274000] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0 [ 11.275000] ol_ath_attach() configure Target . [ 11.275000] qc98xx_verify_checksum: flash checksum passed: 0x5cc6 [ 11.275000] ol_transfer_bin_file 338: Download Flash data len 2116 [ 11.288000] BMI operation done [ 11.289000] ol_transfer_bin_file 259: Download Firmware data len 215408. Mode: PTP [ 12.202000] BMI operation done [ 12.202000] ol_ath_attach() Download FW. [ 12.202000] ol_ath_attach() HT Create . [ 12.202000] ol_ath_attach() HIF Claim. [ 12.202000] ol_ath_attach() BMI Done. [ 12.203000] ol_ath_attach() WMI attached. wmi_handle 831e0000 [ 12.203000] +HWT [ 12.206000] -HWT [ 12.206000] HTC Service:0x0300 ep:1 TX flow control disabled [ 12.213000] ol_txrx_pdev_attach: tx_credit initialised to 1424 [ 12.213000] HTC Service:0x0100 ep:2 TX flow control disabled [ 12.214000] wmi_service_ready_event_rx: WMI UNIFIED SERVICE READY event [ 12.214000] num_rf_chain : 00000002 [ 12.214000] ht_cap_info: : 0000085b [ 12.214000] vht_cap_info : 338001b2 [ 12.214000] vht_supp_mcs : 0000fffa [ 12.223000] FIRMWARE:P 34 V 1 T 110 [ 12.223000] [ 12.223000] wmi_ready_event_rx: WMI UNIFIED READY event [ 12.223000] ol_ath_connect_htc() WMI is ready [ 12.223000] ol_ath_set_host_app_area TODO [ 12.223000] ol_ath_attach() connect HTC. [ 12.223000] target uses HTT version 2.1; host uses 2.1 [ 12.223000] Supported modes: 0x1f9001 [ 12.223000] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0. [ 12.230000] ol_ath_phyerr_attach: called [ 12.230000] ath92.ieee80211_ifattach(): Enable ignore 11d [ 12.231000] OL Resmgr Init-ed [ 12.232000] ol_if_spectral_setup [ 12.232000] SPECTRAL : get_capability not registered [ 12.232000] HAL_CAP_PHYDIAG : Capable [ 12.232000] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 233) [ 12.232000] SPECTRAL : get_capability not registered [ 12.232000] HAL_CAP_RADAR : Capable [ 12.232000] SPECTRAL : Need to fix the capablity check for SPECTRAL [ 12.232000] (spectral_attach : 238) [ 12.232000] SPECTRAL : get_capability not registered [ 12.232000] HAL_CAP_SPECTRAL_SCAN : Capable [ 12.232000] SPECTRAL : get_tsf64 not registered [ 12.232000] spectral_init_netlink 54 NULL SKB [ 12.232000] ol_ath_set_dscp_tid_map: ...ath.c [ 12.232000] ol_if_dfs_setup: called [ 12.232000] ol_ath_rtt_meas_report_attach: called [ 12.232000] ol_ath_attach() UMAC attach . [ 12.232000] __ol_ath_attach: init tx/rx TODO [ 12.232000] __ol_ath_attach: hard_header_len reservation 64 [ 12.232000] __ol_ath_attach: dev name wifi0 [ 12.237000] ath_ahb: 10.1.467 (Atheros/multi-bss) [ 12.237000] __ath_attach: Set global_scn[0] [ 12.237000] ACBKMinfree = 48 [ 12.237000] ACBEMinfree = 32 [ 12.237000] ACVIMinfree = 16 [ 12.237000] ACVOMinfree = 0 [ 12.237000] CABMinfree = 48 [ 12.237000] UAPSDMinfree = 0 [ 12.248000] Enterprise mode: 0x00000000 [ 12.248000] Restoring Cal data from Flash [ 12.623000] SPECTRAL : get_capability not registered [ 12.623000] HAL_CAP_PHYDIAG : Capable [ 12.623000] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 233) [ 12.624000] SPECTRAL : get_capability not registered [ 12.624000] HAL_CAP_RADAR : Capable [ 12.624000] SPECTRAL : Need to fix the capablity check for SPECTRAL [ 12.624000] (spectral_attach : 238) [ 12.624000] SPECTRAL : get_capability not registered [ 12.624000] HAL_CAP_SPECTRAL_SCAN : Capable [ 12.624000] SPECTRAL : get_tsf64 not registered [ 12.624000] spectral_init_netlink 54 NULL SKB [ 12.624000] IRQ request for SPECTRAL-XMIT-FILTER successful [ 12.624000] SPECTRAL : No ADVANCED SPECTRAL SUPPORT [ 12.624000] SPECTRAL : module attached [ 12.627000] ath_get_caps[5783] rx chainmask mismatch actual 3 sc_chainmak 0 [ 12.628000] ath_get_caps[5758] tx chainmask mismatch actual 3 sc_chainmak 0 [ 12.628000] ath92.ieee80211_ifattach(): Enable ignore 11d [ 12.660000] SPECTRAL : module already attached [ 12.663000] ath_tx_paprd_init sc 81c60000 PAPRD Enabled [ 12.947000] wifi1: Atheros 9340: mem=0xb8100000, irq=2 [ 13.170000] ubnt_poll_host: Hooks registered [ 13.170000] ubnt_poll_host: Allocated chardev region for major 189 [ 13.292000] rssi-leds 1.2 loaded [ 13.624000] Mirror/redirect action on [ 14.644000] ath_dfs: Version 2.0.0 [ 14.644000] Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved [ 14.789000] ath92.ol_ath_set_config_param(): Reset scheduled on wifi0 radio [ 14.789000] Resetting the radio [ 14.789000] Suspending Target - with disable_intr set [ 14.789000] waiting for target paused event from target [ 14.791000] __ol_ath_detach: init tx/rx cleanup TODO [ 14.791000] ol_if_dfs_teardown: called [ 14.791000] ol_ath_phyerr_detach: called [ 14.798000] ol_if_spectral_detach [ 14.798000] SPECTRAL : Module removed (spectral = 83be3000) [ 14.798000] ath_pci_warm_reset :(sc 83a82000) [ 14.798000] Target Warm Reset [ 14.798000] Host Intr Cause reg 0x900c : value : 0x4000 [ 14.798000] Target CPU Intr Cause 0x5000 [ 14.898000] addr 0x4050 : 0x4 [ 14.918000] Target CPU Intr Cause after CE reset 0x40 [ 14.918000] RESET_CONTROL after cpu warm reset 0x800 [ 15.019000] Target Warm reset complete [ 15.019000] ath_pci_remove [ 15.019000] Ubiquiti U-AME chipset detected [ 15.019000] ath_pci_probe [ 15.019000] PCI: Setting latency timer of device 0000:00:00.0 to 64 [ 15.019000] ath_pci 0000:00:00.0: ath DEBUG: sc=0x83a82000 [ 15.019000] [ 15.019000] ol_ath_pci_configure : num_desired MSI set to 0 [ 15.019000] [ 15.019000] Using PCI Legacy Interrupt [ 15.132000] __ol_ath_attach: ath_attach TODO [ 15.133000] ol_ath_attach() BMI inited. [ 15.138000] ol_ath_attach() BMI Get Target Info. [ 15.138000] ol_ath_attach() TARGET TYPE: 7 Vers 0x4100016c [ 15.138000] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0 [ 15.139000] ol_ath_attach() configure Target . [ 15.139000] qc98xx_verify_checksum: flash checksum passed: 0x5cc6 [ 15.139000] ol_transfer_bin_file 338: Download Flash data len 2116 [ 15.153000] BMI operation done [ 15.153000] ol_transfer_bin_file 259: Download Firmware data len 215408. Mode: PTP [ 16.081000] BMI operation done [ 16.081000] ol_ath_attach() Download FW. [ 16.081000] ol_ath_attach() HT Create . [ 16.081000] ol_ath_attach() HIF Claim. [ 16.081000] ol_ath_attach() BMI Done. [ 16.082000] ol_ath_attach() WMI attached. wmi_handle 831e0000 [ 16.082000] +HWT [ 16.085000] -HWT [ 16.085000] HTC Service:0x0300 ep:1 TX flow control disabled [ 16.092000] ol_txrx_pdev_attach: tx_credit initialised to 1424 [ 16.092000] HTC Service:0x0100 ep:2 TX flow control disabled [ 16.093000] wmi_service_ready_event_rx: WMI UNIFIED SERVICE READY event [ 16.093000] num_rf_chain : 00000002 [ 16.093000] ht_cap_info: : 0000085b [ 16.093000] vht_cap_info : 338001b2 [ 16.093000] vht_supp_mcs : 0000fffa [ 16.102000] FIRMWARE:P 34 V 1 T 110 [ 16.102000] [ 16.102000] wmi_ready_event_rx: WMI UNIFIED READY event [ 16.102000] ol_ath_connect_htc() WMI is ready [ 16.102000] ol_ath_set_host_app_area TODO [ 16.102000] ol_ath_attach() connect HTC. [ 16.102000] target uses HTT version 2.1; host uses 2.1 [ 16.102000] Supported modes: 0x1f9001 [ 16.102000] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0. [ 16.109000] ol_ath_phyerr_attach: called [ 16.109000] ath92.ieee80211_ifattach(): Enable ignore 11d [ 16.110000] OL Resmgr Init-ed [ 16.111000] ol_if_spectral_setup [ 16.111000] SPECTRAL : get_capability not registered [ 16.111000] HAL_CAP_PHYDIAG : Capable [ 16.111000] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 233) [ 16.111000] SPECTRAL : get_capability not registered [ 16.111000] HAL_CAP_RADAR : Capable [ 16.111000] SPECTRAL : Need to fix the capablity check for SPECTRAL [ 16.111000] (spectral_attach : 238) [ 16.111000] SPECTRAL : get_capability not registered [ 16.111000] HAL_CAP_SPECTRAL_SCAN : Capable [ 16.111000] SPECTRAL : get_tsf64 not registered [ 16.111000] spectral_init_netlink 54 NULL SKB [ 16.111000] ol_ath_set_dscp_tid_map: ...ath.c [ 16.111000] ol_if_dfs_setup: called [ 16.111000] ol_ath_rtt_meas_report_attach: called [ 16.111000] ol_ath_attach() UMAC attach . [ 16.111000] __ol_ath_attach: init tx/rx TODO [ 16.111000] __ol_ath_attach: hard_header_len reservation 64 [ 16.111000] __ol_ath_attach: dev name wifi0 [ 16.116000] Reset of radio done [ 16.173000] ubnt_poll_host: Hooks registered [ 16.174000] ubnt_poll_host: Allocated chardev region for major 189 [ 16.221000] ubnt_poll_host wifi0: Char device created succesfully err 0 [ 16.221000] ubnt_poll_host: Polling enabled for radio wifi0 [ 16.221000] ubnt_poll_host: noack_mode set to 0 for radio wifi0 [ 16.221000] ubnt-poll-host: [wifi0] Station priority configured to 2 (no-auto=0) [ 16.222000] ubnt_poll_host: Fixed frame mode disabled for radio wifi0 [ 16.330000] ath_ioctl: SIOC80211IFCREATE CALLED [ 16.331000] ubnt_poll_host: Initialized in PTP STA mode for device wifi0 [ 16.331000] wmi_unified_set_psmode:set psmode=1 [ 16.332000] ol_if_dfs_attach: called; ptr=827e8ffc, radar_info=81feb910 [ 16.337000] ol_if_dfs_configure: called [ 16.337000] ol_if_dfs_configure: ETSI domain [ 16.337000] ol_if_dfs_disable: called [ 16.337000] ol_ath_phyerr_disable: about to send [ 16.337000] VAP device ath0 created [ 16.352000] dfs_control debug flags now 0x00000003 [ 16.488000] ath_dfs: another dfs module already in use [ 16.565000] ubnt_poll_host: ATPC enabled (0/0/0/25) for radio wifi0 [ 16.575000] wlan_vap_create : enter. devhandle=0x81c502c0, opmode=IEEE80211_M_HOSTAP, flags=0x1 [ 16.575000] wlan_vap_create : exit. devhandle=0x81c502c0, opmode=IEEE80211_M_HOSTAP, flags=0x1. [ 16.575000] VAP device ath1 created [ 16.603000] [ 16.603000] DES SSID SET=NS-5AC:FCECDA9A1CB3 [ 16.924000] Invoking ACS module for Best channel selection [ 17.204000] [ 17.204000] DES SSID SET=ubnt [ 17.209000] ol_ath_vap_set_param: VAP param unsupported param:33 value:0 [ 17.224000] wmi_unified_set_psmode:set psmode=0 [ 17.224000] wmi_unified_set_psmode:set psmode=0 [ 17.704000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 18.602000] xt_time: kernel timezone is -0000 [ 18.719000] nf_conntrack version 0.5.0 (968 buckets, 3872 max) [ 18.720000] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use [ 18.720000] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or [ 18.720000] sysctl net.netfilter.nf_conntrack_acct=1 to enable it. [ 18.728000] Ebtables v2.0 registered [ 19.161000] ieee80211_acs_find_best_centerchan: ACS picked 2437 as best channel [ 19.516000] ath_paprd_cal sc 81c60000 chan_mask 3 PAPRD excessive failure disabling PAPRD now [ 21.508000] device eth0 entered promiscuous mode [ 21.514000] device ath0 entered promiscuous mode [ 21.521000] device eth1 entered promiscuous mode [ 21.630000] To set s17 LOOKUP_CTRL_REG registers, flag 0 [ 21.630000] To set s17 LOOKUP_CTRL_REG registers, flag 0 [ 21.630000] athr_gmac_ring_alloc Allocated 2048 at 0x81bf7800 [ 21.630000] sram_desc_cnt 1536,mac Unit 0,Tx r->ring_desc 0xbd000000 [ 21.630000] athr_gmac_ring_alloc Allocated 4032 at 0x83aa4000 [ 21.630000] sram_desc_cnt 4560,mac Unit 0,Rx r->ring_desc 0xbd000600 [ 21.931000] WASP ----> S17 PHY * [ 21.940000] _athrs17_mac0_intf done [ 21.950000] phy 4 with phyid 0x004d:0xd036 - vs AR8035 - 0x004d:0xd072 [ 21.950000] Setting Drop CRC Errors, Pause Frames and Length Error frames [ 21.950000] Setting PHY... [ 22.966000] Phy setup Complete [ 22.970000] To set s17 LOOKUP_CTRL_REG registers, flag 1 [ 22.973000] To set s17 LOOKUP_CTRL_REG registers, flag 1 [ 22.980000] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 23.129000] ADDRCONF(NETDEV_UP): eth1: link is not ready [ 23.152000] br0: port 2(ath0) entering learning state [ 24.152000] br0: port 2(ath0) entering forwarding state [ 26.975000] [ 26.975000] Enet:0 port1 up [ 26.976000] ATH_MAC_TIMER: enet unit:0 is up (RGMii 1000Mbps full duplex) [ 26.976000] ATH_MAC_TIMER: done cfg2 0x7205 ifctl 0x0 miictrl [ 26.976000] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 26.977000] br0: port 3(eth1) entering learning state [ 26.977000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 26.978000] br0: port 1(eth0) entering learning state [ 27.977000] br0: port 3(eth1) entering forwarding state [ 27.978000] br0: port 1(eth0) entering forwarding state [ 38.830000] br0: no IPv6 routers present


Serial

U-Boot 1.1.4-s1038 (May 18 2017 - 17:50:47) Board: Ubiquiti Networks AR9342 board (e7fb-141837.1122.0030.0031) Reset: Normal DRAM: 64 MB Flash: 16 MB (0xc2, 0x20, 0x18) PCIe WLAN Module found (#1). Net: eth0, eth1 Radio: 0777:e7fb Hit any key to stop autoboot: 0 ## Booting image at 9f050000 ... Image Name: MIPS Ubiquiti Linux-2.6.32.68 Created: 2017-10-06 11:21:37 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 993109 Bytes = 969.8 kB Load Address: 80002000 Entry Point: 80002000 Verifying Checksum at 0x9f050040 ...OK Uncompressing Kernel Image ... OK Starting kernel ... Booting Atheros AR934x ...mounts done ...filesystem init done ...base ok ...update ok ...symlinks ok ...detect ok ...httpd ok Fixup ... Done. Plugin: ustatsd ... Done. Plugin: system ... Done. Plugin: syslog ... Done. Plugin: users ... Done. Plugin: gpio ... Done. Plugin: poepass ... Done. Plugin: resolv ... Done. Plugin: radio ... Done. Plugin: wireless ... Done. Plugin: iptables ... Done. Plugin: ebtables ... Done. Plugin: ip6tables ... Done. Plugin: fixup ... Done. Plugin: vlan ... Done. Plugin: bridge ... Done. Plugin: netconf ... Done. Plugin: route ... Done. Plugin: route6 ... Done. Plugin: dhcpc ... Done. Plugin: ppp ... Done. Plugin: 3g ... Done. Plugin: aaa ... Done. Plugin: wpasupplicant ... Done. Plugin: ntpclient ... Done. Plugin: dhcpd ... Done. Plugin: radvd ... Done. Plugin: sshd ... Done. Plugin: httpd ... Done. Plugin: snmp ... Done. Plugin: pwdog ... Done. Plugin: tshaper ... Done. Plugin: telnetd ... Done. Plugin: igmpproxy ... Done. Plugin: qos ... Done. Plugin: dnsmasq ... Done. Plugin: airview ... Done. Plugin: art ... Done. Plugin: gps ... Done. Plugin: dyndns ... Done. Plugin: dhcprelay ... Done. Plugin: upnpd ... Done. Plugin: cron ... Done. Plugin: mcaping ... Done. Plugin: unms ... Done. Plugin: inittab ... Done. Plugin: ulogger ... Done. Getty ... Done. Startup_list ...Done. Free_cfg ... Done. Ready to go. ...running /sbin/init init started: BusyBox v1.19.4 (2017-10-06 14:17:08 EEST) Cannot set device pause parameters: Operation not permitted Cannot get device pause settings: Operation not supported Please press Enter to activate this console.


U-Boot 1.1.4-s1038 (May 18 2017 - 17:50:47) Board: Ubiquiti Networks AR9342 board (e7fb-141837.1122.0030.0031) Reset: Normal DRAM: 64 MB Flash: 16 MB (0xc2, 0x20, 0x18) PCIe WLAN Module found (#1). Net: eth0, eth1 Radio: 0777:e7fb Hit any key to stop autoboot: 0 ## Booting image at 9f050000 ... Image Name: MIPS OpenWrt Linux-4.9.109 Created: 2018-06-27 4:38:00 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1389646 Bytes = 1.3 MB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum at 0x9f050040 ...OK Uncompressing Kernel Image ... OK Starting kernel ... [ 0.000000] Linux version 4.9.109 (tsys@arch-build) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7275-f076ad8074) ) #0 Wed Jun 27 04:38:00 2018 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc) [ 0.000000] SoC: Atheros AR9342 rev 2 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: board=UBNT-NANOSTATION-AC mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,15744k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,115200 rootfstype=squashfs noinitrd [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 59896K/65536K available (3155K kernel code, 165K rwdata, 796K rodata, 292K init, 213K bss, 5640K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:51 [ 0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:40.000MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7144898866 ns [ 0.000011] sched_clock: 32 bits at 267MHz, resolution 3ns, wraps every 8027976190ns [ 0.008333] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248) [ 0.091167] pid_max: default: 32768 minimum: 301 [ 0.096207] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.103257] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.113823] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.124335] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.131524] NET: Registered protocol family 16 [ 0.138064] MIPS: machine is Ubiquiti Nanostation AC [ 0.380089] registering PCI controller with io_map_base unset [ 0.402296] PCI host bridge to bus 0000:00 [ 0.406741] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff] [ 0.414060] pci_bus 0000:00: root bus resource [io 0x0000] [ 0.420007] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 0.427233] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.436174] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit] [ 0.443975] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref] [ 0.451706] pci 0000:00:00.0: using irq 40 for pin 1 [ 0.457807] clocksource: Switched to clocksource MIPS [ 0.464505] NET: Registered protocol family 2 [ 0.470127] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.477561] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.484395] TCP: Hash tables configured (established 1024 bind 1024) [ 0.491273] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.497506] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.504530] NET: Registered protocol family 1 [ 0.514429] Crashlog allocated RAM at address 0x3f00000 [ 0.521201] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.535929] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.542192] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.562598] io scheduler noop registered [ 0.566777] io scheduler deadline registered (default) [ 0.572673] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.579966] console [ttyS0] disabled [ 0.603880] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A [ 0.613087] console [ttyS0] enabled [ 0.613087] console [ttyS0] enabled [ 0.620518] bootconsole [early0] disabled [ 0.620518] bootconsole [early0] disabled [ 0.637707] m25p80 spi0.0: mx25l12805d (16384 Kbytes) [ 0.642940] 5 cmdlinepart partitions found on MTD device spi0.0 [ 0.648962] Creating 5 MTD partitions on "spi0.0": [ 0.653833] 0x000000000000-0x000000040000 : "u-boot" [ 0.660646] 0x000000040000-0x000000050000 : "u-boot-env" [ 0.668041] 0x000000050000-0x000000fb0000 : "firmware" [ 0.694834] 2 uimage-fw partitions found on MTD device firmware [ 0.700896] 0x000000050000-0x0000001b0000 : "kernel" [ 0.707530] 0x0000001b0000-0x000000fb0000 : "rootfs" [ 0.714537] mtd: device 4 (rootfs) set to be root filesystem [ 0.720390] 1 squashfs-split partitions found on MTD device rootfs [ 0.726683] 0x000000650000-0x000000fb0000 : "rootfs_data" [ 0.734114] 0x000000fb0000-0x000000ff0000 : "cfg" [ 0.740869] 0x000000ff0000-0x000001000000 : "EEPROM" [ 0.748937] libphy: Fixed MDIO Bus: probed [ 0.763859] switch0: Atheros AR8337 rev. 2 switch registered on ag71xx-mdio.0 [ 1.433702] libphy: ag71xx_mdio: probed [ 2.069214] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316] [ 2.080874] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII [ 2.089120] NET: Registered protocol family 10 [ 2.097548] NET: Registered protocol family 17 [ 2.102320] 8021q: 802.1Q VLAN Support v1.8 [ 2.113164] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 2.122317] Freeing unused kernel memory: 292K [ 2.126826] This architecture does not have kernel memory protection. [ 2.557820] random: fast init done [ 2.793089] init: Console is alive [ 2.796811] init: - watchdog - [ 3.799531] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 3.856006] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 3.874524] init: - preinit - [ 5.017218] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 6.029070] eth0: link up (1000Mbps/Full duplex) [ 6.033855] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 8.374854] jffs2: notice: (372) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 8.392670] mount_root: switching to jffs2 overlay [ 8.432804] urandom-seed: Seeding with /etc/urandom.seed [ 8.579120] eth0: link down [ 8.595884] procd: - early - [ 8.599414] procd: - watchdog - [ 9.231260] procd: - watchdog - [ 9.234774] procd: - ubus - [ 9.279468] random: ubusd: uninitialized urandom read (4 bytes read) [ 9.291611] random: ubusd: uninitialized urandom read (4 bytes read) [ 9.298676] random: ubusd: uninitialized urandom read (4 bytes read) [ 9.306177] procd: - init - Please press Enter to activate this console. [ 9.813453] kmodloader: loading kernel modules from /etc/modules.d/* [ 9.857698] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 9.877032] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180 [ 9.885235] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d [ 9.895909] ip_tables: (C) 2000-2006 Netfilter Core Team [ 9.911313] nf_conntrack version 0.5.0 (1024 buckets, 4096 max) [ 9.981485] xt_time: kernel timezone is -0000 [ 10.219356] PPP generic driver version 2.4.2 [ 10.226556] NET: Registered protocol family 24 [ 10.260765] PCI: Enabling device 0000:00:00.0 (0000 -> 0002) [ 10.266697] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0 [ 10.542765] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2 [ 10.553676] ath10k_pci 0000:00:00.0: Falling back to user helper [ 10.783747] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed [ 10.794402] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2 [ 10.805331] ath10k_pci 0000:00:00.0: Falling back to user helper [ 10.991120] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed [ 11.007412] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0777:e7fb [ 11.016843] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1 [ 11.031770] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00037 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 a4a52adb [ 11.135973] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2 [ 11.146617] ath10k_pci 0000:00:00.0: Falling back to user helper [ 11.267058] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed [ 11.308636] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08 [ 12.443403] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1 [ 12.770395] ieee80211 phy1: Atheros AR9340 Rev:2 mem=0xb8100000, irq=47 [ 12.782024] kmodloader: done loading kernel modules from /etc/modules.d/* [ 14.406595] urandom_read: 5 callbacks suppressed [ 14.406604] random: jshn: uninitialized urandom read (4 bytes read) [ 14.560896] random: ubusd: uninitialized urandom read (4 bytes read) [ 26.805621] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 26.863708] br-home: port 1(eth0.1) entered blocking state [ 26.869355] br-home: port 1(eth0.1) entered disabled state [ 26.875409] device eth0.1 entered promiscuous mode [ 26.880343] device eth0 entered promiscuous mode [ 27.008147] IPv6: ADDRCONF(NETDEV_UP): br-home: link is not ready [ 27.250125] br-lan: port 1(eth0.2) entered blocking state [ 27.255623] br-lan: port 1(eth0.2) entered disabled state [ 27.261620] device eth0.2 entered promiscuous mode [ 27.337063] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 27.869505] eth0: link up (1000Mbps/Full duplex) [ 27.874271] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 27.962503] br-home: port 1(eth0.1) entered blocking state [ 27.968148] br-home: port 1(eth0.1) entered forwarding state [ 27.974111] br-lan: port 1(eth0.2) entered blocking state [ 27.979650] br-lan: port 1(eth0.2) entered forwarding state [ 28.064836] IPv6: ADDRCONF(NETDEV_CHANGE): br-home: link becomes ready [ 28.071923] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 34.455267] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 34.503217] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 34.519441] br-home: port 2(wlan0) entered blocking state [ 34.525049] br-home: port 2(wlan0) entered disabled state [ 34.531088] device wlan0 entered promiscuous mode [ 34.545709] br-home: port 3(wlan1) entered blocking state [ 34.551273] br-home: port 3(wlan1) entered disabled state [ 34.557229] device wlan1 entered promiscuous mode [ 34.562209] br-home: port 3(wlan1) entered blocking state [ 34.567699] br-home: port 3(wlan1) entered forwarding state [ 35.230439] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 35.784181] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 35.790902] br-home: port 2(wlan0) entered blocking state [ 35.796414] br-home: port 2(wlan0) entered forwarding state [ 58.655540] random: crng init done


This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2024/02/12 11:13
  • by 127.0.0.1