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.

Linux/WL1837MOD: Wlan interface is not showing

Part Number: WL1837MOD
Other Parts Discussed in Thread: WL1837

Tool/software: Linux

Hi,

I am working on imx6sl sololite processor with Wl1837 dual band chip.We have tested all the interfaces and working fine. But we are facing an issue on one board that is wlan interface is not showing by typing ifconfig.Rest boards are working fine.

These logs are showing at boot time.

wlcore: ERROR couldn't get hw info

Can anyone please help?

Thanks. 

  • Hi,

    Can you please supply the full kernel boot log?

    "wlcore: ERROR couldn't get hw info" usually means something is wrong with the hardware connection to the wl18xx module.

    BR,
    Eyal
  • Hi Eyal,

    These are the complete boot log.



    Linux version 3.0.35-2508-g54750ff (samiksha@samiksha-Latitude-3550) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #152 PREEMPT Wed Nov 1 16:23:47 IST 2017

    CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d

    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache

    Machine: Freescale i.MX 6SoloLite EVK Board

    Memory policy: ECC disabled, Data cache writeback

    CPU identified as i.MX6SoloLite, unknown revision

    On node 0 totalpages: 65536

    free_area_init_node: node 0, pgdat 80521eb8, node_mem_map 8b800000

    DMA zone: 368 pages used for memmap

    DMA zone: 0 pages reserved

    DMA zone: 46736 pages, LIFO batch:15

    Normal zone: 144 pages used for memmap

    Normal zone: 18288 pages, LIFO batch:3

    pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768

    pcpu-alloc: [0] 0

    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024

    Kernel command line: console=ttymxc0,115200 root=/dev/ram rw ramdisk_size=49000

    PID hash table entries: 1024 (order: 0, 4096 bytes)

    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

    Memory: 256MB = 256MB total

    Memory: 246348k/246348k available, 15796k reserved, 0K highmem

    Virtual kernel memory layout:

    vector : 0xffff0000 - 0xffff1000 ( 4 kB)

    fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)

    DMA : 0xf4600000 - 0xffe00000 ( 184 MB)

    vmalloc : 0x90800000 - 0xf2000000 (1560 MB)

    lowmem : 0x80000000 - 0x90000000 ( 256 MB)

    pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)

    modules : 0x7f000000 - 0x7fe00000 ( 14 MB)

    .init : 0x80008000 - 0x80030000 ( 160 kB)

    .text : 0x80030000 - 0x804e7f98 (4832 kB)

    .data : 0x804e8000 - 0x80522de0 ( 236 kB)

    .bss : 0x80522e04 - 0x80540cf4 ( 120 kB)

    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

    Preemptible hierarchical RCU implementation.

    NR_IRQS:624

    MXC GPIO hardware

    sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms

    arm_max_freq=1GHz

    MXC_Early serial console at MMIO 0x2020000 (options '115200')

    bootconsole [ttymxc0] enabled

    Console: colour dummy device 80x30

    Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)

    pid_max: default: 32768 minimum: 301

    Mount-cache hash table entries: 512

    CPU: Testing write buffer coherency: ok

    hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available

    print_constraints: dummy:

    NET: Registered protocol family 16

    print_constraints: vddpu: 725 <--> 1300 mV at 700 mV fast normal

    print_constraints: vddcore: 725 <--> 1300 mV at 1100 mV fast normal

    print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal

    print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal

    print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal

    print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal

    hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.

    hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.

    hw-breakpoint: maximum watchpoint size is 4 bytes.

    L310 cache controller enabled

    l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x02030000, Cache size: 262144 B

    bio: create slab <bio-0> at 0

    print_constraints: vmmc: 3300 mV

    SCSI subsystem initialized

    spi_imx imx6q-ecspi.0: probed

    usbcore: registered new interface driver usbfs

    usbcore: registered new interface driver hub

    usbcore: registered new device driver usb

    Freescale USB OTG Driver loaded, $Revision: 1.55 $

    MIPI CSI2 driver module loaded

    Bluetooth: Core ver 2.16

    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

    i2c-core: driver [max17135] using legacy suspend method

    i2c-core: driver [max17135] using legacy resume method

    Switching to clocksource mxc_timer1

    NET: Registered protocol family 2

    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)

    TCP established hash table entries: 8192 (order: 4, 65536 bytes)

    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)

    TCP: Hash tables configured (established 8192 bind 8192)

    TCP reno registered

    UDP hash table entries: 256 (order: 0, 4096 bytes)

    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

    NET: Registered protocol family 1

    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.

    Trying to unpack rootfs image as initramfs...

    rootfs image is not initramfs (no cpio magic); looks like an initrd

    Freeing initrd memory: 8120K

    etb: probe of etb failed with error -2

    etm: probe of etm.0 failed with error -2

    Static Power Management for Freescale i.MX6

    wait mode is enabled for i.MX6

    cpaddr = 90820000 suspend_iram_base=90814000

    PM driver module loaded

    IMX usb wakeup probe

    the wakeup pdata is 0x8fe88600

    add wake up source irq 75

    IMX usb wakeup probe

    the wakeup pdata is 0x8fe88280

    cpu regulator mode:ldo_enable

    i.MXC CPU frequency driver

    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

    msgmni has been set to 497

    io scheduler noop registered

    io scheduler deadline registered

    io scheduler cfq registered (default)

    imx-sdma imx-sdma: loaded firmware 1.1

    imx-sdma imx-sdma: initialized

    Serial: IMX driver

    imx-uart.1: ttymxc1 at MMIO 0x2024000 (irq = 59) is a IMX

    imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX

    console [ttymxc0] enabled, bootconsole disabled

    imx-uart.2: ttymxc2 at MMIO 0x2034000 (irq = 60) is a IMX

    brd: module loaded

    loop: module loaded

    (stk) :sysfs entries created

    (stk) : debugfs entries created

    m25p80 spi0.0: 128s33b (16384 Kbytes)

    Creating 3 MTD partitions on "128s33b":

    0x000000000000-0x000000100000 : "bootloader"

    0x000000100000-0x000000e00000 : "kernel"

    0x000000e00000-0x000001000000 : "JFFS"

    FEC Ethernet Driver

    fec_enet_mii_bus: probed

    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

    fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller

    fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1

    fsl-ehci fsl-ehci.0: irq 75, io base 0x02184000

    fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00

    hub 1-0:1.0: USB hub found

    hub 1-0:1.0: 1 port detected

    add wake up source irq 74

    fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller

    fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2

    fsl-ehci fsl-ehci.1: irq 74, io base 0x02184200

    fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00

    hub 2-0:1.0: USB hub found

    hub 2-0:1.0: 1 port detected

    Initializing USB Mass Storage driver...

    usbcore: registered new interface driver usb-storage

    USB Mass Storage support registered.

    ARC USBOTG Device Controller driver (1 August 2005)

    mousedev: PS/2 mouse device common for all mice

    snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0

    i2c /dev entries driver

    i2c-core: driver [mma8450] using legacy suspend method

    i2c-core: driver [mma8450] using legacy resume method

    add mma8450 i2c driver

    Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout= 1)

    Bluetooth: Virtual HCI driver ver 1.3

    Bluetooth: HCI UART driver ver 2.2

    Bluetooth: HCI H4 protocol initialized

    Bluetooth: HCI BCSP protocol initialized

    Bluetooth: HCILL protocol initialized

    Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0

    bt_ti_probe: hdev 8d1a4800

    bt_ti_probe: HCI device registered (hdev 8d1a4800)

    ti_st_open: hci0 8d1a4800

    (stc): st_register(2)

    (stc): chnl_id list empty :2

    (stk) : st_kim_start

    sdhci: Secure Digital Host Controller Interface driver

    sdhci: Copyright(c) Pierre Ossman

    Cap reg 0 : 7ebb407: cap reg 1 is : b407

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(0)

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    mmc0: SDHCI controller on platform [sdhci-esdhc-imx.0] using DMA

    sdhci sdhci-esdhc-imx.1: no write-protect pin available!

    ..gpio num = 34, irq num =290 Cap reg 0 : 7ebb407: cap reg 1 is : b407

    mmc1: SDHCI controller on platform [sdhci-esdhc-imx.1] using DMA

    TCP cubic registered

    NET: Registered protocol family 17

    Bluetooth: RFCOMM TTY layer initialized

    Bluetooth: RFCOMM socket layer initialized

    Bluetooth: RFCOMM ver 1.11

    Bluetooth: BNEP (Ethernet Emulation) ver 1.3

    Bluetooth: BNEP filters: protocol multicast

    lib80211: common routines for IEEE802.11 drivers

    lib80211_crypt: registered algorithm 'NULL'

    lib80211_crypt: registered algorithm 'WEP'

    lib80211_crypt: registered algorithm 'CCMP'

    lib80211_crypt: registered algorithm 'TKIP'

    VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

    Bus freq driver module loaded

    Bus freq driver Enabled

    DVFS driver module loaded

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:00:00 UTC (0)

    RAMDISK: gzip image found at block 0

    (stk) :ldisc_install = 1

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    mmc0: card claims to support voltages below the defined range. These will be ignored.

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    (stk) :line disc installation timed out

    (stk) :ldisc_install = 0

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    (stk) :ldisc_install = 1

    mmc0: queuing unknown CIS tuple 0x91 (3 bytes)

    mmc0: new high speed SDIO card at address 0001

    VFS: Mounted root (ext2 filesystem) on device 1:0.

    Freeing init memory: 160K

    udevd (1136): /proc/1136/oom_adj is deprecated, please use /proc/1136/oom_score_adj instead.

    mmc1: host does not support reading read-only switch. assuming write-enable.

    mmc1: new ultra high speed SDHC card at address aaaa

    mmcblk0: mmc1:aaaa SS08G 7.40 GiB

    mmcblk0: p1

    (stk) :line disc installation timed out

    (stk) :ldisc_install = 0

    (stk) :ldisc_install = 1

    (stk) :line disc installation timed out

    (stk) :ldisc_install = 0

    (stk) :ldisc_install = 1

    (stk) :line disc installation timed out

    (stk) :ldisc_install = 0

    (stk) :ldisc_install = 1

    (stk) :line disc installation timed out

    (stk) :ldisc_install = 0

    (stk) :ldisc_install = 1

    (stk) :line disc installation timed out

    (stk) :ldisc_install = 0

    ti_st_open: st_register failed -22

    compat-drivers backport release: ol_r8.a8.04_32

    Backport based on wl18xx.git ol_r8.a8.10

    compat.git: wl18xx.git

    cfg80211: Calling CRDA to update world regulatory domain

    cfg80211: World regulatory domain updated:

    cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)

    cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (2000 mBi, 0 mBm)

    cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (2000 mBi, 0 mBm)

    cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (2000 mBi, 0 mBm)

    cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (2000 mBi, 0 mBm)

    cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (2000 mBi, 0 mBm)

    cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (2000 mBi, 0 mBm)

    cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (2000 mBi, 0 mBm)

    cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)

    not able to handle functions other than wlan

    wl18xx selected

    wlcore: wl18xx driver version: ol_r8.a8.04_32

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(1)

    arch/arm/mach-mx6/board-mx6sl_evk.c:mxc_wlan_set_power: set power(0)

    wlcore: ERROR couldn't get hw info

    cfg80211: Calling CRDA for country: US

    cfg80211: Regulatory domain changed to country: US

    cfg80211: DFS Master region FCC

    cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)

    cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (3000 mBi, 0 mBm)

    cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (2300 mBi, 0 mBm)

    cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (2300 mBi, 0 mBm)

    cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (2300 mBi, 0 mBm)

    cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (3000 mBi, 0 mBm)

    cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (4000 mBi, 0 mBm)

    eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:00, irq=-1)

    PHY: 1:00 - Link is Up - 100/Full
  • Hi,

    mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
    mmc0: new high speed SDIO card at address 0001

    Seems like the module is detected on the sdio bus.
    What version of the drivers are you using? Are you using our latest R8.7_SP3 release or are you trying to use in-tree drivers in your linux kernel?

    Best Regards,
    Eyal
  • Hi,

    Any update on this issue? Should I keep it open?

    BR,
    Eyal