大破雑記帳

個人用メモな雑記ブログ いろんなことをざっくりと。

WAB-I1750-PS

某所で某氏が既にサポート作業をしており眺めていたが、普段触る家庭向けルータと異なりRJ-45タイプのコンソールポートがあったりブザーを搭載しているなど気になる点がいくつかあり、半ば衝動的に購入したもの。

前述の通り、既に作業している方がいる為こちらではOpenWrt本家に投げるための作業は行わないが、試しに弄ってみるのでメモ。

Ethernet

switchは搭載せず、QCA9558のeth0/eth1にAR803x phy2つをそれぞれ直結。

zone WAN LAN
port (WAB-I1750-PS) PD (IN) PSE (OUT)
port eth0 (AR8035) eth1 (AR8033)

MAC

未確認

  • Ethernet: 74:DA:88:xx:xx:0A (tddp, option macaddr (text))
  • 2.4G: 00:90:FE:xx:xx:0A
  • 5G: 00:90:FE:xx:xx:0B

U-Boot

  • help
    ath> help
    ?       - alias for 'help'
    autoscr - run script from memory
    base    - print or set address offset
    bdinfo  - print Board Info structure
    boot    - boot default, i.e., run 'bootcmd'
    bootd   - boot default, i.e., run 'bootcmd'
    bootelf - Boot from an ELF image in memory
    bootm   - boot application image from memory
    bootp   - boot image via network using BootP/TFTP protocol
    bootvx  - Boot vxWorks from an ELF image
    cmp     - memory compare
    coninfo - print console devices and information
    cp      - memory copy
    crc32   - checksum calculation
    dhcp    - invoke DHCP client to obtain IP/boot params
    echo    - echo args to console
    elx_check      - check ELX image
    erase   - erase FLASH memory
    ethreg    - S26 PHY Reg rd/wr  utility
    exit    - exit script
    flinfo  - print FLASH memory information
    go      - start application at address 'addr'
    help    - print online help
    iminfo  - print header information for application image
    itest   - return true/false on integer compare
    loop    - infinite loop on address range
    md      - memory display
    mii     - MII utility commands
    mm      - memory modify (auto-incrementing)
    mtest   - simple RAM test
    mw      - memory write (fill)
    nfs     - boot image via network using NFS protocol
    nm      - memory modify (constant address)
    pci     - list and access PCI Configuration Space
    ping    - send ICMP ECHO_REQUEST to network host
    pll cpu-pll dither ddr-pll dither - Set to change CPU & DDR speed
    pll erase
    pll get
    printenv- print environment variables
    progmac - Set ethernet MAC addresses
    protect - enable or disable FLASH write protection
    rarpboot- boot image via network using RARP/TFTP protocol
    reset   - Perform RESET of the CPU
    run     - run commands in an environment variable
    saveenv - save environment variables to persistent storage
    setenv  - set environment variables
    sleep   - delay execution for some time
    test    - minimal test like /bin/sh
    tftpboot- boot image via network using TFTP protocol
    version - print monitor version
  • version
    ath> version
    
    U-Boot 1.1.4-g245070bc-dirty (Sep 15 2014 - 21:36:13)
  • printenv
    ath> printenv
    bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),8256k(mib0),64k(ART)
    bootcmd=bootm 0x9f070000
    bootdelay=2
    baudrate=115200
    ethaddr="00:90:FE:**:**:0A"
    ipaddr=192.168.99.9
    serverip=192.168.99.8
    dir=
    lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
    lf=tftp 0x80060000 ${dir}7479PLC${bc}-jffs2&&erase 0x9f050000 +0x630000&&cp.b $fileaddr 0x9f050000 $filesize
    lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 +$filesize&&cp.b $fileaddr 0x9f680000 $filesize
    ethact=eth1
    domain=1
    pincode=********
    wlanaddr=00:aa:bb:cc:dd:10
    sn=************
    usboot=0
    op_mode=0
    bver=4.0.1.5
    dom2=1
    wanaddr=00:aa:bb:cc:dd:20
    bootfile=uImage_WN-AC733GR
    hw_id=0107000d
    language_code=jp
    kver=1.0.16
    stdin=serial
    stdout=serial
    stderr=serial
    
    Environment size: 904/65532 bytes
  • mii device
    ath> mii device
    MII devices: 'eth1'
    Current device: 'eth1'
  • md.l 0x180500x8 0x18050028
    ath> md.l 0x18050028 1
    18050028: 00000101
    0x18050048
    ath> md.l 0x18050048 1
    18050048: 03000101    ....
  • [sourcecode] [/sourcecode]

