EXPIRED Meraki MR52 29,90€ (gone)

okrasit

Member
Jun 28, 2019
40
26
18
wait. I just did the procedure as you described @okrasit and it does indeed give this exact output. How is there openwrt already on the machine?
I was always under the impression evil companys use the linux kernel for their devices but that there is already some openwrt on a cisco cloud managed device. Can someone explain that?
The platform SDK seems to be OpenWRT :rolleyes:
Someone could ask Cisco where's the download link for the firmware & bootloader source :)
 

hmartin

Active Member
Sep 20, 2017
270
189
43
35
The platform SDK seems to be OpenWRT :rolleyes:
Someone could ask Cisco where's the download link for the firmware & bootloader source :)
Yes, Meraki's entire firmware appears to be based on an old fork of OpenWrt. It resembles nothing like upstream though.

I send them a mail open-source@meraki.com . Lets see what the response is.
The kernel build date in the boot log is from 2018, so they should be required to disclose the source code. They can take a week or so to reply though.

If no one is able to add the MR52 to their dashboard to update the firmware, it looks like the latest firmware version is 26.6.1 from early 2020. They should provide the corresponding source code for that release.
 
Last edited:

Evan

Well-Known Member
Jan 6, 2016
3,280
566
113
MR33 worth hacking ? I have some not assigned but no license..
 

usbTypeD

New Member
Apr 2, 2020
26
12
3
The good folks at Meraki just send me this:

Code:
The open source you requested for the MR52 can be downloaded at
https://dl.meraki.net/router-26-6-1-mr52-20200629.tar.bz2

Instructions for building the OpenWRT source code and the Linux kernel for the MR52 are below.
After downloading and unpacking the tarball:

To build OpenWRT firmware:

cd meraki-firmware/openwrt
cp config-cryptid .config
make oldconfig
make -j1 BOARD=cryptid OPENWRT_EXTRA_BOARD_SUFFIX=_cryptid

To build Linux-3.14 kernel:

cd meraki-firmware/linux-3.14
cp ../openwrt/target/linux/cryptid-3.14/config .config
make CROSS_COMPILE=../openwrt/staging_dir_arm_nofpu_cryptid/bin/arm-unknown-linux-uclibcgnueabi- ARCH=arm oldconfig
make CROSS_COMPILE=../openwrt/staging_dir_arm_nofpu_cryptid/bin/arm-unknown-linux-uclibcgnueabi- ARCH=arm prepare
touch rootlist
make CROSS_COMPILE=../openwrt/staging_dir_arm_nofpu_cryptid/bin/arm-unknown-linux-uclibcgnueabi- ARCH=arm vmlinux


The U-boot source code for the MR52 you requested is available for download at
https://dl.meraki.net/U-boot-MR52-20200629.tar.bz2

After downloading and uncompressing the tarball, to build the MR52 U-boot:
export CROSS_COMPILE=/path/to/arm32-cross-toolchain
cd U-boot.MR52
make bigfoot_config
make

Regards,
Meraki Open Source
 

hmartin

