This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Integrating TiWi-R2 (WL1271) with AM3354 using 1.8V SDIO/MMC?

Other Parts Discussed in Thread: WL1271, AM3354, TPS65217, TPS65910

Hello,

We have designed and made a prototype board using the TiWi-R2 module (encorporating the WL1271 chip) wired to MMC1 on an AM3354, and the power feeds for the corresponding port wired to 1.8V (VDDSHV1,2,3 supplied with 1.8V).

I am using the Angstrom distribution with kernel 3.2 (which uses the AM335x PSP kernel), and have so far had no luck getting the SDIO to function correctly.

Can get the card detected most of the time and am able to get the the stage of receiving the message 'wl1271: loaded', roughly 35 seconds after boot.

When I try to bring up wlan0 the driver reports continual sdio failures:

wl1271: ERROR sdio read failed (-84)
wl1271: WARNING unsupported chip id: 0x66676777

...and the device then freezes.

Looking at the release notes for an earlier version of the AM335x PSP http://processors.wiki.ti.com/index.php/AM335x-PSP_04.06.00.07_Release_Notes I noticed in the 'Known Issues' section the item 'MMC: hsmmc driver doesnt support 1.8v MMC cards'.

I'm wondering if this issue is the source of my problems, at least as far as getting wifi to work goes.

Does anyone know if this issue been fixed in newer versions of the kernel - or if this limitation is actually an issue with the silicon itself and thus not fixable in software?

Angstrom has moved to version 3.8 of the kernel, so I'm wondering if fixes may have been applied there, but so far I've avoided moving to the newer kernel as I had no compelling reason to do so.


Any information will help!


Regards,

