Support for Wis-Q2300

Wisnetworks Wis-Q2300

http://www.wisnetworks.com/web/index.php/product/productinfoen/102.html

Oem Boot Log

****************************************************************
*                                                                                       *
*                   S210 U-Boot, Version  0.83                        *
*                                                                                       *
****************************************************************
Running in RAM.

Initializing flash.


U-BOOT INFO: (U-Boot Version 0.83 (Aug 31 2017 - 10:55:20))
CPU TYPE        :Atheros AR934x
CPU Speed       :535MHz
RAM size        :64MB
Baudrate        :9600
FLASH Size      :16MB
U-boot Size     :64KB
Flash start     :0x9f000000
DRAM start      :0x80000000

Checking board MAC address and IP address.

Environment and PCI are working.

Eth device initialize starting......

Press Ctrl+B to stop auto boot:  0 
## Booting image at 9f6c0000 ...
Start checking kernel...
   Verifying Checksum at 0x9f6c0040 ...OK
Start checking FS...
fs_crc_to_flag ulCrc is 884
check_fs ulCrc 884
usCrc from flag 884
FS checking is done.
   Image Name:   Linux Kernel Image
   Created:      2019-03-06   6:17:31 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    855895 Bytes = 835.8 kB
   Load Address: 80002000
   Entry Point:  801bd870
   Verifying Checksum at 0x9f6c0040 ...OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 801bd870) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...