Active Member
Sep 20, 2017
270
189
43
35
There's a reset button between the ethernet ports. Hold the reset button down, during boot, until the led starts blinking white. At this stage clicking the button will toggle the led, blue or red. Once "selected", just wait and it'll continue booting. Blue is for the "recovery/diagnostic" firmware and red is the Meraki one.
Code:
BusyBox v1.19.4 (2016-02-18 09:57:12 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

     MM           NM                    MMMMMMM          M       M
   $MMMMM        MMMMM                MMMMMMMMMMM      MMM     MMM
  MMMMMMMM     MM MMMMM.              MMMMM:MMMMMM:   MMMM   MMMMM
MMMM= MMMMMM  MMM   MMMM       MMMMM   MMMM  MMMMMM   MMMM  MMMMM'
MMMM=  MMMMM MMMM    MM       MMMMM    MMMM    MMMM   MMMMNMMMMM
MMMM=   MMMM  MMMMM          MMMMM     MMMM    MMMM   MMMMMMMM
MMMM=   MMMM   MMMMMM       MMMMM      MMMM    MMMM   MMMMMMMMM
MMMM=   MMMM     MMMMM,    NMMMMMMMM   MMMM    MMMM   MMMMMMMMMMM
MMMM=   MMMM      MMMMMM   MMMMMMMM    MMMM    MMMM   MMMM  MMMMMM
MMMM=   MMMM   MM    MMMM    MMMM      MMMM    MMMM   MMMM    MMMM
MMMM$ ,MMMMM  MMMMM  MMMM    MMM       MMMM   MMMMM   MMMM    MMMM
  MMMMMMM:      MMMMMMM     M         MMMMMMMMMMMM  MMMMMMM MMMMMMM
    MMMMMM       MMMMN     M           MMMMMMMMM      MMMM    MMMM
     MMMM          M                    MMMMMMM        M       M
       M
---------------------------------------------------------------
   For those about to rock... (IPQ806X.LN, r37758)
---------------------------------------------------------------
root@OpenWrt:/#
It doesn't seem very useful, though. :(
Do you have access to the mtdblock devices in this mode? It would be very useful if you did, as you could dump the OS image from NAND (using dd + base64 and then extracting that from the serial log).

The Meraki GPL archive does not usually contain their init scripts, which are very useful to read to know how they setup the hardware.
 

usbTypeD

New Member
Apr 2, 2020
26
12
3
Is there a set of commands i could try to see if the "mtdblock devices" are accessible?
If you have any advice on the dd command i would also try to run that.
 

hmartin

Active Member
Sep 20, 2017
270
189
43
35
Is there a set of commands i could try to see if the "mtdblock devices" are accessible?
If you have any advice on the dd command i would also try to run that.

Sure. Could you try the following (lines starting with # are comments):
Code:
# should give you a list of mtd partitions, may not exist
cat /proc/mtd
# will show you any/all mtd devices present
ls /dev/mtd*
# read the contents of mtdblock1 and output base64
# record the serial console output with minicom or screen to a file
# then isolate just the base64 encoded lines and do
# `cat screenlog.0 | base64 -d > mtdblock1.bin` to decode
dd if=/dev/mtdblock1 bs=4096 | base64
 
  • Like
Reactions: Labs and usbTypeD

usbTypeD

New Member
Apr 2, 2020
26
12
3
Allright here is some output from the commands
Code:
root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00200000 00020000 "art"
mtd1: 00136000 0001f000 "ART"


root@OpenWrt:/# ls /dev/mtd*
/dev/mtd0       /dev/mtd1       /dev/mtdblock0
/dev/mtd0ro     /dev/mtd1ro     /dev/mtdblock1

root@OpenWrt:/# dd if=/dev/mtdblock1 bs=4096 | base64
/bin/ash: base64: not found
I managed to get the output of dd the mtdblock0 and 1 via the http web interface (placed files in /www)
 

Attachments

hmartin

Active Member
Sep 20, 2017
270
189
43
35
Allright here is some output from the commands
Code:
root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00200000 00020000 "art"
mtd1: 00136000 0001f000 "ART"


root@OpenWrt:/# ls /dev/mtd*
/dev/mtd0       /dev/mtd1       /dev/mtdblock0
/dev/mtd0ro     /dev/mtd1ro     /dev/mtdblock1

root@OpenWrt:/# dd if=/dev/mtdblock1 bs=4096 | base64
/bin/ash: base64: not found
I managed to get the output of dd the mtdblock0 and 1 via the http web interface (placed files in /www)
Thanks, this appears to be the radio firmware. Does /proc/cmdline exist? Or can you post the output from u-boot?

Looking at the build instructions above, I should have realized their WiFi AP OS is probably quite similar to their switch OS.

Their instructions tell you to create an empty rootlist file, but that's just because their firmware components aren't released as part of the GPL archive.

In reality, they are building the kernel with the whole firmware as a built-in initrd (gzip compression is used for the firmware cpio on their switches). So in this case, if they aren't passing the kernel mtdpart in the kernel command line, it won't appear in /proc/mtd.

So they're probably using ubifs here (I can see some UBI data in the dump you provided), are there /dev/ubi* devices present? Maybe they were even nice enough to include ubi utilities like ubinfo.

I should just ask my friend to post me the unit I bought...
 

usbTypeD

New Member
Apr 2, 2020
26
12
3
Here are some of my findings:

* /proc/cmdline does exist
Code:
root@OpenWrt:/# cat /proc/cmdline
ubi.mtd=art root=/dev/ram rw console=ttyHSL1,115200n8 mem=0x1ea00000@0x41500000
* /dev/ubi* devices are present
Code:
root@OpenWrt:/# ls /dev/ubi
ubi0      ubi0_0    ubi_ctrl
* ubinfo is not available. These are the ubi* commands
Code:
root@OpenWrt:/# ubi
ubiattach     ubidetach     ubiformat     ubimkvol      ubiupdatevol
This is the most complete boot log i could aquire
Code:
U-Boot 2012.07-gd040ed5-dirty [local,local] (Mar 29 2016 - 07:59:21)

DRAM:  235 MiB
cdp: machid 4971
NAND:  128 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
late_init: machid 4971
Net:   No ethernet found.

NAND read: device 0 offset 0x2c40000, size 0xa80000
 11010048 bytes read: OK
bootm 0x42000000#config@2## Booting kernel from FIT Image at 42000000 ...
   Using 'config@2' configuration
   Trying 'kernel@1' kernel subimage
     Description:  Boot Kernel
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x420000f0
     Data Size:    1558448 Bytes = 1.5 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x41508000
     Entry Point:  0x41508000
     Hash algo:    sha1
     Hash value:   39f6f1aebc7621f35463a59bc3fbe5175ec7fad4
   Verifying Hash Integrity ... sha1+ OK
## Loading init Ramdisk from FIT Image at 42000000 ...
   Using 'config@2' configuration
   Trying 'ramdisk@1' ramdisk subimage
     Description:  Cryptid Ramdisk
     Type:         RAMDisk Image
     Compression:  lzma compressed
     Data Start:   0x4217c98c
     Data Size:    538917 Bytes = 526.3 KiB
     Architecture: ARM
     Hash algo:    sha1
     Hash value:   1d5d29a3fc6076a755eb2828f2c2dd8e8f8f23af
   Verifying Hash Integrity ... sha1+ OK
## Flattened Device Tree from FIT Image at 42000000
   Using 'config@2' configuration
   Trying 'fdt@2' FDT blob subimage
     Description:  Bigfoot Device Tree
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x422018e0
     Data Size:    6629 Bytes = 6.5 KiB
     Architecture: ARM
     Hash algo:    sha1
     Hash value:   4725574f0b89f8e36c56113fc09777150c8761b4
   Verifying Hash Integrity ... sha1+ OK
   Loading FDT from 0x422018e0 to 0x41501000
   Booting using the fdt blob at 0x41501000
   Loading Kernel Image ... OK
OK
   Loading Ramdisk to 4ea7c000, end 4eaff925 ... OK
   Loading Device Tree to 4ea77000, end 4ea7b9e4 ... OK
Using machid 0x136b from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.4.110 (aacharya@sf100.meraki.com) (gcc version 4.8.3 (GCC) ) #4 SMP Tue Mar 29 15:26:53 PDT 2016
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine: Qualcomm Atheros AP160 reference board, model: Meraki Bigfoot
[    0.000000] msm_reserve_memory: 0x44600000, 0x200000
[    0.000000] memory pool 3 (start 5fe00000 size 100000) initialized
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] smem_find(137, 80): wrong size 72
[    0.000000] socinfo_init: v6, id=204, ver=2.0, raw_id=2313, raw_ver=2313, hw_plat=0,  hw_plat_ver=65536
[    0.000000]  accessory_chip=0 hw_plat_subtype=0
[    0.000000] PERCPU: Embedded 8 pages/cpu @c0b16000 s10240 r8192 d14336 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 123692
[    0.000000] Kernel command line: ubi.mtd=ubi ubi.mtd=art root=/dev/ram rw console=ttyHSL1,115200n8 maxcpus=0 qcom-wdt.clear_reason=0 loader=u-boot part=bootkernel2
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 49MB 438MB = 487MB total
[    0.000000] Memory: 486292k/489364k available, 12396k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xdf000000 - 0xff000000   ( 512 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdea00000   ( 490 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc04d3000   (4908 kB)
[    0.000000]       .init : 0xc0500000 - 0xc0602800   (1034 kB)
[    0.000000]       .data : 0xc0604000 - 0xc0671260   ( 437 kB)
[    0.000000]        .bss : 0xc0671284 - 0xc070f9d0   ( 634 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:921
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 31240ns, wraps every 134175798ms
[    0.000000] Console: colour dummy device 80x30
[    0.150390] Calibrating delay using timer specific routine.. 12.55 BogoMIPS (lpj=62791)
[    0.150421] pid_max: default: 32768 minimum: 301
[    0.150734] Mount-cache hash table entries: 512
[    0.151827] CPU: Testing write buffer coherency: ok
[    0.151983] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.152014] hw perfevents: enabled with ARMv7 Krait PMU driver, 5 counters available
[    0.152077] Setting up static identity map for 0x418084f0 - 0x41808578
[    0.152671] Brought up 1 CPUs
[    0.152671] SMP: Total of 1 processors activated (12.55 BogoMIPS).
[    0.153639] devtmpfs: initialized
[    0.166947] dummy:
[    0.167510] NET: Registered protocol family 16
[    0.168166] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
[    0.170290] meminfo_init: smem ram ptable found: ver: 0 len: 5
[    0.170321] Found 1 memory banks grouped into 8 memory regions
[    0.170602] smem_find(137, 80): wrong size 72
[    0.170634] socinfo_init: v6, id=204, ver=2.0, raw_id=2313, raw_ver=2313, hw_plat=0,  hw_plat_ver=65536
[    0.170634]  accessory_chip=0 hw_plat_subtype=0
[    0.170696] msm_rpm_init: RPM firmware 3.0.16777342
[    0.177069] clk_tbl_nss - loaded
[    0.203748] gpiochip_add: registered GPIOs 0 to 151 on device: msmgpio
[    0.205279] No ATAGs?
[    0.205279] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.205310] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.205654] msm_dmov_memcpy_init: Success
[    0.213152] sps:BAM 0x12244000 enabled: ver:0x5, number of pipes:20
[    0.213183] sps:BAM 0x12244000 is registered.
[    0.213402] sps:sps is ready.
[    0.229459] bio: create slab <bio-0> at 0
[    0.233052] i2c-gpio 1.i2c: using pins 8 (SDA) and 9 (SCL)
[    0.233333] i2c-gpio 2.i2c: using pins 12 (SDA) and 13 (SCL)
[    0.234739] Switching to clocksource gp_timer
[    0.256232] NET: Registered protocol family 2
[    0.264229] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.264573] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.264761] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[    0.265198] TCP: Hash tables configured (established 16384 bind 16384)
[    0.265198] TCP: reno registered
[    0.265229] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.265260] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.265666] NET: Registered protocol family 1
[    0.265916] Unpacking initramfs...
[    0.582661] Freeing initrd memory: 524K
[    0.590565] Detected 5 counters on the L2CC PMU.
[    0.598250] smd: register irq failed on wcnss_a11
[    0.598281] smd: deregistering IRQs
[    0.598313] SMD: smd_core_platform_init() failed
[    0.600406] smem_find(427, 88): wrong size 24
[    0.600437] smem_find(427, 96): wrong size 24
[    0.600437] get_bootconfig_partition: no dual boot v2 info in shared memory
[    0.760793] acpuclk-ipq806x acpuclk-ipq806x: SPEED BIN: 0
[    0.760824] acpuclk-ipq806x acpuclk-ipq806x: ACPU PVS: 1
[    0.764698] acpuclk-ipq806x acpuclk-ipq806x: CPU0: 6 frequencies supported
[    0.764948] acpuclk-ipq806x acpuclk-ipq806x: CPU1: 6 frequencies supported
[    0.776007] msm_rpm_log_probe: OK
[    0.968572] msgmni has been set to 950
[    0.977819] NET: Registered protocol family 38
[    0.977850] io scheduler noop registered
[    0.977881] io scheduler deadline registered (default)
[    0.978412] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.994064] msm_serial_hs module loaded
[    0.994251] msm_serial_hsl: detected port #1
[    0.994407] msm_serial_hsl.1: ttyHSL1 at MMIO 0x16340000 (irq = 184) is a MSM
[    0.994876] msm_serial_hsl: console setup on port #1
[    1.542143] console [ttyHSL1] enabled
[    1.550890] msm_serial_hsl: detected port #0
[    1.554264] msm_serial_hsl.0: ttyHSL0 at MMIO 0x12450000 (irq = 225) is a MSM
[    1.566479] msm_serial_hsl: driver initialized
[    1.570040] at24 1-0052: 8192 byte 24c64 EEPROM, writable, 32 bytes/write
[    1.593502] msm_nand_probe: phys addr 0x1ac00000
[    1.597250] msm_nand_probe: dmac 0x3
[    1.600749] msm_nand_probe: allocated dma buffer at ffdfe000, dma_addr 5f956000
[    1.612121] status: 20
[    1.613433] nandid: 1580a101 maker 01 device a1
[    1.617994] ONFI probe : Found an ONFI compliant device S34MS01G2
[    1.626679] Found a supported NAND device
[    1.629646] NAND Controller ID : 0x4030
[    1.633458] NAND Device ID  : 0x1580a101
[    1.637457] Buswidth : 8 Bits
[    1.640299] Density  : 128 MByte
[    1.643517] Pagesize : 2048 Bytes
[    1.646860] Erasesize: 131072 Bytes
[    1.650296] Oobsize  : 64 Bytes
[    1.653420] CFG0 Init  : 0xa8d408c0
[    1.656919] CFG1 Init  : 0x0004745c
[    1.660356] ECCBUFCFG  : 0x00000203
[    1.663980] 14 ofpart partitions found on MTD device msm_nand
[    1.669634] Creating 14 MTD partitions on "msm_nand":
[    1.674632] 0x000000040000-0x000000180000 : "mibib"
[    1.690346] 0x000000000000-0x000000040000 : "sbl1"
[    1.708622] 0x000000180000-0x0000002c0000 : "sbl2"
[    1.727303] 0x0000002c0000-0x000000540000 : "sbl3"
[    1.746766] 0x000000540000-0x000000660000 : "ddrconfig"
[    1.765854] 0x000000660000-0x000000780000 : "ssd"
[    1.784254] 0x000000780000-0x000000a00000 : "tz"
[    1.803467] 0x000000a00000-0x000000c80000 : "rpm"
[    1.822899] 0x000001fc0000-0x000002140000 : "u-boot"
[    1.841924] 0x0000021c0000-0x000002c40000 : "bootkernel1"
[    1.870540] 0x000002c40000-0x0000036c0000 : "bootkernel2"
[    1.898844] 0x0000036c0000-0x000007d80000 : "ubi"
[    1.991283] 0x000007d80000-0x000007f80000 : "art"
[    2.010340] 0x000000000000-0x000008000000 : "all"
[    2.176726] UBI: attaching mtd11 to ubi0
[    2.179600] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    2.185910] UBI: logical eraseblock size:    126976 bytes
[    2.191221] UBI: smallest flash I/O unit:    2048
[    2.195970] UBI: VID header offset:          2048 (aligned 2048)
[    2.201905] UBI: data offset:                4096
[    2.645985] UBI: max. sequence number:       186734
[    2.673258] UBI: attached mtd11 to ubi0
[    2.676163] UBI: MTD device name:            "ubi"
[    2.680849] UBI: MTD device size:            70 MiB
[    2.685723] UBI: number of good PEBs:        566
[    2.690315] UBI: number of bad PEBs:         0
[    2.694720] UBI: number of corrupted PEBs:   0
[    2.699187] UBI: max. allowed volumes:       128
[    2.703748] UBI: wear-leveling threshold:    4096
[    2.708466] UBI: number of internal volumes: 1
[    2.712870] UBI: number of user volumes:     4
[    2.717338] UBI: available PEBs:             142
[    2.721899] UBI: total number of reserved PEBs: 424
[    2.726772] UBI: number of PEBs reserved for bad PEB handling: 5
[    2.732739] UBI: max/mean erase counter: 781/330
[    2.737363] UBI: image sequence number:  1338979908
[    2.742268] UBI: background thread "ubi_bgt0d" started, PID 784
[    2.749890] UBI: attaching mtd12 to ubi1
[    2.752796] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    2.759075] UBI: logical eraseblock size:    126976 bytes
[    2.764417] UBI: smallest flash I/O unit:    2048
[    2.769134] UBI: VID header offset:          2048 (aligned 2048)
[    2.775132] UBI: data offset:                4096
[    2.792346] UBI: max. sequence number:       3
[    2.808216] UBI: attached mtd12 to ubi1
[    2.811027] UBI: MTD device name:            "art"
[    2.815870] UBI: MTD device size:            2 MiB
[    2.820587] UBI: number of good PEBs:        16
[    2.825117] UBI: number of bad PEBs:         0
[    2.829522] UBI: number of corrupted PEBs:   0
[    2.833926] UBI: max. allowed volumes:       128
[    2.838581] UBI: wear-leveling threshold:    4096
[    2.843236] UBI: number of internal volumes: 1
[    2.847672] UBI: number of user volumes:     1
[    2.852077] UBI: available PEBs:             0
[    2.856544] UBI: total number of reserved PEBs: 16
[    2.861293] UBI: number of PEBs reserved for bad PEB handling: 2
[    2.867291] UBI: max/mean erase counter: 2/1
[    2.871540] UBI: image sequence number:  438719976
[    2.876476] UBI: background thread "ubi_bgt1d" started, PID 789
[    2.950296] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    3.070415] input: gpio-buttons.5 as /devices/gpio-buttons.5/input/input0
[    3.083067] i2c /dev entries driver
[    3.095626] restart_reason wdt:0 r:-2042725189
[    3.105873] cpuidle: using governor ladder
[    3.108934] cpuidle: using governor menu
[    3.137956] meraki-config board-data.7: Meraki config device loaded
[    3.147985] TCP: bic registered
[    3.150109] TCP: cubic registered
[    3.153389] TCP: westwood registered
[    3.157013] TCP: htcp registered
[    3.160168] NET: Registered protocol family 17
[    3.164604] 8021q: 802.1Q VLAN Support v1.8
[    3.168915] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    3.176569] Registering SWP/SWPB emulation handler
[    3.181255] clock_late_init: Removing enables held for handed-off clocks
[    3.198344] ipq_nss_get_mac_addr: MAC[0]: ff:ff:ff:ff:ff:ff
[    3.204123] ipq_nss_get_mac_addr: MAC[1]: ff:ff:ff:ff:ff:ff
[    3.209497] ipq_nss_get_mac_addr: MAC[2]: ff:ff:ff:ff:ff:ff
[    3.214464] ipq_nss_get_mac_addr: MAC[3]: ff:ff:ff:ff:ff:ff
[    3.219962] no pmic restart interrupt specified
[    3.230271] devtmpfs▒[    3.232895] Freeing init memory: 1032K
[    3.237644] Made it into bootsh: Mar 29 2016 15:26:09
[    3.241705] bootsh build T-198318-g9ce5f10c-aacharya
mkdir -p /meraki_gpio
ln -s /sys/class/gpio/gpio18/value /meraki_gpio/power_source_is_adapter
[    3.342236] UBIFS: mounted UBI device 0, volume 3, name "storage"
[    3.347328] UBIFS: file system size:   7364608 bytes (7192 KiB, 7 MiB, 58 LEBs)
[    3.354607] UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
[    3.361730] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    3.367541] UBIFS: default compressor: lzo
[    3.371602] UBIFS: reserved for root:  347848 bytes (339 KiB)
In manufacturing: FALSE
[   14.028366] Mapping 23240704 bytes for /dev/mtdblock/diagnostic1
[   26.085473] UBIFS: un-mount UBI device 0, volume 3
[   26.115182] Starting new kernel
[   26.117275] Bye!
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.4.103 (josh@Altos-U14) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #10 SMP PREEMPT Mon Mar 28 14:22:39 CST 2016
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine: Qualcomm Atheros AP160 reference board
[    0.000000] msm_reserve_memory: 0x44000000, 0x600000
[    0.000000] msm_reserve_memory: 0x44600000, 0x200000
[    0.000000] memory pool 3 (start 5fb00000 size 400000) initialized
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] smem_find(137, 80): wrong size 72
[    0.000000] socinfo_init: v6, id=204, ver=2.0, raw_id=2313, raw_ver=2313, hw_plat=0,  hw_plat_ver=65536
[    0.000000]  accessory_chip=0 hw_plat_subtype=0
[    0.000000] PERCPU: Embedded 8 pages/cpu @c2067000 s10624 r8192 d13952 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 121388
[    0.000000] Kernel command line: ubi.mtd=art root=/dev/ram rw console=ttyHSL1,115200n8 mem=0x1ea00000@0x41500000
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 43MB 435MB = 478MB total
[    0.000000] Memory: 455796k/468084k available, 33676k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xdf000000 - 0xff000000   ( 512 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdea00000   ( 490 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc051f000   (5212 kB)
[    0.000000]       .init : 0xc0600000 - 0xc1b02980   (21515 kB)
[    0.000000]       .data : 0xc1b04000 - 0xc1ba4140   ( 641 kB)
[    0.000000]        .bss : 0xc1ba4164 - 0xc1c63330   ( 765 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:1689
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 31240ns, wraps every 134175798ms
[    0.000000] Console: colour dummy device 80x30
[    0.150452] Calibrating delay using timer specific routine.. 12.54 BogoMIPS (lpj=62741)
[    0.150452] pid_max: default: 32768 minimum: 301
[    0.150702] Mount-cache hash table entries: 512
[    0.151515] CPU: Testing write buffer coherency: ok
[    0.151608] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.151640] hw perfevents: enabled with ARMv7 Krait PMU driver, 5 counters available
[    0.151702] Setting up static identity map for 0x418adda8 - 0x418ade30
[    0.153389] CPU1: Booted secondary processor
[    0.153420] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.153483] Brought up 2 CPUs
[    0.153514] SMP: Total of 2 processors activated (25.09 BogoMIPS).
[    0.161418] dummy:
[    0.161793] NET: Registered protocol family 16
[    0.162230] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
[    0.163886] meminfo_init: smem ram ptable found: ver: 0 len: 5
[    0.163886] Found 1 memory banks grouped into 8 memory regions
[    0.164198] gpiochip_add: registered GPIOs 0 to 151 on device: msmgpio
[    0.164542] smem_find(137, 80): wrong size 72
[    0.164573] socinfo_init: v6, id=204, ver=2.0, raw_id=2313, raw_ver=2313, hw_plat=0,  hw_plat_ver=65536
[    0.164573]  accessory_chip=0 hw_plat_subtype=0
[    0.164604] msm_rpm_init: RPM firmware 3.0.16777342
[    0.168697] clk_tbl_nss - loaded
[    0.178631] Initializing GSBI1 HS-UART clocks...
[    0.179162] adm_crci_mux_cfg: Error in CRCI_MUX write (-95, 0x62)
[    0.190378] Adding GSBI1 HS-UART for BLE...
[    0.191221] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.191252] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.191502] msm_dmov_memcpy_init: Success
[    0.196313] sps:BAM 0x12244000 enabled: ver:0x5, number of pipes:20
[    0.196344] sps:BAM 0x12244000 is registered.
[    0.196594] sps:sps is ready.
[    0.210840] msm_pcie_setup: link initialized
[    0.211059] PCI host bridge to bus 0000:00
[    0.211059] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fefffff]
[    0.211465] PCI: bus0: Fast back to back transfers disabled
[    0.211496] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.212183] PCI: bus1: Fast back to back transfers disabled
[    0.251233] msm_pcie_setup: link initialized
[    0.251483] PCI host bridge to bus 0000:02
[    0.251483] pci_bus 0000:02: root bus resource [mem 0x2e000000-0x31efffff]
[    0.251858] PCI: bus2: Fast back to back transfers disabled
[    0.251858] pci 0000:02:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.252483] PCI: bus3: Fast back to back transfers disabled
[    0.311121] msm_pcie_setup: link initialized
[    0.311340] PCI host bridge to bus 0000:04
[    0.311371] pci_bus 0000:04: root bus resource [mem 0x32000000-0x35efffff]
[    0.311715] PCI: bus4: Fast back to back transfers disabled
[    0.311746] pci 0000:04:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.312339] PCI: bus5: Fast back to back transfers disabled
[    0.313058] pci 0000:04:00.0: BAR 8: assigned [mem 0x32000000-0x321fffff]
[    0.313058] pci 0000:05:00.0: BAR 0: assigned [mem 0x32000000-0x321fffff 64bit]
[    0.313089] pci 0000:04:00.0: PCI bridge to [bus 05-05]
[    0.313089] pci 0000:04:00.0:   bridge window [mem 0x32000000-0x321fffff]
[    0.313152] PCI: enabling device 0000:04:00.0 (0140 -> 0143)
[    0.313183] pci 0000:02:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.313214] pci 0000:03:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.313245] pci 0000:02:00.0: PCI bridge to [bus 03-03]
[    0.313245] pci 0000:02:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.313277] PCI: enabling device 0000:02:00.0 (0140 -> 0143)
[    0.313339] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.313339] pci 0000:00:00.0: BAR 9: assigned [mem 0x08200000-0x082fffff pref]
[    0.313370] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.313402] pci 0000:01:00.0: BAR 6: assigned [mem 0x08200000-0x0820ffff pref]
[    0.313402] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.313433] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.313433] pci 0000:00:00.0:   bridge window [mem 0x08200000-0x082fffff pref]
[    0.313464] PCI: enabling device 0000:00:00.0 (0140 -> 0143)
[    0.327741] bio: create slab <bio-0> at 0
[    0.329303] SCSI subsystem initialized
[    0.331021] spi_qsd spi_qsd.5: master is unqueued, this is deprecated
[    0.332489] spi_qsd spi_qsd.6: master is unqueued, this is deprecated
[    0.335895] Switching to clocksource gp_timer
[    0.355076] NET: Registered protocol family 2
[    0.368978] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.369759] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.370040] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[    0.370321] TCP: Hash tables configured (established 16384 bind 16384)
[    0.370353] TCP: reno registered
[    0.370353] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.370384] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.370946] NET: Registered protocol family 1
[    2.674914] Detected 5 counters on the L2CC PMU.
[    2.676038] smd: register irq failed on wcnss_a11
[    2.676069] smd: deregistering IRQs
[    2.676132] SMD: smd_core_platform_init() failed
[    2.676882] smem_find(427, 88): wrong size 24
[    2.676913] smem_find(427, 96): wrong size 24
[    2.676913] get_bootconfig_partition: no dual boot v2 info in shared memory
[    2.690190] acpuclk-ipq806x acpuclk-ipq806x: SPEED BIN: 0
[    2.690190] acpuclk-ipq806x acpuclk-ipq806x: ACPU PVS: 1
[    2.696626] acpuclk-ipq806x acpuclk-ipq806x: CPU0: 6 frequencies supported
[    2.696626] acpuclk-ipq806x acpuclk-ipq806x: CPU1: 6 frequencies supported
[    2.697594] msm_rpm_log_probe: OK
[    2.720118] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.720149] jffs2: version 2.2. (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[    2.721711] msgmni has been set to 890
[    2.723461] Asymmetric key parser 'x509' registered
[    2.723523] io scheduler noop registered
[    2.723555] io scheduler deadline registered (default)
[    2.725117] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    2.727335] msm_serial_hs.0: ttyHS0 at MMIO 0x12450000 (irq = 225) is a MSM HS UART
[    2.727928] msm_serial_hs module loaded
[    2.728147] msm_serial_hsl: detected port #1
[    2.728303] msm_serial_hsl.1: ttyHSL1 at MMIO 0x16340000 (irq = 184) is a MSM
[    2.728397] msm_serial_hsl: console setup on port #1
[    3.539425] console [ttyHSL1] enabled
[    3.543517] msm_serial_hsl: driver initialized
[    3.552796] ahci ahci.0: forcing PORTS_IMPL to 0x1
[    3.556701] ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    3.564448] ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc apst
[    3.573039] scsi0 : ahci_platform
[    3.575945] ata1: SATA max UDMA/133 mmio [mem 0x29000000-0x2900017f] port 0x100 irq 241
[    3.584910] msm_nand_probe: phys addr 0x1ac00000
[    3.588940] msm_nand_probe: dmac 0x3
[    3.592127] msm_nand_probe: allocated dma buffer at ffdfc000, dma_addr 5bffc000
[    3.599687] flash_onfi_probe: No partition info available
[    3.604998] status: c03020
[    3.607622] nandid: 1580a101 maker 01 device a1
[    3.612121] Found a supported NAND device
[    3.616057] NAND Controller ID : 0x4030
[    3.619837] NAND Device ID  : 0x1580a101
[    3.623742] Buswidth : 8 Bits
[    3.626741] Density  : 128 MByte
[    3.629896] Pagesize : 2048 Bytes
[    3.633208] Erasesize: 131072 Bytes
[    3.636707] Oobsize  : 64 Bytes
[    3.639800] CFG0 Init  : 0xa8d408c0
[    3.643267] CFG1 Init  : 0x0004745c
[    3.646766] ECCBUFCFG  : 0x00000203
[    3.650796] Creating 1 MTD partitions on "msm_nand":
[    3.655170] 0x000007d80000-0x000007f80000 : "art"
[    3.936019] ata1: SATA link down (SStatus 0 SControl 300)
[   13.656263] spi_qsd spi_qsd.5: msm_spi_process_transfer: SPI transaction timeout
[   13.662699] m25p80: probe of spi5.0 failed with error -5
[   13.668728] UBI: attaching mtd0 to ubi0
[   13.671758] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[   13.678038] UBI: logical eraseblock size:    126976 bytes
[   13.683380] UBI: smallest flash I/O unit:    2048
[   13.688097] UBI: VID header offset:          2048 (aligned 2048)
[   13.694033] UBI: data offset:                4096
[   13.714432] UBI: max. sequence number:       3
[   13.728491] UBI: attached mtd0 to ubi0
[   13.731208] UBI: MTD device name:            "art"
[   13.736019] UBI: MTD device size:            2 MiB
[   13.740737] UBI: number of good PEBs:        16
[   13.745267] UBI: number of bad PEBs:         0
[   13.749734] UBI: number of corrupted PEBs:   0
[   13.754108] UBI: max. allowed volumes:       128
[   13.758762] UBI: wear-leveling threshold:    4096
[   13.763417] UBI: number of internal volumes: 1
[   13.767885] UBI: number of user volumes:     1
[   13.772258] UBI: available PEBs:             0
[   13.776726] UBI: total number of reserved PEBs: 16
[   13.781474] UBI: number of PEBs reserved for bad PEB handling: 2
[   13.787472] UBI: max/mean erase counter: 2/1
[   13.791721] UBI: image sequence number:  438719976
[   13.796594] UBI: background thread "ubi_bgt0d" started, PID 586
[   13.829178] GPIO Bitbanged MDIO: probed
[   13.832208] i2c /dev entries driver
[   13.841299] cpuidle: using governor ladder
[   13.844361] cpuidle: using governor menu
[   13.849203] mmc0: SDCC Version: 0x06000018
[   13.852671] mmc0: bam physical base=0x12182000
[   13.856825] mmc0: bam virtual base=0xdf0cc000
[   13.861105] sps:BAM 0x12182000 is registered.
[   13.865292] mmc0: BAM device registered. bam_handle=0xddff0a00
[   13.871290] sps:BAM 0x12182000 enabled: ver:0x5, number of pipes:6
[   13.877663] mmc0: Qualcomm MSM SDCC-BAM at 0x0000000012182000 irq 128
[   13.883880] mmc0: Qualcomm MSM SDCC-DML at 0x0000000012180800
[   13.892814] mmc0: Qualcomm MSM SDCC-core at 0x0000000012180000 irq 134,294 dma -1 dmacrcri -1
[   13.900374] mmc0: Controller capabilities: 0x0000019a
[   13.905779] mmc0: 8 bit data mode disabled
[   13.909497] mmc0: 4 bit data mode enabled
[   13.913433] mmc0: polling status mode disabled
[   13.917963] mmc0: MMC clock 400000 -> 192000000 Hz, PCLK 0 Hz
[   13.923586] mmc0: Slot eject status = 0
[   13.927428] mmc0: Power save feature enable = 1
[   13.931927] mmc0: SPS-BAM data transfer mode available
[   13.938331] TCP: cubic registered
[   13.940612] NET: Registered protocol family 17
[   13.945235] Bridge firewalling registered
[   13.949078] 8021q: 802.1Q VLAN Support v1.8
[   13.953389] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[   13.960949] Registering SWP/SWPB emulation handler
[   13.965698] clock_late_init: Removing enables held for handed-off clocks
[   13.988909] ipq_nss_get_mac_addr: MAC[0]: ff:ff:ff:ff:ff:ff
[   13.993720] ipq_nss_get_mac_addr: MAC[1]: ff:ff:ff:ff:ff:ff
[   13.999250] no pmic restart interrupt specified
[   14.020056] Freeing init memory: 21512K
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
- init -

