大破雑記帳

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

WAB-S1167-PS

WAB-I1750-PS繋がりで調べた際、WAB-S600-PS同様に認知していたもの。

最近ELECOM公式でWAB-I1750-PSの在庫処分セールがあり、それが盛り上がっていた際に「WAB-S1167-PS現物か中古購入分の寄付があれば、1750と併せて作業する」と宣言した結果、寄付を頂いた為、確保した。

弄っていくのでメモ。

Ethernet

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

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

MAC

  • Ethernet (PD, PSE): 00:90:FE:xx:xx:04 (Config, ethaddr (text))
  • 2.4G: 00:90:FE:xx:xx:04 (Config, ethaddr (text))
  • 5G: 00:90:FE:xx:xx:05

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:xx:xx:04"
      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=xxxxxxxx
      wlanaddr=00:aa:bb:cc:dd:10
      sn=42L248602147                    
      usboot=0
      op_mode=0
      bver=4.0.1.5
      dom2=1
      wanaddr=00:aa:bb:cc:dd:20
      hw_id=0107000c
      language_code=jp
      kver=1.0.16 
      bootfile=uImage_WAS_S1167
      stdin=serial
      stdout=serial
      stderr=serial
    
      Environment size: 903/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    ....
      

Kernel

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

  • uname -a

      # uname -a
      Linux WAS_S1167 3.2.9 #3 Mon Sep 15 20:29:27 CST 2014 mips GNU/Linux
    
  • cat /proc/version

      # cat /proc/version
      Linux version 3.2.9 (root@edward-OptiPlex-9010) (gcc version 4.3.6 (Buildroot 2013.05) ) #3 Mon Sep 15 20:29:27 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, 0x0ff8, 0x0ff8, 0x0ff8]
      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:         126252 kB
      MemFree:           82472 kB
      Buffers:            2640 kB
      Cached:            16196 kB
      SwapCached:            0 kB
      Active:             6076 kB
      Inactive:          16568 kB
      Active(anon):       3844 kB
      Inactive(anon):      344 kB
      Active(file):       2232 kB
      Inactive(file):    16224 kB
      Unevictable:           0 kB
      Mlocked:               0 kB
      SwapTotal:             0 kB
      SwapFree:              0 kB
      Dirty:                 0 kB
      Writeback:             0 kB
      AnonPages:          3824 kB
      Mapped:             4068 kB
      Shmem:               380 kB
      Slab:              14132 kB
      SReclaimable:        660 kB
      SUnreclaim:        13472 kB
      KernelStack:         432 kB
      PageTables:          308 kB
      NFS_Unstable:          0 kB
      Bounce:                0 kB
      WritebackTmp:          0 kB
      CommitLimit:       63124 kB
      Committed_AS:      96696 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 Jan  1 00:06 buzr -> ../../devices/platform/leds-gpio/leds/buzr
      lrwxrwxrwx    1         0 Jan  1 00:00 2g_led -> ../../devices/platform/leds-gpio/leds/2g_led
      lrwxrwxrwx    1         0 Jan  1 00:00 usb1_en -> ../../devices/platform/leds-gpio/leds/usb1_en
      lrwxrwxrwx    1         0 Jan  1 00:00 usb1_led -> ../../devices/platform/leds-gpio/leds/usb1_led
      lrwxrwxrwx    1         0 Jan  1 00:06 DIAG -> ../../devices/platform/leds-gpio/leds/DIAG
      drwxr-xr-x   19         0 Jan  1 00:00 ..
      drwxr-xr-x    2         0 Jan  1 00:00 .
    
  • header -x WAB-S1167-PS-FW-V1-5-6.bin

      # header -x WAB-S1167-PS-FW-V1-5-6.bin 
      ### Decoding  image ####
      Decode source file [WAB-S1167-PS-FW-V1-5-6.bin]
      ------- Header Info -------
      Vendor  id:  0x0107
      Product id:  0x000c
      Hardware id:  0x0107000c
      Version id:  3047
      Code Version:  1.5.6
      Type: 0x3 [kernel]
      comp_file_len:  6151907
      comp_file_sum:  0x0
      Header sum:  0x371
      Magic key:  0x30471688
      MD5 chksum:  c2d0298c54def608de5fb315c6ecabe
      ------------------------------
      Decode finished, got file [WAB-S1167-PS-FW-V1-5-6.bin.bin] with size 6151907 bytes
      header: Return OK
    
  • 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, 0x1d)
      Tap values = (0x11, 0x11, 0x11, 0x11)
      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 = 0xe
      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:29:37 UTC
         Image Type:   MIPS Linux Kernel Image (lzma compressed)
         Data Size:    5467367 Bytes =  5.2 MB
         Load Address: 80002000
         Entry Point:  802c0b70
         Verifying Checksum at 0x9f070040 ...OK
         Uncompressing Kernel Image ... OK
    
      Starting kernel ...
    
      Linux version 3.2.9 (root@edward-OptiPlex-9010) (gcc version 4.3.6 (Buildroot 2013.05) ) #3 Mon Sep 15 20:29:27 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: 119500k/131072k available (2847k kernel code, 11572k reserved, 687k data, 6752k 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 <bio-0> 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 233
      io scheduler noop registered
      io scheduler deadline registered
      io scheduler cfq registered (default)
      Serial: 8250/16550 driver, 2 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: 6752k 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: (347) 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 0x1f018116
      Start Normal Operation Mode ...
      ************************************************************************
      *                                ---ELX---                             *
      ************************************************************************
    
      KernelApp version: 1.0.16 build date: 2014/09/15 build time: 20:26:31
      cmd> ln: /sbin/./start_all: File exists
      athr_gmac_ring_alloc Allocated 2048 at 0x86df0800
      sram_desc_cnt 1536,mac Unit 0,Tx r->ring_desc 0xbd000000
      athr_gmac_ring_alloc Allocated 3584 at 0x86d84000
      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 0x86f31000
      sram_desc_cnt 5760,mac Unit 1,Tx r->ring_desc 0xbd001080
      athr_gmac_ring_alloc Allocated 3584 at 0x86d85000
      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 0x86df0800
      athr_gmac_ring_free Freeing at 0x86d84000
      athr_gmac_ring_alloc Allocated 2048 at 0x86fb1800
      sram_desc_cnt 8448,mac Unit 0,Tx r->ring_desc 0xbd000000
      athr_gmac_ring_alloc Allocated 3584 at 0x86d84000
      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 0x86f31000
      athr_gmac_ring_free Freeing at 0x86d85000
      athr_gmac_ring_alloc Allocated 2048 at 0x86ed1800
      sram_desc_cnt 8448,mac Unit 1,Tx r->ring_desc 0xbd001080
      athr_gmac_ring_alloc Allocated 3584 at 0x86d85000
      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]
      ADDRCONF(NETDEV_UP): br0: link is not ready
      device br_t.1 entered promiscuous mode
      device br_t entered promiscuous mode
      br0: port 1(br_t.1) entering forwarding state
      br0: port 1(br_t.1) entering forwarding state
      br0: port 1(br_t.1) entering forwarding state
      ADDRCONF(NETDEV_CHANGE): br_t.1: link becomes ready
      device eth0 entered promiscuous mode
      device eth1 entered promiscuous mode
      br0: port 1(br_t.1) entering forwarding state
      br0: port 1(br_t.1) entering forwarding state
      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: 0x40000000
      Restoring Cal data from Flash
      Green-AP : Green-AP : Attached
    
      ath_get_caps[5957] rx chainmask mismatch actual 3 sc_chainmak 0
      ath_get_caps[5932] tx chainmask mismatch actual 3 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=0x80e89a00
    
       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: 0x9952
      ol_transfer_bin_file 1713: Download Flash data len 2116
      ol_transfer_bin_file 1657: Download Firmware data len 190500
      955x_GMAC: enet unit:0 is up...
      eth0  RGMII  1000Mbps  full duplex
      955x_GMAC: qca955x_soc_gmac_set_mac_duplex 
      ---->1000Mpbs
      955x_GMAC: qca955x_soc_gmac_set_link Done
      955x_GMAC: done cfg2 0x7215 ifctl 0x0 miictrl  
      Disable TX Flow control.. 
      Setting Drop CRC Errors, Pause Frames and Length Error frames 
      955x_GMAC: qca955x_soc_gmac_set_mac_duplex 
      ---->1000Mpbs
      955x_GMAC: qca955x_soc_gmac_set_link Done
      ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
      br0: port 2(eth0) entering forwarding state
      br0: port 2(eth0) entering forwarding state
      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 86410000 
      +HWT
      CE_recv_buf_enqueue 457 Populate last entry 512 for CE 5
      CE_recv_buf_enqueue 466 CE 5 wi 511 dest_ptr 0x65b9c20 nbytes 0 recv_ctxt 0x8659e840
      -HWT
      HTC Service:0x0300 ep:1 TX flow control disabled
      CE_pkt_dl_len_set CE 4 Pkt download length 42
      TXRX: Created pdev 86fe3400
      wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event 
      num_rf_chain : 00000002
      ht_cap_info: : 0000085b
      vht_cap_info : 338001b2
      vht_supp_mcs : 0000fffa
      LARGE_AP enabled. num_peers 144, num_vdevs 16, num_tids 256
      idx 0 req 1  num_units 0 num_unit_info 2 unit size 404 actual units 145 
      chunk 0 len 58580 requested ,ptr  0x6210000 
      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=86209974, radar_info=86ff5bf0
      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 
      wds10     no private ioctls.
    
    
       DES SSID SET=sho-karuizawa 
      Setting Max Stations:25
      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 wds10 ; No such device.
      Error for wireless request "Set RTS Threshold" (8B22) :
          SET failed on device wds10 ; No such device.
      device ath0 entered promiscuous mode
      br0: port 4(ath0) entering forwarding state
      br0: port 4(ath0) entering forwarding state
       Scan in progress.. Cancelling it 
      br0: port 4(ath0) entering forwarding state
      FWLOG: [19948] WHAL_ERROR_RESET_CHANNF1 ( 0xaaaa1111, 0x0 )
      FWLOG: [19948] WHAL_ERROR_RESET_CHANNF1 ( 0xaaaa2222, 0x91 )
      FWLOG: [19948] WHAL_ERROR_RESET_CHANNF1 ( 0xaaaa3333, 0x122 )
      FWLOG: [19948] WHAL_ERROR_RESET_CHANNF1 ( 0xaaaa4444, 0x132 )
      FWLOG: [19948] WHAL_ERROR_RESET_CHANNF1 ( 0xaaaa5555, 0x142 )
      FWLOG: [19948] WHAL_ERROR_RESET_CHANNF1 ( 0x1bb, 0x14a )
      br0: port 4(ath0) entering forwarding state
      br0: port 4(ath0) entering forwarding state
       ieee80211_ioctl_siwmode: imr.ifm_active=393856, new mode=3, valid=1 
       Scan in progress.. Cancelling it 
      br0: port 4(ath0) entering forwarding state
       DEVICE IS DOWN ifname=ath0
       DEVICE IS DOWN ifname=ath0
      br0: port 4(ath0) entering forwarding state
      br0: port 4(ath0) entering forwarding state
      mlme_create_infra_bss : Overriding HT40 channel with HT20 channel
      mlme_create_infra_bss : Overriding HT40 channel with HT20 channel
      mlme_create_infra_bss : Overriding HT40 channel with HT20 channel
      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:xx:xx:05:
      TXRX: Created vdev 80dcd400 (00:90:fe:xx:xx:05)
      Setting vdev param = 26, value = 147
      Setting vdev param = 27, value = 295
      Setting vdev param = 28, value = 300
      VAP device ath5 created 
      TXRX: ol_txrx_peer_find_add_id: peer 86fb2000 ID 14
      TXRX: ol_txrx_peer_find_add_id: peer 86fb2000 ID 30
      wds14     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-xxxx05 
      wmi_unified_vdev_stop_send 
      STOPPED EVENT for vap 0 
      Setting Max Stations:25
      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 ath5 ; Invalid argument.
      Error for wireless request "Set Fragmentation Threshold" (8B24) :
          SET failed on device wds14 ; No such device.
      Errorol_ath_vap_set_param: VAP param unsupported param:41 value:1
       for wireless request "Set RTS Threshold" (8B22)ol_ath_vap_set_param: VAP param unsupported param:35 value:0
       :
          SET failed on device wds14 ; No such devSetting vdev param = 1a, value = 1
      ice.
      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
      br0: port 1(br_t.1) entering forwarding state
      br0: port 2(eth0) entering forwarding state
      br0: port 4(ath0) entering forwarding state