***************************************************************************** KERNEL WIFI TEST (WL18xx) ============================================================================= Test Case Name: WIFI Device Test in Kernel Test Case Type: Functional Test Description : ~~~~~~~~~~~~~ To test the WIFI Device test functionality in Kernel. Hardware Details : ~~~~~~~~~~~~~~~~~~ SOM Version : 1397.0 CB : phyBOARD-WEGA-AM335x CB Version : 1405.1 Additional Hardware : --------------------- - WIFI Router, - WIFI(WL18xx) Device. Software Details : ~~~~~~~~~~~~~~~~~~ Linux : --------- Version : Linux-3.2 Special Configuration : -> Enable the WIFI driver support. Additional Software : --------------------- - ping, ifconfig,hci-tools commands in rootfile system. Prerequisites : --------------- -NA- Test Procedure : ---------------- 1. Make sure the network configuration & connection between Host & Target is established, connected to same switch / router . 2. Check the kernel log, WIFI device is detected or not. ****************************************************************************** [ 2.485397] mmc0: card claims to support voltages below the defined range. These will be ignored. [ 2.505505] mmc0: queuing unknown CIS tuple 0x91 (3 bytes) [ 2.511930] mmc0: new high speed SDIO card at address 0001 ------------------ [ 8.917041] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11) [ 8.967766] wlcore: loaded ****************************************************************************** 3. Boot the board with NAND , check the ip adress by giving below command. ****************************************************************************** root@phyBOARD-WEGA-AM335x:~ iwconfig wlan0 wlan0 IEEE 802.11abgn ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:on root@phyBOARD-WEGA-AM335x:~ root@phyBOARD-WEGA-AM335x:~ ifconfig wlan0 wlan0 Link encap:Ethernet HWaddr 00:01:33:88:44:72 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) root@phyBOARD-WEGA-AM335x:~ ****************************************************************************** 4. Do changes in the file /etc/wpa_supplicant.conf give your WIFI Details and reboot the board. ****************************************************************************** root@phyBOARD-WEGA-AM335x:~ cat /etc/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant eapol_version=2 network={ ssid="PHYTEC" proto=WPA key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP psk="**************" } ****************************************************************************** 5. To connect to WIFI AP in Linux use below command. ****************************************************************************** root@phyBOARD-WEGA-AM335x:~ sh /etc/init.d/wifi connect [ 298.093304] wlcore: PHY firmware version: Rev 8.2.0.0.195 [ 298.202427] wlcore: firmware booted (Rev 8.8.0.0.13) udhcpc (v1.20.2) started Sending discover... [ 302.433229] wlan0: authenticate with cc:b2:55:d1:98:b7 [ 302.444215] wlan0: send auth to cc:b2:55:d1:98:b7 (try 1/3) [ 302.476221] wlan0: authenticated [ 302.486616] wlan0: associate with cc:b2:55:d1:98:b7 (try 1/3) [ 302.596195] wlan0: RX AssocResp from cc:b2:55:d1:98:b7 (capab=0x411 status=0 aid=29) [ 302.616721] wlcore: Association completed. [ 302.623902] wlan0: associated Sending discover... Sending discover... Sending select for 192.168.2.37... Lease of 192.168.2.37 obtained, lease time 86400 deleting routers route: SIOCDELRT: No such process adding dns 192.168.2.1 ****************************************************************************** 6. To test the the WIFI in your Board, use the below command. ****************************************************************************** root@phyBOARD-WEGA-AM335x:~ iwconfig wlan0 wlan0 IEEE 802.11abgn ESSID:"PHYTEC" Mode:Managed Frequency:2.412 GHz Access Point: CC:B2:55:D1:98:B7 Bit Rate=1 Mb/s Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:on Link Quality=70/70 Signal level=-36 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:1 Missed beacon:0 root@phyBOARD-WEGA-AM335x:~ root@phyBOARD-WEGA-AM335x:~ ping www.google.com -I wlan0 -c 10 PING www.google.com (216.58.220.36): 56 data bytes 64 bytes from 216.58.220.36: seq=0 ttl=54 time=18.166 ms 64 bytes from 216.58.220.36: seq=1 ttl=54 time=46.586 ms 64 bytes from 216.58.220.36: seq=2 ttl=54 time=15.024 ms 64 bytes from 216.58.220.36: seq=3 ttl=54 time=20.003 ms 64 bytes from 216.58.220.36: seq=4 ttl=54 time=16.374 ms 64 bytes from 216.58.220.36: seq=5 ttl=54 time=19.111 ms 64 bytes from 216.58.220.36: seq=6 ttl=54 time=29.032 ms 64 bytes from 216.58.220.36: seq=7 ttl=54 time=21.880 ms 64 bytes from 216.58.220.36: seq=8 ttl=54 time=28.201 ms 64 bytes from 216.58.220.36: seq=9 ttl=54 time=17.867 ms --- www.google.com ping statistics --- 10 packets transmitted, 10 packets received, 0% packet loss round-trip min/avg/max = 15.024/23.224/46.586 ms ****************************************************************************** 7. To test the the BT in your Board, use the below command. ****************************************************************************** root@phyBOARD-WEGA-AM335x:~ hciconfig -a hci0: Type: BR/EDR Bus: UART BD Address: 5C:31:3E:DD:DE:57 ACL MTU: 1021:6 SCO MTU: 180:4 UP RUNNING RX bytes:1094 acl:0 sco:0 events:54 errors:0 TX bytes:822 acl:0 sco:0 commands:51 errors:0 Features: 0xff 0xfe 0x2d 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF Link mode: SLAVE ACCEPT Name: '' Class: 0x001f00 Service Classes: Unspecified Device Class: Invalid Device Class! HCI Version: 4.0 (0x6) Revision: 0x0 LMP Version: 4.0 (0x6) Subversion: 0xac70 Manufacturer: Texas Instruments Inc. (13) root@phyBOARD-WEGA-AM335x:~ hcitool scan Scanning ... 34:80:B3:75:8C:35 Redmi 80:6C:1B:63:BC:9E Saranya Expected o/p : ~~~~~~~~~~~~~~ ************************************************************************************ barebox 2013.11.0-g1737a73 #1 Thu May 1 15:45:05 IST 2014 Board: Phytec phyBOARD-WEGA-AM335x omap-hsmmc omap4-hsmmc0: registered as omap4-hsmmc0 probe buswidth nand: ONFI param page 0 valid nand: ONFI flash detected nand: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron MT29F1G08ABADAH4), 128MiB, page size: 2048, OOB size: 64 booting from NAND barebox 2013.11.0-g1737a73 #2 Thu May 1 15:45:23 IST 2014 Board: Phytec phyBOARD-WEGA-AM335x omap-hsmmc omap4-hsmmc0: registered as omap4-hsmmc0 cpsw cpsw0: detected phy mask 0x3 mdio_bus: miibus0: probed eth0: got preset MAC address: 20:CD:39:FE:FB:83 i2c-omap i2c-am33xx0: bus 0 rev0.11 at 100 kHz probe buswidth nand: ONFI param page 0 valid nand: ONFI flash detected nand: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron MT29F1G08ABADAH4), 128MiB, page size: 2048, OOB size: 64 malloc space: 0x83ff4000 -> 0x87ff3fff (size 64 MiB) envfs: wrong magic on /dev/env0 no valid environment found on /dev/env0. Using default environment running /env/bin/init... Hit m for menu or any other key to stop autoboot: 0 booting nand... Image Name: Linux-3.2.0-PD13.0.0-g7539605 OS: Linux Architecture: ARM Type: Kernel Image Compression: uncompressed Data Size: 3047776 Bytes = 2.9 MiB Load Address: 80008000 Entry Point: 80008000 Loading OS U-Boot uImage '/dev/nand0.kernel.bb' commandline: console=ttyO1,115200 ip=192.168.1.11:192.168.1.68:192.168.1.1:255.255.255.0::eth0: root=ubi0:root ubi.mtd=nand0.ro ot,2048 rootfstype=ubifs da8xx_fb.panel_name=DVI_XGA mtdparts=omap2-nand.0:128k(nand0.xload),128k(nand0.xload_backup1),128k(na nd0.xload_backup2),128k(nand0.xload_backup3),512k(nand0.barebox)ro,128k(nand0.bareboxenv),8M(nand0.kernel),-(nand0.root) arch_number: 4144 [ 0.000000] Linux version 3.2.0-PD13.0.0-g7539605 (bhaskar@phytec) (gcc version 4.7.3 20121106 (prerelease) (OSELAS.Toolchai n-2012.12.1 linaro-4.7-2012.11) ) #66 Wed Aug 19 11:10:04 IST 2015 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: pcm051 [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] AM335X ES2.1 (sgx neon ) [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: console=ttyO1,115200 ip=192.168.1.11:192.168.1.68:192.168.1.1:255.255.255.0::eth0: root=ubi 0:root ubi.mtd=nand0.root,2048 rootfstype=ubifs da8xx_fb.panel_name=DVI_XGA mtdparts=omap2-nand.0:128k(nand0.xload),128k(nand0 .xload_backup1),128k(nand0.xload_backup2),128k(nand0.xload_backup3),512k(nand0.barebox)ro,128k(nand0.bareboxenv),8M(nand0.kerne l),-(nand0.root) [ 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: 512MB = 512MB total [ 0.000000] Memory: 513444k/513444k available, 10844k 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 : 0xe0800000 - 0xff000000 ( 488 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0559000 (5444 kB) [ 0.000000] .init : 0xc0559000 - 0xc0594000 ( 236 kB) [ 0.000000] .data : 0xc0594000 - 0xc05f5ea0 ( 392 kB) [ 0.000000] .bss : 0xc05f5ec4 - 0xc062766c ( 198 kB) [ 0.000000] NR_IRQS:396 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts [ 0.000000] Total of 128 interrupts on 1 active controller [ 0.000000] OMAP clockevent source: GPTIMER2 at 25000000 Hz [ 0.000000] OMAP clocksource: GPTIMER1 at 25000000 Hz [ 0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000225] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032) [ 0.058838] pid_max: default: 32768 minimum: 301 [ 0.058990] Security Framework initialized [ 0.059098] Mount-cache hash table entries: 512 [ 0.059521] CPU: Testing write buffer coherency: ok [ 0.060364] devtmpfs: initialized [ 0.080706] omap_hwmod: pruss: failed to hardreset [ 0.081919] print_constraints: dummy: [ 0.082323] NET: Registered protocol family 16 [ 0.084772] OMAP GPIO hardware version 0.1 [ 0.087819] omap_mux_init: Add partition: #1: core, flags: 0 [ 0.092250] d_can.1: alias fck already exists [ 0.092853] omap_hsmmc.0: alias fck already exists [ 0.093787] da8xx_lcdc.0: alias fck already exists [ 0.094585] omap_i2c.1: alias fck already exists [ 0.094920] davinci-mcasp.0: alias fck already exists [ 0.095473] omap2_mcspi.1: alias fck already exists [ 0.095738] omap2_mcspi.2: alias fck already exists [ 0.096042] edma.0: alias fck already exists [ 0.096066] edma.0: alias fck already exists [ 0.096088] edma.0: alias fck already exists [ 0.121149] bio: create slab at 0 [ 0.123456] SCSI subsystem initialized [ 0.125358] usbcore: registered new interface driver usbfs [ 0.125730] usbcore: registered new interface driver hub [ 0.125969] usbcore: registered new device driver usb [ 0.126134] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3 [ 0.126460] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1 [ 0.138927] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz [ 0.139956] tps65910 1-002d: JTAGREVNUM 0x1 [ 0.143172] print_constraints: VRTC: [ 0.144668] print_constraints: VIO: at 1500 mV [ 0.147032] print_constraints: VDD1: 600 <--> 1500 mV at 1100 mV normal [ 0.149348] print_constraints: VDD2: at 1100 mV [ 0.150400] print_constraints: VDD3: 5000 mV [ 0.151848] print_constraints: VDIG1: at 1800 mV [ 0.153325] print_constraints: VDIG2: at 1800 mV [ 0.154789] print_constraints: VPLL: at 1800 mV [ 0.156285] print_constraints: VDAC: at 1800 mV [ 0.157753] print_constraints: VAUX1: at 1800 mV [ 0.159239] print_constraints: VAUX2: at 3300 mV [ 0.160711] print_constraints: VAUX33: at 3300 mV [ 0.162189] print_constraints: VMMC: at 3300 mV [ 0.162523] tps65910 1-002d: No interrupt support, no core IRQ [ 0.164664] Advanced Linux Sound Architecture Driver Version 1.0.24. [ 0.166072] Switching to clocksource gp timer [ 0.187418] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) [ 0.187640] musb-hdrc musb-hdrc.0: dma type: pio [ 0.188019] MUSB0 controller's USBSS revision = 4ea20800 [ 0.188044] musb0: Enabled SW babble control [ 0.188718] musb-hdrc musb-hdrc.0: USB OTG mode controller at e083c000 using PIO, IRQ 18 [ 0.188904] musb-hdrc musb-hdrc.1: dma type: pio [ 0.189227] MUSB1 controller's USBSS revision = 4ea20800 [ 0.189247] musb1: Enabled SW babble control [ 0.189392] musb-hdrc musb-hdrc.1: MUSB HDRC host driver [ 0.189473] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1 [ 0.189620] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.189637] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.189651] usb usb1: Product: MUSB HDRC host driver [ 0.189664] usb usb1: Manufacturer: Linux 3.2.0-PD13.0.0-g7539605 musb-hcd [ 0.189677] usb usb1: SerialNumber: musb-hdrc.1 [ 0.190636] hub 1-0:1.0: USB hub found [ 0.190674] hub 1-0:1.0: 1 port detected [ 0.191345] musb-hdrc musb-hdrc.1: USB Host mode controller at e083e800 using PIO, IRQ 19 [ 0.191836] NET: Registered protocol family 2 [ 0.192052] IP route cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.192387] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.192739] TCP bind hash table entries: 16384 (order: 4, 65536 bytes) [ 0.192947] TCP: Hash tables configured (established 16384 bind 16384) [ 0.192961] TCP reno registered [ 0.192976] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.193003] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.193232] NET: Registered protocol family 1 [ 0.193521] RPC: Registered named UNIX socket transport module. [ 0.193537] RPC: Registered udp transport module. [ 0.193547] RPC: Registered tcp transport module. [ 0.193556] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.193814] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.194046] omap-gpmc omap-gpmc: GPMC revision 6.0 [ 0.194066] Registering NAND on CS0 [ 0.215973] VFS: Disk quotas dquot_6.5.2 [ 0.216047] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.216703] JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc. [ 0.217045] msgmni has been set to 1002 [ 0.217915] io scheduler noop registered [ 0.217929] io scheduler deadline registered [ 0.217999] io scheduler cfq registered (default) [ 0.220789] da8xx_lcdc da8xx_lcdc.0: GLCD: Found DVI_XGA panel [ 0.252943] Console: switching to colour frame buffer device 128x48 [ 0.271543] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.273667] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0 [ 0.274211] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1 [ 1.002531] console [ttyO1] enabled [ 1.006966] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2 [ 1.014903] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3 [ 1.022857] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4 [ 1.030789] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5 [ 1.050600] brd: module loaded [ 1.060152] loop: module loaded [ 1.063674] i2c-core: driver [tsl2550] using legacy suspend method [ 1.070210] i2c-core: driver [tsl2550] using legacy resume method [ 1.076694] at24 1-0052: 4096 byte 24c32 EEPROM, writable, 32 bytes/write [ 1.087242] omap2-nand driver initializing [ 1.091886] ONFI flash detected [ 1.095280] ONFI param page 0 valid [ 1.099010] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron MT29F1G08ABADAH4) [ 1.107497] 8 cmdlinepart partitions found on MTD device omap2-nand.0 [ 1.114270] Creating 8 MTD partitions on "omap2-nand.0": [ 1.119878] 0x000000000000-0x000000020000 : "nand0.xload" [ 1.127549] 0x000000020000-0x000000040000 : "nand0.xload_backup1" [ 1.135614] 0x000000040000-0x000000060000 : "nand0.xload_backup2" [ 1.143755] 0x000000060000-0x000000080000 : "nand0.xload_backup3" [ 1.151926] 0x000000080000-0x000000100000 : "nand0.barebox" [ 1.159879] 0x000000100000-0x000000120000 : "nand0.bareboxenv" [ 1.167755] 0x000000120000-0x000000920000 : "nand0.kernel" [ 1.181823] 0x000000920000-0x000008000000 : "nand0.root" [ 1.288831] OneNAND driver initializing [ 1.293789] UBI: attaching mtd7 to ubi0 [ 1.297875] UBI: physical eraseblock size: 131072 bytes (128 KiB) [ 1.304453] UBI: logical eraseblock size: 126976 bytes [ 1.310136] UBI: smallest flash I/O unit: 2048 [ 1.315073] UBI: VID header offset: 2048 (aligned 2048) [ 1.321387] UBI: data offset: 4096 [ 1.855345] UBI: max. sequence number: 3 [ 1.868409] UBI: attached mtd7 to ubi0 [ 1.872354] UBI: MTD device name: "nand0.root" [ 1.878060] UBI: MTD device size: 118 MiB [ 1.883278] UBI: number of good PEBs: 939 [ 1.888134] UBI: number of bad PEBs: 12 [ 1.892882] UBI: number of corrupted PEBs: 0 [ 1.897553] UBI: max. allowed volumes: 128 [ 1.902402] UBI: wear-leveling threshold: 4096 [ 1.907348] UBI: number of internal volumes: 1 [ 1.912011] UBI: number of user volumes: 1 [ 1.916682] UBI: available PEBs: 17 [ 1.921432] UBI: total number of reserved PEBs: 922 [ 1.926574] UBI: number of PEBs reserved for bad PEB handling: 9 [ 1.932894] UBI: max/mean erase counter: 1/0 [ 1.937391] UBI: image sequence number: 960913620 [ 1.942555] UBI: background thread "ubi_bgt0d" started, PID 533 [ 1.949572] CAN device driver interface [ 1.953601] CAN bus driver for Bosch D_CAN controller 1.0 [ 1.960277] d_can d_can.1: device registered (irq=55, irq_obj=56) [ 2.016129] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6 [ 2.022633] davinci_mdio davinci_mdio.0: detected phy mask fffffffc [ 2.030679] davinci_mdio.0: probed [ 2.034259] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720 [ 2.042884] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver SMSC LAN8710/LAN8720 [ 2.051971] usbcore: registered new interface driver cdc_ether [ 2.058319] usbcore: registered new interface driver cdc_subset [ 2.064592] Initializing USB Mass Storage driver... [ 2.070021] usbcore: registered new interface driver usb-storage [ 2.076361] USB Mass Storage support registered. [ 2.081655] usbcore: registered new interface driver usbserial [ 2.087807] usbserial: USB Serial Driver core [ 2.093101] mousedev: PS/2 mouse device common for all mice [ 2.100117] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input0 [ 2.108660] rtc-m41t80 1-0068: chip found, driver version 0.05 [ 2.116427] rtc-m41t80 1-0068: rtc core: registered rv4162c7 as rtc0 [ 2.124703] i2c /dev entries driver [ 2.129288] lirc_dev: IR Remote Control driver registered, major 251 [ 2.136075] IR NEC protocol handler initialized [ 2.140857] IR RC5(x) protocol handler initialized [ 2.145887] IR RC6 protocol handler initialized [ 2.150656] IR JVC protocol handler initialized [ 2.155410] IR Sony protocol handler initialized [ 2.160264] IR RC5 (streamzap) protocol handler initialized [ 2.166125] IR MCE Keyboard/mouse protocol handler initialized [ 2.172245] IR LIRC bridge handler initialized [ 2.176911] Linux video capture interface: v2.00 [ 2.182168] usbcore: registered new interface driver uvcvideo [ 2.188226] USB Video Class driver (1.1.1) [ 2.207895] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 2.216748] cpuidle: using governor ladder [ 2.221658] cpuidle: using governor menu [ 2.300943] usbcore: registered new interface driver usbhid [ 2.306842] usbhid: USB HID core driver [ 2.313538] _regulator_get: 1-0018 supply IOVDD not found, using dummy regulator [ 2.321433] _regulator_get: 1-0018 supply DVDD not found, using dummy regulator [ 2.329191] _regulator_get: 1-0018 supply AVDD not found, using dummy regulator [ 2.336935] _regulator_get: 1-0018 supply DRVDD not found, using dummy regulator [ 2.348311] asoc: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok [ 2.356501] ALSA device list: [ 2.359637] #0: PCM051 [ 2.362292] oprofile: hardware counters not available [ 2.367619] oprofile: using timer interrupt. [ 2.372138] nf_conntrack version 0.5.0 (8022 buckets, 32088 max) [ 2.379125] ip_tables: (C) 2000-2006 Netfilter Core Team [ 2.384852] TCP cubic registered [ 2.388282] NET: Registered protocol family 17 [ 2.392966] can: controller area network core (rev 20090105 abi 8) [ 2.399608] NET: Registered protocol family 29 [ 2.404303] can: raw protocol (rev 20090105) [ 2.408805] can: broadcast manager protocol (rev 20090105 t) [ 2.414789] Registering the dns_resolver key type [ 2.419844] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 2.427913] ThumbEE CPU extension supported. [ 2.433272] Power Management for AM33XX family [ 2.445035] Detected MACID=20:cd:39:fe:fb:83 [ 2.450833] cpsw: Detected MACID = 20:cd:39:fe:fb:85 [ 2.458890] rtc-m41t80 1-0068: setting system clock to 2015-08-19 00:20:49 UTC (1439943649) [ 2.474682] net eth0: CPSW phy found : id is : 0x7c0f1 ------------------------------------------------------------------------------------------------------------------------- [ 2.485397] mmc0: card claims to support voltages below the defined range. These will be ignored. [ 2.505505] mmc0: queuing unknown CIS tuple 0x91 (3 bytes) [ 2.511930] mmc0: new high speed SDIO card at address 0001 ------------------------------------------------------------------------------------------------------------------------- [ 3.496532] IP-Config: Complete: [ 3.499939] device=eth0, addr=192.168.1.11, mask=255.255.255.0, gw=192.168.1.1, [ 3.507859] host=192.168.1.11, domain=, nis-domain=(none), [ 3.514077] bootserver=192.168.1.68, rootserver=192.168.1.68, rootpath= [ 3.621569] UBIFS: mounted UBI device 0, volume 0, name "root" [ 3.627770] UBIFS: file system size: 114024448 bytes (111352 KiB, 108 MiB, 898 LEBs) [ 3.636071] UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs) [ 3.643746] UBIFS: media format: w4/r0 (latest is w4/r0) [ 3.649870] UBIFS: default compressor: lzo [ 3.654183] UBIFS: reserved for root: 0 bytes (0 KiB) [ 3.661607] VFS: Mounted root (ubifs filesystem) on device 0:14. [ 3.669319] devtmpfs: mounted [ 3.673238] Freeing init memory: 236K init started: BusyBox v1.20.2 (2015-02-06 14:55:44 IST) starting pid 632, tty '/dev/console': '/etc/init.d/rcS' mounting filesystems...done. running rc.d services... starting udev creating static nodes starting udevd...done [ 4.121301] udevd[647]: starting version 182 waiting for devices...done syslogd starting klogd starting crond starting Starting system message bus: dbus. starting sshd...done Starting telnetd... restoring mixer state.../usr/sbin/alsactl: parse:1655: Unable to open file '/usr/share/alsa/init/00main': No such file or direc tory done starting network interfaces... RTNETLINK answers: File exists [ 5.423812] net eth1: CPSW phy found : id is : 0x7c0f1 [ 5.456355] d_can d_can.1: can0: setting CAN BT = 0x209 [ 5.467029] PHY: 0:00 - Link is Up - 100/Full [ 5.752181] Disabling lock debugging due to kernel taint [ 5.764084] compat-drivers backport release: ol_r8.a8.04_32 [ 5.770006] Backport based on wl18xx.git ol_r8.a8.10_32 [ 5.775471] compat.git: wl18xx.git [ 6.318160] cfg80211: Calling CRDA to update world regulatory domain lighttpd: starting [ 8.510171] wlcore: wl18xx driver version: lighttpd: done /usr/sbin/pure-ftpd pure-ftpd: starting pure-ftpd: /usr/sbin/pure-ftpd /usr/sbin/pure-uploadscript pure-ftpd: starting upload helper daemon... done starting inetd...done loading modules Module pvrsrvkm failed to load. Retrying. Running /sbin/depmod --------------------------------------------------------------------------------------- [ 8.917041] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11) [ 8.967766] wlcore: loaded --------------------------------------------------------------------------------------- [ 8.970660] wlcore: driver version: [ 8.974409] wlcore: compilation time: Tue Aug 18 19:53:25 2015 starting pid 808, tty '/dev/console': '/sbin/getty -L 115200 ttyO1 vt100' ____ _ ___ _______ _____ ____ | _ `| | | ` ` / /_ _| ____/ ___| | |_) | |_| |` V / | | | _|| | | __/| _ | | | | | | |__| |___ |_| |_| |_| |_| |_| |_____`____| _ ____ ___ _ ____ ____ __ _______ ____ _ __ | |__ _ _| __ ) / _ ` / ` | _ `| _ ` ` ` / / ____/ ___| | '_ `| '_ `| | | | _ `| | | |/ _ ` | |_) | | | |____` ` /` / /| _|| | _ | |_) | | | | |_| | |_) | |_| / ___ `| _ <| |_| |_____` V V / | |__| |_| | | .__/|_| |_|`__, |____/ `___/_/ `_`_| `_`____/ `_/`_/ |_____`____| |_| |___/ _ _ __ __ ______________ / ` / ` | `/ |___ /___ / ___|_ __ / _ ` _____ / _ ` | |`/| | |_ ` |_ `___ ` `/ / / ___ `_____/ ___ `| | | |___) |__) |__) > < /_/ `_` /_/ `_`_| |_|____/____/____/_/`_` OSELAS(R)-phyBOARD-WEGA-AM335x-PD13.0.0 / phyBOARD-WEGA-AM335x-PD13.0.0 ptxdist-2013.01.0/2014-04-18T12:24:54+0530 phyBOARD-WEGA-AM335x login: root root@phyBOARD-WEGA-AM335x:~ iwconfig lo no wireless extensions. eth1 no wireless extensions. wlan0 IEEE 802.11abgn ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:on eth0 no wireless extensions. can0 no wireless extensions. root@phyBOARD-WEGA-AM335x:~ iwconfig wlan0 wlan0 IEEE 802.11abgn ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:on root@phyBOARD-WEGA-AM335x:~ root@phyBOARD-WEGA-AM335x:~ ifconfig wlan0 wlan0 Link encap:Ethernet HWaddr 00:01:33:88:44:72 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) root@phyBOARD-WEGA-AM335x:~ sh /etc/init.d/wifi connect [ 298.093304] wlcore: PHY firmware version: Rev 8.2.0.0.195 [ 298.202427] wlcore: firmware booted (Rev 8.8.0.0.13) udhcpc (v1.20.2) started Sending discover... [ 302.433229] wlan0: authenticate with cc:b2:55:d1:98:b7 [ 302.444215] wlan0: send auth to cc:b2:55:d1:98:b7 (try 1/3) [ 302.476221] wlan0: authenticated [ 302.486616] wlan0: associate with cc:b2:55:d1:98:b7 (try 1/3) [ 302.596195] wlan0: RX AssocResp from cc:b2:55:d1:98:b7 (capab=0x411 status=0 aid=29) [ 302.616721] wlcore: Association completed. [ 302.623902] wlan0: associated Sending discover... Sending discover... Sending select for 192.168.2.37... Lease of 192.168.2.37 obtained, lease time 86400 deleting routers route: SIOCDELRT: No such process adding dns 192.168.2.1 root@phyBOARD-WEGA-AM335x:~ ping www.google.com -I wlan0 -c 10 PING www.google.com (216.58.220.36): 56 data bytes 64 bytes from 216.58.220.36: seq=0 ttl=54 time=18.166 ms 64 bytes from 216.58.220.36: seq=1 ttl=54 time=46.586 ms 64 bytes from 216.58.220.36: seq=2 ttl=54 time=15.024 ms 64 bytes from 216.58.220.36: seq=3 ttl=54 time=20.003 ms 64 bytes from 216.58.220.36: seq=4 ttl=54 time=16.374 ms 64 bytes from 216.58.220.36: seq=5 ttl=54 time=19.111 ms 64 bytes from 216.58.220.36: seq=6 ttl=54 time=29.032 ms 64 bytes from 216.58.220.36: seq=7 ttl=54 time=21.880 ms 64 bytes from 216.58.220.36: seq=8 ttl=54 time=28.201 ms 64 bytes from 216.58.220.36: seq=9 ttl=54 time=17.867 ms --- www.google.com ping statistics --- 10 packets transmitted, 10 packets received, 0% packet loss round-trip min/avg/max = 15.024/23.224/46.586 ms root@phyBOARD-WEGA-AM335x:~ iwconfig wlan0 wlan0 IEEE 802.11abgn ESSID:"PHYTEC" Mode:Managed Frequency:2.412 GHz Access Point: CC:B2:55:D1:98:B7 Bit Rate=1 Mb/s Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:on Link Quality=70/70 Signal level=-36 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:1 Missed beacon:0 root@phyBOARD-WEGA-AM335x:~ root@am335x-evm:~# hciconfig -a hci0: Type: BR/EDR Bus: UART BD Address: 5C:31:3E:DD:DE:57 ACL MTU: 1021:6 SCO MTU: 180:4 UP RUNNING RX bytes:1094 acl:0 sco:0 events:54 errors:0 TX bytes:822 acl:0 sco:0 commands:51 errors:0 Features: 0xff 0xfe 0x2d 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF Link mode: SLAVE ACCEPT Name: '' Class: 0x001f00 Service Classes: Unspecified Device Class: Invalid Device Class! HCI Version: 4.0 (0x6) Revision: 0x0 LMP Version: 4.0 (0x6) Subversion: 0xac70 Manufacturer: Texas Instruments Inc. (13) root@am335x-evm:~# hcitool scan Scanning ... 34:80:B3:75:8C:35 Redmi 80:6C:1B:63:BC:9E Saranya *******************************************************************************************************