Please press Enter to activate this console. [   18.075913] ocf: module license 'BSD' taints kernel.
[   18.080068] Disabling lock debugging due to kernel taint
[   18.119025] ssdk_plat_init start
[   18.121274] Register QCA PHY driver
[   18.125616] unsupported QCA device
[   18.129303] unsupported QCA device
[   18.132614] qca-ssdk module init failed! (code: -100)
[   18.189503] NET: Registered protocol family 10
[   18.248578] usbcore: registered new interface driver usbfs
[   18.253077] usbcore: registered new interface driver hub
[   18.258731] usbcore: registered new device driver usb
[   18.291596] md: linear personality registered for level -1
[   18.302811] md: raid0 personality registered for level 0
[   18.314089] md: raid1 personality registered for level 1
[   18.325741] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   18.351265] NET: Registered protocol family 15
[   18.368353] Initializing XFRM netlink socket
[   18.385442] PPP generic driver version 2.4.2
[   18.488472] PPP MPPE Compression module registered
[   18.499031] NET: Registered protocol family 24
[   18.509871] **********************************************************
[   18.515370] * Driver    :NSS GMAC Driver for RTL v(3.72a)
[   18.520837] * Version   :1.0
[   18.523617] * Copyright :Copyright (c) 2013-2015 The Linux Foundation. All rights reserved.
[   18.531958] **********************************************************
[   18.538987] GMAC2(ddf15480) Invalid MAC@ - using 86:87:88:89:8a:8b
[   18.550046] GMAC3(ddf16c80) Invalid MAC@ - using aa:ab:ac:ad:ae:af
[   18.669290] L2TP core driver, V2.0
[   18.678537] L2TP netlink interface
[   18.729584] nss_driver - fw of size 382784  bytes copied to load addr: 40000000, nss_id : 0
[   18.758106] nss_driver - Turbo Support 1
[   18.761074] Supported Frequencies - 110Mhz 550Mhz 733Mhz
[   18.793626] nss_driver - fw of size 191296  bytes copied to load addr: 40800000, nss_id : 1
[   18.812152] Error - Duplicate Interface CB Registered for interface 107
[   18.817744] Error - Duplicate Interface CB Registered for interface 110
[   18.835582] IPv6 over IPv4 tunneling driver
[   18.846891] <NSS-CRYPTO>:Register with NSS driver-
[   18.857513] Crypto bench loaded build (Feb 18 2016, 10:41:39)
[   19.088472] nss_macsec init success
[   19.117119] ath_hal: 0.9.17.1 (AR5416, AR9380, WRITE_EEPROM, 11D)
[   19.130021] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
[   19.145798] ath_dfs: Version 2.0.0
[   19.145798] Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
[   19.163417] ath_spectral: Version 2.0.0
[   19.163417] Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved
[   19.174008] SPECTRAL module built on Feb 24 2016 13:17:24
[   19.186441] ath_tx99: Version 2.0
[   19.186441] Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved
[   19.207372] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
[   19.240393] ath_pci:  (Atheros/multi-bss)
[   19.243423] ol_ath_pci_probe: PCI device id 0050 :0050
[   19.248578] PCI: enabling device 0000:01:00.0 (0140 -> 0142)
[   19.254233]  *********** Peregrine **************
[   19.259044] ath_pci 0000:01:00.0: ath DEBUG: sc=0xc1413000
[   19.264292]
[   19.264292]  ol_ath_pci_configure : num_desired MSI set to 0
[   19.271477]
[   19.271477]  Using PCI Legacy Interrupt
[   20.275913] nss register id -1 offload mode enabled = 0 nss config 0 Target Type 7
[   20.291190]
[   20.291190]  CLOCK PLL skipped
[   20.296875] __ol_ath_attach: dev name wifi0
[   20.300031] ol_ath_attach() BMI inited.
[   20.303936] ol_ath_attach() BMI Get Target Info.
[   20.308466] Chip id: 0x7, chip version: 0x4100016d
[   20.313214]
[   20.313214]  CE WAR Disabled
[   20.317744] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
[   20.323117] ol_ath_attach() configure Target .
[   20.327491] ol_transfer_bin_file: flash data file defined
[   20.332771] Cal location [0]: 00000000
[   20.336519]
[   20.336519]  Wifi0 NAND FLASH Select OFFSET 0x1000
[   20.343548] qc98xx_verify_checksum: flash checksum passed: 0x 4ec
[   20.348828] ol_transfer_bin_file 3805: Download Flash data len 2116
[   20.355139] Board extended Data download address: 0x0
[   20.363980] ol_download_cal_data: Board data file: 4 successfully downloaded, download address: 00401cc0
[   20.372539]
[   20.372539]  Mission mode: Firmware CHIP Version 0
[   20.378725] ol_transfer_bin_file: Downloading firmware file: AR9887/athwlan.bin
[   20.396688] ol_transfer_bin_file 3662: downloading file 1, Download data len 226052
[   21.369978] ol_ath_attach() Download FW done.
[   21.373383] ol_ath_attach() HT Create .
[   21.377350] ol_ath_attach() HIF Claim.
[   21.380974] ol_ath_attach() BMI Done.
[   21.384661] ol_ath_attach 6796 host_enable 1 nss_nwifi_offload 1
[   21.390877] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko)
[   21.400124]  OL_ACBKMinfree : 0
[   21.403124]  OL_ACBEMinfree : 0
[   21.406404]  OL_ACVIMinfree : 0
[   21.409403]  OL_ACVOMinfree : 0
[   21.412527] ol_ath_attach() WMI attached. wmi_handle c16a0000
[   21.421618] CE_recv_buf_enqueue 853 Populate last entry 512 for CE 5
[   21.426991] CE_recv_buf_enqueue 862 CE 5 wi 511 dest_ptr 0x4220e040 nbytes 0 recv_ctxt 0xc141a600
[   21.436051] Startup Mode-0 set
[   21.438831] pdev attach   (null) -1
[   21.442393]
[   21.442393] <=== cfg max peer id 1056 ====>
[   21.448453] HTC Service:0x0300 ep:1 TX flow control disabled
[   21.455326] htt_peer_map_timer_init Enter pdev c0d10000 hrtimer c0d148b8
[   21.461199]
[   21.461230]  htt_alloc_peer_map_mem : Alloc Success : host q vaddr c0948000 paddr 41e48000
[   21.470884]
[   21.470884]  htt_alloc_peer_map_mem : Flush Interval Configured to 256 pkts
[   21.479350] CE_pkt_dl_len_set CE 4 Pkt download length 64
[   21.484567] ol_txrx_pdev_attach: 1424 tx desc's allocated ; range starts from c0950000
[   21.492845] HTC Service:0x0100 ep:2 TX flow control disabled
[   21.498937] wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event
[   21.504842] Firmware_Build_Number:0
[   21.508403] host/RAM_fw Build Ver Mismatch: H:0x38, F:0x0 !
[   21.514026] num_rf_chain:0x00000001  ht_cap_info:0x0000085b  vht_cap_info:0x338001b2  vht_supp_mcs:0x0000fffe
[   21.523930]
[   21.523930]  RES CFG Support wmi_service_bitmap 874a
[   21.530459]
[   21.530459]  Sending HOST PLATFORM as 1 to TGT
[   21.536176] ol_ath_service_ready_event: tt_support: 0
[   21.541393] LARGE_AP enabled. num_peers 144, num_vdevs 16, num_tids 256
[   21.547985] idx 0 req 1  num_units 0 num_unit_info 2 unit size 404 actual units 145
[   21.555732] ol_ath_alloc_host_mem_chunk req_id 1 idx 0 num_units 145 unit_len 404,
[   21.563261] chunk 0 len 58580 requested ,ptr  0x41ea0000
[   21.575507] FIRMWARE:P 145 V 16 T 443
[   21.575507]
[   21.580724] wmi_ready_event_rx:  WMI UNIFIED READY event
[   21.585129] ol_ath_connect_htc() WMI is ready
[   21.589659] target uses HTT version 2.2; host uses 2.2
[   21.598594] ol_ath_attach() connect HTC.
[   21.601562] bypasswmi : 0
[   21.604154] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
[   21.616151] ol_regdmn_init_channels: !avail mode 0x1ff80d (0x2) flags 0x2150
[   21.622930] ol_regdmn_init_channels: !avail mode 0x1ff80d (0x20) flags 0xd0
[   21.630053] ol_regdmn_init_channels: !avail mode 0x1ff80d (0x40) flags 0x150
[   21.637050] Add VHT80 channel: 5210
[   21.640362] Add VHT80 channel: 5290
[   21.643830] Add VHT80 channel: 5530
[   21.647516] Add VHT80 channel: 5610
[   21.650765] Add VHT80 channel: 5690
[   21.654264] Add VHT80 channel: 5775
[   21.657950] Skipping VHT80 channel 5825
[   21.661543] ol_regdmn_init_channels: !avail mode 0x1ff80d (0x200000) flags 0x4000100
[   21.669447] ol_regdmn_init_channels: !avail mode 0x1ff80d (0x400000) flags 0x8000100
[   21.677663] OL Resmgr Init-ed
[   21.680006] ieee80211_bsteering_attach: Band steering initialized
[   21.686285] acfg_attach: 5845: Netlink socket created:de25ea00
[   21.691846] SPECTRAL : get_capability not registered
[   21.697032] HAL_CAP_PHYDIAG : Capable
[   21.700437] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 237)
[   21.708653] SPECTRAL : get_capability not registered
[   21.713464] HAL_CAP_RADAR   : Capable
[   21.717244] SPECTRAL : Need to fix the capablity check for SPECTRAL
[   21.717244]  (spectral_attach : 242)
[   21.727054] SPECTRAL : get_capability not registered
[   21.731865] HAL_CAP_SPECTRAL_SCAN : Capable
[   21.736176] SPECTRAL : get_tsf64 not registered
[   21.740549] spectral_init_netlink 78 NULL SKB
[   21.744892] Green-AP : Green-AP : Attached
[   21.744892]
[   21.750702] Green-AP : Attached
[   21.753608] ol_ath_smart_ant_attach: Firmware doest not support Smart Antenna.
[   21.760949] ol_ath_smart_ant_attach: Hardware doest not support Smart Antenna.
[   21.768103] ieee80211com_init_netlink: 3350: Wifipos 1st Netlink socket created:de25e600
[   21.776194] ol_if_dfs_attach: called; ptr=c0979984, radar_info=c1553bb8
[   21.782630] dfs_attach: event log enabled by default
[   21.788503] ol_ath_attach() UMAC attach .
[   21.791721] ol_if_dfs_configure: FCC domain
[   21.795876] ol_ath_attach: Calling ol_if_dfs_configure
[   21.801405]
[   21.801405]  BURSTING enabled by default
[   21.806622] osif_wrap_attach:432 osif wrap attached
[   21.811215] osif_wrap_devt_init:393 osif wrap dev table init done
[   21.817463]  Wrap Attached: Wrap_com =de130a00 ic->ic_wrap_com=de130a00 &wrap_com->wc_devt=de130a00
[   21.826491] __ol_ath_attach: hard_header_len reservation 74
[   21.832364] ol_ath_thermal_mitigation_attach: TT not supported in FW
[   21.838519] ol_ath_pci_probe: PCI device id 0046 :0046
[   21.843423] PCI: enabling device 0000:03:00.0 (0140 -> 0142)
[   21.849328]  *********** Cascade *************
[   21.853639] ath_pci 0000:03:00.0: ath DEBUG: sc=0xc1695c00
[   21.859137]
[   21.859137]  ol_ath_pci_configure : num_desired MSI set to 0
[   21.866260]
[   21.866260]  Using PCI Legacy Interrupt
[   21.871352] chip_id 0xa chip_revision 0x0
[   21.875445] nss register id -1 offload mode enabled = 0 nss config 0 Target Type a
[   21.892752]
[   21.892752]  CLOCK PLL skipped
[   21.898594] __ol_ath_attach: dev name wifi1
[   21.901749] ol_ath_attach() BMI inited.
[   21.905654] ol_ath_attach() BMI Get Target Info.
[   21.910371] Chip id: 0xa, chip version: 0x1000000
[   21.914839]
[   21.914839]  CE WAR Disabled
[   21.919556] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
[   21.924742] ol_ath_attach() configure Target .
[   21.929240]
[   21.929240]  Target Version is 1000000
[   21.934208]
[   21.934208]  Flash Download Address  c0000
[   21.940112] ol_transfer_bin_file: flash data file defined
[   21.945235] Cal location [1]: 00004000
[   21.949140]
[   21.949140]  wifi1 NAND FLASH Select OFFSET 0x5000
[   21.957169] qc98xx_verify_checksum: flash checksum passed: 0xba8d
[   21.962230] ol_transfer_bin_file 3805: Download Flash data len 12064
[   21.968759] Board extended Data download address: 0x0
[   21.993814]
[   21.993814]  Board data initialized
[   21.997813] ol_ath_download_firmware: Download OTP, flash download ADDRESS 0xc0000
[   22.005310]
[   22.005310]  Selecting  OTP binary for CHIP Version 0
[   22.021243] ol_transfer_bin_file 3662: downloading file 0, Download data len 8920
[   22.057263]
[   22.057263]  First OTP send param 8000
[   22.388003] [wifi0] FWLOG: [21886] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x460, 0x460, 0x0 )
[   22.395563] [wifi0] FWLOG: [21886] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x460, 0x460, 0x0 )
[   22.404248] [wifi0] FWLOG: [21886] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x460, 0x460, 0x0 )
[   22.412933] [wifi0] FWLOG: [21886] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x460, 0x460, 0x0 )
[   22.421618] [wifi0] FWLOG: [21888] WHAL_ERROR_RESET_PM (  )
[   22.427147] [wifi0] FWLOG: [21892] WAL_DBGID_DEV_RESET ( 0x1, 0x1, 0x1 )
[   23.865948] <NSS-CRYPTO>:NSS Firmware initialized
[   23.869728] <NSS-CRYPTO>:probing engine - 0
[   23.873914] <NSS-CRYPTO>:init completed for Pipe Pair[0]
[   23.879443] <NSS-CRYPTO>:init completed for Pipe Pair[1]
[   23.884442] <NSS-CRYPTO>:init completed for Pipe Pair[2]
[   23.889909] <NSS-CRYPTO>:init completed for Pipe Pair[3]
[   23.895720] <NSS-CRYPTO>:probing engine - 1
[   23.899437] <NSS-CRYPTO>:init completed for Pipe Pair[0]
[   23.904467] <NSS-CRYPTO>:init completed for Pipe Pair[1]
[   23.909934] <NSS-CRYPTO>:init completed for Pipe Pair[2]
[   23.915089] <NSS-CRYPTO>:init completed for Pipe Pair[3]
[   23.921149] <NSS-CRYPTO>:probing engine - 2
[   23.924586] <NSS-CRYPTO>:init completed for Pipe Pair[0]
[   23.930053] <NSS-CRYPTO>:init completed for Pipe Pair[1]
[   23.935114] <NSS-CRYPTO>:init completed for Pipe Pair[2]
[   23.940643] <NSS-CRYPTO>:init completed for Pipe Pair[3]
[   23.946516] <NSS-CRYPTO>:probing engine - 3
[   23.949921] <NSS-CRYPTO>:init completed for Pipe Pair[0]
[   23.955170] <NSS-CRYPTO>:init completed for Pipe Pair[1]
[   23.960731] <NSS-CRYPTO>:init completed for Pipe Pair[2]
[   23.965885] <NSS-CRYPTO>:init completed for Pipe Pair[3]
[   24.273570] ol_ath_download_firmware :First OTP download and Execute is good address:0x400 return param 4660
[   24.282442] ol_ath_download_firmware:##Board Id 1 , CHIP Id 0
[   24.288253] ol_ath_download_firmware: BOARDDATA DOWNLOAD TO address 0xc0000
[   24.295095] ol_transfer_bin_file: Board Data File download to address=0xc0000 file name=QCA9984/hw.1/boardData_QCA9984_CUS239_5G_v1_001.bin
[   24.317432] ol_transfer_bin_file 3662: downloading file 3, Download data len 12064
[   24.324461] Board extended Data download address: 0x0
[   24.349390] ol_ath_download_firmware: Using 0x1234 for the remainder of init
[   24.355420]
[   24.355420]  Selecting  OTP binary for CHIP Version 0
[   24.371696] ol_transfer_bin_file 3662: downloading file 0, Download data len 8920
[   24.407903]
[   24.407903]  [Flash] : Ignore Module param
[   24.412464]
[   24.412464]  Second otp download Param 10000
[   26.637956] ol_ath_download_firmware : Second OTP download and Execute is good, param=0x0
[   26.645235]
[   26.645235]  Mission mode: Firmware CHIP Version 0
[   26.662574] ol_swap_seg_alloc: Successfully allocated memory for SWAP size=262144
[   26.680037] Swap: bytes_left to copy: fw:16; dma_page:70496
[   26.684629] Swap: wrong length read:0
[   26.688441] ol_swap_wlan_memory_expansion: Swap total_bytes copied: 191648 Target address 41b5d8
[   26.697313] scn=c0a80480  target_write_addr=41b5d8 seg_info=da625a10
[   26.703561] ol_transfer_swap_struct:Code swap structure successfully downloaded for bin type =2
[   26.712339] bin_filename=QCA9984/hw.1/athwlan.bin swap_filename=/lib/firmware/QCA9984/hw.1/athwlan.codeswap.bin
[   26.722649] ol_transfer_bin_file: Downloading firmware file: QCA9984/hw.1/athwlan.bin
[   26.741799] ol_transfer_bin_file 3662: downloading file 1, Download data len 360960
[   27.919931] ol_ath_attach() Download FW done.
[   27.923398] ol_ath_attach() HT Create .
[   27.927241] ol_ath_attach() HIF Claim.
[   27.931021] ol_ath_attach() BMI Done.
[   27.934676] ol_ath_attach 6796 host_enable 0 nss_nwifi_offload 0
[   27.940706] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko)
[   27.950078]  OL_ACBKMinfree : 0
[   27.953233]  OL_ACBEMinfree : 0
[   27.956294]  OL_ACVIMinfree : 0
[   27.959418]  OL_ACVOMinfree : 0
[   27.962542] ol_ath_attach() WMI attached. wmi_handle d5a00000
[   27.971415] CE_recv_buf_enqueue 853 Populate last entry 512 for CE 5
[   27.976757] CE_recv_buf_enqueue 862 CE 5 wi 511 dest_ptr 0x56b74040 nbytes 0 recv_ctxt 0xd57ccf00
[   27.986098] Startup Mode-0 set
[   27.988659] pdev attach   (null) -1
[   27.992221]
[   27.992221] <=== cfg max peer id 1056 ====>
[   27.998031] HTC Service:0x0300 ep:1 TX flow control disabled
[   28.005217] htt_peer_map_timer_init Enter pdev d56f8000 hrtimer d56fc8b8
[   28.011152]
[   28.011152]  htt_alloc_peer_map_mem : Alloc Success : host q vaddr d4f04000 paddr 56404000
[   28.020743]
[   28.020743]  htt_alloc_peer_map_mem : Flush Interval Configured to 256 pkts
[   28.029147] CE_pkt_dl_len_set CE 4 Pkt download length 64
[   28.034489] ol_txrx_pdev_attach: 2500 tx desc's allocated ; range starts from d4ba0000
[   28.042736] HTC Service:0x0100 ep:2 TX flow control disabled
[   28.048797] wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event
[   28.054732] Firmware_Build_Number:56
[   28.058388] num_rf_chain:0x00000004  ht_cap_info:0x0000085b  vht_cap_info:0x339b79f2  vht_supp_mcs:0x0000ffea
[   28.068259]
[   28.068259]  RES CFG Support wmi_service_bitmap 9778
[   28.074789]
[   28.074789]  Sending HOST PLATFORM as 0 to TGT
[   28.080537] ol_ath_service_ready_event: tt_support: 1
[   28.085723] Peer Caching Enabled ; num_peers = 530, num_active_peers = 52 num_tids = 104, num_vdevs = 17
[   28.095220] idx 1 req 2  num_units 1 num_unit_info 12 unit size 256 actual units 53
[   28.102936] ol_ath_alloc_host_mem_chunk req_id 2 idx 0 num_units 53 unit_len 256,
[   28.110371] idx 2 req 3  num_units 1 num_unit_info 12 unit size 1024 actual units 53
[   28.118244] ol_ath_alloc_host_mem_chunk req_id 3 idx 1 num_units 53 unit_len 1024,
[   28.125741] idx 3 req 4  num_units 1 num_unit_info 12 unit size 4096 actual units 53
[   28.133676] ol_ath_alloc_host_mem_chunk req_id 4 idx 2 num_units 53 unit_len 4096,
[   28.141112] idx 0 req 1  num_units 0 num_unit_info 2 unit size 1440 actual units 531
[   28.149078] ol_ath_alloc_host_mem_chunk req_id 1 idx 3 num_units 177 unit_len 1440,
[   28.156732] ol_ath_alloc_host_mem_chunk req_id 1 idx 4 num_units 177 unit_len 1440,
[   28.164323] ol_ath_alloc_host_mem_chunk req_id 1 idx 5 num_units 177 unit_len 1440,
[   28.171852] idx 4 req 6  num_units 35 num_unit_info 0 unit size 3072 actual units 35
[   28.179725] ol_ath_alloc_host_mem_chunk req_id 6 idx 6 num_units 35 unit_len 3072,
[   28.187191] idx 5 req 7  num_units 1 num_unit_info 0 unit size 12288 actual units 1
[   28.194939] ol_ath_alloc_host_mem_chunk req_id 7 idx 7 num_units 1 unit_len 12288,
[   28.202499] idx 6 req 5  num_units 0 num_unit_info 2 unit size 1876 actual units 531
[   28.210402] ol_ath_alloc_host_mem_chunk req_id 5 idx 8 num_units 132 unit_len 1876,
[   28.218056] ol_ath_alloc_host_mem_chunk req_id 5 idx 9 num_units 133 unit_len 1876,
[   28.225679] ol_ath_alloc_host_mem_chunk req_id 5 idx 10 num_units 133 unit_len 1876,
[   28.233427] ol_ath_alloc_host_mem_chunk req_id 5 idx 11 num_units 133 unit_len 1876,
[   28.241018] chunk 0 len 13568 requested ,ptr  0x56d9c000
[   28.246391] chunk 1 len 54272 requested ,ptr  0x56090000
[   28.251765] chunk 2 len 217088 requested ,ptr  0x56100000
[   28.257263] chunk 3 len 254880 requested ,ptr  0x56140000
[   28.262699] chunk 4 len 254880 requested ,ptr  0x56180000
[   28.268197] chunk 5 len 254880 requested ,ptr  0x561c0000
[   28.273664] chunk 6 len 107520 requested ,ptr  0x56200000
[   28.279131] chunk 7 len 12288 requested ,ptr  0x56d8c000
[   28.284504] chunk 8 len 247632 requested ,ptr  0x56240000
[   28.289971] chunk 9 len 249508 requested ,ptr  0x56280000
[   28.295438] chunk 10 len 249508 requested ,ptr  0x562c0000
[   28.300999] chunk 11 len 249508 requested ,ptr  0x56300000
[   28.383192] wmi_ready_event_rx:  WMI UNIFIED READY event
[   28.387753] ol_ath_connect_htc() WMI is ready
[   28.392002] target uses HTT version 2.2; host uses 2.2
[   28.402280] ol_ath_attach() connect HTC.
[   28.405279] bypasswmi : 0
[   28.408028] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
[   28.419775] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2) flags 0x2150
[   28.426772] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4) flags 0xa0
[   28.433489] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x8) flags 0xc0
[   28.440549] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x20) flags 0xd0
[   28.447485] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x40) flags 0x150
[   28.454326] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x800) flags 0x10080
[   28.461824] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2000) flags 0x20080
[   28.469197] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4000) flags 0x40080
[   28.476538] Add VHT80 channel: 5210
[   28.479850] Add VHT80 channel: 5290
[   28.483317] Add VHT80 channel: 5530
[   28.487004] Add VHT80 channel: 5610
[   28.490253] Add VHT80 channel: 5690
[   28.493720] Add VHT80 channel: 5775
[   28.497438] Skipping VHT80 channel 5825
[   28.501030] Add VHT80_80 channels: 5210 : 5290
[   28.505435] Add VHT80_80 channels: 5290 : 5210
[   28.510090] Add VHT80_80 channels: 5530 : 5610
[   28.514308] Add VHT80_80 channels: 5610 : 5530
[   28.518962] Add VHT80_80 channels: 5210 : 5530
[   28.523180] Add VHT80_80 channels: 5530 : 5210
[   28.527741] Add VHT80_80 channels: 5210 : 5610
[   28.532021] Add VHT80_80 channels: 5610 : 5210
[   28.536582] Add VHT80_80 channels: 5210 : 5690
[   28.540862] Add VHT80_80 channels: 5690 : 5210
[   28.545392] Add VHT80_80 channels: 5210 : 5775
[   28.549953] Add VHT80_80 channels: 5775 : 5210
[   28.554139] Add VHT80_80 channels: 5290 : 5530
[   28.558762] Add VHT80_80 channels: 5530 : 5290
[   28.563011] Add VHT80_80 channels: 5290 : 5610
[   28.567478] Add VHT80_80 channels: 5610 : 5290
[   28.571852] Add VHT80_80 channels: 5290 : 5690
[   28.576288] Add VHT80_80 channels: 5690 : 5290
[   28.580693] Add VHT80_80 channels: 5290 : 5775
[   28.585129] Add VHT80_80 channels: 5775 : 5290
[   28.589659] Add VHT80_80 channels: 5530 : 5690
[   28.594064] Add VHT80_80 channels: 5690 : 5530
[   28.598437] Add VHT80_80 channels: 5530 : 5775
[   28.602842] Add VHT80_80 channels: 5775 : 5530
[   28.607278] Add VHT80_80 channels: 5610 : 5775
[   28.611683] Add VHT80_80 channels: 5775 : 5610
[   28.616151] Add VHT80_80 channels: 5690 : 5775
[   28.620556] Add VHT80_80 channels: 5775 : 5690
[   28.627960] OL Resmgr Init-ed
[   28.629959] ieee80211_bsteering_attach: Band steering initialized
[   28.636019] acfg_attach: using existing sock de25ea00
[   28.641143] SPECTRAL : get_capability not registered
[   28.646016] HAL_CAP_PHYDIAG : Capable
[   28.649609] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 237)
[   28.657731] SPECTRAL : get_capability not registered
[   28.662636] HAL_CAP_RADAR   : Capable
[   28.666323] SPECTRAL : Need to fix the capablity check for SPECTRAL
[   28.666323]  (spectral_attach : 242)
[   28.676132] SPECTRAL : get_capability not registered
[   28.681037] HAL_CAP_SPECTRAL_SCAN : Capable
[   28.685223] SPECTRAL : get_tsf64 not registered
[   28.689753] spectral_init_netlink 78 NULL SKB
[   28.694064] Green-AP : Green-AP : Attached
[   28.694064]
[   28.699656] Green-AP : Attached
[   28.702749] rate power table override is only supported for AR98XX
[   28.708997] ol_ath_smart_ant_attach: Firmware doest not support Smart Antenna.
[   28.716182] ol_ath_smart_ant_attach: Hardware doest not support Smart Antenna.
[   28.723336] ieee80211com_init_netlink: Socket already created de25e600
[   28.729865] ol_if_dfs_attach: called; ptr=d4ee1984, radar_info=c1553bb8
[   28.736457] dfs_attach: event log enabled by default
[   28.743049] ol_ath_attach() UMAC attach .
[   28.746204] ol_if_dfs_configure: FCC domain
[   28.750359] ol_ath_attach: Calling ol_if_dfs_configure
[   28.755482]
[   28.755482]  BURSTING enabled by default
[   28.760918] osif_wrap_attach:432 osif wrap attached
[   28.765729] osif_wrap_devt_init:393 osif wrap dev table init done
[   28.771790]  Wrap Attached: Wrap_com =da350e00 ic->ic_wrap_com=da350e00 &wrap_com->wc_devt=da350e00
[   28.780912] __ol_ath_attach: needed_headroom reservation 60
[   28.787191] ol_ath_thermal_mitigation_attach: --
[   28.791096] ol_ath_pci_probe: PCI device id 0046 :0046
[   28.796188] PCI: enabling device 0000:05:00.0 (0140 -> 0142)
[   28.801874]  *********** Cascade *************
[   28.806435] ath_pci 0000:05:00.0: ath DEBUG: sc=0xd4735000
[   28.811715]
[   28.811715]  ol_ath_pci_configure : num_desired MSI set to 0
[   28.818869]
[   28.818869]  Using PCI Legacy Interrupt
[   28.824179] chip_id 0xa chip_revision 0x0
[   28.828209] nss register id -1 offload mode enabled = 0 nss config 0 Target Type a
[   28.845360]
[   28.845392]  CLOCK PLL skipped
[   28.851077] __ol_ath_attach: dev name wifi2
[   28.854295] ol_ath_attach() BMI inited.
[   28.858200] ol_ath_attach() BMI Get Target Info.
[   28.862667] Chip id: 0xa, chip version: 0x1000000
[   28.867385]
[   28.867385]  CE WAR Disabled
[   28.871852] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
[   28.877288] ol_ath_attach() configure Target .
[   28.881599]
[   28.881599]  Target Version is 1000000
[   28.886754]
[   28.886754]  Flash Download Address  c0000
[   28.892377] ol_transfer_bin_file: flash data file defined
[   28.897781] Cal location [2]: 00008000
[   28.901499]
[   28.901530]  wifi2 NAND FLASH Select OFFSET 0x9000
[   28.909653] qc98xx_verify_checksum: flash checksum passed: 0x8e37
[   28.914714] ol_transfer_bin_file 3805: Download Flash data len 12064
[   28.921430] Board extended Data download address: 0x0
[   28.936457] [wifi1] FWLOG: [28837] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x94c, 0x94c, 0x0 )
[   28.944017] [wifi1] FWLOG: [28837] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x94c, 0x94c, 0x0 )
[   28.952733] [wifi1] FWLOG: [28837] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x94c, 0x94c, 0x0 )
[   28.961449] [wifi1] FWLOG: [28837] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e,
[   28.968291]  Board data initialized
[   28.971915] 0x94c
[   28.973664] ol_ath_download_firmware: Download OTP, flash download ADDRESS 0xc0000
[   28.981443] , 0x94c, 0x0 )
[   28.984067]
[   28.984067]  Selecting  OTP binary for CHIP Version 0
[   29.000093] ol_transfer_bin_file 3662: downloading file 0, Download data len 8920
[   29.036269]
[   29.036269]  First OTP send param 8000
[   31.252577] ol_ath_download_firmware :First OTP download and Execute is good address:0x800 return param 4660
[   31.261605] ol_ath_download_firmware:##Board Id 2 , CHIP Id 0
[   31.267385] ol_ath_download_firmware: BOARDDATA DOWNLOAD TO address 0xc0000
[   31.274101] ol_transfer_bin_file: Board Data File download to address=0xc0000 file name=QCA9984/hw.1/boardData_QCA9984_CUS260_2G_v1_002.bin
[   31.296344] ol_transfer_bin_file 3662: downloading file 3, Download data len 12064
[   31.303217] Board extended Data download address: 0x0
[   31.328491] ol_ath_download_firmware: Using 0x1234 for the remainder of init
[   31.334520]
[   31.334520]  Selecting  OTP binary for CHIP Version 0
[   31.350640] ol_transfer_bin_file 3662: downloading file 0, Download data len 8920
[   31.379443] Switching to Tx Mode-1 Threshold 280
[   31.389378]
[   31.389378]  [Flash] : Ignore Module param
[   31.393939]
[   31.393939]  Second otp download Param 10000
[   33.619837] ol_ath_download_firmware : Second OTP download and Execute is good, param=0x0
[   33.627303]
[   33.627303]  Mission mode: Firmware CHIP Version 0
[   33.644142] ol_swap_seg_alloc: Successfully allocated memory for SWAP size=262144
[   33.661543] Swap: bytes_left to copy: fw:16; dma_page:70496
[   33.666416] Swap: wrong length read:0
[   33.669790] ol_swap_wlan_memory_expansion: Swap total_bytes copied: 191648 Target address 41b5d8
[   33.678975] scn=d4740480  target_write_addr=41b5d8 seg_info=da625f10
[   33.685067] ol_transfer_swap_struct:Code swap structure successfully downloaded for bin type =2
[   33.694033] bin_filename=QCA9984/hw.1/athwlan.bin swap_filename=/lib/firmware/QCA9984/hw.1/athwlan.codeswap.bin
[   33.704154] ol_transfer_bin_file: Downloading firmware file: QCA9984/hw.1/athwlan.bin
[   33.723398] ol_transfer_bin_file 3662: downloading file 1, Download data len 360960
[   34.901405] ol_ath_attach() Download FW done.
[   34.904873] ol_ath_attach() HT Create .
[   34.908872] ol_ath_attach() HIF Claim.
[   34.912464] ol_ath_attach() BMI Done.
[   34.916307] ol_ath_attach 6796 host_enable 0 nss_nwifi_offload 0
[   34.922211] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko)
[   34.931771]  OL_ACBKMinfree : 0
[   34.934614]  OL_ACBEMinfree : 0
[   34.937894]  OL_ACVIMinfree : 0
[   34.940862]  OL_ACVOMinfree : 0
[   34.944017] ol_ath_attach() WMI attached. wmi_handle d47b0000
[   34.953014] CE_recv_buf_enqueue 853 Populate last entry 512 for CE 5
[   34.958356] CE_recv_buf_enqueue 862 CE 5 wi 511 dest_ptr 0x55997040 nbytes 0 recv_ctxt 0xd4c36cc0
[   34.967885] Startup Mode-0 set
[   34.970259] pdev attach   (null) -1
[   34.973820]
[   34.973820] <=== cfg max peer id 1056 ====>
[   34.979881] HTC Service:0x0300 ep:1 TX flow control disabled
[   34.987004] htt_peer_map_timer_init Enter pdev d4518000 hrtimer d451c8b8
[   34.992689]
[   34.992721]  htt_alloc_peer_map_mem : Alloc Success : host q vaddr d4130000 paddr 55630000
[   35.002686]
[   35.002686]  htt_alloc_peer_map_mem : Flush Interval Configured to 256 pkts
[   35.011090] CE_pkt_dl_len_set CE 4 Pkt download length 64
[   35.016307] ol_txrx_pdev_attach: 2500 tx desc's allocated ; range starts from d4140000
[   35.024429] HTC Service:0x0100 ep:2 TX flow control disabled
[   35.030677] wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event
[   35.036519] Firmware_Build_Number:56
[   35.040143] num_rf_chain:0x00000004  ht_cap_info:0x0000085b  vht_cap_info:0x339b79f2  vht_supp_mcs:0x0000ffea
[   35.050046]
[   35.050046]  RES CFG Support wmi_service_bitmap 9778
[   35.056544]
[   35.056576]  Sending HOST PLATFORM as 0 to TGT
[   35.062293] ol_ath_service_ready_event: tt_support: 1
[   35.067510] Peer Caching Enabled ; num_peers = 530, num_active_peers = 52 num_tids = 104, num_vdevs = 17
[   35.076975] idx 1 req 2  num_units 1 num_unit_info 12 unit size 256 actual units 53
[   35.084692] ol_ath_alloc_host_mem_chunk req_id 2 idx 0 num_units 53 unit_len 256,
[   35.092158] idx 2 req 3  num_units 1 num_unit_info 12 unit size 1024 actual units 53
[   35.100000] ol_ath_alloc_host_mem_chunk req_id 3 idx 1 num_units 53 unit_len 1024,
[   35.107528] idx 3 req 4  num_units 1 num_unit_info 12 unit size 4096 actual units 53
[   35.115463] ol_ath_alloc_host_mem_chunk req_id 4 idx 2 num_units 53 unit_len 4096,
[   35.122899] idx 0 req 1  num_units 0 num_unit_info 2 unit size 1440 actual units 531
[   35.130865] ol_ath_alloc_host_mem_chunk req_id 1 idx 3 num_units 177 unit_len 1440,
[   35.138487] ol_ath_alloc_host_mem_chunk req_id 1 idx 4 num_units 177 unit_len 1440,
[   35.146110] ol_ath_alloc_host_mem_chunk req_id 1 idx 5 num_units 177 unit_len 1440,
[   35.153608] idx 4 req 6  num_units 35 num_unit_info 0 unit size 3072 actual units 35
[   35.161480] ol_ath_alloc_host_mem_chunk req_id 6 idx 6 num_units 35 unit_len 3072,
[   35.168978] idx 5 req 7  num_units 1 num_unit_info 0 unit size 12288 actual units 1
[   35.176726] ol_ath_alloc_host_mem_chunk req_id 7 idx 7 num_units 1 unit_len 12288,
[   35.184254] idx 6 req 5  num_units 0 num_unit_info 2 unit size 1876 actual units 531
[   35.192189] ol_ath_alloc_host_mem_chunk req_id 5 idx 8 num_units 132 unit_len 1876,
[   35.199812] ol_ath_alloc_host_mem_chunk req_id 5 idx 9 num_units 133 unit_len 1876,
[   35.207466] ol_ath_alloc_host_mem_chunk req_id 5 idx 10 num_units 133 unit_len 1876,
[   35.215182] ol_ath_alloc_host_mem_chunk req_id 5 idx 11 num_units 133 unit_len 1876,
[   35.222805] chunk 0 len 13568 requested ,ptr  0x56e2c000
[   35.228178] chunk 1 len 54272 requested ,ptr  0x556c0000
[   35.233552] chunk 2 len 217088 requested ,ptr  0x55700000
[   35.239019] chunk 3 len 254880 requested ,ptr  0x55740000
[   35.244486] chunk 4 len 254880 requested ,ptr  0x55780000
[   35.249953] chunk 5 len 254880 requested ,ptr  0x557c0000
[   35.255420] chunk 6 len 107520 requested ,ptr  0x556e0000
[   35.260918] chunk 7 len 12288 requested ,ptr  0x55cac000
[   35.266291] chunk 8 len 247632 requested ,ptr  0x55000000
[   35.271727] chunk 9 len 249508 requested ,ptr  0x55040000
[   35.277225] chunk 10 len 249508 requested ,ptr  0x55080000
[   35.282755] chunk 11 len 249508 requested ,ptr  0x550c0000
[   35.365385] wmi_ready_event_rx:  WMI UNIFIED READY event
[   35.369946] ol_ath_connect_htc() WMI is ready
[   35.374195] target uses HTT version 2.2; host uses 2.2
[   35.384473] ol_ath_attach() connect HTC.
[   35.387597] bypasswmi : 0
[   35.390065] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
[   35.401999] ol_regdmn_init_channels: !avail mode 0x680c (0x2) flags 0x2150
[   35.408778] ol_regdmn_init_channels: !avail mode 0x680c (0x1) flags 0x140
[   35.415432] ol_regdmn_init_channels: !avail mode 0x680c (0x20) flags 0xd0
[   35.422399] ol_regdmn_init_channels: !avail mode 0x680c (0x40) flags 0x150
[   35.429272] ol_regdmn_init_channels: !avail mode 0x680c (0x1000) flags 0x10100
[   35.436394] ol_regdmn_init_channels: !avail mode 0x680c (0x8000) flags 0x20100
[   35.443486] ol_regdmn_init_channels: !avail mode 0x680c (0x10000) flags 0x40100
[   35.450921] ol_regdmn_init_channels: !avail mode 0x680c (0x20000) flags 0x100100
[   35.458263] ol_regdmn_init_channels: !avail mode 0x680c (0x40000) flags 0x200100
[   35.465510] ol_regdmn_init_channels: !avail mode 0x680c (0x80000) flags 0x400100
[   35.472945] ol_regdmn_init_channels: !avail mode 0x680c (0x100000) flags 0x800100
[   35.480381] ol_regdmn_init_channels: !avail mode 0x680c (0x200000) flags 0x4000100
[   35.487941] ol_regdmn_init_channels: !avail mode 0x680c (0x400000) flags 0x8000100
[   35.495595] OL Resmgr Init-ed
[   35.498531] ieee80211_bsteering_attach: Band steering initialized
[   35.504498] acfg_attach: using existing sock de25ea00
[   35.509559] SPECTRAL : get_capability not registered
[   35.514464] HAL_CAP_PHYDIAG : Capable
[   35.518150] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 237)
[   35.526304] SPECTRAL : get_capability not registered
[   35.531146] HAL_CAP_RADAR   : Capable
[   35.534770] SPECTRAL : Need to fix the capablity check for SPECTRAL
[   35.534770]  (spectral_attach : 242)
[   35.544673] SPECTRAL : get_capability not registered
[   35.549547] HAL_CAP_SPECTRAL_SCAN : Capable
[   35.553701] SPECTRAL : get_tsf64 not registered
[   35.558231] spectral_init_netlink 78 NULL SKB
[   35.562574] Green-AP : Green-AP : Attached
[   35.562574]
[   35.568166] Green-AP : Attached
[   35.571227] rate power table override is only supported for AR98XX
[   35.577475] ol_ath_smart_ant_attach: Firmware doest not support Smart Antenna.
[   35.584629] ol_ath_smart_ant_attach: Hardware doest not support Smart Antenna.
[   35.591846] ieee80211com_init_netlink: Socket already created de25e600
[   35.598375] ol_if_dfs_attach: called; ptr=d3cc1984, radar_info=c1553bb8
[   35.604935] dfs_attach: event log enabled by default
[   35.610340] ol_ath_attach() UMAC attach .
[   35.614058] ol_if_dfs_configure: FCC domain
[   35.618181] ol_ath_attach: Calling ol_if_dfs_configure
[   35.623336]
[   35.623336]  BURSTING enabled by default
[   35.628741] osif_wrap_attach:432 osif wrap attached
[   35.633489] osif_wrap_devt_init:393 osif wrap dev table init done
[   35.639581]  Wrap Attached: Wrap_com =de1aca00 ic->ic_wrap_com=de1aca00 &wrap_com->wc_devt=de1aca00
[   35.648703] __ol_ath_attach: needed_headroom reservation 60
[   35.654982] ol_ath_thermal_mitigation_attach: --
[   35.667478]  pktlog_init: Initializing Pktlog for AR9888, pktlog_hdr_size = 12
[   35.673758]  pktlog_init: Initializing Pktlog for AR900B, pktlog_hdr_size = 16
[   35.680974]  pktlog_init: Initializing Pktlog for AR900B, pktlog_hdr_size = 16
[   35.695751] __sa_init_module
[   35.737363] gre: GRE over IPv4 demultiplexor driver
[   35.748734] ip_gre: GRE over IPv4 tunneling driver
[   35.761636] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[   35.801374] ip_tables: (C) 2000-2006 Netfilter Core Team
[   35.912308] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   35.918025] [wifi2] FWLOG: [35947] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x94c, 0x94c, 0x0 )
[   35.926210] msm_hsusb_host msm_hsusb_host: unable to find transceiver
[   35.933427] [wifi2] FWLOG: [35947] WAL_DBGID_TX_AC_BUFFER_SET (
[   35.936707] nf_conntrack version 0.5.0 (7457 buckets, 29828 max)
[   35.945329] 0x12, 0x1e, 0x94c, 0x94c, 0x0 )
[   35.948984] [wifi2] FWLOG: [35947] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x94c, 0x94c, 0x0 )
[   35.957638] [wifi2] FWLOG: [35947] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x94c, 0x94c, 0x0 )
[   35.992908] PPPoL2TP kernel driver, V2.0
[   36.003030] PPTP driver version 0.8.5
[   36.013995] QCA multicast snooping installed successfully
[   36.194126] xt_time: kernel timezone is -0000
[   36.440331] nf_conntrack_rtsp v0.6.21 loading
[   36.451265] nf_nat_rtsp v0.6.21 loading
[   36.477975] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   36.588128] ipq-dwc3 ipq-dwc3.0: unable to read platform data num of dbm eps
[   36.695345] xhci-hcd xhci-hcd.0: xHCI Host Controller
[   36.699500] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 1
[   36.706841] xhci-hcd xhci-hcd.0: irq 142, io mem 0x11000000
[   36.712902] hub 1-0:1.0: USB hub found
[   36.715995] hub 1-0:1.0: 1 port detected
[   36.719993] xhci-hcd xhci-hcd.0: xHCI Host Controller
[   36.724867] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 2
[   36.732646] hub 2-0:1.0: USB hub found
[   36.735801] hub 2-0:1.0: 1 port detected
[   36.741455] ipq-dwc3 ipq-dwc3.1: unable to read platform data num of dbm eps
[   36.848359] xhci-hcd xhci-hcd.1: xHCI Host Controller
[   36.852452] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 3
[   36.859731] xhci-hcd xhci-hcd.1: irq 237, io mem 0x10000000
[   36.865885] hub 3-0:1.0: USB hub found
[   36.868947] hub 3-0:1.0: 1 port detected
[   36.873008] xhci-hcd xhci-hcd.1: xHCI Host Controller
[   36.877881] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 4
[   36.885629] hub 4-0:1.0: USB hub found
[   36.888815] hub 4-0:1.0: 1 port detected
[   37.016557] asoc: ipq-mi2s-codec-dai <-> ipq-mi2s-dai mapping ok
[   37.021993] asoc: ipq-spdif-codec-dai <-> ipq-spdif-dai mapping ok
[   37.028084] asoc: ipq-pcm-codec-dai <-> ipq-pcm-dai mapping ok
[   37.047485] Initializing USB Mass Storage driver...
[   37.051577] usbcore: registered new interface driver usb-storage
[   37.057388] USB Mass Storage support registered.
[   37.071290] fuse init (API version 7.18)
[   38.361418] Switching to Tx Mode-1 Threshold 280
[   40.405935] NET: Unregistered protocol family 15
[   40.768041] Not a bridge device, or device not found: br-lan
qcawifi disable radio wifi0
[   40.807716] __sa_exit_module
[   40.815338] Suspending Target - with disable_intr set :wifi2 (sc d4735000)
[   40.821274] waiting for target paused event from target :wifi2 (sc d4735000)
[   40.828491] osif_wrap_devt_detach:410 osif wrap dev table detached
[   40.834395] osif_wrap_detach:462 osif wrap detached
[   40.839268] ol_ath_thermal_mitigation_detach: ++
[   40.843892] ol_ath_thermal_mitigation_detach: --
[   40.876132] ol_if_dfs_teardown: called
[   40.879100] ol_ath_phyerr_detach: called
[   40.882880] ieee80211_bsteering_detach: Band steering terminated
[   40.889190] ieee80211_ifdetach: ATF terminated
[   40.894595] CE_fini 2565 Cleaning up HTT Tx CE
[   40.898281] CE_fini Cleaning up HTT MSG CE(5)
[   40.902999] Disabling Mcastenhance. This may take some time...
[   40.908466] ol_tx_me_exit: Already Disabled !!!
[   40.912683] ol_tx_me_exit: Already Disabled !!!
[   40.917213] ol_tx_me_exit: Already Disabled !!!
[   40.921711] ol_tx_me_exit: Already Disabled !!!
[   40.926210] ol_tx_me_exit: Already Disabled !!!
[   40.933333] ol_if_spectral_detach
[   40.935645] SPECTRAL : Module removed (spectral = d5ecc000)
[   40.941268] Green-AP : Green-AP : Detached
[   40.941268]
[   40.946766] Green-AP : Detached
[   40.950577] ol_ath_pci_remove:(sc d4735000)
[   40.954045] Reset Device
[   40.962761] ath_pci_remove
[   40.964479] Suspending Target - with disable_intr set :wifi1 (sc c1695c00)
[   40.971383] waiting for target paused event from target :wifi1 (sc c1695c00)
[   40.978444] osif_wrap_devt_detach:410 osif wrap dev table detached
[   40.984504] osif_wrap_detach:462 osif wrap detached
[   40.989409] ol_ath_thermal_mitigation_detach: ++
[   40.994001] ol_ath_thermal_mitigation_detach: --
[   41.036176] ol_if_dfs_teardown: called
[   41.039175] ol_ath_phyerr_detach: called
[   41.042924] ieee80211_bsteering_detach: Band steering terminated
[   41.048953] ieee80211_ifdetach: ATF terminated
[   41.054857] CE_fini 2565 Cleaning up HTT Tx CE
[   41.058356] CE_fini Cleaning up HTT MSG CE(5)
[   41.063917] Disabling Mcastenhance. This may take some time...
[   41.068822] ol_tx_me_exit: Already Disabled !!!
[   41.073227] ol_tx_me_exit: Already Disabled !!!
[   41.077756] ol_tx_me_exit: Already Disabled !!!
[   41.082255] ol_tx_me_exit: Already Disabled !!!
[   41.086785] ol_tx_me_exit: Already Disabled !!!
[   41.094189] ol_if_spectral_detach
[   41.096532] SPECTRAL : Module removed (spectral = d586c000)
[   41.102093] Green-AP : Green-AP : Detached
[   41.102093]
[   41.107653] Green-AP : Detached
[   41.111465] ol_ath_pci_remove:(sc c1695c00)
[   41.114901] Reset Device
[   41.123648] ath_pci_remove
[   41.125554] Suspending Target - with disable_intr set :wifi0 (sc c1413000)
[   41.132489] waiting for target paused event from target :wifi0 (sc c1413000)
[   41.139362] osif_wrap_devt_detach:410 osif wrap dev table detached
[   41.145423] osif_wrap_detach:462 osif wrap detached
[   41.150296] ol_ath_thermal_mitigation_detach: ++
[   41.154857] ol_ath_thermal_mitigation_detach: --
[   41.205966] ol_if_dfs_teardown: called
[   41.208965] ol_ath_phyerr_detach: called
[   41.212746] ieee80211_bsteering_detach: Band steering terminated
[   41.218775] acfg_detach Netlink socket released
[   41.223211] ieee80211_ifdetach: ATF terminated
[   41.229490] CE_fini 2565 Cleaning up HTT Tx CE
[   41.233427] CE_fini Cleaning up HTT MSG CE(5)
[   41.238456] Disabling Mcastenhance. This may take some time...
[   41.243423] ol_tx_me_exit: Already Disabled !!!
[   41.247797] ol_tx_me_exit: Already Disabled !!!
[   41.252296] ol_tx_me_exit: Already Disabled !!!
[   41.256825] ol_tx_me_exit: Already Disabled !!!
[   41.261324] ol_tx_me_exit: Already Disabled !!!
[   41.265823] ol_tx_me_exit: Already Disabled !!!
[   41.270353] ol_tx_me_exit: Already Disabled !!!
[   41.274851] ol_tx_me_exit: Already Disabled !!!
[   41.282099] ol_if_spectral_detach
[   41.284411] SPECTRAL : Module removed (spectral = c1554000)
[   41.290096] Green-AP : Green-AP : Detached
[   41.290096]
[   41.295532] Green-AP : Detached
[   41.298687]
[   41.298687]  releasing the socket   (null) and val of ic is c1600480
[   41.306591] ath_pci_warm_reset :(sc c1413000)
[   41.310840] Target Warm Reset
[   41.313776] Host Intr Cause reg 0x900c : value : 0x4000
[   41.319087] Target CPU Intr Cause 0x5040
[   41.423024] addr 0x4050 :  0x4
[   41.445548] Target CPU Intr Cause after CE reset 0x40
[   41.449703] RESET_CONTROL after cpu warm reset 0x800
[   41.554795] Target Warm reset complete
[   41.557638] ath_pci_remove
[   41.564011] Removing athdebug proc file
[   41.566885] ath_dev: driver unloaded
[   41.573352] ath_tx99: driver unloaded
[   41.578819] ath_spectral: driver unloaded
[   41.584567] ath_dfs: driver unloaded
[   41.590003] ath_rate_atheros: driver unloaded
[   41.596188] ath_hal: driver unloaded
qcawifi disable radio wifi1
qcawifi disable radio wifi2
[   42.228522] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   42.235238] device eth0 entered promiscuous mode
[   42.240018] ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   42.248547] ADDRCONF(NETDEV_UP): eth1: link is not ready
[   42.255232] device eth1 entered promiscuous mode
[   45.572133] br-lan: port 1(eth0) entered forwarding state
[   45.576569] br-lan: port 1(eth0) entered forwarding state
[   45.582036] macsec_ncb  mac_id:0x2 speed:0x3e8
[   45.586379] eth0: 1000 Mbps Full Duplex
[   45.590159] macsec_ncb  mac_id:0x2 speed:0x3e8
[   45.594595] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   45.600499] ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   46.778475] mc_netlink_receive: Disable bridge snooping!
qcawifi disable radio wifi0
qcawifi disable radio wifi1
qcawifi disable radio wifi2
[   46.944892] mc_netlink_receive: Disable bridge snooping!
qcawifi disable radio wifi0
qcawifi disable radio wifi1
qcawifi disable radio wifi2
qcawifi disable radio wifi0
qcawifi disable radio wifi1
qcawifi disable radio wifi2
[   47.575882] br-lan: port 1(eth0) entered forwarding state
[   52.938925] Enabling NSS RPS
[   53.210059] mc_netlink_receive: Enable bridge snooping!
[   53.480599] msm_thermal: Max frequency reset for cpu0
[   53.485223] msm_thermal: Max frequency reset for cpu1
[   53.489690] msm_thermal: enabled = 0
[   53.922336] mc_netlink_receive: Disable bridge snooping!
[   54.123430] mc_netlink_receive: Enable bridge snooping!
[   63.108091] mc_netlink_receive: Disable bridge snooping!
[   63.399531] mc_netlink_receive: Enable bridge snooping!



