1Ganesh KJul 29, 2020Please go to below link to test the wifi : https://developer.ruggedboard.com/g1-getting-started/test-all-the-rb-interfaces-in-10-mins
1Subhrajit SharmaJul 29, 2020Successfully initialized wpa_supplicantCould not read interface wlan0 flags: No such devicenl80211: Driver does not support authentication/association or connect commandsnl80211: deinit ifname=wlan0 disabled_11b_rates=0Could not read interface wlan0 flags: No such devicewlan0: Failed to initialize driver interface
1Subhrajit SharmaJul 29, 2020The above log i received after wpa_supplicant -B -Dnl80211 -i wlan0 -c /mnt/wpa_supplicant.conf command
1Subhrajit SharmaJul 29, 2020root@ruggedboard-a5d2x:~# mount /dev/mmcblk1p1 /mnt FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt.root@ruggedboard-a5d2x:~# cdmmcblk1: error -84 transferring data, sector 1496780 / root@ruggedboard-a5d2x:/# root@ruggedboard-a5d2x:/# root@ruggedboard-a5d2x:/# root@ruggedboard-a5d2x:/# root@ruggedboard-a5d2x:/# root@ruggedboard-a5d2x:/# root@ruggedboard-a5d2x:/# root@ruggedboard-a5d2x:/# cd /mnt root@ruggedboard-a5d2x:/mnt# ls a5d2x-rugged_board.dtb u-boot.bin zImage boot.bin wifi-readme.txt root@ruggedboard-a5d2x:/mnt# cd /dmmcblk1: error -84 transferring data, sector 0ammcblk1: error -84 transferring data, sector 14968008, nr 56, cmd response 0x90ta root@ruggedboard-a5d2x:/data# ls root@ruggedboard-a5d2x:/data# mmcblk1: error -84 transferring data, sector 14960mmcblk1: error -84 transferring data, sector 14968144, nr 32, cmd response 0x900mmcblk1: error -84 transferring data, sector 2115592, nr 8, cmd response 0x900,0
1Subhrajit SharmaJul 29, 2020ruggedboard-a5d2x login: root -sh: command: not found root@ruggedboard-a5d2x:~# mmcblk1: error -84 transferring data, sector 149677280 root@ruggedboard-a5d2x:~# mount /dev/mmcblk1p1 /mnt FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt.root@ruggedboard-a5d2x:~# cd /mnt root@ruggedboard-a5d2x:/mnt# modprobe wilc-sdio modprobe: can't change directory to '4.9.151-linux4sam_5.8+-04823-gab4590e': Noyroot@ruggedboard-a5d2x:/mnt# cd root@ruggedboard-a5d2x:~# mmcblk1: error -84 transferring data, sector 2122944,0modprobe wilc-sdio modprobe: can't change directory to '4.9.151-linux4sam_5.8+-04823-gab4590e': Noyroot@ruggedboard-a5d2x:~# modprobe wilc-sdio modprobe: can't change directory to '4.9.151-linux4sam_5.8+-04823-gab4590e': Noyroot@ruggedboard-a5d2x:~# mmcblk1: error -84 transferring data, sector 149680720
Subhrajit SharmaJul 29, 2020modprobe wilc-sdioUsing this command it is not allowing to change the Directory
1Subhrajit SharmaJul 30, 2020root@ruggedboard-a5d2x:/data# <debug_uart> U-Boot 2018.07-linux4sam_6.0-00028-g208d9c9 (Feb 19 2020 - 18:15:05 +0530) CPU: SAMA5D27 512M bits DDR2 SDRAM Crystal frequency: 24 MHz CPU clock : 492 MHz Master clock : 164 MHz DRAM: 64 MiB MMC: sdio-host@a0000000: 0, sdio-host@b0000000: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment Failed (-5) In: serial@f8020000 Out: serial@f8020000 Err: serial@f8020000 Net: eth0: ethernet@f8008000 Hit any key to stop autoboot: 0 33754 bytes read in 17 ms (1.9 MiB/s) 4092704 bytes read in 267 ms (14.6 MiB/s) ## Flattened Device Tree blob at 21000000 Booting using the fdt blob at 0x21000000 Loading Device Tree to 23b49000, end 23b543d9 ... OK Starting kernel ... Booting Linux on physical CPU 0x0 Linux version 4.9.151-linux4sam_5.8+-04821-g708ed45-dirty (prasanth@phytec1) (g0CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache OF: fdt:Machine model: RUGGED BOARD A5D2X cma: Failed to reserve 64 MiB Memory policy: Data cache writeback CPU: All CPU(s) started in SVC mode. Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16240 Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk1p2 rw rotPID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 54008K/65536K available (7168K kernel code, 215K rwdata, 1168K rodata, )Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xc4800000 - 0xff800000 ( 944 MB) lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc0800000 (8160 kB) .init : 0xc0a00000 - 0xc0b00000 (1024 kB) .data : 0xc0b00000 - 0xc0b35d08 ( 216 kB) .bss : 0xc0b35d08 - 0xc0b6cf48 ( 221 kB) NR_IRQS:16 nr_irqs:16 16 L2C-310 ID prefetch enabled, offset 2 lines L2C-310 dynamic clock gating enabled, standby mode enabled L2C-310 cache controller enabled, 8 ways, 128 kB L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x36020000 clocksource: pit: mask: 0x7ffffff max_cycles: 0x7ffffff, max_idle_ns: 116540270ssched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 214748364750sConsole: colour dummy device 80x30 Calibrating delay loop... 326.86 BogoMIPS (lpj=1634304) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) CPU: Testing write buffer coherency: ok Setting up static identity map for 0x20100000 - 0x20100058 devtmpfs: initialized VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1 clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 191sfutex hash table entries: 256 (order: -1, 3072 bytes) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations cpuidle: using governor menu AT91: PM: standby: standby, suspend: ulp0 clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: sat_xdmac f0010000.dma-controller: 16 channels, mapped at 0xc4883000 at_xdmac f0004000.dma-controller: 16 channels, mapped at 0xc4885000 AT91: Detected SoC family: sama5d2 AT91: Detected SoC: sama5d27c 64MB SiP, revision 2 VDDANA: supplied by VDDIN_3V3 advref: supplied by VDDANA SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb at91_i2c f8028000.i2c: could not find pctldev for node /ahb/apb/pinctrl@fc03800emedia: Linux media interface: v0.10 Linux video capture interface: v2.00 Advanced Linux Sound Architecture Driver Initialized. Bluetooth: Core ver 2.22 NET: Registered protocol family 31 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Bluetooth: L2CAP socket layer initialized Bluetooth: SCO socket layer initialized clocksource: Switched to clocksource tcb_clksrc NET: Registered protocol family 2 TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. workingset: timestamp_bits=14 max_order=14 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher jffs2: version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc. JFS: nTxBlock = 421, nTxLock = 3375 io scheduler noop registered (default) pinctrl-at91-pio4 fc038000.pinctrl: atmel pinctrl initialized [drm] Initialized brd: module loaded loop: module loaded pn54x_dev_init atmel_usart_serial.0.auto: ttyS1 at MMIO 0xf801c000 (irq = 33, base_baud = 5125Latmel_usart_serial.1.auto: ttyS0 at MMIO 0xf8020000 (irq = 34, base_baud = 5125Lconsole [ttyS0] enabled atmel_usart_serial.2.auto: ttyS2 at MMIO 0xf8024000 (irq = 35, base_baud = 5125Latmel_usart_serial.3.auto: ttyS3 at MMIO 0xfc008000 (irq = 39, base_baud = 5125Latmel_usart_serial.4.auto: ttyS4 at MMIO 0xfc00c000 (irq = 40, base_baud = 5125Latmel_qspi f0024000.spi: mx25l25645g (32768 Kbytes) 7 ofpart partitions found on MTD device f0024000.spi Creating 7 MTD partitions on "f0024000.spi": 0x000000000000-0x000000006000 : "at91bootstrap" 0x000000006000-0x000000016000 : "bootloader env" 0x000000016000-0x000000096000 : "bootloader" 0x000000096000-0x0000000a6000 : "device tree" 0x0000000a6000-0x0000005a6000 : "kernel" 0x0000005a6000-0x0000019a6000 : "rootfs" 0x0000019a6000-0x000002000000 : "data" atmel_spi fc018400.spi: DMA TX channel not available, SPI unable to use DMA atmel_spi fc018400.spi: Atmel SPI Controller using PIO only atmel_spi fc018400.spi: Using FIFO (16 data) atmel_spi fc018400.spi: Atmel SPI Controller version 0x311 at 0xfc018400 (irq 1)libphy: Fixed MDIO Bus: probed CAN device driver interface m_can fc050000.can: m_can device registered (irq=48, version=31) libphy: MACB_mii_bus: probed random: fast init done Micrel KSZ8081 or KSZ8091 f8008000.ethernet-ffffffff:07: attached PHY driver [M)macb f8008000.ethernet eth0: Cadence GEM rev 0x00020203 at 0xf8008000 irq 28 (0)ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-atmel: EHCI Atmel driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci-atmel: OHCI Atmel driver at91_ohci 400000.ohci: USB Host Controller at91_ohci 400000.ohci: new USB bus registered, assigned bus number 1 at91_ohci 400000.ohci: irq 18, io mem 0x00400000 usb usb1: New USB device found, idVendor=1d6b, idProduct=0001 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: USB Host Controller usb usb1: Manufacturer: Linux 4.9.151-linux4sam_5.8+-04821-g708ed45-dirty ohci_dusb usb1: SerialNumber: at91 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected usbcore: registered new interface driver cdc_acm cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters usbcore: registered new interface driver usb-storage usbcore: registered new interface driver usbserial usbcore: registered new interface driver usbserial_generic usbserial: USB Serial support registered for generic usbcore: registered new interface driver ftdi_sio usbserial: USB Serial support registered for FTDI USB Serial Device usbcore: registered new interface driver option usbserial: USB Serial support registered for GSM modem (1-port) usbcore: registered new interface driver pl2303 usbserial: USB Serial support registered for pl2303 usbcore: registered new interface driver qcaux usbserial: USB Serial support registered for qcaux usbcore: registered new interface driver qcserial usbserial: USB Serial support registered for Qualcomm USB modem rtc rtc0: invalid alarm value: 1900-1-1 0:0:0 at91_rtc f80480b0.rtc: rtc core: registered f80480b0.rtc as rtc0 at91_rtc f80480b0.rtc: AT91 Real Time Clock driver. i2c /dev entries driver AT91: Starting after general reset sama5d4_wdt f8048040.watchdog: initialized (timeout = 16 sec, nowayout = 0) usbcore: registered new interface driver bfusb usbcore: registered new interface driver btusb sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper sdhci-at91 a0000000.sdio-host: update clk mul to 39 as gck rate is 480000000 Hz mmc0: SDHCI controller on a0000000.sdio-host [a0000000.sdio-host] using ADMA sdhci-at91 b0000000.sdio-host: update clk mul to 39 as gck rate is 480000000 Hz mmc1: SDHCI controller on b0000000.sdio-host [b0000000.sdio-host] using ADMA ledtrig-cpu: registered to indicate activity on CPUs atmel_aes f002c000.aes: version: 0x500 atmel_aes f002c000.aes: Atmel AES - Using dma0chan0, dma0chan1 for DMA transfersatmel_sha f0028000.sha: version: 0x510 atmel_sha f0028000.sha: using dma0chan2 for DMA transfers atmel_sha f0028000.sha: Atmel SHA1/SHA256/SHA224/SHA384/SHA512 atmel_tdes fc044000.tdes: version: 0x703 atmel_tdes fc044000.tdes: using dma0chan3, dma0chan4 for DMA transfers atmel_tdes fc044000.tdes: Atmel DES/TDES usbcore: registered new interface driver usbhid usbhid: USB HID core driver at91-sama5d2_adc fc030000.adc: setting up trigger as external_rising at91-sama5d2_adc fc030000.adc: version: 800 NET: Registered protocol family 10 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered protocol family 17 can: controller area network core (rev 20120528 abi 9) NET: Registered protocol family 29 can: raw protocol (rev 20120528) can: broadcast manager protocol (rev 20161123 t) can: netlink gateway (rev 20130117) max_hops=1 Bluetooth: HIDP (Human Interface Emulation) ver 1.2 Bluetooth: HIDP socket layer initialized at91_i2c f8028000.i2c: can't get DMA channel, continue without DMA support at91_i2c f8028000.i2c: Using FIFO (16 data) at24 0-0050: 256 byte 24c02 EEPROM, writable, 8 bytes/write at91_i2c f8028000.i2c: AT91 i2c bus driver (hw version: 0x704). at91_rtc f80480b0.rtc: setting system clock to 2012-01-01 00:00:09 UTC (1325376)ALSA device list: No soundcards found. mmc1: new high speed SDHC card at address aaaa atmel_usart_serial atmel_usart_serial.1.auto: using dma0chan5 for rx DMA transfsatmel_usart_serial atmel_usart_serial.1.auto: using dma0chan6 for tx DMA transfsmmcblk1: mmc1:aaaa SL16G 14.8 GiB mmcblk1: p1 p2 EXT4-fs (mmcblk1p2): couldn't mount as ext3 due to feature incompatibilities EXT4-fs (mmcblk1p2): couldn't mount as ext2 due to feature incompatibilities EXT4-fs (mmcblk1p2): recovery complete EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:2. devtmpfs: mounted Freeing unused kernel memory: 1024K starting pid 116, tty '': '/bin/mount -t proc proc /proc' starting pid 117, tty '': '/bin/mount -t sysfs sysfs /sys' starting pid 118, tty '': '/bin/mount -t devtmpfs devtmpfs /dev' mount: mounting devtmpfs on /dev failed: Resource busy starting pid 119, tty '': '/bin/mount -o remount,rw /' EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered starting pid 120, tty '': '/bin/mkdir -p /dev/pts' starting pid 121, tty '': '/bin/mount -t devpts devpts /dev/pts' ctrl_interface=/var/run/wpa_supplicantctrl_interface_group=0update_config=1 network={ ssid="SN8" proto=WPA2 key_mgmt=WPA-PSK psk="cool@4689" }~~~~~~~~~~~~~root@ruggedboard-a5d2x:~# wpa_supplicant -B -Dnl80211 -i wlan0 -c /mnt/wpa_supplicant.conf Successfully initialized wpa_supplicant Could not read interface wlan0 flags: No such device nl80211: Driver does not support authentication/association or connect commands nl80211: deinit ifname=wlan0 disabled_11b_rates=0 Could not read interface wlan0 flags: No such device wlan0: Failed to initialize driver interface root@ruggedboard-a5d2x:~# udhcpc -i wlan0 udhcpc: SIOCGIFINDEX: No such device root@ruggedboard-a5d2x:~# udhcpc -i wlan0 up udhcpc: SIOCGIFINDEX: No such device root@ruggedboard-a5d2x:~# random: crng init done root@ruggedboard-a5d2x:~# ping google.com ping: bad address 'google.com' root@ruggedboard-a5d2x:~# dmesg | grep mmc Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk1p2 rw rotmmc0: SDHCI controller on a0000000.sdio-host [a0000000.sdio-host] using ADMA mmc1: SDHCI controller on b0000000.sdio-host [b0000000.sdio-host] using ADMA mmc1: new high speed SDHC card at address aaaa mmcblk1: mmc1:aaaa SL16G 14.8 GiB mmcblk1: p1 p2 EXT4-fs (mmcblk1p2): couldn't mount as ext3 due to feature incompatibilities EXT4-fs (mmcblk1p2): couldn't mount as ext2 due to feature incompatibilities EXT4-fs (mmcblk1p2): recovery complete EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt.root@ruggedboard-a5d2x:~# modprobe wilc-sdio modprobe: can't change directory to '4.9.151-linux4sam_5.8+-04821-g708ed45-dirtyroot@ruggedboard-a5d2x:~# ifconfig root@ruggedboard-a5d2x:~#
1Subhrajit SharmaJul 30, 2020 · Edited: Nov 4, 2020Hi Ganesh Thanks For your Solution now i am able to use wifi module
Please go to below link to test the wifi : https://developer.ruggedboard.com/g1-getting-started/test-all-the-rb-interfaces-in-10-mins
Successfully initialized wpa_supplicant
Could not read interface wlan0 flags: No such device
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Could not read interface wlan0 flags: No such device
wlan0: Failed to initialize driver interface
can you share the total bootlog and error log.
The above log i received after wpa_supplicant -B -Dnl80211 -i wlan0 -c /mnt/wpa_supplicant.conf command
please share total bootlog of rugged board
booting from NOR or SD Card?
SD Card
root@ruggedboard-a5d2x:~# mount /dev/mmcblk1p1 /mnt
FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt.
root@ruggedboard-a5d2x:~# cdmmcblk1: error -84 transferring data, sector 1496780
/
root@ruggedboard-a5d2x:/#
root@ruggedboard-a5d2x:/#
root@ruggedboard-a5d2x:/#
root@ruggedboard-a5d2x:/#
root@ruggedboard-a5d2x:/#
root@ruggedboard-a5d2x:/#
root@ruggedboard-a5d2x:/#
root@ruggedboard-a5d2x:/# cd /mnt
root@ruggedboard-a5d2x:/mnt# ls
a5d2x-rugged_board.dtb u-boot.bin zImage
boot.bin wifi-readme.txt
root@ruggedboard-a5d2x:/mnt# cd /dmmcblk1: error -84 transferring data, sector 0
ammcblk1: error -84 transferring data, sector 14968008, nr 56, cmd response 0x90
ta
root@ruggedboard-a5d2x:/data# ls
root@ruggedboard-a5d2x:/data# mmcblk1: error -84 transferring data, sector 14960
mmcblk1: error -84 transferring data, sector 14968144, nr 32, cmd response 0x900
mmcblk1: error -84 transferring data, sector 2115592, nr 8, cmd response 0x900,0
Automatically Some errors are coming after booting
Please once partition the sdcard again and do the same
Still it is showing the Same Error
ruggedboard-a5d2x login: root
-sh: command: not found
root@ruggedboard-a5d2x:~# mmcblk1: error -84 transferring data, sector 149677280
root@ruggedboard-a5d2x:~# mount /dev/mmcblk1p1 /mnt
FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt.
root@ruggedboard-a5d2x:~# cd /mnt
root@ruggedboard-a5d2x:/mnt# modprobe wilc-sdio
modprobe: can't change directory to '4.9.151-linux4sam_5.8+-04823-gab4590e': Noy
root@ruggedboard-a5d2x:/mnt# cd
root@ruggedboard-a5d2x:~# mmcblk1: error -84 transferring data, sector 2122944,0
modprobe wilc-sdio
modprobe: can't change directory to '4.9.151-linux4sam_5.8+-04823-gab4590e': Noy
root@ruggedboard-a5d2x:~# modprobe wilc-sdio
modprobe: can't change directory to '4.9.151-linux4sam_5.8+-04823-gab4590e': Noy
root@ruggedboard-a5d2x:~# mmcblk1: error -84 transferring data, sector 149680720
Once flash with your old images
ok
modprobe wilc-sdio
Using this command it is not allowing to change the Directory
Share the logs from starting
root@ruggedboard-a5d2x:/data# <debug_uart>
U-Boot 2018.07-linux4sam_6.0-00028-g208d9c9 (Feb 19 2020 - 18:15:05 +0530)
CPU: SAMA5D27 512M bits DDR2 SDRAM
Crystal frequency: 24 MHz
CPU clock : 492 MHz
Master clock : 164 MHz
DRAM: 64 MiB
MMC: sdio-host@a0000000: 0, sdio-host@b0000000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
Failed (-5)
In: serial@f8020000
Out: serial@f8020000
Err: serial@f8020000
Net: eth0: ethernet@f8008000
Hit any key to stop autoboot: 0
33754 bytes read in 17 ms (1.9 MiB/s)
4092704 bytes read in 267 ms (14.6 MiB/s)
## Flattened Device Tree blob at 21000000
Booting using the fdt blob at 0x21000000
Loading Device Tree to 23b49000, end 23b543d9 ... OK
Starting kernel ...
Booting Linux on physical CPU 0x0
Linux version 4.9.151-linux4sam_5.8+-04821-g708ed45-dirty (prasanth@phytec1) (g0
CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt:Machine model: RUGGED BOARD A5D2X
cma: Failed to reserve 64 MiB
Memory policy: Data cache writeback
CPU: All CPU(s) started in SVC mode.
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16240
Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk1p2 rw rot
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 54008K/65536K available (7168K kernel code, 215K rwdata, 1168K rodata, )
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc4800000 - 0xff800000 ( 944 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc0800000 (8160 kB)
.init : 0xc0a00000 - 0xc0b00000 (1024 kB)
.data : 0xc0b00000 - 0xc0b35d08 ( 216 kB)
.bss : 0xc0b35d08 - 0xc0b6cf48 ( 221 kB)
NR_IRQS:16 nr_irqs:16 16
L2C-310 ID prefetch enabled, offset 2 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 128 kB
L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x36020000
clocksource: pit: mask: 0x7ffffff max_cycles: 0x7ffffff, max_idle_ns: 116540270s
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 214748364750s
Console: colour dummy device 80x30
Calibrating delay loop... 326.86 BogoMIPS (lpj=1634304)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x20100000 - 0x20100058
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 191s
futex hash table entries: 256 (order: -1, 3072 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor menu
AT91: PM: standby: standby, suspend: ulp0
clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: s
at_xdmac f0010000.dma-controller: 16 channels, mapped at 0xc4883000
at_xdmac f0004000.dma-controller: 16 channels, mapped at 0xc4885000
AT91: Detected SoC family: sama5d2
AT91: Detected SoC: sama5d27c 64MB SiP, revision 2
VDDANA: supplied by VDDIN_3V3
advref: supplied by VDDANA
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
at91_i2c f8028000.i2c: could not find pctldev for node /ahb/apb/pinctrl@fc03800e
media: Linux media interface: v0.10
Linux video capture interface: v2.00
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.22
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
clocksource: Switched to clocksource tcb_clksrc
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
workingset: timestamp_bits=14 max_order=14 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
JFS: nTxBlock = 421, nTxLock = 3375
io scheduler noop registered (default)
pinctrl-at91-pio4 fc038000.pinctrl: atmel pinctrl initialized
[drm] Initialized
brd: module loaded
loop: module loaded
pn54x_dev_init
atmel_usart_serial.0.auto: ttyS1 at MMIO 0xf801c000 (irq = 33, base_baud = 5125L
atmel_usart_serial.1.auto: ttyS0 at MMIO 0xf8020000 (irq = 34, base_baud = 5125L
console [ttyS0] enabled
atmel_usart_serial.2.auto: ttyS2 at MMIO 0xf8024000 (irq = 35, base_baud = 5125L
atmel_usart_serial.3.auto: ttyS3 at MMIO 0xfc008000 (irq = 39, base_baud = 5125L
atmel_usart_serial.4.auto: ttyS4 at MMIO 0xfc00c000 (irq = 40, base_baud = 5125L
atmel_qspi f0024000.spi: mx25l25645g (32768 Kbytes)
7 ofpart partitions found on MTD device f0024000.spi
Creating 7 MTD partitions on "f0024000.spi":
0x000000000000-0x000000006000 : "at91bootstrap"
0x000000006000-0x000000016000 : "bootloader env"
0x000000016000-0x000000096000 : "bootloader"
0x000000096000-0x0000000a6000 : "device tree"
0x0000000a6000-0x0000005a6000 : "kernel"
0x0000005a6000-0x0000019a6000 : "rootfs"
0x0000019a6000-0x000002000000 : "data"
atmel_spi fc018400.spi: DMA TX channel not available, SPI unable to use DMA
atmel_spi fc018400.spi: Atmel SPI Controller using PIO only
atmel_spi fc018400.spi: Using FIFO (16 data)
atmel_spi fc018400.spi: Atmel SPI Controller version 0x311 at 0xfc018400 (irq 1)
libphy: Fixed MDIO Bus: probed
CAN device driver interface
m_can fc050000.can: m_can device registered (irq=48, version=31)
libphy: MACB_mii_bus: probed
random: fast init done
Micrel KSZ8081 or KSZ8091 f8008000.ethernet-ffffffff:07: attached PHY driver [M)
macb f8008000.ethernet eth0: Cadence GEM rev 0x00020203 at 0xf8008000 irq 28 (0)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-atmel: EHCI Atmel driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-atmel: OHCI Atmel driver
at91_ohci 400000.ohci: USB Host Controller
at91_ohci 400000.ohci: new USB bus registered, assigned bus number 1
at91_ohci 400000.ohci: irq 18, io mem 0x00400000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: USB Host Controller
usb usb1: Manufacturer: Linux 4.9.151-linux4sam_5.8+-04821-g708ed45-dirty ohci_d
usb usb1: SerialNumber: at91
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver ftdi_sio
usbserial: USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver option
usbserial: USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver pl2303
usbserial: USB Serial support registered for pl2303
usbcore: registered new interface driver qcaux
usbserial: USB Serial support registered for qcaux
usbcore: registered new interface driver qcserial
usbserial: USB Serial support registered for Qualcomm USB modem
rtc rtc0: invalid alarm value: 1900-1-1 0:0:0
at91_rtc f80480b0.rtc: rtc core: registered f80480b0.rtc as rtc0
at91_rtc f80480b0.rtc: AT91 Real Time Clock driver.
i2c /dev entries driver
AT91: Starting after general reset
sama5d4_wdt f8048040.watchdog: initialized (timeout = 16 sec, nowayout = 0)
usbcore: registered new interface driver bfusb
usbcore: registered new interface driver btusb
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-at91 a0000000.sdio-host: update clk mul to 39 as gck rate is 480000000 Hz
mmc0: SDHCI controller on a0000000.sdio-host [a0000000.sdio-host] using ADMA
sdhci-at91 b0000000.sdio-host: update clk mul to 39 as gck rate is 480000000 Hz
mmc1: SDHCI controller on b0000000.sdio-host [b0000000.sdio-host] using ADMA
ledtrig-cpu: registered to indicate activity on CPUs
atmel_aes f002c000.aes: version: 0x500
atmel_aes f002c000.aes: Atmel AES - Using dma0chan0, dma0chan1 for DMA transfers
atmel_sha f0028000.sha: version: 0x510
atmel_sha f0028000.sha: using dma0chan2 for DMA transfers
atmel_sha f0028000.sha: Atmel SHA1/SHA256/SHA224/SHA384/SHA512
atmel_tdes fc044000.tdes: version: 0x703
atmel_tdes fc044000.tdes: using dma0chan3, dma0chan4 for DMA transfers
atmel_tdes fc044000.tdes: Atmel DES/TDES
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
at91-sama5d2_adc fc030000.adc: setting up trigger as external_rising
at91-sama5d2_adc fc030000.adc: version: 800
NET: Registered protocol family 10
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20161123 t)
can: netlink gateway (rev 20130117) max_hops=1
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
at91_i2c f8028000.i2c: can't get DMA channel, continue without DMA support
at91_i2c f8028000.i2c: Using FIFO (16 data)
at24 0-0050: 256 byte 24c02 EEPROM, writable, 8 bytes/write
at91_i2c f8028000.i2c: AT91 i2c bus driver (hw version: 0x704).
at91_rtc f80480b0.rtc: setting system clock to 2012-01-01 00:00:09 UTC (1325376)
ALSA device list:
No soundcards found.
mmc1: new high speed SDHC card at address aaaa
atmel_usart_serial atmel_usart_serial.1.auto: using dma0chan5 for rx DMA transfs
atmel_usart_serial atmel_usart_serial.1.auto: using dma0chan6 for tx DMA transfs
mmcblk1: mmc1:aaaa SL16G 14.8 GiB
mmcblk1: p1 p2
EXT4-fs (mmcblk1p2): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (mmcblk1p2): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (mmcblk1p2): recovery complete
EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 1024K
starting pid 116, tty '': '/bin/mount -t proc proc /proc'
starting pid 117, tty '': '/bin/mount -t sysfs sysfs /sys'
starting pid 118, tty '': '/bin/mount -t devtmpfs devtmpfs /dev'
mount: mounting devtmpfs on /dev failed: Resource busy
starting pid 119, tty '': '/bin/mount -o remount,rw /'
EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
starting pid 120, tty '': '/bin/mkdir -p /dev/pts'
starting pid 121, tty '': '/bin/mount -t devpts devpts /dev/pts'
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
network={
ssid="SN8"
proto=WPA2
key_mgmt=WPA-PSK
psk="cool@4689"
}
~
~
~
~
~
~
~
~
~
~
~
~
~
root@ruggedboard-a5d2x:~# wpa_supplicant -B -Dnl80211 -i wlan0 -c /mnt/wpa_suppl
icant.conf
Successfully initialized wpa_supplicant
Could not read interface wlan0 flags: No such device
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Could not read interface wlan0 flags: No such device
wlan0: Failed to initialize driver interface
root@ruggedboard-a5d2x:~# udhcpc -i wlan0
udhcpc: SIOCGIFINDEX: No such device
root@ruggedboard-a5d2x:~# udhcpc -i wlan0 up
udhcpc: SIOCGIFINDEX: No such device
root@ruggedboard-a5d2x:~# random: crng init done
root@ruggedboard-a5d2x:~# ping google.com
ping: bad address 'google.com'
root@ruggedboard-a5d2x:~# dmesg | grep mmc
Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk1p2 rw rot
mmc0: SDHCI controller on a0000000.sdio-host [a0000000.sdio-host] using ADMA
mmc1: SDHCI controller on b0000000.sdio-host [b0000000.sdio-host] using ADMA
mmc1: new high speed SDHC card at address aaaa
mmcblk1: mmc1:aaaa SL16G 14.8 GiB
mmcblk1: p1 p2
EXT4-fs (mmcblk1p2): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (mmcblk1p2): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (mmcblk1p2): recovery complete
EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt.
root@ruggedboard-a5d2x:~# modprobe wilc-sdio
modprobe: can't change directory to '4.9.151-linux4sam_5.8+-04821-g708ed45-dirty
root@ruggedboard-a5d2x:~# ifconfig
root@ruggedboard-a5d2x:~#
Hi Ganesh Thanks For your Solution now i am able to use wifi module
Thank you Sir,Now issue is solved.