��[    0.000000] Linux version 2.6.31 (ADMIN@QTS.LINUX) (gcc version 4.3.3 (GCC) ) #1 Wed Mar 6 14:17:19 CST 2019
[    0.000000] flash_size passed from bootloader = 16
[    0.000000] arg 1: console=ttyS0,9600
[    0.000000] arg 2: root=31:01
[    0.000000] arg 3: rootfstype=squashfs
[    0.000000] arg 4: init=/sbin/init
[    0.000000] arg 5: mtdparts=ath-nor0:64k(u-boot),6848k(rootfs),960k(uImage),64k(E-info),448k(config),64K(flag),64K(reserved),6848k(fs-bak),960K(uImage-bak),64k(ART)
[    0.000000] arg 6: mem=64M
[    0.000000] CPU revision is: 0001974c (MIPS 74Kc)
[    0.000000] ath_sys_frequency: cpu srif ddr srif cpu 535 ddr 400 ahb 200
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,9600 root=31:01 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:64k(u-boot),6848k(rootfs),960k(uImage),64k(E-info),448k(config),64K(flag),64K(reserved),6848k(fs-bak),960K(uImage-bak),64k(ART) mem=64M 
[    0.000000] PID hash table entries: 256 (order: 8, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 62412k/65536k available (1791k kernel code, 3056k reserved, 454k data, 148k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] plat_time_init: plat time init done
[    0.000000] Calibrating delay loop... 267.26 BogoMIPS (lpj=534528)
[    0.096000] Mount-cache hash table entries: 512
[    0.096000] NET: Registered protocol family 16
[    0.096000] bio: create slab <bio-0> at 0
[    0.096000] NET: Registered protocol family 2
[    0.096000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.096000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.100000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.100000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.100000] TCP reno registered
[    0.100000] NET: Registered protocol family 1
[    0.100000] ATH GPIOC major 0
[    0.100000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.100000] JFFS2 version 2.2 (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.
[    0.100000] fuse init (API version 7.12)
[    0.100000] msgmni has been set to 122
[    0.100000] io scheduler noop registered
[    0.100000] io scheduler deadline registered (default)
[    0.100000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.100000] serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
[    0.100000] console [ttyS0] enabled
[    3.668000] brd: module loaded
[    3.704000] PPP generic driver version 2.4.2
[    3.756000] NET: Registered protocol family 24
[    3.808000] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
[    3.892000] 10 cmdlinepart partitions found on MTD device ath-nor0
[    3.968000] Creating 10 MTD partitions on "ath-nor0":
[    4.028000] 0x000000000000-0x000000010000 : "u-boot"
[    4.088000] 0x000000010000-0x0000006c0000 : "rootfs"
[    4.148000] 0x0000006c0000-0x0000007b0000 : "uImage"
[    4.208000] 0x0000007b0000-0x0000007c0000 : "E-info"
[    4.268000] 0x0000007c0000-0x000000830000 : "config"
[    4.328000] 0x000000830000-0x000000840000 : "flag"
[    4.384000] 0x000000840000-0x000000850000 : "reserved"
[    4.448000] 0x000000850000-0x000000f00000 : "fs-bak"
[    4.508000] 0x000000f00000-0x000000ff0000 : "uImage-bak"
[    4.572000] 0x000000ff0000-0x000001000000 : "ART"
[    4.628000] GRE over IPv4 tunneling driver
[    4.676000] TCP cubic registered
[    4.716000] NET: Registered protocol family 17
[    4.768000] Bridge firewalling registered
[    4.816000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[    4.900000] All bugs added by David S. Miller <davem@redhat.com>
[    4.972000] arch/mips/atheros/gpio.c (ath_simple_config_init) JUMPSTART_GPIO: 17
[    5.060000] athwdt_init: Registering WDT success
[    5.116000] ath_otp_init: Registering OTP success
[    5.172000] ath_clksw_init: Registering Clock Switch Interface success
[    5.252000] VFS: Mounted root (squashfs filesystem) readonly on device 31:1.
[    5.340000] Freeing unused kernel memory: 148k freed
init started: BusyBox v1.15.3 (2019-05-21 18:07:52 CST)
starting pid 14, tty '': '/etc/rc.d/rcS'
watchdog, sec: 20
MAGIC 0x0
NO INFO FOUND
: Success
% upload success!
[   10.328000] DevName      = S215
[   10.368000] DevOEMName   = WIS-Q2300
[   10.408000] DevSerialNum = 23000117500177
[   10.456000] MacAddr      = 14:1f:ba:82:f5:88
[   10.508000] MFGDate      = 2017-06-01
[   10.552000] DevBOM       = 230001
[   10.608000] ATHR_GMAC: Length per segment 1760
[   10.660000] ATHR_GMAC: fifo cfg 3 01f00140
[   10.712000] mac:0 Registering S27....
[   10.756000] ATHR_GMAC: RX TASKLET - Pkts per Intr:16
[   10.816000] ATHR_GMAC: Mac address for unit 0:bfff0000
[   10.876000] ATHR_GMAC: 19:85:20:03:00:00 
[   11.476000] ATHR_GMAC: Max segments per packet :   1
[   11.536000] ATHR_GMAC: Max tx descriptor count :   128
[   11.596000] ATHR_GMAC: Max rx descriptor count :   128
[   11.656000] ATHR_GMAC: Mac capability flags    :   2382
[   11.720000] mac:1 Registering S27....
[   11.764000] ATHR_GMAC: RX TASKLET - Pkts per Intr:16
[   11.824000] ATHR_GMAC: Mac address for unit 1:bfff0006
[   11.884000] ATHR_GMAC: 00:0c:f0:60:dc:98 
[   11.948000] athr_gmac_ring_alloc Allocated 2048 at 0x83849000
[   12.016000] athr_gmac_ring_alloc Allocated 2048 at 0x839b0800
[   12.384000] WASP ----> S27 PHY MDIO
[   12.428000] Setting PHY...
[   15.508000] device eth0 entered promiscuous mode
[   16.220000] **** drop_caches_sysctl_handler: all done timer added ...**** 
[   16.340000] adf: module license 'Proprietary' taints kernel.
[   16.408000] Disabling lock debugging due to kernel taint
[   16.580000] ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, 11D)
[   16.692000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
[   16.820000] ath_spectral: Version 2.0.0
[   16.820000] Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved
[   16.960000] SPECTRAL module built on May 22 2019 09:53:17
[   17.104000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
[   17.308000] ath_ahb: 9.5.5.36 (Atheros/multi-bss)
[   17.364000] __ath_attach: Set global_scn[0]
[   17.416000] ACBKMinfree = 48
[   17.448000] ACBEMinfree = 32
[   17.484000] ACVIMinfree = 16
[   17.520000] ATH_MAC_TIMER: enet unit:0 is up...
[   17.576000] Mii 100Mbps full duplex
[   17.616000] ATH_MAC_TIMER: done cfg2 0x7115 ifctl 0x10000 miictrl  
[   17.692000] ACVOMinfree = 0
[   17.724000] CABMinfree = 48
[   17.760000] UAPSDMinfree = 0
[   17.804000] Enterprise mode: 0x00000000
[   17.852000] Restoring Cal data from Flash
[   17.904000] READ INFO LEN 0xe000(0xe000)
[   17.948000] MAGIC : 0xffffffff
[   17.988000] VENDOR INFO DO NOT INIT
[   18.028000] INIT CHANNEL LIST
[   18.068000] ath_get_caps[6554] rx chainmask mismatch actual 3 sc_chainmak 0
[   18.152000] ath_get_caps[6529] tx chainmask mismatch actual 3 sc_chainmak 0
[   18.240000] default list: 160 ,full scan list: 160|323
[   18.308000] ath_tx_paprd_init sc 83bf8000 PAPRD disabled in HAL
[   18.380000] SC Callback Registration for wifi0
[   18.432000] wifi0: Atheros 9340: mem=0xb8100000, irq=2
Jan  1 00:00:18 crond[1409]: crond (busybox 1.15.3) started, log level 8

[   18.724000] READ INFO LEN 0xe000(0xe000)
[   18.772000] MAGIC : 0xffffffff
[   18.808000] VENDOR INFO DO NOT INIT
[   18.852000] INIT CHANNEL LIST
[   18.972000] wlan_vap_create : enter. devhandle=0x830482c0, opmode=IEEE80211_M_HOSTAP, flags=0x1
[   19.080000] wlan_vap_create : exit. devhandle=0x830482c0, opmode=IEEE80211_M_HOSTAP, flags=0x1.
[   19.204000] READ INFO LEN 0xe000(0xe000)
[   19.252000] MAGIC : 0xffffffff
[   19.288000] VENDOR INFO DO NOT INIT
[   19.328000] INIT CHANNEL LIST
[   19.596000] Setting Max Stations:128
[   19.672000] device ath0 entered promiscuous mode
[   21.396000] Ebtables v2.0 registered
AD_ServerMonitor running.
starting pid 17
~ # cat /proc/cmdline
console=ttyS0,9600 root=31:01 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:64k(u-boot),6848k(rootfs),960k(uImage),64k(E-info),448k(config),64K(flag),64K(reserved),6848k(fs-bak),960K(uImage-bak),64k(ART) mem=64M 
~ # cat /proc/cpuinfo
system type		: Atheros AR934x
processor		: 0
cpu model		: MIPS 74Kc V4.12
BogoMIPS		: 267.26
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 dsp
shadow register sets	: 1
core			: 0
VCED exceptions		: not available
VCEI exceptions		: not available
~ # cat /proc/meminfo
MemTotal:          62628 kB
MemFree:           51112 kB
Buffers:              96 kB
Cached:             3456 kB
SwapCached:            0 kB
Active:             2156 kB
Inactive:           2544 kB
Active(anon):       1188 kB
Inactive(anon):        0 kB
Active(file):        968 kB
Inactive(file):     2544 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:          1204 kB
Mapped:             1720 kB
Slab:               3908 kB
SReclaimable:        232 kB
SUnreclaim:         3676 kB
PageTables:          148 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       31312 kB
Committed_AS:       2864 kB
VmallocTotal:    1048404 kB
VmallocUsed:        2440 kB
VmallocChunk:    1039856 kB
~ # cat /proc/devices
Character devices:
  1 mem
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
 10 misc
 77 ATH_GPIOC
 90 mtd
108 ppp
128 ptm
136 pts

Block devices:
  1 ramdisk
259 blkext
 31 mtdblock
~ # ls /sys/devices/platform
ath-ehci.0    ath-pciep.0   serial8250    serial8250.0  uevent
~ # cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00010000 00010000 "u-boot"
mtd1: 006b0000 00010000 "rootfs"
mtd2: 000f0000 00010000 "uImage"
mtd3: 00010000 00010000 "E-info"
mtd4: 00070000 00010000 "config"
mtd5: 00010000 00010000 "flag"
mtd6: 00010000 00010000 "reserved"
mtd7: 006b0000 00010000 "fs-bak"
mtd8: 000f0000 00010000 "uImage-bak"
mtd9: 00010000 00010000 "ART"