BusyBox v1.19.4 (2016-02-18 09:57:12 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

     MM           NM                    MMMMMMM          M       M
   $MMMMM        MMMMM                MMMMMMMMMMM      MMM     MMM
  MMMMMMMM     MM MMMMM.              MMMMM:MMMMMM:   MMMM   MMMMM
MMMM= MMMMMM  MMM   MMMM       MMMMM   MMMM  MMMMMM   MMMM  MMMMM'
MMMM=  MMMMM MMMM    MM       MMMMM    MMMM    MMMM   MMMMNMMMMM
MMMM=   MMMM  MMMMM          MMMMM     MMMM    MMMM   MMMMMMMM
MMMM=   MMMM   MMMMMM       MMMMM      MMMM    MMMM   MMMMMMMMM
MMMM=   MMMM     MMMMM,    NMMMMMMMM   MMMM    MMMM   MMMMMMMMMMM
MMMM=   MMMM      MMMMMM   MMMMMMMM    MMMM    MMMM   MMMM  MMMMMM
MMMM=   MMMM   MM    MMMM    MMMM      MMMM    MMMM   MMMM    MMMM
MMMM$ ,MMMMM  MMMMM  MMMM    MMM       MMMM   MMMMM   MMMM    MMMM
  MMMMMMM:      MMMMMMM     M         MMMMMMMMMMMM  MMMMMMM MMMMMMM
    MMMMMM       MMMMN     M           MMMMMMMMM      MMMM    MMMM
     MMMM          M                    MMMMMMM        M       M
       M
 ---------------------------------------------------------------
   For those about to rock... (IPQ806X.LN, r37758)
 ---------------------------------------------------------------
root@OpenWrt:/#
 
  • Like
Reactions: legopc

hmartin

Active Member
Sep 20, 2017
270
189
43
35
It might be supported by the OSDK, but if I were Meraki I would have thrown in some signature checks to ensure the uploaded firmware is valid. It doesn't look like there's any support for network in u-boot:

Net: No ethernet found.
I took a look at the u-boot source code provided by Cisco, and it looks like they're still running the same version of u-boot on the device (2012.07). I also didn't see anything about secure boot in the u-boot source, though maybe I just haven't found it yet.
 

usbTypeD

New Member
Apr 2, 2020
26
12
3
I would love to see an openwrt variant for the mr52. Personally i lack the knowledge for any real engineering work, still if there are things to support iam willing to help. Is there someone on board who could take on this challenge?
 

hmartin

Active Member
Sep 20, 2017
270
189
43
35
I would love to see an openwrt variant for the mr52. Personally i lack the knowledge for any real engineering work, still if there are things to support iam willing to help. Is there someone on board who could take on this challenge?
I am planning to get to it, but I make no promises for OpenWrt support as that typically requires upstream support in u-boot and the Linux kernel.

Currently I am still working on the FOSS MS220 firmware. Sorry if I am not fast enough for some people, but this is not my day job ;)
 
  • Like