Kernel

パスワードを要求される。

  • uname -a
    # uname -a
    Linux WAB_I1750 3.2.9 #3 Mon Sep 15 20:24:53 CST 2014 mips GNU/Linux
  • cat /proc/version
    # cat /proc/version
    Linux version 3.2.9 (root@******-OptiPlex-****) (gcc version 4.3.6 (Buildroot 2013.05) ) #3 Mon Sep 15 20:24:53 CST 2014
  • cat /proc/cpuinfo
    # cat /proc/cpuinfo
    system type             : QCA955x
    machine                 : Elecom WAP-S1167
    processor               : 0
    cpu model               : MIPS 74Kc V5.0
    BogoMIPS                : 359.42
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0bf0, 0x07f8, 0x05e0]
    ASEs implemented        : mips16
    shadow register sets    : 1
    kscratch registers      : 0
    core                    : 0
    VCED exceptions         : not available
    VCEI exceptions         : not available
  • cat /proc/meminfo
    # cat /proc/meminfo
    MemTotal:         126244 kB
    MemFree:           80696 kB
    Buffers:            2464 kB
    Cached:            17788 kB
    SwapCached:            0 kB
    Active:             7428 kB
    Inactive:          16776 kB
    Active(anon):       4380 kB
    Inactive(anon):     1548 kB
    Active(file):       3048 kB
    Inactive(file):    15228 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:          3968 kB
    Mapped:             3792 kB
    Shmem:              1976 kB
    Slab:              14296 kB
    SReclaimable:        704 kB
    SUnreclaim:        13592 kB
    KernelStack:         448 kB
    PageTables:          356 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:       63120 kB
    Committed_AS:      98812 kB
    VmallocTotal:    1048372 kB
    VmallocUsed:         496 kB
    VmallocChunk:    1044264 kB
  • cat /proc/mtd
    # cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 01000000 00010000 "ALL"
    mtd1: 00040000 00010000 "Bootloader"
    mtd2: 00010000 00010000 "Config"
    mtd3: 00010000 00010000 "ART"
    mtd4: 00010000 00010000 "ART2"
    mtd5: 00e00000 00010000 "Kernel"
    mtd6: 00e00000 00010000 "user"
    mtd7: 00100000 00010000 "manufacture"
    mtd8: 00010000 00010000 "backup"
    mtd9: 00080000 00010000 "storage"
  • mount
    # mount
    rootfs on / type rootfs (rw)
    none on /sys type sysfs (rw,relatime)
    /proc on /proc type proc (rw,relatime)
    devpts on /dev/pts type devpts (rw,relatime,mode=600)
    /dev/shm/tmp/ on /mnt/tmpfs type tmpfs (rw,relatime,size=16384k,nr_inodes=10240,mode=700)
    /dev/mtdblock9 on /storage type jffs2 (rw,relatime)
    /dev/loop0 on /apps type squashfs (ro,relatime)
  • ls -al /sys/class/leds
    # ls -al /sys/class/leds
    lrwxrwxrwx    1         0 Sep  1 00:12 buzr -> ../../devices/platform/leds-gpio/leds/buzr
    lrwxrwxrwx    1         0 Sep  1 00:00 2g_led -> ../../devices/platform/leds-gpio/leds/2g_led
    lrwxrwxrwx    1         0 Sep  1 00:00 usb1_en -> ../../devices/platform/leds-gpio/leds/usb1_en
    lrwxrwxrwx    1         0 Sep  1 00:00 usb1_led -> ../../devices/platform/leds-gpio/leds/usb1_led
    lrwxrwxrwx    1         0 Sep  1 00:12 DIAG -> ../../devices/platform/leds-gpio/leds/DIAG
    drwxr-xr-x   19         0 Sep  1 00:00 ..
    drwxr-xr-x    2         0 Sep  1 00:00 .
  • header -x WAB-I1750-PS-FW-V1-5-4.bin
    # header -x WAB-I1750-PS-FW-V1-5-4.bin
    ### Decoding  image ####
    Decode source file [WAB-I1750-PS-FW-V1-5-4.bin]
    ------- Header Info -------
    Vendor  id:  0x0107
    Product id:  0x000d
    Hardware id:  0x0107000d
    Version id:  3047
    Code Version:  1.5.4
    Type: 0x3 [kernel]
    comp_file_len:  6355047
    comp_file_sum:  0x0
    Header sum:  0x3e3
    Magic key:  0x30471688
    MD5 chksum:  5a30899a57eb61ad71aba294ce46875
    ------------------------------
    Decode finished, got file [WAB-I1750-PS-FW-V1-5-4.bin.bin] with size 6355047 bytes
    header: Return OK
  • ./busybox devmem 0x18070000 32 ※2020/07/23現在のGitHubにおけるmirror/busyboxのmasterをコンパイルし実機上へ転送したもの
    # ./busybox devmem 0x18070000 32
    0x003FD001
  • ./busybox devmem 0x180500x8 32 0x18050028
    # ./busybox devmem 0x18050028 32
    0xA6000000
    0x18050048
    # ./busybox devmem 0x18050048 32
    0x03000000
  • [sourcecode] [/sourcecode]
  • bootlog (op_mode=0)
    U-Boot 1.1.4-g245070bc-dirty (Sep 15 2014 - 21:36:13)
    ELX version: 1.0.1
    
    7479PLC - Scorpion 1.0DRAM:
    sri
    Scorpion 1.0
    ath_ddr_initial_config(178): (32bit) ddr2 init
    tap = 0x00000003
    Tap (low, high) = (0x5, 0x1c)
    Tap values = (0x10, 0x10, 0x10, 0x10)
    128 MB
    Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18
    Flash [MX25L12845E] sectors: 256
    Flash: 16 MB
    In:    serial
    Out:   serial
    Err:   serial
    Net:   ath_gmac_enet_initialize...
    athrs_sgmii_res_cal: cal value = 0x1
    Fetching MAC Address from 0x87feb67c
    Fetching MAC Address from 0x87feb67c
    ath_gmac_enet_initialize: reset mask:c02200
    Scorpion ---->8033 PHY*
    AR8033 PHY init
    athrs_ar8033_reg_init: Done ffff
    Max resets limit reached exiting...
    athr_gmac_sgmii_setup SGMII done
    : cfg1 0x800c0000 cfg2 0x7214
    eth1: 00:aa:bb:cc:dd:01
    eth1 up
    eth1
    Setting 0x18116290 to 0x458ba14f
    
    Please choose the operation:
    1: Load system code to SDRAM via TFTP.
    3: Boot system code via Flash (default).
    4: Entr boot command line interface.                                                                                                             0
    
    3: System Boot system code via Flash.
    ## Booting image at 9f070000 ...
    Image Name:   Linux Kernel Image
    Created:      2014-09-15  12:25:00 UTC
    Image Type:   MIPS Linux Kernel Image (lzma compressed)
    Data Size:    5728465 Bytes =  5.5 MB
    Load Address: 80002000
    Entry Point:  802c1520
    Verifying Checksum at 0x9f070040 ...OK
    Uncompressing Kernel Image ... OK
    
    Starting kernel ...
    
    Linux version 3.2.9 (****@******-OptiPlex-****) (gcc version 4.3.6 (Buildroot 2013.05) ) #3 Mon Sep 15 20:24:53 CST 2014
    bootconsole [early0] enabled
    CPU revision is: 00019750 (MIPS 74Kc)
    SoC: QCA955x
    Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
    Determined physical RAM map:
    memory: 08000000 @ 00000000 (usable)
    Initrd not found or empty - disabling initrd
    Zone PFN ranges:
    Normal   0x00000000 -> 0x00008000
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00008000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    Kernel command line:  console=ttyS0,115200 root=/dev/ram0 rootfstype=squashfs,jffs2
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
    Writing ErrCtl register=00000000
    Readback ErrCtl register=00000000
    Memory: 119220k/131072k available (2849k kernel code, 11852k reserved, 692k data, 7024k init, 0k highmem)
    SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:51
    Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 512
    NET: Registered protocol family 16
    MIPS: machine is Elecom WAP-S1167
    registering PCI controller with io_map_base unset
    ar724x-pci ar724x-pci.1: PCIe link is down
    registering PCI controller with io_map_base unset
    bio: create slab  at 0
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    pci 0000:00:00.0: fixup device configuration
    pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
    pci 0000:00:00.0: BAR 0: set to [mem 0x10000000-0x101fffff 64bit] (PCI address [0x10000000-0x101fffff])
    pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
    pci 0000:00:00.0: using irq 40 for pin 1
    Switching to clocksource MIPS
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    JFFS2 version 2.2 (NAND) (SUMMARY) (ZLIB) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    msgmni has been set to 232
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    step 0x54e scale 0x8 for 115200
    Serial: Atheros High-Speed UART (115200)
    Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
    console [ttyS0] enabled, bootconsole disabled
    console [ttyS0] enabled, bootconsole disabled
    loop: module loaded
    Flash0 Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18
    Flash0 MX25L12845E(c2 2018c200) (16384 Kbytes)
    mtd .name = ath-nor0, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
    Creating 10 MTD partitions on "ath-nor0":
    0x000000000000-0x000001000000 : "ALL"
    0x000000000000-0x000000040000 : "Bootloader"
    0x000000040000-0x000000050000 : "Config"
    0x000000050000-0x000000060000 : "ART"
    0x000000060000-0x000000070000 : "ART2"
    0x000000070000-0x000000e70000 : "Kernel"
    0x000000070000-0x000000e70000 : "user"
    0x000000e70000-0x000000f70000 : "manufacture"
    0x000000f70000-0x000000f80000 : "backup"
    0x000000f80000-0x000001000000 : "storage"
    IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
    Hooking IMQ after NAT on PREROUTING.
    Hooking IMQ before NAT on POSTROUTING.
    usbcore: registered new interface driver asix
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver net1080
    usbcore: registered new interface driver cdc_subset
    usbcore: registered new interface driver zaurus
    usbcore: registered new interface driver MOSCHIP usb-ethernet driver
    cdc_ncm: 04-Aug-2011
    usbcore: registered new interface driver cdc_ncm
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    Port Status 1c000004
    ath-ehci ath-ehci.0: ATH EHCI
    ath-ehci ath-ehci.0: new USB bus registered, assigned bus number 1
    ath-ehci ath-ehci.0: irq 48, io mem 0x1b000000
    ath-ehci ath-ehci.0: USB 2.0 started, EHCI 1.00
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: ATH EHCI
    usb usb1: Manufacturer: Linux 3.2.9 ehci_hcd
    usb usb1: SerialNumber: platform
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    Port Status 1c000004
    ath-ehci1 ath-ehci1.1: ATH EHCI
    ath-ehci1 ath-ehci1.1: new USB bus registered, assigned bus number 2
    ath-ehci1 ath-ehci1.1: irq 49, io mem 0x1b400000
    ath-ehci1 ath-ehci1.1: USB 2.0 started, EHCI 1.00
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: ATH EHCI
    usb usb2: Manufacturer: Linux 3.2.9 ehci_hcd
    usb usb2: SerialNumber: platform
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    uhci_hcd: USB Universal Host Controller Interface driver
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    ath_usb_init: ID: 1130
    Registered button device:usb1_over, gpio:20,code:257,index:1
    Registered button device:reset, gpio:18,code:408,index:10
    Registered button device:wps, gpio:16,code:529,index:11
    Registered button device:usb_eject, gpio:19,code:256,index:0
    Netfilter messages via NETLINK v0.30.
    nf_conntrack version 0.5.0 (256 buckets, 2048 max)
    xt_time: kernel timezone is -0000
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP westwood registered
    NET: Registered protocol family 10
    NET: Registered protocol family 17
    NET: Registered protocol family 2
    8021q: 802.1Q VLAN Support v1.8
    Freeing unused kernel memory: 7024k freed
    System Init version: 1.1 date: 1
    Setting up file systems ...
    Setting up /mnt/tmpfs directory with tmpfs/16384KB
    Setting up FLASH storage partition ...
    JFFS2 notice: (346) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    Setting up /apps directory ...apps is in RAM ...
    Setting up loopback device ...
    FINISHED
    qca955x_GMAC: Length per segment 1536
    955x_GMAC: qca955x_gmac_attach
    955x_GMAC: qca955x_set_gmac_caps
    Currently in polling mode unit0
    Registering AR8035 Phy....
    qca955x_GMAC: RX TASKLET - Pkts per Intr:160
    qca955x_GMAC: Max segments per packet :   1
    qca955x_GMAC: Max tx descriptor count :   128
    qca955x_GMAC: Max rx descriptor count :   224
    qca955x_GMAC: Mac capability flags    :   42200
    955x_GMAC: qca955x_gmac_attach
    955x_GMAC: qca955x_set_gmac_caps
    Currently in polling mode unit1
    Registering AR8033 Phy....
    qca955x_GMAC: RX TASKLET - Pkts per Intr:160
    qca955x_GMAC: Max segments per packet :   1
    qca955x_GMAC: Max tx descriptor count :   128
    qca955x_GMAC: Max rx descriptor count :   224
    qca955x_GMAC: Mac capability flags    :   42200
    955x_GMAC: Serdes PLL is locked value 0x18818116
    Start Normal Operation Mode ...
    ************************************************************************
    *                                ---ELX---                             *
    ************************************************************************
    
    KernelApp version: 1.0.16 build date: 2014/09/15 build time: 20:22:00
    cmd> ln: /sbin/./cli: File exists
    ln: /sbin/./start_all: File exists
    athr_gmac_ring_alloc Allocated 2048 at 0x86e3c800
    sram_desc_cnt 1536,mac Unit 0,Tx r->ring_desc 0xbd000000
    athr_gmac_ring_alloc Allocated 3584 at 0x86dd5000
    sram_desc_cnt 4224,mac Unit 0,Rx r->ring_desc 0xbd000600
    955x_GMAC: eth0 in RGMII MODE
    Scorpion -----> 8035 PHY
    athrs_ar8035_reg_init: Done
    Disable TX Flow control..
    Setting Drop CRC Errors, Pause Frames and Length Error frames
    Setting PHY...
    AR8035 found!
    [0:4]Phy ID 4d:d072
    ADDRCONF(NETDEV_UP): eth0: link is not ready
    athr_gmac_ring_alloc Allocated 2048 at 0x86f95000
    sram_desc_cnt 5760,mac Unit 1,Tx r->ring_desc 0xbd001080
    athr_gmac_ring_alloc Allocated 3584 at 0x86dd4000
    sram_desc_cnt 8448,mac Unit 1,Rx r->ring_desc 0xbd001680
    955x_GMAC: eth1 in SGMII MODE
    Scorpion -----> 8033 PHY
    athrs_ar8033_reg_init: Done
    955x_SGMIIMax resets limit reached exiting...
    955x_SGMII::athr_gmac_sgmii_setup  Done
    Disable TX Flow control..
    Setting Drop CRC Errors, Pause Frames and Length Error frames
    Setting PHY...
    AR8033 found!
    Phy ID 4d:d074
    ADDRCONF(NETDEV_UP): eth1: link is not ready
    athr_gmac_ring_free Freeing at 0x86e3c800
    athr_gmac_ring_free Freeing at 0x86dd5000
    athr_gmac_ring_alloc Allocated 2048 at 0x80c19800
    sram_desc_cnt 8448,mac Unit 0,Tx r->ring_desc 0xbd000000
    athr_gmac_ring_alloc Allocated 3584 at 0x87809000
    sram_desc_cnt 8448,mac Unit 0,Rx r->ring_desc 0xbd000600
    955x_GMAC: eth0 in RGMII MODE
    Scorpion -----> 8035 PHY
    athrs_ar8035_reg_init: Done
    Disable TX Flow control..
    Setting Drop CRC Errors, Pause Frames and Length Error frames
    Setting PHY...
    AR8035 found!
    [0:4]Phy ID 4d:d072
    ADDRCONF(NETDEV_UP): eth0: link is not ready
    athr_gmac_ring_free Freeing at 0x86f95000
    athr_gmac_ring_free Freeing at 0x86dd4000
    athr_gmac_ring_alloc Allocated 2048 at 0x86f39800
    sram_desc_cnt 8448,mac Unit 1,Tx r->ring_desc 0xbd001080
    athr_gmac_ring_alloc Allocated 3584 at 0x86dd4000
    sram_desc_cnt 8448,mac Unit 1,Rx r->ring_desc 0xbd001680
    955x_GMAC: eth1 in SGMII MODE
    Scorpion -----> 8033 PHY
    athrs_ar8033_reg_init: Done
    955x_SGMIIMax resets limit reached exiting...
    955x_SGMII::athr_gmac_sgmii_setup  Done
    Disable TX Flow control..
    Setting Drop CRC Errors, Pause Frames and Length Error frames
    Setting PHY...
    AR8033 found!
    Phy ID 4d:d074
    ADDRCONF(NETDEV_UP): eth1: link is not ready
    port_id:[4],mode:[1]
    sh: mii_mgr: not found
    port_id:[4],mode:[1]
    port_id:[1],mode:[1]
    sh: mii_mgr: not found
    port_id:[1],mode:[1]
    device br_t.1 entered promiscuous mode
    device br_t entered promiscuous mode
    br0: port 1(br_t.1) entering disabled state
    device eth0 entered promiscuous mode
    device eth1 entered promiscuous mode
    adf: module license 'Proprietary' taints kernel.
    Disabling lock debugging due to kernel taint
    ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, 11D)
    ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
    ath_dfs: Version 2.0.0
    Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
    ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
    ath_ahb: 10.1.467 (Atheros/multi-bss)
    __ath_attach: Set global_scn[0]
    Enterprise mode: 0x33fc0000
    Restoring Cal data from Flash
    Green-AP : Green-AP : Attached
    
    ath_get_caps[5957] rx chainmask mismatch actual 7 sc_chainmak 0
    ath_get_caps[5932] tx chainmask mismatch actual 7 sc_chainmak 0
    ath_attach_dfs[11938] dfsdomain 1
    wifi0: Atheros ???: mem=0xb8100000, irq=47
    ath_pci: 10.1.467 (Atheros/multi-bss)
    ath_pci_probe
    PCI device id is 003c :003c
    ath_pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
    ath_pci 0000:00:00.0: BAR 0: set to [mem 0x10000000-0x101fffff 64bit] (PCI address [0x10000000-0x101fffff])
    PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
    ath_pci 0000:00:00.0: ath DEBUG: sc=0x80df6e00
    
    ol_ath_pci_configure : num_desired MSI set to 0
    
    Using PCI Legacy Interrupt
    __ol_ath_attach: ath_attach TODO
    ol_ath_attach() BMI inited.
    ol_ath_attach() BMI Get Target Info.
    ol_ath_attach() TARGET TYPE: 7 Vers 0x4100016c
    NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
    ol_ath_attach() configure Target .
    qc98xx_verify_checksum: flash checksum passed: 0xc79d
    ol_transfer_bin_file 1713: Download Flash data len 2116
    ol_transfer_bin_file 1657: Download Firmware data len 190500
    ol_ath_attach() Download FW.
    ol_ath_attach() HT Create .
    ol_ath_attach() HIF Claim.
    ol_ath_attach() BMI Done.
    ol_ath_attach() WMI attached. wmi_handle 86490000
    +HWT
    CE_recv_buf_enqueue 457 Populate last entry 512 for CE 5
    CE_recv_buf_enqueue 466 CE 5 wi 511 dest_ptr 0x6626820 nbytes 0 recv_ctxt 0x8660c9c0
    -HWT
    HTC Service:0x0300 ep:1 TX flow control disabled
    CE_pkt_dl_len_set CE 4 Pkt download length 42
    TXRX: Created pdev 869fe200
    wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event
    num_rf_chain : 00000003
    ht_cap_info: : 0000085b
    vht_cap_info : 338001b2
    vht_supp_mcs : 0000ffea
    LARGE_AP enabled. num_peers 144, num_vdevs 16, num_tids 256
    idx 0 req 1  num_units 0 num_unit_info 2 unit size 404 actual units 145
    chunk 0 len 58580 requested ,ptr  0x6270000
    FIRMWARE:P 145 V 16 T 443
    
    wmi_ready_event_rx:  WMI UNIFIED READY event
    ol_ath_connect_htc() WMI is ready
    ol_ath_set_host_app_area TODO
    target uses HTT version 2.1; host uses 2.1
    ol_ath_attach() connect HTC.
    ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
    Skipping VHT80 channel 5825
    ol_ath_phyerr_attach: called
    OL Resmgr Init-ed
    Green-AP : Green-AP : Attached
    
    Green-AP : Attached
    ol_if_dfs_setup: called
    ol_if_dfs_attach: called; ptr=86285974, radar_info=80ed3bf0
    ol_ath_rtt_meas_report_attach: called
    ol_ath_attach() UMAC attach .
    ol_if_dfs_configure: called
    ol_if_dfs_configure: FCC domain
    ol_if_dfs_disable: called
    ol_ath_attach: Calling ol_if_dfs_configure
    __ol_ath_attach: init tx/rx TODO
    __ol_ath_attach: hard_header_len reservation 58
    __ol_ath_attach: dev name wifi1
    Initializing Pktlogs for 11ac
    ath_attach_dfs[11938] dfsdomain 1
    VAP device ath0 created
    wds32     no private ioctls.
    
    DES SSID SET=elecom2g01-9cb40a
    Setting Max Stations:50
    WARNING: Fragmentation with HT mode NOT ALLOWED!!
    Error for wireless request "Set Fragmentation Threshold" (8B24) :
    SET failed on device ath0 ; Invalid argument.
    Error for wireless request "Set Fragmentation Threshold" (8B24) :
    SET failed on device wds32 ; No such device.
    Error for wireless request "Set RTS Threshold" (8B22) :
    SET failed on device wds32 ; No such device.
    FWLOG: [20962] WHAL_ERROR_RESET_CHANNF1 ( 0xaaaa1111, 0x0 )
    FWLOG: [20962] WHAL_ERROR_RESET_CHANNF1 ( 0xaaaa2222, 0x91 )
    FWLOG: [20962] WHAL_ERROR_RESET_CHANNF1 ( 0xaaaa3333, 0x122 )
    FWLOG: [20962] WHAL_ERROR_RESET_CHANNF1 ( 0xaaaa4444, 0x132 )
    FWLOG: [20962] WHAL_ERROR_RESET_CHANNF1 ( 0xaaaa5555, 0x142 )
    FWLOG: [20962] WHAL_ERROR_RESET_CHANNF1 ( 0x1bb, 0x14a )
    isCountryCodeValid: EEPROM regdomain 0x0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
    Skipping VHT80 channel 5660
    Skipping VHT80 channel 5680
    Skipping VHT80 channel 5700
    ath_ioctl: SIOC80211IFCREATE CALLED
    wmi_unified_vdev_create_send: ID = 0 VAP Addr = 00:90:fe:**:**:0b:
    TXRX: Created vdev 80edcd80 (00:90:fe:**:**:0b)
    Setting vdev param = 26, value = 147
    Setting vdev param = 27, value = 295
    Setting vdev param = 28, value = 300
    VAP device ath16 created
    TXRX: ol_txrx_peer_find_add_id: peer 80ebe800 ID 127
    TXRX: ol_txrx_peer_find_add_id: peer 80ebe800 ID 79
    wds36     no private ioctls.
    
    ol_ath_vap_set_param: VAP param unsupported param:38 value:0
    ol_ath_vap_set_param: VAP param unsupported param:43 value:0
    
    DES SSID SET=elecom5g01-9cb40b
    wmi_unified_vdev_stop_send
    STOPPED EVENT for vap 0
    Setting Max Stations:50
    Setting vdev param = 3, value = 100
    Setting vdev param = 26, value = 27
    Setting vdev param = 27, value = 55
    Setting vdev param = 28, value = 60
    Setting vdev param = d, value = 1
    ol_ath_vap_set_param: VAP param unsupported param:7 value:1
    WARNING: Fragmentation with HT mode NOT ALLOWED!!
    Error for wireless request "Set Fragmentation Threshold" (8B24) :
    SET failed on device ath16 ; Invalid argument.
    Error for wireless request "Set Fragmentation Threshold" (8B24) :
    SET failed on device wds36 ; No such device.
    Errool_ath_vap_set_param: VAP param unsupported param:41 value:1
    r for wireless request "Set RTS Threshold" (8B22ol_ath_vap_set_param: VAP param unsupported param:35 value:0
    ) :
    SET failed on device wds36 ; No such deSetting vdev param = 1a, value = 1
    vice.
    Interface doesn't accept private ioctl...
    AMPDU (8BE0): Operation not permitted
    Interface doesn't accept privaol_ath_vap_set_param: VAP param unsupported param:156 value:0
    te ioctl...
    AMPDUFrames (8BE0): Operation not permitted
    Interface doesn't accept private ioctl...
    AMPDULim (8Setting vdev param = 1e, value = 1
    BE0): Operation not permitted
    Invalid command : set_swapled
    route: SIOCADDRT: File exists
    Setting vdev param = 12, value = 1
    ol_ath_vap_set_param: VAP param unsupported param:30 value:1
    
    port_id:[4],mode:[1]
    port_id:[1],mode:[1]
    
    Ebtables v2.0 registered
    
    Start wps_led driver