Andrew.

  • Hi Andrew,

    Can you try with the official SDK 5.07 filesystem and see if the same problem still exist?
    Also, can you post the commands you entered and messages you saw as well?
    It looks like your WL1271 card is either defective, not inserted correctly, or something else is wrong in the filesystem.

  • Hi Victor,

    It took me a while to get everything going, but here is what I have found:

    I am using 'ti-sdk-am335x-evm-05.07.00.00' and the associated 'linux-3.2.0-psp04.06.00.10' kernel - modifying the 'board-am335xevm.c' (3240.board-am335xevm.c) board file for my purposes.

    I have connected the TiWi-R2 to MMC1 according to the following mux configuration:

    static struct pinmux_config mmc1_jaguarshark_wifi_pin_mux[] = {
    {"gpmc_ad8.mmc1_dat0", OMAP_MUX_MODE2 | AM33XX_PIN_INPUT_PULLUP},
    {"gpmc_ad9.mmc1_dat1", OMAP_MUX_MODE2 | AM33XX_PIN_INPUT_PULLUP},
    {"gpmc_ad10.mmc1_dat2", OMAP_MUX_MODE2 | AM33XX_PIN_INPUT_PULLUP},
    {"gpmc_ad11.mmc1_dat3", OMAP_MUX_MODE2 | AM33XX_PIN_INPUT_PULLUP},
    {"gpmc_csn2.mmc1_cmd", OMAP_MUX_MODE2 | AM33XX_PIN_INPUT_PULLUP},
    {"gpmc_csn1.mmc1_clk", OMAP_MUX_MODE2 | AM33XX_PIN_INPUT_PULLUP},
    {NULL, 0},
    };

    The additional GPIO lines for WLAN_ENABLE/IRQ, as well as the 'wl12xx_platform_data' structure are as follows:

    #define JAGUARSHARK_WLAN_PMENA_GPIO GPIO_TO_PIN(1, 12)
    #define JAGUARSHARK_WLAN_IRQ_GPIO GPIO_TO_PIN(1, 13)

    struct wl12xx_platform_data am335xevm_wlan_data = {
    .irq = OMAP_GPIO_IRQ(JAGUARSHARK_WLAN_IRQ_GPIO),
    .board_ref_clock = WL12XX_REFCLOCK_38_XTAL, /* 38.4Mhz */
    .bt_enable_gpio = GPIO_TO_PIN(1, 28),
    .wlan_enable_gpio = GPIO_TO_PIN(1, 12),
    };

    static struct pinmux_config wl12xx_jaguarshark_pin_mux[] = {
    {"gpmc_ad12.gpio1_12", OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT}, // WLAN ENABLE
    {"gpmc_ad13.gpio1_13", OMAP_MUX_MODE7 | AM33XX_PIN_INPUT}, // WLAN IRQ
    {"gpmc_ben1.gpio1_28", OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT_PULLUP}, // BT ENABLE
    {NULL, 0},
    };

    The MMC for wl12xx is initialised as follows:

    static void mmc1_jaguarshark_wl12xx_init(int evm_id, int profile)
    {
    setup_pin_mux(mmc1_jaguarshark_wifi_pin_mux);
    am335x_mmc[1].mmc = 2;
    am335x_mmc[1].name = "wl1271";
    am335x_mmc[1].caps = MMC_CAP_4_BIT_DATA | MMC_CAP_POWER_OFF_CARD;
    am335x_mmc[1].pm_caps = MMC_PM_KEEP_POWER;
    am335x_mmc[1].gpio_cd = -EINVAL;
    am335x_mmc[1].gpio_wp = -EINVAL;
    am335x_mmc[1].ocr_mask = MMC_VDD_165_195; // 1.8V
    am335x_mmc[1].nonremovable = true;
    }

    The board config structure is as follows:

    static struct evm_dev_cfg jaguarshark_dev_cfg[] = {
    {am335x_rtc_init, DEV_ON_BASEBOARD, PROFILE_NONE},
    {clkout2_enable, DEV_ON_BASEBOARD, PROFILE_NONE},
    {tps65217_init, DEV_ON_BASEBOARD, PROFILE_NONE},
    {rgmii1_init, DEV_ON_BASEBOARD, PROFILE_ALL},
    {usb0_init, DEV_ON_BASEBOARD, PROFILE_NONE},
    {usb1_init, DEV_ON_BASEBOARD, PROFILE_NONE},
    {mmc1_jaguarshark_wl12xx_init, DEV_ON_BASEBOARD, PROFILE_ALL},
    {mmc0_init, DEV_ON_BASEBOARD, PROFILE_NONE},
    {wl12xx_init, DEV_ON_BASEBOARD, PROFILE_ALL},
    {NULL, 0, 0},
    };

    Hardware-wise, I have 10k pull-up resistors on SDIO_D0...3 and SDIO_CMD. VDDSHV1,2,3 are supplied with 1.8V.

    So with all this in place, and some other necessary changes made to bring up my board with the TI SDK I still cannot get the wlan SDIO to work. I have double checked the hardware and pin-mux settings, so I am sure I am using the correct pins as configured, so I'm still wondering if there is something fundamentally wrong with using 1.8V for SDIO - are you sure that support has been added for 1.8V SDIO since release 04.06.00.07?

    My dmesg output is as follows: It appears I am getting sdio read failure (-84 return code) - do you have any other suggestions for things to try - or changes that I could make to my boads file?

    [ 0.000000] Linux version 3.2.0 (bone@bone) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #10 Fri May 17 15:23:55 NZST 2013
    [ 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: am335xevm
    [ 0.000000] Memory policy: ECC disabled, Data cache writeback
    [ 0.000000] On node 0 totalpages: 32768
    [ 0.000000] free_area_init_node: node 0, pgdat c06416a8, node_mem_map c067a000
    [ 0.000000] Normal zone: 256 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 32512 pages, LIFO batch:7
    [ 0.000000] AM335X ES1.0 (sgx neon )
    [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [ 0.000000] pcpu-alloc: [0] 0
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
    [ 0.000000] Kernel command line: console=ttyO1,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=none
    [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.000000] Memory: 128MB = 128MB total
    [ 0.000000] Memory: 123276k/123276k available, 7796k 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 : 0xc8800000 - 0xff000000 ( 872 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
    [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc05a6000 (5752 kB)
    [ 0.000000] .init : 0xc05a6000 - 0xc05e2000 ( 240 kB)
    [ 0.000000] .data : 0xc05e2000 - 0xc064a760 ( 418 kB)
    [ 0.000000] .bss : 0xc064a784 - 0xc06792e4 ( 187 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 24000000 Hz
    [ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
    [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [ 0.000000] Console: colour dummy device 80x30
    [ 0.000183] Calibrating delay loop... 548.86 BogoMIPS (lpj=2744320)
    [ 0.048736] pid_max: default: 32768 minimum: 301
    [ 0.048889] Security Framework initialized
    [ 0.049011] Mount-cache hash table entries: 512
    [ 0.049438] CPU: Testing write buffer coherency: ok
    [ 0.071075] omap_hwmod: pruss: failed to hardreset
    [ 0.072387] print_constraints: dummy:
    [ 0.072814] NET: Registered protocol family 16
    [ 0.075408] OMAP GPIO hardware version 0.1
    [ 0.078674] omap_mux_init: Add partition: #1: core, flags: 0
    [ 0.081054] omap_i2c.1: alias fck already exists
    [ 0.082122] omap2_mcspi.1: alias fck already exists
    [ 0.082397] omap2_mcspi.2: alias fck already exists
    [ 0.083557] edma.0: alias fck already exists
    [ 0.083587] edma.0: alias fck already exists
    [ 0.083618] edma.0: alias fck already exists
    [ 0.117736] bio: create slab <bio-0> at 0
    [ 0.120574] SCSI subsystem initialized
    [ 0.122558] usbcore: registered new interface driver usbfs
    [ 0.122955] usbcore: registered new interface driver hub
    [ 0.123199] usbcore: registered new device driver usb
    [ 0.123352] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [ 0.123718] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [ 0.138793] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [ 0.140533] tps65910 1-002d: could not be detected
    [ 0.142181] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [ 0.143524] Switching to clocksource gp timer
    [ 0.163269] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [ 0.163482] musb-hdrc musb-hdrc.0: dma type: pio
    [ 0.163940] MUSB0 controller's USBSS revision = 4ea20800
    [ 0.164001] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 0.164031] musb-hdrc: MHDRC RTL version 2.0
    [ 0.164031] musb-hdrc: setup fifo_mode 4
    [ 0.164093] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 0.164093] musb-hdrc.0: bulk split disabled
    [ 0.164123] musb-hdrc.0: bulk combine disabled
    [ 0.164794] musb-hdrc musb-hdrc.0: USB OTG mode controller at c883c000 using PIO, IRQ 18
    [ 0.164978] musb-hdrc musb-hdrc.1: dma type: pio
    [ 0.165344] MUSB1 controller's USBSS revision = 4ea20800
    [ 0.165405] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 0.165405] musb-hdrc: MHDRC RTL version 2.0
    [ 0.165435] musb-hdrc: setup fifo_mode 4
    [ 0.165466] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 0.165466] musb-hdrc.1: bulk split disabled
    [ 0.165496] musb-hdrc.1: bulk combine disabled
    [ 0.165588] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [ 0.165649] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [ 0.165802] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 0.165832] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 0.165863] usb usb1: Product: MUSB HDRC host driver
    [ 0.165863] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
    [ 0.165893] usb usb1: SerialNumber: musb-hdrc.1
    [ 0.166900] hub 1-0:1.0: USB hub found
    [ 0.166961] hub 1-0:1.0: 1 port detected
    [ 0.167633] musb-hdrc musb-hdrc.1: USB Host mode controller at c883e800 using PIO, IRQ 19
    [ 0.168121] NET: Registered protocol family 2
    [ 0.168334] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.168701] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [ 0.168792] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.168884] TCP: Hash tables configured (established 4096 bind 4096)
    [ 0.168884] TCP reno registered
    [ 0.168914] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.168945] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.169158] NET: Registered protocol family 1
    [ 0.169494] RPC: Registered named UNIX socket transport module.
    [ 0.169494] RPC: Registered udp transport module.
    [ 0.169525] RPC: Registered tcp transport module.
    [ 0.169525] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.169799] NetWinder Floating Point Emulator V0.97 (double precision)
    [ 0.178314] VFS: Disk quotas dquot_6.5.2
    [ 0.178375] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.179046] msgmni has been set to 240
    [ 0.182922] alg: No test for stdrng (krng)
    [ 0.183746] io scheduler noop registered
    [ 0.183776] io scheduler deadline registered
    [ 0.183868] io scheduler cfq registered (default)
    [ 0.185241] Could not set LED4 to fully on
    [ 0.187255] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [ 0.187805] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [ 0.743713] console [ttyO1] enabled
    [ 0.748077] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [ 0.756011] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [ 0.763885] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [ 0.771789] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [ 0.780273] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
    [ 0.799041] brd: module loaded
    [ 0.808563] loop: module loaded
    [ 0.812072] i2c-core: driver [tsl2550] using legacy suspend method
    [ 0.818572] i2c-core: driver [tsl2550] using legacy resume method
    [ 0.825042] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [ 0.884063] No daughter card found
    [ 0.887664] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [ 0.894989] CALL: am335x_evm_setup
    [ 0.898559] Configuring JaguarShark:
    [ 0.902282] The board is a JaguarShark!
    [ 0.906311] CALL: Initialising RTC.
    [ 0.912353] tps65217 1-0024: TPS65217 ID 0xf version 1.2
    [ 0.920196] print_constraints: DCDC1: 900 <--> 1800 mV at 1800 mV
    [ 0.928955] print_constraints: DCDC2: 900 <--> 3300 mV at 1100 mV
    [ 0.937652] print_constraints: DCDC3: 900 <--> 1500 mV at 1100 mV
    [ 0.946350] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV
    [ 0.954986] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV
    [ 0.963592] print_constraints: LDO3: 1800 <--> 3300 mV at 3300 mV
    [ 0.972320] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV
    [ 0.979614] CALL: mmc0_init
    [ 0.982727] omap_hsmmc.0: alias fck already exists
    [ 0.988311] omap_hsmmc.1: alias fck already exists
    [ 0.993774] Configure Bluetooth Enable pin...
    [ 0.998382] wl12xx Configuration Successful
    [ 1.002746] CALL: Initialising Ethernet
    [ 1.007629] Initialising JaguarShark CAN:
    [ 1.011932] d_can.0: alias fck already exists
    [ 1.016967] d_can.1: alias fck already exists
    [ 1.024169] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 1.031433] omap2-nand driver initializing
    [ 1.035949] OneNAND driver initializing
    [ 1.041564] CAN device driver interface
    [ 1.045623] CAN bus driver for Bosch D_CAN controller 1.0
    [ 1.052398] d_can d_can.0: device registered (irq=52, irq_obj=53)
    [ 1.059661] d_can d_can.1: device registered (irq=55, irq_obj=56)
    [ 1.114166] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [ 1.120635] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    [ 1.127990] davinci_mdio.0: probed
    [ 1.131561] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720
    [ 1.140594] usbcore: registered new interface driver zd1201
    [ 1.146697] usbcore: registered new interface driver cdc_ether
    [ 1.152984] usbcore: registered new interface driver cdc_eem
    [ 1.159118] usbcore: registered new interface driver dm9601
    [ 1.165039] cdc_ncm: 04-Aug-2011
    [ 1.168609] usbcore: registered new interface driver cdc_ncm
    [ 1.174591] Initializing USB Mass Storage driver...
    [ 1.179962] usbcore: registered new interface driver usb-storage
    [ 1.186279] USB Mass Storage support registered.
    [ 1.191680] mousedev: PS/2 mouse device common for all mice
    [ 1.198944] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
    [ 1.206207] i2c /dev entries driver
    [ 1.210357] Linux video capture interface: v2.00
    [ 1.215667] usbcore: registered new interface driver uvcvideo
    [ 1.221679] USB Video Class driver (1.1.1)
    [ 1.228302] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 1.311096] cpuidle: using governor ladder
    [ 1.316009] cpuidle: using governor menu
    [ 1.324066] omap4_aes_mod_init: loading AM33X AES driver
    [ 1.329833] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
    [ 1.336730] omap4_aes_probe: probe() done
    [ 1.341247] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
    [ 1.347473] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
    [ 1.366546] omap4_sham_probe: probe() done
    [ 1.373626] usbcore: registered new interface driver usbhid
    [ 1.379547] usbhid: USB HID core driver
    [ 1.384582] usbcore: registered new interface driver snd-usb-audio
    [ 1.392944] ALSA device list:
    [ 1.396118] No soundcards found.
    [ 1.399688] oprofile: hardware counters not available
    [ 1.405029] oprofile: using timer interrupt.
    [ 1.409545] nf_conntrack version 0.5.0 (1926 buckets, 7704 max)
    [ 1.416320] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 1.422058] TCP cubic registered
    [ 1.425506] NET: Registered protocol family 17
    [ 1.430206] can: controller area network core (rev 20090105 abi 8)
    [ 1.436828] NET: Registered protocol family 29
    [ 1.441558] can: raw protocol (rev 20090105)
    [ 1.446044] can: broadcast manager protocol (rev 20090105 t)
    [ 1.452056] Registering the dns_resolver key type
    [ 1.457122] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 1.465209] ThumbEE CPU extension supported.
    [ 1.469757] mux: Failed to setup hwmod io irq -22
    [ 1.475463] Power Management for AM33XX family
    [ 1.480377] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [ 1.487121] Copied the M3 firmware to UMEM
    [ 1.491516] Cortex M3 Firmware Version = 0x18
    [ 1.496795] sr_init: platform driver register failed
    [ 1.505920] clock: disabling unused clocks to save power
    [ 1.526947] Detected MACID=78:c5:e5:7d:21:40
    [ 1.532684] cpsw: Detected MACID = 78:c5:e5:7d:21:41
    [ 1.539276] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [ 1.548797] Waiting for root device /dev/mmcblk0p2...
    [ 1.554229] mmc0: host does not support reading read-only switch. assuming write-enable.
    [ 1.566833] mmc0: new high speed SDHC card at address aaaa
    [ 1.573303] mmcblk0: mmc0:aaaa SU08G 7.40 GiB
    [ 1.580108] mmcblk0: p1 p2
    [ 1.584320] WLAN SET POWER: ON
    [ 1.657531] WLAN SET POWER: OFF
    [ 1.660827] WLAN SET POWER: ON
    [ 1.744171] kjournald starting. Commit interval 5 seconds
    [ 1.753784] EXT3-fs (mmcblk0p2): using internal journal
    [ 1.759307] EXT3-fs (mmcblk0p2): recovery complete
    [ 1.764373] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    [ 1.771636] VFS: Mounted root (ext3 filesystem) on device 179:2.
    [ 1.778411] Freeing init memory: 240K
    [ 1.787292] mmc1: card claims to support voltages below the defined range. These will be ignored.
    [ 1.807403] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [ 1.815338] mmc1: new SDIO card at address 0001
    [ 1.821411] WLAN SET POWER: OFF
    [ 3.024932] Disabling lock debugging due to kernel taint
    [ 3.031555] WLAN SET POWER: ON
    [ 3.563446] WLAN SET POWER: OFF
    [ 4.453552] cfg80211: Calling CRDA to update world regulatory domain
    [ 4.600250] wl12xx: driver version: ol_R5.SP4.01-dirty
    [ 4.605712] wl12xx: compilation time: Thu Apr 4 23:57:00 2013
    [ 4.646850] WLAN SET POWER: ON
    [ 4.786407] cfg80211: World regulatory domain updated:
    [ 4.791839] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [ 4.800659] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [ 4.808959] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [ 4.817291] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [ 4.825622] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [ 4.833923] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [ 6.303497] ------------[ cut here ]------------
    [ 6.308441] WARNING: at /home/jenkins/amsdk-nightly-build/build-CORTEX_1/arago-tmp-external-arago-toolchain/work/am335x_evm-oe-linux-gnueabi/ti-compat-wireless-wl12xx-r5.sp4.01-r19c/compat-wireless/drivers/net/wireless/wl12xx/sdio.c:95 wl12xx_sdio_raw_read+0xe8/0x150 [wl12xx_sdio]()
    [ 6.334716] Modules linked in: wl12xx(O+) mac80211(O) cfg80211(O) wl12xx_sdio(O)
    [ 6.342529] Backtrace:
    [ 6.345123] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c04287cc>] (dump_stack+0x18/0x1c)
    [ 6.354003] r6:bf0008e4 r5:0000005f r4:00000000 r3:c06048c8
    [ 6.359985] [<c04287b4>] (dump_stack+0x0/0x1c) from [<c003e930>] (warn_slowpath_common+0x5c/0x6c)
    [ 6.369323] [<c003e8d4>] (warn_slowpath_common+0x0/0x6c) from [<c003e964>] (warn_slowpath_null+0x24/0x2c)
    [ 6.379364] r8:00000004 r7:c76fd580 r6:c7465a08 r5:0001ce34 r4:c7256200
    [ 6.386260] r3:00000009
    [ 6.389038] [<c003e940>] (warn_slowpath_null+0x0/0x2c) from [<bf000444>] (wl12xx_sdio_raw_read+0xe8/0x150 [wl12xx_sdio])
    [ 6.400665] [<bf00035c>] (wl12xx_sdio_raw_read+0x0/0x150 [wl12xx_sdio]) from [<bf0c37a8>] (wl12xx_probe+0xbb0/0x1318 [wl12xx])
    [ 6.412719] [<bf0c2bf8>] (wl12xx_probe+0x0/0x1318 [wl12xx]) from [<c022f13c>] (platform_drv_probe+0x20/0x24)
    [ 6.423065] [<c022f11c>] (platform_drv_probe+0x0/0x24) from [<c022db54>] (driver_probe_device+0xc0/0x2dc)
    [ 6.433135] [<c022da94>] (driver_probe_device+0x0/0x2dc) from [<c022de04>] (__driver_attach+0x94/0x98)
    [ 6.442901] r8:c77a4cc0 r7:00000000 r6:c7465a3c r5:bf0d0660 r4:c7465a08
    [ 6.449981] [<c022dd70>] (__driver_attach+0x0/0x98) from [<c022cab8>] (bus_for_each_dev+0x58/0x84)
    [ 6.459411] r6:00000000 r5:c022dd70 r4:bf0d0660 r3:c022dd70
    [ 6.465393] [<c022ca60>] (bus_for_each_dev+0x0/0x84) from [<c022d74c>] (driver_attach+0x24/0x28)
    [ 6.474609] r6:c72536c0 r5:c06242a8 r4:bf0d0660
    [ 6.479492] [<c022d728>] (driver_attach+0x0/0x28) from [<c022d3b8>] (bus_add_driver+0x19c/0x26c)
    [ 6.488739] [<c022d21c>] (bus_add_driver+0x0/0x26c) from [<c022e3a8>] (driver_register+0x80/0x138)
    [ 6.498168] [<c022e328>] (driver_register+0x0/0x138) from [<c022f60c>] (platform_driver_register+0x5c/0x60)
    [ 6.508392] r8:c77a4cc0 r7:00000000 r6:c74d8000 r5:bf0d1f60 r4:c064a7c0
    [ 6.515258] r3:00000000
    [ 6.518096] [<c022f5b0>] (platform_driver_register+0x0/0x60) from [<bf0d803c>] (wl12xx_init+0x3c/0x44 [wl12xx])
    [ 6.528778] [<bf0d8000>] (wl12xx_init+0x0/0x44 [wl12xx]) from [<c000876c>] (do_one_initcall+0x3c/0x180)
    [ 6.538665] [<c0008730>] (do_one_initcall+0x0/0x180) from [<c006c84c>] (sys_init_module+0xf8/0x1ac8)
    [ 6.548278] [<c006c754>] (sys_init_module+0x0/0x1ac8) from [<c0014280>] (ret_fast_syscall+0x0/0x30)
    [ 6.557769] ---[ end trace 1faa81196948de0e ]---
    [ 6.562622] wl1271_sdio mmc1:0001:2: sdio read failed (-84)
    [ 6.569610] WLAN SET POWER: OFF
    [ 6.574951] wl12xx: ERROR couldn't get hw info
    [ 6.579895] wl12xx_driver: probe of wl12xx failed with error -84
    [ 7.735046] net eth0: CPSW phy found : id is : 0x7c0f1
    [ 17.270141] WLAN SET POWER: ON
    [ 17.390533] WLAN SET POWER: OFF
    [ 17.454681] WLAN SET POWER: ON
    [ 17.615112] WLAN SET POWER: ON
    [ 19.144592] ------------[ cut here ]------------
    [ 19.149505] WARNING: at /home/jenkins/amsdk-nightly-build/build-CORTEX_1/arago-tmp-external-arago-toolchain/work/am335x_evm-oe-linux-gnueabi/ti-compat-wireless-wl12xx-r5.sp4.01-r19c/compat-wireless/drivers/net/wireless/wl12xx/sdio.c:95 wl12xx_sdio_raw_read+0xe8/0x150 [wl12xx_sdio]()
    [ 19.175872] Modules linked in: wl12xx_sdio(O+) wl12xx(O) mac80211(O) cfg80211(O) [last unloaded: wl12xx_sdio]
    [ 19.186340] Backtrace:
    [ 19.188964] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c04287cc>] (dump_stack+0x18/0x1c)
    [ 19.197845] r6:bf0e88e4 r5:0000005f r4:00000000 r3:c06048c8
    [ 19.203826] [<c04287b4>] (dump_stack+0x0/0x1c) from [<c003e930>] (warn_slowpath_common+0x5c/0x6c)
    [ 19.213195] [<c003e8d4>] (warn_slowpath_common+0x0/0x6c) from [<c003e964>] (warn_slowpath_null+0x24/0x2c)
    [ 19.223266] r8:00000004 r7:c74aca80 r6:c7464808 r5:0001ce34 r4:c7256200
    [ 19.230163] r3:00000009
    [ 19.232940] [<c003e940>] (warn_slowpath_null+0x0/0x2c) from [<bf0e8444>] (wl12xx_sdio_raw_read+0xe8/0x150 [wl12xx_sdio])
    [ 19.244445] [<bf0e835c>] (wl12xx_sdio_raw_read+0x0/0x150 [wl12xx_sdio]) from [<bf0c37a8>] (wl12xx_probe+0xbb0/0x1318 [wl12xx])
    [ 19.256500] [<bf0c2bf8>] (wl12xx_probe+0x0/0x1318 [wl12xx]) from [<c022f13c>] (platform_drv_probe+0x20/0x24)
    [ 19.266876] [<c022f11c>] (platform_drv_probe+0x0/0x24) from [<c022db54>] (driver_probe_device+0xc0/0x2dc)
    [ 19.276947] [<c022da94>] (driver_probe_device+0x0/0x2dc) from [<c022de4c>] (__device_attach+0x44/0x48)
    [ 19.286773] r8:00000000 r7:c7256208 r6:00000000 r5:c7464808 r4:bf0d0660
    [ 19.293823] [<c022de08>] (__device_attach+0x0/0x48) from [<c022c7b8>] (bus_for_each_drv+0x64/0x90)
    [ 19.303253] r5:c022de08 r4:c7464808
    [ 19.307067] [<c022c754>] (bus_for_each_drv+0x0/0x90) from [<c022d978>] (device_attach+0xa0/0xc0)
    [ 19.316314] r6:c7464810 r5:c746483c r4:c7464808
    [ 19.321197] [<c022d8d8>] (device_attach+0x0/0xc0) from [<c022d128>] (bus_probe_device+0x2c/0x48)
    [ 19.330444] r6:c7464810 r5:c7464928 r4:c7464808 r3:00000001
    [ 19.336425] [<c022d0fc>] (bus_probe_device+0x0/0x48) from [<c022b414>] (device_add+0x4b8/0x588)
    [ 19.345611] [<c022af5c>] (device_add+0x0/0x588) from [<c022f820>] (platform_device_add+0x124/0x204)
    [ 19.355133] [<c022f6fc>] (platform_device_add+0x0/0x204) from [<bf0e8708>] (wl1271_probe+0x20c/0x240 [wl12xx_sdio])
    [ 19.366119] r7:c7256208 r6:c71c6480 r5:c72832c0 r4:00000000
    [ 19.372100] [<bf0e84fc>] (wl1271_probe+0x0/0x240 [wl12xx_sdio]) from [<c0316b10>] (sdio_bus_probe+0xd8/0x104)
    [ 19.382537] r8:00000000 r7:bf0e87fc r6:bf0e8b54 r5:c7256200 r4:c7256208
    [ 19.389648] [<c0316a38>] (sdio_bus_probe+0x0/0x104) from [<c022db54>] (driver_probe_device+0xc0/0x2dc)
    [ 19.399444] r8:c7286580 r7:bf0e8b64 r6:c0644a30 r5:c066e7c0 r4:c7256208
    [ 19.406341] r3:c0316a38
    [ 19.409088] [<c022da94>] (driver_probe_device+0x0/0x2dc) from [<c022de04>] (__driver_attach+0x94/0x98)
    [ 19.418914] r8:c7286580 r7:00000000 r6:c725623c r5:bf0e8b64 r4:c7256208
    [ 19.425994] [<c022dd70>] (__driver_attach+0x0/0x98) from [<c022cab8>] (bus_for_each_dev+0x58/0x84)
    [ 19.435424] r6:00000000 r5:c022dd70 r4:bf0e8b64 r3:c022dd70
    [ 19.441436] [<c022ca60>] (bus_for_each_dev+0x0/0x84) from [<c022d74c>] (driver_attach+0x24/0x28)
    [ 19.450683] r6:c7253940 r5:c06359f4 r4:bf0e8b64
    [ 19.455566] [<c022d728>] (driver_attach+0x0/0x28) from [<c022d3b8>] (bus_add_driver+0x19c/0x26c)
    [ 19.464813] [<c022d21c>] (bus_add_driver+0x0/0x26c) from [<c022e3a8>] (driver_register+0x80/0x138)
    [ 19.474273] [<c022e328>] (driver_register+0x0/0x138) from [<c0316968>] (sdio_register_driver+0x2c/0x30)
    [ 19.484191] r8:c7286580 r7:00000000 r6:c7796000 r5:bf0e8c48 r4:c064a7c0
    [ 19.491088] r3:bf0e8b54
    [ 19.493865] [<c031693c>] (sdio_register_driver+0x0/0x30) from [<bf0ea014>] (wl1271_init+0x14/0x1c [wl12xx_sdio])
    [ 19.504577] [<bf0ea000>] (wl1271_init+0x0/0x1c [wl12xx_sdio]) from [<c000876c>] (do_one_initcall+0x3c/0x180)
    [ 19.514953] [<c0008730>] (do_one_initcall+0x0/0x180) from [<c006c84c>] (sys_init_module+0xf8/0x1ac8)
    [ 19.524597] [<c006c754>] (sys_init_module+0x0/0x1ac8) from [<c0014280>] (ret_fast_syscall+0x0/0x30)
    [ 19.534118] ---[ end trace 1faa81196948de0f ]---
    [ 19.539001] wl1271_sdio mmc1:0001:2: sdio read failed (-84)
    [ 19.544921] WLAN SET POWER: OFF
    [ 19.549255] wl12xx: ERROR couldn't get hw info
    [ 19.554168] wl12xx_driver: probe of wl12xx failed with error -84
    [ 19.581451] WLAN SET POWER: ON
    [ 19.700439] WLAN SET POWER: OFF
    [ 19.714477] WLAN SET POWER: ON
    [ 19.875518] WLAN SET POWER: ON
    [ 21.404968] ------------[ cut here ]------------
    [ 21.409881] WARNING: at /home/jenkins/amsdk-nightly-build/build-CORTEX_1/arago-tmp-external-arago-toolchain/work/am335x_evm-oe-linux-gnueabi/ti-compat-wireless-wl12xx-r5.sp4.01-r19c/compat-wireless/drivers/net/wireless/wl12xx/sdio.c:95 wl12xx_sdio_raw_read+0xe8/0x150 [wl12xx_sdio]()
    [ 21.436218] Modules linked in: wl12xx_sdio(O+) wl12xx(O) mac80211(O) cfg80211(O) [last unloaded: wl12xx_sdio]
    [ 21.446716] Backtrace:
    [ 21.449310] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c04287cc>] (dump_stack+0x18/0x1c)
    [ 21.458190] r6:bf0ec8e4 r5:0000005f r4:00000000 r3:c06048c8
    [ 21.464202] [<c04287b4>] (dump_stack+0x0/0x1c) from [<c003e930>] (warn_slowpath_common+0x5c/0x6c)
    [ 21.473541] [<c003e8d4>] (warn_slowpath_common+0x0/0x6c) from [<c003e964>] (warn_slowpath_null+0x24/0x2c)
    [ 21.483642] r8:00000004 r7:c7512d40 r6:c7465a08 r5:0001ce34 r4:c7256200
    [ 21.490539] r3:00000009
    [ 21.493316] [<c003e940>] (warn_slowpath_null+0x0/0x2c) from [<bf0ec444>] (wl12xx_sdio_raw_read+0xe8/0x150 [wl12xx_sdio])
    [ 21.504821] [<bf0ec35c>] (wl12xx_sdio_raw_read+0x0/0x150 [wl12xx_sdio]) from [<bf0c37a8>] (wl12xx_probe+0xbb0/0x1318 [wl12xx])
    [ 21.516845] [<bf0c2bf8>] (wl12xx_probe+0x0/0x1318 [wl12xx]) from [<c022f13c>] (platform_drv_probe+0x20/0x24)
    [ 21.527191] [<c022f11c>] (platform_drv_probe+0x0/0x24) from [<c022db54>] (driver_probe_device+0xc0/0x2dc)
    [ 21.537261] [<c022da94>] (driver_probe_device+0x0/0x2dc) from [<c022de4c>] (__device_attach+0x44/0x48)
    [ 21.547058] r8:00000000 r7:c7256208 r6:00000000 r5:c7465a08 r4:bf0d0660
    [ 21.554138] [<c022de08>] (__device_attach+0x0/0x48) from [<c022c7b8>] (bus_for_each_drv+0x64/0x90)
    [ 21.563568] r5:c022de08 r4:c7465a08
    [ 21.567352] [<c022c754>] (bus_for_each_drv+0x0/0x90) from [<c022d978>] (device_attach+0xa0/0xc0)
    [ 21.576599] r6:c7465a10 r5:c7465a3c r4:c7465a08
    [ 21.581481] [<c022d8d8>] (device_attach+0x0/0xc0) from [<c022d128>] (bus_probe_device+0x2c/0x48)
    [ 21.590728] r6:c7465a10 r5:c7465b28 r4:c7465a08 r3:00000001
    [ 21.596740] [<c022d0fc>] (bus_probe_device+0x0/0x48) from [<c022b414>] (device_add+0x4b8/0x588)
    [ 21.605895] [<c022af5c>] (device_add+0x0/0x588) from [<c022f820>] (platform_device_add+0x124/0x204)
    [ 21.615447] [<c022f6fc>] (platform_device_add+0x0/0x204) from [<bf0ec708>] (wl1271_probe+0x20c/0x240 [wl12xx_sdio])
    [ 21.626434] r7:c7256208 r6:c71c6480 r5:c7512d80 r4:00000000
    [ 21.632415] [<bf0ec4fc>] (wl1271_probe+0x0/0x240 [wl12xx_sdio]) from [<c0316b10>] (sdio_bus_probe+0xd8/0x104)
    [ 21.642852] r8:00000000 r7:bf0ec7fc r6:bf0ecb54 r5:c7256200 r4:c7256208
    [ 21.649963] [<c0316a38>] (sdio_bus_probe+0x0/0x104) from [<c022db54>] (driver_probe_device+0xc0/0x2dc)
    [ 21.659759] r8:c7286340 r7:bf0ecb64 r6:c0644a30 r5:c066e7c0 r4:c7256208
    [ 21.666656] r3:c0316a38
    [ 21.669433] [<c022da94>] (driver_probe_device+0x0/0x2dc) from [<c022de04>] (__driver_attach+0x94/0x98)
    [ 21.679229] r8:c7286340 r7:00000000 r6:c725623c r5:bf0ecb64 r4:c7256208
    [ 21.686309] [<c022dd70>] (__driver_attach+0x0/0x98) from [<c022cab8>] (bus_for_each_dev+0x58/0x84)
    [ 21.695739] r6:00000000 r5:c022dd70 r4:bf0ecb64 r3:c022dd70
    [ 21.701721] [<c022ca60>] (bus_for_each_dev+0x0/0x84) from [<c022d74c>] (driver_attach+0x24/0x28)
    [ 21.710968] r6:c7253940 r5:c06359f4 r4:bf0ecb64
    [ 21.715881] [<c022d728>] (driver_attach+0x0/0x28) from [<c022d3b8>] (bus_add_driver+0x19c/0x26c)
    [ 21.725128] [<c022d21c>] (bus_add_driver+0x0/0x26c) from [<c022e3a8>] (driver_register+0x80/0x138)
    [ 21.734588] [<c022e328>] (driver_register+0x0/0x138) from [<c0316968>] (sdio_register_driver+0x2c/0x30)
    [ 21.744506] r8:c7286340 r7:00000000 r6:c7796000 r5:bf0ecc48 r4:c064a7c0
    [ 21.751403] r3:bf0ecb54
    [ 21.754180] [<c031693c>] (sdio_register_driver+0x0/0x30) from [<bf0ee014>] (wl1271_init+0x14/0x1c [wl12xx_sdio])
    [ 21.764923] [<bf0ee000>] (wl1271_init+0x0/0x1c [wl12xx_sdio]) from [<c000876c>] (do_one_initcall+0x3c/0x180)
    [ 21.775299] [<c0008730>] (do_one_initcall+0x0/0x180) from [<c006c84c>] (sys_init_module+0xf8/0x1ac8)
    [ 21.784942] [<c006c754>] (sys_init_module+0x0/0x1ac8) from [<c0014280>] (ret_fast_syscall+0x0/0x30)
    [ 21.794464] ---[ end trace 1faa81196948de10 ]---
    [ 21.799346] wl1271_sdio mmc1:0001:2: sdio read failed (-84)
    [ 21.805267] WLAN SET POWER: OFF
    [ 21.809600] wl12xx: ERROR couldn't get hw info
    [ 21.814514] wl12xx_driver: probe of wl12xx failed with error -84
    [ 23.033325] gadget: Mass Storage Function, version: 2009/09/11
    [ 23.039642] gadget: Number of LUNs=1
    [ 23.043518] lun0: LUN: removable file: /dev/mmcblk0p1
    [ 23.048980] gadget: Mass Storage Gadget, version: 2009/09/11
    [ 23.055023] gadget: userspace failed to provide iSerialNumber
    [ 23.061187] gadget: g_mass_storage ready
    [ 23.065429] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [ 23.071075] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
    [ 23.079010] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [ 23.086181] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 23.093750] usb usb2: Product: MUSB HDRC host driver
    [ 23.098999] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd
    [ 23.104583] usb usb2: SerialNumber: musb-hdrc.0
    [ 23.110046] hub 2-0:1.0: USB hub found
    [ 23.114013] hub 2-0:1.0: 1 port detected

    Thanks,

    Andrew Glen.

  • Hi Andrew

    I am using Beagle Bone A6 with Tiwi-5E WiF module and getting the same error message as you have observed. Did you successfully solve the issue  ?

    I have posted a query in http://e2e.ti.com/support/low_power_rf/f/307/t/291593.aspx

    Can you help me out to solve this issues. Appreciate your help.

    Sunil 

  • 1.8v support is just fine.. otherwise card detection would not have worked.

    The mux/pad seem to be fine..did you scope the mmc clk line and see if the clk are not cut off..

    there seems to response from the chip and irq line is toggled and sdio read is getting stuck?

    enable MMC_DEBUG from the kernel config..

    Thanks

    Vijay

  • Hi Vijay

    I have observed the slow clock which is 32K looks fine and voltage is 1.8V. Do i need to enable any configuration for SDIO ?

    Sunil 

  • Hi Vijay

    Find the log after enabling the mmc_debug

    [ 7.373962] Disabling lock debugging due to kernel taint
    [ 7.380462] mmc1: mmc_power_restore_host: powering up
    [ 7.951751] mmc1: mmc_power_save_host: powering down
    [ 8.493103] cfg80211: Calling CRDA to update world regulatory domain
    [ 8.798797] wl12xx: driver version: ol_R5.SP4.01-2-g1aa2c8e
    [ 8.804626] wl12xx: compilation time: Fri Sep 20 05:41:23 2013
    [ 8.838989] mmc1: mmc_power_restore_host: powering up
    [ 9.102508] cfg80211: World regulatory domain updated:
    [ 9.107879] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [ 9.116668] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [ 9.124938] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [ 9.133209] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [ 9.141479] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [ 9.149749] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [ 9.190002] ------------[ cut here ]------------
    [ 9.194854] WARNING: at /home/skottary/work/download_thirdparty/TiWi5/build-utilites/compat-wireless/drivers/net/wireless/wl12xx/sdio.c:95 wl12xx_sdio_raw_read+0xd0/0x13c [wl12xx_sdio]()
    [ 9.213073] ---[ end trace f5f39fbfb56d6ddb ]---
    [ 9.217895] wl1271_sdio mmc1:0001:2: sdio read failed (-84)
    [ 9.225402] mmc1: mmc_power_save_host: powering down
    [ 9.233001] mmc1: mmc_power_save_host: powering down
    [ 9.239868] wl12xx: ERROR couldn't get hw info
    [ 9.245269] wl12xx_driver: probe of wl12xx failed with error -84
    [ 9.611602] EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    [ 9.623626] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    [ 9.717071] EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    [ 9.728515] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
    bootlogd.
    ALSA: Restoring mixer settings...
    /usr/sbin/alsactl: load_state:1686: No soundcards found...
    NOT configuring network interfaces: / is an NFS mount
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting Dropbear SSH server: dropbear.
    Starting telnet daemon.
    Performing wifi calibration...
    rm: can't remove '/lib/firmware/ti-connectivity/wl1271-nvs.bin': No such file or directory
    [ 11.577056] mmc1: mmc_power_restore_host: powering up
    [ 11.705841] mmc1: mmc_power_save_host: powering down
    [ 11.833923] mmc1: mmc_power_restore_host: powering up
    [ 11.989227] mmc1: mmc_power_restore_host: powering up
    [ 13.685760] ------------[ cut here ]------------
    [ 13.690643] WARNING: at /home/skottary/work/download_thirdparty/TiWi5/build-utilites/compat-wireless/drivers/net/wireless/wl12xx/sdio.c:95 wl12xx_sdio_raw_read+0xd0/0x13c [wl12xx_sdio]()
    [ 13.709014] ---[ end trace f5f39fbfb56d6ddc ]---
    [ 13.713836] wl1271_sdio mmc1:0001:2: sdio read failed (-84)
    [ 13.719848] mmc1: mmc_power_save_host: powering down
    [ 13.726074] wl12xx: ERROR couldn't get hw info
    [ 13.730987] wl12xx_driver: probe of wl12xx failed with error -84
    [ 13.737396] mmc1: mmc_power_save_host: powering down
    Fail to set PLT power mode on
    [ 13.800659] mmc1: mmc_power_restore_host: powering up
    [ 13.926269] mmc1: mmc_power_save_host: powering down
    Calibration not complete. Removing half-baked nvs
    [ 13.960723] mmc1: mmc_power_restore_host: powering up
    [ 14.109497] mmc1: mmc_power_restore_host: powering up
    [ 14.440551] ------------[ cut here ]------------
    [ 14.445404] WARNING: at /home/skottary/work/download_thirdparty/TiWi5/build-utilites/compat-wireless/drivers/net/wireless/wl12xx/sdio.c:95 wl12xx_sdio_raw_read+0xd0/0x13c [wl12xx_sdio]()
    [ 14.463775] ---[ end trace f5f39fbfb56d6ddd ]---
    [ 14.468597] wl1271_sdio mmc1:0001:2: sdio read failed (-84)
    [ 14.474578] mmc1: mmc_power_save_host: powering down
    [ 14.480834] wl12xx: ERROR couldn't get hw info
    [ 14.485717] wl12xx_driver: probe of wl12xx failed with error -84
    [ 14.492156] mmc1: mmc_power_save_host: powering down

    Sunil 

  • Hi Vijay

    I have attached /Var/log/messages.Find the attachement

    Sunil