Reactions: usbTypeD

usbTypeD

New Member
Apr 2, 2020
26
12
3
Thanks @hmartin for your contribution to FOSS. I very much appreciate the time and afford put into such activities knowing everybody has busy lives to begin with.
 

hmartin

Active Member
Sep 20, 2017
270
189
43
35
So, OpenWrt support for the MR52 doesn't seem to be a stretch, there are already other routers based on the AP160 reference board.

The main issue which I've been banging my head against, is that OSDK is booted with ubi.mtd=art which means you cannot access u-boot env or the meraki firmware and there seems to be no way to reprobe UBI after boot. So far I haven't found any way around this, and this is the reason for the lack of news from my side.
 
  • Like
Reactions: usbTypeD

hmartin

Active Member
Sep 20, 2017
270
189
43
35
So I'm a total moron. u-boot has a 2 second boot delay and the magic sequence is "xyzzy" as described here.

Code:
U-Boot 2012.07-gd040ed5-dirty [local,local] (Mar 29 2016 - 07:59:21)

DRAM:  235 MiB
cdp: machid 4971
NAND:  128 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
late_init: machid 4971
Net:   No ethernet found.
(BIGFOOT)# printenv
baudrate=115200
bootargs=console=ttyHSL1,115200n8 maxcpus=0
bootcmd=run meraki_bootkernel2; run meraki_bootkernel1
bootdelay=2
config_dts=config@2
machid=136b
meraki_bootkernel1=nand read 0x42000000 0x021c0000 0x00a80000; bootbk 0x42000000 bootkernel1 $config_dts
meraki_bootkernel2=nand read 0x42000000 0x02c40000 0x00a80000; bootbk 0x42000000 bootkernel2 $config_dts
stderr=serial
stdin=serial
stdout=serial

Environment size: 433/262140 bytes
 
  • Like
Reactions: usbTypeD