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.

Found no interface wlan0 in the load driver for am57xx

Other Parts Discussed in Thread: WL1835, WL1271, AM5728, LSF0108

Hi,all

I have working on WL1835 wifi module. Found no interface wlan0 in the load driver .After loading it shows some error log like below.

[ 8.677891] ------------[ cut here ]------------

[ 8.682599] WARNING: CPU: 1 PID: 54 at drivers/net/wireless/ti/wlcore/sdio.c:150 wl12xx_sdio_raw_write+0xd0/0x164 [wlcore_sdio]()

[ 8.702036] net eth0: phy found : id is : 0x221622

[ 8.718394] Modules linked in:

[ 8.731165] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

[ 8.731312] xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo rpmsg_pru rpmsg_proto rpmsg_rpc wl18xx bluetooth wlc)

[ 8.731319] CPU: 1 PID: 54 Comm: kworker/1:1 Tainted: G O 4.4.12-g3639bea54a #35

[ 8.731321] Hardware name: Generic DRA74X (Flattened Device Tree)

[ 8.731337] Workqueue: events request_firmware_work_func

[ 8.731340] Backtrace:

[ 8.731352] [<c00130c0>] (dump_backtrace) from [<c00132bc>] (show_stack+0x18/0x1c)

[ 8.731365] r7:bf1442a0 r6:600b0113 r5:00000000 r4:c09d320c

[ 8.731375] [<c00132a4>] (show_stack) from [<c02a4148>] (dump_stack+0x90/0xa4)

[ 8.731381] [<c02a40b8>] (dump_stack) from [<c0034f74>] (warn_slowpath_common+0x88/0xb8)

[ 8.731388] r7:bf1442a0 r6:00000096 r5:00000009 r4:00000000

[ 8.731393] [<c0034eec>] (warn_slowpath_common) from [<c0035048>] (warn_slowpath_null+0x24/0x2c)

[ 8.731401] r8:00000004 r7:ec8bb180 r6:ec1e6410 r5:0001ffc4 r4:ee698800

[ 8.731411] [<c0035024>] (warn_slowpath_null) from [<bf1442a0>] (wl12xx_sdio_raw_write+0xd0/0x164 [wlcore_sdio])

[ 8.731448] [<bf1441d0>] (wl12xx_sdio_raw_write [wlcore_sdio]) from [<bf090d70>] (wlcore_set_partition+0xe8/0x450 [wlcore])

[ 8.731458] r9:ec1d3180 r8:ec1e6400 r7:00000000 r6:bf1441d0 r5:bf0b9fc4 r4:ee048d00

[ 8.731505] [<bf090c88>] (wlcore_set_partition [wlcore]) from [<bf0876dc>] (wl12xx_set_power_on+0x84/0x148 [wlcore])

[ 8.731510] r6:ec8bb280 r5:00000000 r4:ee048d00

[ 8.731556] [<bf087658>] (wl12xx_set_power_on [wlcore]) from [<bf08b67c>] (wlcore_nvs_cb+0x12c/0xa44 [wlcore])

[ 8.731560] r5:bf0a4990 r4:ee048d00

[ 8.731588] [<bf08b550>] (wlcore_nvs_cb [wlcore]) from [<c03f18a4>] (request_firmware_work_func+0x38/0x60)

[ 8.731598] r10:eed40ac0 r9:00000000 r8:eed44200 r7:00000000 r6:eed40ac0 r5:ee0d1100

[ 8.731601] r4:ec8bbc00

[ 8.731610] [<c03f186c>] (request_firmware_work_func) from [<c0049bfc>] (process_one_work+0x124/0x3f4)

[ 8.731612] r4:ec8bbc00

[ 8.731619] [<c0049ad8>] (process_one_work) from [<c0049f18>] (worker_thread+0x4c/0x524)

[ 8.731627] r10:eed40ac0 r9:ee0d1100 r8:00000008 r7:ee660000 r6:eed40ad4 r5:ee0d1118

[ 8.731630] r4:eed40ac0

[ 8.731637] [<c0049ecc>] (worker_thread) from [<c004f9e8>] (kthread+0xe4/0xfc)

[ 8.731646] r10:00000000 r9:00000000 r8:00000000 r7:c0049ecc r6:ee0d1100 r5:ee077080

[ 8.731648] r4:00000000

[ 8.731654] [<c004f904>] (kthread) from [<c000fac8>] (ret_from_fork+0x14/0x2c)

[ 8.731661] r7:00000000 r6:00000000 r5:c004f904 r4:ee077080

[ 8.731664] ---[ end trace 3468f6ccd4382e6d ]---

[ 8.731670] wl1271_sdio mmc2:0001:2: sdio write failed (-84)

Actually i am using

Sdk : ti-processor-sdk-linux-am57xx-evm-03.00.00.04

Board : custom board

Hardware : WL1835

Software : linux-4.4.12

I have verified voltages, Vbat:3.1v and vio:1.7v and WL_EN is 1.7v.

diff .config arch/arm/configs/tisdk_am57xx-evm_defconfig

< CONFIG_WL_TI=y

< # CONFIG_WL1251 is not set

< # CONFIG_WL12XX is not set

< CONFIG_WL18XX=m

< CONFIG_WLCORE=m

< # CONFIG_WLCORE_SPI is not set

< CONFIG_WLCORE_SDIO=m

< CONFIG_WILINK_PLATFORM_DATA=y

---

> # CONFIG_WL_TI is not set

wl18xx , wlcore , mac80211 , cfg80211 , wlcore_sdio are loaded auto into board .

In addition, my WL1835 driver is the official used to own , If the driver can support provided by the official of my system . About this drive I am a official used to own or compat-wireless .

please help me it is hardware issue or software issue.

Thanks & Regards.

Gepeng.

  • Hi,

    1. What is the board you are using, is it an am57xx-evm or you own target hardware?
    2. Can you paste the full kernel boot log (from power up)
    3. Please attach your full kernel .config

    BR,
    Eyal
  • Dear Eyal,

    Thanks for your reply.

    I use the am5278 custom board.

    The following are my kernel logs and .config file.kernel_log_and_config.tar.gz

    2656.config.txt

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.12-g3639bea54a (lia@lia-OptiPlex-380) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #39 SMP PREEMPT Tue Nov 22 12:10:17 CST 2016
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: TI AM5728 BeagleBoard-X15
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [    0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fe000000
    [    0.000000] Forcing write-allocate cache policy for SMP
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
    [    0.000000] On node 0 totalpages: 474368
    [    0.000000] free_area_init_node: node 0, pgdat c0a039c0, node_mem_map eeda2000
    [    0.000000]   DMA zone: 1728 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 147456 pages, LIFO batch:31
    [    0.000000]   HighMem zone: 326912 pages, LIFO batch:31
    [    0.000000] DRA752 ES1.1
    [    0.000000] PERCPU: Embedded 12 pages/cpu @eed31000 s19200 r8192 d21760 u49152
    [    0.000000] pcpu-alloc: s19200 r8192 d21760 u49152 alloc=12*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 472640
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1680104K/1897472K available (7043K kernel code, 328K rwdata, 2492K rodata, 364K init, 287K bss, 28952K reserved, 188416K cma-reserved, 1283072K highmem)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                       lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                       pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                       modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                         .text : 0xc0008000 - 0xc095805c   (9537 kB)
                         .init : 0xc0959000 - 0xc09b4000   ( 364 kB)
                         .data : 0xc09b4000 - 0xc0a06388   ( 329 kB)
                          .bss : 0xc0a08000 - 0xc0a4fd40   ( 288 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] Architected cp15 timer(s) running at 6.14MHz (virt).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000015] Switching to timer-based delay loop, resolution 162ns
    [    0.000323] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000330] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000734] Console: colour dummy device 80x30
    [    0.000750] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000756] This ensures that you still see kernel messages. Please
    [    0.000762] update your kernel commandline.
    [    0.000775] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000788] pid_max: default: 32768 minimum: 301
    [    0.000879] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000890] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001419] Initializing cgroup subsys io
    [    0.001436] Initializing cgroup subsys memory
    [    0.001457] Initializing cgroup subsys devices
    [    0.001470] Initializing cgroup subsys freezer
    [    0.001482] Initializing cgroup subsys perf_event
    [    0.001493] Initializing cgroup subsys pids
    [    0.001516] CPU: Testing write buffer coherency: ok
    [    0.001715] /cpus/cpu@0 missing clock-frequency property
    [    0.001730] /cpus/cpu@1 missing clock-frequency property
    [    0.001740] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001776] Setting up static identity map for 0x800082c0 - 0x80008318
    [    0.080073] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.080139] Brought up 2 CPUs
    [    0.080152] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.080158] CPU: All CPU(s) started in SVC mode.
    [    0.080475] devtmpfs: initialized
    [    0.104860] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.105730] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.304569] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.308790] pinctrl core: initialized pinctrl subsystem
    [    0.309656] NET: Registered protocol family 16
    [    0.311311] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.340245] cpuidle: using governor ladder
    [    0.370271] cpuidle: using governor menu
    [    0.378625] OMAP GPIO hardware version 0.1
    [    0.384980] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.407135] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.407146] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.407594] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.407603] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.408158] OMAP DMA hardware revision 0.0
    [    0.444631] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
    [    0.445695] edma 43300000.edma: memcpy is disabled
    [    0.450333] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.454057] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.454237] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.454404] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.454560] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.454818] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.455005] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.456670] vgaarb: loaded
    [    0.457082] SCSI subsystem initialized
    [    0.457306] usbcore: registered new interface driver usbfs
    [    0.457364] usbcore: registered new interface driver hub
    [    0.457439] usbcore: registered new device driver usb
    [    0.458602] palmas 0-0058: Irq flag is 0x00000008
    [    0.471929] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    0.553971] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.554469] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.554664] media: Linux media interface: v0.10
    [    0.554719] Linux video capture interface: v2.00
    [    0.554760] pps_core: LinuxPPS API ver. 1 registered
    [    0.554767] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.554790] PTP clock support registered
    [    0.555070] EDAC MC: Ver: 3.0.0
    [    0.555799] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [    0.556088] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [    0.556371] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.556649] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.556963] Advanced Linux Sound Architecture Driver Initialized.
    [    0.557764] clocksource: Switched to clocksource arch_sys_counter
    [    0.568545] NET: Registered protocol family 2
    [    0.569036] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.569099] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.569224] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.569272] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.569302] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.569438] NET: Registered protocol family 1
    [    0.569742] RPC: Registered named UNIX socket transport module.
    [    0.569751] RPC: Registered udp transport module.
    [    0.569757] RPC: Registered tcp transport module.
    [    0.569763] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.569778] PCI: CLS 0 bytes, default 64
    [    0.570710] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.572733] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.580336] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.580982] NFS: Registering the id_resolver key type
    [    0.581010] Key type id_resolver registered
    [    0.581018] Key type id_legacy registered
    [    0.581082] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.582305] bounce: pool size: 64 pages
    [    0.582450] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    [    0.582467] io scheduler noop registered
    [    0.582480] io scheduler deadline registered
    [    0.582514] io scheduler cfq registered (default)
    [    0.590012] omap_hwmod: ocp2scp3: _wait_target_disable failed
    [    0.597222] omap_hwmod: ocp2scp1: _wait_target_disable failed
    [    0.604535] omap_hwmod: ocp2scp1: _wait_target_disable failed
    [    0.606845] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.614223] omap_hwmod: ocp2scp1: _wait_target_disable failed
    [    0.620666] omap_hwmod: ocp2scp3: _wait_target_disable failed
    [    0.623010] PCI host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.623023]   No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]
    [    0.623057]    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.623077]   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    0.654584] dra7-pcie 51000000.pcie: link is not up
    [    0.654756] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    0.654769] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    0.654779] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    0.654789] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    0.654822] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
    [    0.654864] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
    [    0.654886] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
    [    0.654951] pci 0000:00:00.0: supports D1
    [    0.654960] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    0.655188] PCI: bus0: Fast back to back transfers disabled
    [    0.655304] PCI: bus1: Fast back to back transfers enabled
    [    0.655353] irq: no irq domain found for /ocp/axi@0/pcie@51000000/interrupt-controller !
    [    0.655385] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    0.655400] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    0.655413] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    0.655632] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    0.655646] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded
    [    0.655765] aer 0000:00:00.0:pcie02: service driver aer loaded
    [    0.715023] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.718350] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
    [    1.711026] console [ttyS2] enabled
    [    1.715371] 4ae2b000.serial: ttyS9 at MMIO 0x4ae2b000 (irq = 302, base_baud = 3000000) is a 8250
    [    1.725356] [drm] Initialized drm 1.1.0 20060810
    [    1.732140] OMAP DSS rev 6.1
    [    1.735232] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    1.743670] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [    1.760384] loop: module loaded
    [    1.766325] libphy: Fixed MDIO Bus: probed
    [    1.817796] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    1.823920] davinci_mdio 48485000.mdio: detected phy mask fffffff9
    [    1.834464] libphy: 48485000.mdio: probed
    [    1.838537] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
    [    1.848272] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 Gigabit PHY
    [    1.858604] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:a2:12:aa
    [    1.865854] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:a2:12:ab
    [    1.873516] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
    [    1.881038] usbcore: registered new interface driver pegasus
    [    1.886783] usbcore: registered new interface driver asix
    [    1.892267] usbcore: registered new interface driver ax88179_178a
    [    1.898443] usbcore: registered new interface driver cdc_ether
    [    1.904357] usbcore: registered new interface driver smsc75xx
    [    1.910202] usbcore: registered new interface driver smsc95xx
    [    1.916013] usbcore: registered new interface driver net1080
    [    1.921757] usbcore: registered new interface driver cdc_subset
    [    1.927739] usbcore: registered new interface driver zaurus
    [    1.933418] usbcore: registered new interface driver cdc_ncm
    [    1.939996] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.946556] ehci-pci: EHCI PCI platform driver
    [    1.951090] ehci-platform: EHCI generic platform driver
    [    1.956624] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.962085] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    1.968322] ohci-pci: OHCI PCI platform driver
    [    1.972830] ohci-platform: OHCI generic platform driver
    [    1.978765] usbcore: registered new interface driver usb-storage
    [    1.985108] mousedev: PS/2 mouse device common for all mice
    [    1.991563] i2c /dev entries driver
    [    1.998602] gpio-fan gpio_fan: GPIO fan initialized
    [    2.003793] tmp102 0-0048: error reading config register
    [    2.009175] tmp102: probe of 0-0048 failed with error -121
    [    2.016795] sdhci: Secure Digital Host Controller Interface driver
    [    2.023024] sdhci: Copyright(c) Pierre Ossman
    [    2.028017] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    2.077867] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    2.084254] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    2.101858] vdd_3v3: supplied by regen1
    [    2.147846] pinctrl-single 4a003400.pinmux: mux offset out of range: 0x37f0 (0x468)
    [    2.155538] pinctrl-single 4a003400.pinmux: could not add functions for pinmux_mmc4_pins 14320x
    [    2.164579] omap_hsmmc 480d1000.mmc: no pinctrl state for sdr25 mode
    [    2.171033] omap_hsmmc 480d1000.mmc: no pinctrl state for sdr12 mode
    [    2.178473] omap_hsmmc 480d1000.mmc: no pinctrl state for hs mode
    [    2.220478] mmc1: MAN_BKOPS_EN bit is not set
    [    2.226473] mmc1: new DDR MMC card at address 0001
    [    2.231725] mmcblk0: mmc1:0001 M8G1GC 7.28 GiB 
    [    2.246516] mmcblk0boot0: mmc1:0001 M8G1GC partition 1 4.00 MiB
    [    2.252746] mmcblk0boot1: mmc1:0001 M8G1GC partition 2 4.00 MiB
    [    2.259430]  mmcblk0: p1 p2
    [    2.298021] Synopsys Designware Multimedia Card Interface Driver
    [    2.304693] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.314868] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.320941] omap_hsmmc 480d1000.mmc: card claims to support voltages below defined range
    [    2.329271] usbcore: registered new interface driver usbhid
    [    2.334868] usbhid: USB HID core driver
    [    2.340851] davinci-mcasp 48468000.mcasp: ERRATA i868 workaround is enabled
    [    2.349066] NET: Registered protocol family 10
    [    2.354394] sit: IPv6 over IPv4 tunneling driver
    [    2.359682] NET: Registered protocol family 17
    [    2.364386] Key type dns_resolver registered
    [    2.368825] omap_voltage_late_init: Voltage driver support not added
    [    2.375774] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    2.382033] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    2.388782] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    2.395018] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    2.403832] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
    [    2.409648] Power Management for TI OMAP4+ devices.
    [    2.410303] mmc2: new SDIO card at address 0001
    [    2.419284] ThumbEE CPU extension supported.
    [    2.423579] Registering SWP/SWPB emulation handler
    [    2.430448] dmm 4e000000.dmm: initialized all PAT entries
    [    2.438394] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    2.445035] [drm] No driver support for vblank timestamp query.
    [    2.451008] omapdrm omapdrm.0: No connectors reported connected with modes
    [    2.457923] [drm] Cannot find any crtc or sizes - going 1024x768
    [    2.466614] [drm] Enabling DMM ywrap scrolling
    [    2.475301] Console: switching to colour frame buffer device 128x48
    [    2.485290] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    2.518057] omapwb-m2m: Device registered as video10
    [    2.523042] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [    2.539541] hctosys: unable to open rtc device (rtc0)
    [    2.552673] aic_dvdd_fixed: disabling
    [    2.627958] ldousb: disabling
    [    2.631382] ALSA device list:
    [    2.634360]   No soundcards found.
    [    2.654909] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.663070] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.672947] devtmpfs: mounted
    [    2.676109] Freeing unused kernel memory: 364K (c0959000 - c09b4000)
    [    2.682504] This architecture does not have kernel memory protection.
    [    2.768058] systemd[1]: System time before build time, advancing clock.
    [    2.792325] random: systemd urandom read with 21 bits of entropy available
    [    2.804327] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    2.822789] systemd[1]: Detected architecture arm.
    [    2.848354] systemd[1]: Set hostname to <am57xx-evm>.
    [    3.138942] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [    3.146732] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [    3.154470] systemd[1]: sysinit.target: Found dependency on basic.target/start
    [    3.161747] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [    3.169245] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [    3.178703] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
    [    3.221463] systemd[1]: Created slice User and Session Slice.
    [    3.248124] systemd[1]: Listening on udev Control Socket.
    [    3.278034] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [    3.308139] systemd[1]: Listening on Network Service Netlink Socket.
    [    3.328079] systemd[1]: Listening on Journal Socket.
    [    3.348090] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    3.368505] systemd[1]: Created slice System Slice.
    [    3.388541] systemd[1]: Created slice system-getty.slice.
    [    3.417937] systemd[1]: Reached target Slices.
    [    3.468151] systemd[1]: Starting Create list of required static device nodes for the current kernel...
    [    3.510317] systemd[1]: Mounting POSIX Message Queue File System...
    [    3.540087] systemd[1]: Mounting Debug File System...
    [    3.573936] systemd[1]: Starting Load Kernel Modules...
    [    3.586185] CMEMK module: reference Linux version 4.4.12
    [    3.592180] allocated heap buffer 0x40500000 of size 0x100000
    [    3.598426] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    3.606762] cmemk initialized
    [    3.613130] cryptodev: driver 1.8 loaded.
    [    3.638056] systemd[1]: Reached target Remote File Systems.
    [    3.658625] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    3.707959] systemd[1]: Mounting Temporary Directory...
    [    3.728065] systemd[1]: Listening on Journal Socket (/dev/log).
    [    3.760774] systemd[1]: Listening on udev Kernel Socket.
    [    3.788079] systemd[1]: Listening on Syslog Socket.
    [    3.807947] systemd[1]: Reached target Swap.
    [    3.858170] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.872500] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    3.890240] systemd[1]: Starting Journal Service...
    [    3.920027] systemd[1]: Starting Setup Virtual Console...
    [    3.948018] systemd[1]: Reached target Paths.
    [    4.001195] systemd[1]: Mounted Debug File System.
    [    4.028095] systemd[1]: Mounted POSIX Message Queue File System.
    [    4.057980] systemd[1]: Mounted Temporary Directory.
    [    4.078161] systemd[1]: Started Journal Service.
    [    4.749225] systemd-journald[139]: Received request to flush runtime journal from PID 1
    [    5.199361] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [    5.207174]  remoteproc0: 58820000.ipu is available
    [    5.231429]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    5.253783]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    5.285270] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [    5.306192]  remoteproc1: 55020000.ipu is available
    [    5.323955]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [    5.339262]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    5.361776] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [    5.376862]  remoteproc2: 40800000.dsp is available
    [    5.381971]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [    5.400800]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    5.441733] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [    5.460658]  remoteproc3: 41000000.dsp is available
    [    5.468891]  remoteproc3: Note: remoteproc is still under development and considered experimental.
    [    5.484141]  remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    5.515333] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    5.540363]  remoteproc0: registered virtio0 (type 7)
    [    5.554470] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [    5.569405] aic_dvdd_fixed: supplied by vdd_3v3
    [    5.613315]  remoteproc1: registered virtio1 (type 7)
    [    5.618033] rtc-ds1307: probe of 2-006f failed with error -5
    [    5.727801] random: nonblocking pool is initialized
    [    5.735190] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659 as rtc1
    [    5.746121] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
    [    5.825409] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    5.888620] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [    5.890714] libata version 3.00 loaded.
    [    5.902602] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [    5.940939] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [    5.947695] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [    5.967825] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst 
    [    6.000520] scsi host0: ahci
    [    6.003684] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 342
    [    6.015580] ti-pruss 4b200000.pruss: creating PRU cores and other child platform devices
    [    6.028193] ti-pruss 4b280000.pruss: creating PRU cores and other child platform devices
    [    6.040947] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [    6.050329] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [    6.058414] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [    6.095065]  remoteproc4: 4b234000.pru0 is available
    [    6.100520] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [    6.107958]  remoteproc4: Note: remoteproc is still under development and considered experimental.
    [    6.121088]  remoteproc4: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    6.157977] vpe 489d0000.vpe: Device registered as /dev/video0
    [    6.184927]  remoteproc4: registered virtio2 (type 7)
    [    6.198021] pru-rproc 4b234000.pru0: PRU rproc node /ocp/pruss@4b200000/pru0@4b234000 probed successfully
    [    6.227865] asoc-simple-card sound@0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [    6.227878]  remoteproc5: 4b238000.pru1 is available
    [    6.227881]  remoteproc5: Note: remoteproc is still under development and considered experimental.
    [    6.227883]  remoteproc5: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    6.233735]  remoteproc5: registered virtio3 (type 7)
    [    6.233770] pru-rproc 4b238000.pru1: PRU rproc node /ocp/pruss@4b200000/pru1@4b238000 probed successfully
    [    6.234041]  remoteproc6: 4b2b4000.pru0 is available
    [    6.234044]  remoteproc6: Note: remoteproc is still under development and considered experimental.
    [    6.234046]  remoteproc6: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    6.241872]  remoteproc6: registered virtio4 (type 7)
    [    6.241908] pru-rproc 4b2b4000.pru0: PRU rproc node /ocp/pruss@4b280000/pru0@4b2b4000 probed successfully
    [    6.242136]  remoteproc7: 4b2b8000.pru1 is available
    [    6.242138]  remoteproc7: Note: remoteproc is still under development and considered experimental.
    [    6.242141]  remoteproc7: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    6.250025]  remoteproc7: registered virtio5 (type 7)
    [    6.250063] pru-rproc 4b2b8000.pru1: PRU rproc node /ocp/pruss@4b280000/pru1@4b2b8000 probed successfully
    [    6.360406] ata1: SATA link down (SStatus 0 SControl 300)
    [    6.404355]  remoteproc2: registered virtio6 (type 7)
    [    6.495259]  remoteproc3: registered virtio7 (type 7)
    [    6.763488] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    6.900342]  remoteproc0: powering up 58820000.ipu
    [    6.924654]  remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4941296
    [    6.934421] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [    6.961587]  remoteproc0: remote processor 58820000.ipu is now up
    [    7.000613] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    7.006157] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x32
    [    7.037184] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x33
    [    7.059216] virtio_rpmsg_bus virtio0: creating channel rpmsg-omx addr 0x3c
    [    7.066237] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [    7.111376]  remoteproc1: powering up 55020000.ipu
    [    7.129713]  remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3493212
    [    7.137139] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [    7.200054]  remoteproc1: remote processor 55020000.ipu is now up
    [    7.218327] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    7.227140] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [    7.248327] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x66
    [    7.256104]  remoteproc4: powering up 4b234000.pru0
    [    7.262309] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    7.268174] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [    7.282300]  remoteproc4: Booting fw image am57xx-pru1_0-fw, size 80760
    [    7.296226] net eth1: initializing cpsw version 1.15 (0)
    [    7.301786] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010
    [    7.304955] net eth0: initialized cpsw ale version 1.4
    [    7.315837] ti-pruss 4b200000.pruss: configured system_events = 0x1000000000000000 intr_channels = 0x00000001 host_intr = 0x00000001
    [    7.340119] xhci-hcd xhci-hcd.1.auto: irq 466, io mem 0x48890000
    [    7.354750] hub 1-0:1.0: USB hub found
    [    7.360884]  remoteproc4: remote processor 4b234000.pru0 is now up
    [    7.361439] hub 1-0:1.0: 1 port detected
    [    7.361768] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    7.361779] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [    7.361847] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    7.364191] hub 2-0:1.0: USB hub found
    [    7.364216] hub 2-0:1.0: 1 port detected
    [    7.401095] virtio_rpmsg_bus virtio2: creating channel rpmsg-pru addr 0x1e
    [    7.428043] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    7.439824] net eth1: phy found : id is : 0x221622
    [    7.467227] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    7.473834]  remoteproc5: powering up 4b238000.pru1
    [    7.484275]  remoteproc5: Booting fw image am57xx-pru1_1-fw, size 80768
    [    7.508700] net eth0: initializing cpsw version 1.15 (0)
    [    7.522196] ti-pruss 4b200000.pruss: configured system_events = 0x0800000000000000 intr_channels = 0x00000002 host_intr = 0x00000002
    [    7.536805]  remoteproc5: remote processor 4b238000.pru1 is now up
    [    7.543577] virtio_rpmsg_bus virtio3: creating channel rpmsg-pru addr 0x1f
    [    7.557997] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    7.572588]  remoteproc6: powering up 4b2b4000.pru0
    [    7.595061]  remoteproc6: Booting fw image am57xx-pru2_0-fw, size 80760
    [    7.628571] ti-pruss 4b280000.pruss: configured system_events = 0x1000000000000000 intr_channels = 0x00000001 host_intr = 0x00000001
    [    7.651752] net eth0: phy found : id is : 0x221622
    [    7.698898]  remoteproc6: remote processor 4b2b4000.pru0 is now up
    [    7.705389] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    7.713651] virtio_rpmsg_bus virtio4: creating channel rpmsg-pru addr 0x20
    [    7.721042] virtio_rpmsg_bus virtio4: rpmsg host is online
    [    7.736410]  remoteproc7: powering up 4b2b8000.pru1
    [    7.736604] Bluetooth: Core ver 2.21
    [    7.736849] NET: Registered protocol family 15
    [    7.737396] NET: Registered protocol family 31
    [    7.737399] Bluetooth: HCI device and connection manager initialized
    [    7.737408] Bluetooth: HCI socket layer initialized
    [    7.737415] Bluetooth: L2CAP socket layer initialized
    [    7.737442] Bluetooth: SCO socket layer initialized
    [    7.782517]  remoteproc7: Booting fw image am57xx-pru2_1-fw, size 80768
    [    7.789223] ti-pruss 4b280000.pruss: configured system_events = 0x0800000000000000 intr_channels = 0x00000002 host_intr = 0x00000002
    [    7.801207]  remoteproc7: remote processor 4b2b8000.pru1 is now up
    [    7.807596] virtio_rpmsg_bus virtio5: creating channel rpmsg-pru addr 0x21
    [    7.814536] virtio_rpmsg_bus virtio5: rpmsg host is online
    [    7.821923]  remoteproc2: powering up 40800000.dsp
    [    7.829924] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [    7.857251] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3
    [    7.890753]  remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 22103432
    [    7.901226] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010
    [    7.901269] xhci-hcd xhci-hcd.2.auto: irq 467, io mem 0x488d0000
    [    7.903937] hub 3-0:1.0: USB hub found
    [    7.903962] hub 3-0:1.0: 1 port detected
    [    7.905781] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [    7.905791] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4
    [    7.905850] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
    [    7.906832] hub 4-0:1.0: USB hub found
    [    7.907398] hub 4-0:1.0: 1 port detected
    [    7.946784] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [    7.946814] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [    7.946842] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [    7.956661]  remoteproc2: remote processor 40800000.dsp is now up
    [    8.011942] virtio_rpmsg_bus virtio6: rpmsg host is online
    [    8.012016] virtio_rpmsg_bus virtio6: creating channel rpmsg-proto addr 0x3d
    [    8.013634]  remoteproc3: powering up 41000000.dsp
    [    8.018648] Initializing XFRM netlink socket
    [    8.106602]  remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 22103432
    [    8.113286] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [    8.113317] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [    8.113402] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [    8.155791]  remoteproc3: remote processor 41000000.dsp is now up
    [    8.172676] virtio_rpmsg_bus virtio7: rpmsg host is online
    [    8.172744] virtio_rpmsg_bus virtio7: creating channel rpmsg-proto addr 0x3d
    [    8.189506] rpmsg_pru rpmsg6: new rpmsg_pru device: /dev/rpmsg_pru30
    [    8.189942] rpmsg_pru rpmsg7: new rpmsg_pru device: /dev/rpmsg_pru31
    [    8.190782] NET: Registered protocol family 41
    [    8.195660] rpmsg_pru rpmsg8: new rpmsg_pru device: /dev/rpmsg_pru32
    [    8.196025] rpmsg_pru rpmsg9: new rpmsg_pru device: /dev/rpmsg_pru33
    [    8.210474] rpmsg_rpc rpmsg3: probing service rpc_example_2 with src 1024 dst 101
    [    8.217333] rpmsg_rpc rpmsg4: probing service dce-callback with src 1024 dst 101
    [    8.217827] rpmsg_rpc rpmsg3: published functions = 8
    [    8.217958] rpmsg_rpc rpmsg5: probing service rpmsg-dce with src 1025 dst 102
    [    8.218343] rpmsg_rpc rpmsg4: published functions = 4
    [    8.219450] rpmsg_rpc rpmsg5: published functions = 8
    [    9.289894] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [    9.365716] palmas_pwrbutton 48070000.i2c:tps659038@58:tps659038_pwr_button: h/w controlled shutdown duration=12 seconds
    [    9.387852] input: palmas_pwron as /devices/platform/44000000.ocp/48070000.i2c/i2c-0/0-0058/48070000.i2c:tps659038@58:tps659038_pwr_button/input/input0
    [   10.656033] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   10.666440] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   18.065204] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
    [   18.078294] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   18.175192] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
    [   18.188225] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   18.242718] omap_hwmod: mmu_ipu1: _wait_target_disable failed
    [   18.255649] omap_hwmod: mmu_ipu2: _wait_target_disable failed
    [   30.556269] cfg80211: World regulatory domain updated:
    [   30.561487] cfg80211:  DFS Master region: unset
    [   30.565881] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [   30.575900] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [   30.584019] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [   30.592098] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [   30.600187] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [   30.609757] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [   30.619339] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [   30.627486] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [   30.635576] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [   31.567882] ------------[ cut here ]------------
    [   31.572539] WARNING: CPU: 1 PID: 54 at drivers/net/wireless/ti/wlcore/sdio.c:150 wl12xx_sdio_raw_write+0xd0/0x164 [wlcore_sdio]()
    [   31.586038] Modules linked in: wl18xx wlcore_sdio wlcore mac80211 cfg80211 palmas_pwrbutton bc_example(O) sha512_generic sha512_arm sha1_generic sha1_arm_neon sha1_arm md5 cbc sha256_generic sha256_arm hmac rpmsg_rpc drbg rpmsg_proto rpmsg_pru xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key bluetooth xfrm_algo pruss_intc dwc3 udc_core virtio_rpmsg_bus snd_soc_simple_card pru_rproc pvrsrvkm(O) snd_soc_omap_hdmi_audio omap_aes_driver pruss ahci_platform libahci_platform libahci omap_sham ti_vpe ti_sc libata ti_vpdma omap_wdt rtc_omap rtc_palmas dwc3_omap extcon_palmas extcon snd_soc_tlv320aic3x omap_des rtc_ds1307 omap_rng rng_core omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel uio_module_drv(O) uio gdbserverproxy(O) cryptodev(O) cmemk(O)
    [   31.654264] CPU: 1 PID: 54 Comm: kworker/1:1 Tainted: G           O    4.4.12-g3639bea54a #39
    [   31.662827] Hardware name: Generic DRA74X (Flattened Device Tree)
    [   31.668960] Workqueue: events request_firmware_work_func
    [   31.674299] Backtrace: 
    [   31.676774] [<c00130c0>] (dump_backtrace) from [<c00132bc>] (show_stack+0x18/0x1c)
    [   31.684373]  r7:bf1322a0 r6:600b0013 r5:00000000 r4:c09d320c
    [   31.690099] [<c00132a4>] (show_stack) from [<c02a4148>] (dump_stack+0x90/0xa4)
    [   31.697358] [<c02a40b8>] (dump_stack) from [<c0034f74>] (warn_slowpath_common+0x88/0xb8)
    [   31.705479]  r7:bf1322a0 r6:00000096 r5:00000009 r4:00000000
    [   31.711197] [<c0034eec>] (warn_slowpath_common) from [<c0035048>] (warn_slowpath_null+0x24/0x2c)
    [   31.720015]  r8:00000004 r7:ec9de7c0 r6:ed619810 r5:0001ffc4 r4:ee6b9e00
    [   31.726791] [<c0035024>] (warn_slowpath_null) from [<bf1322a0>] (wl12xx_sdio_raw_write+0xd0/0x164 [wlcore_sdio])
    [   31.737053] [<bf1321d0>] (wl12xx_sdio_raw_write [wlcore_sdio]) from [<bf3ded70>] (wlcore_set_partition+0xe8/0x450 [wlcore])
    [   31.748228]  r9:ec8b9680 r8:ed619800 r7:00000000 r6:bf1321d0 r5:bf407fc4 r4:ee6e6d00
    [   31.756113] [<bf3dec88>] (wlcore_set_partition [wlcore]) from [<bf3d56dc>] (wl12xx_set_power_on+0x84/0x148 [wlcore])
    [   31.766677]  r6:ec9de8c0 r5:00000000 r4:ee6e6d00
    [   31.771399] [<bf3d5658>] (wl12xx_set_power_on [wlcore]) from [<bf3d967c>] (wlcore_nvs_cb+0x12c/0xa44 [wlcore])
    [   31.781440]  r5:bf3f2990 r4:ee6e6d00
    [   31.785080] [<bf3d9550>] (wlcore_nvs_cb [wlcore]) from [<c03f18a4>] (request_firmware_work_func+0x38/0x60)
    [   31.794772]  r10:eed40ac0 r9:00000000 r8:eed44200 r7:00000000 r6:eed40ac0 r5:ee0d1100
    [   31.802675]  r4:ec9de840
    [   31.805231] [<c03f186c>] (request_firmware_work_func) from [<c0049bfc>] (process_one_work+0x124/0x3f4)
    [   31.814575]  r4:ec9de840
    [   31.817128] [<c0049ad8>] (process_one_work) from [<c0049f18>] (worker_thread+0x4c/0x524)
    [   31.825250]  r10:eed40ac0 r9:ee0d1100 r8:00000008 r7:ee660000 r6:eed40ad4 r5:ee0d1118
    [   31.833152]  r4:eed40ac0
    [   31.835709] [<c0049ecc>] (worker_thread) from [<c004f9e8>] (kthread+0xe4/0xfc)
    [   31.842958]  r10:00000000 r9:00000000 r8:00000000 r7:c0049ecc r6:ee0d1100 r5:ee077080
    [   31.850859]  r4:00000000
    [   31.853415] [<c004f904>] (kthread) from [<c000fac8>] (ret_from_fork+0x14/0x2c)
    [   31.860665]  r7:00000000 r6:00000000 r5:c004f904 r4:ee077080
    [   31.866427] ---[ end trace 868a40fab54309f4 ]---
    [   31.871090] wl1271_sdio mmc2:0001:2: sdio write failed (-84)
    

  • Dear Eyal,
    Here is my .dts file. Can you help me to see what is wrong ?

    vmmcwl_fixed: fixedregulator-mmcwl {
    compatible = "regulator-fixed";
    regulator-name = "vmmcwl_fixed";
    regulator-min-microvolt = <1800000>;
    regulator-max-microvolt = <1800000>;
    gpio = <&gpio7 14 GPIO_ACTIVE_HIGH>;
    startup-delay-us = <70000>;
    enable-active-high;
    };

    &dra7_pmx_core {
    mmc4_pins: pinmux_mmc4_pins {
    pinctrl-single,pins = <
    0x37f0 (PIN_INPUT_PULLUP | MUX_MODE3) /* mmc4_dat0 */
    0x37f4 (PIN_INPUT_PULLUP | MUX_MODE3) /* mmc4_dat1 */
    0x37f8 (PIN_INPUT_PULLUP | MUX_MODE3) /* mmc4_dat2 */
    0x37fc (PIN_INPUT_PULLUP | MUX_MODE3) /* mmc4_dat3 */
    0x37e8 (PIN_INPUT_PULLUP | MUX_MODE3) /* mmc4_clk */
    0x37ec (PIN_INPUT_PULLUP | MUX_MODE3) /* mmc4_cmd */
    0x37e0 (PIN_INPUT | MUX_MODE14) /* wl_irq */
    0x37c0 (PIN_OUTPUT_PULLUP | MUX_MODE14) /* wl_en */
    >;
    };
    };

    &mmc4 {
    status = "okay";
    vmmc-supply = <&vmmcwl_fixed>;
    bus-width = <4>;
    pinctrl-names = "default";
    pinctrl-0 = <&mmc4_pins>;
    ti,non-removable;
    ti,needs-special-hs-handling;
    cap-power-off-card;
    keep-power-in-suspend;

    #address-cells = <1>;
    #size-cells = <0>;
    wlcore: wlcore@0 {
    compatible = "ti,wl1835";
    reg = <2>;
    interrupt-parent = <&gpio7>;
    interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
    };
    };

    Thanks.

  • Hi there,

    Based on the error log it seems like the driver is crashing when probing wlcore_sdio.ko on an sdio bus access failure:
    [ 31.871090] wl1271_sdio mmc2:0001:2: sdio write failed (-84)

    The module is previously probed ok on the sdio bus so basic connection is there:
    [ 2.403832] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
    [ 2.409648] Power Management for TI OMAP4+ devices.
    [ 2.410303] mmc2: new SDIO card at address 0001

    Is this a custom board or an EVM?
    My suggestion is try working first with a slow SDIO clock and see if it helps.
    As it could be some tuning issue on the sdio bus.

    You can lower the bus speed using by adding the following in the mmc4 sub-node to lower the clock to 5Mhz:

    max-frequency = <5000000>;

    BR,
    Eyal
  • Dear Eyal,


    This is my revised configuration file.

    CONFIG_WL_TI=y
    # CONFIG_WL1251 is not set
    # CONFIG_WL12XX is not set
    CONFIG_WL18XX=m
    CONFIG_WLCORE=m
    # CONFIG_WLCORE_SPI is not set
    CONFIG_WLCORE_SDIO=m
    CONFIG_WILINK_PLATFORM_DATA=y

    I feel that the kernel configuration file may not be so configured, do you think?

    Thanks.
  • This looks ok, but i don't think your issue is related to the kernel .config.
    Please try lowering the SDIO bus clock as suggested above and see if it helps.

    BR,
    Eyal
  • Dear Eyal,

    I use the custom board, the chip is am5728.

    When I modify max-frequency = <5000000>;

    The following error occurs:

    [ 25.908411] ------------[ cut here ]------------

    [ 25.913066] WARNING: CPU: 1 PID: 54 at drivers/net/wireless/ti/wlcore/sdio.c)

    [ 25.924712] Modules linked in: wl18xx wlcore_sdio wlcore mac80211 cfg80211 b)

    [ 25.992987] CPU: 1 PID: 54 Comm: kworker/1:1 Tainted: G O 4.4.16

    [ 26.001548] Hardware name: Generic DRA74X (Flattened Device Tree)

    [ 26.007678] Workqueue: events request_firmware_work_func

    [ 26.013016] Backtrace:

    [ 26.015488] [<c00130c0>] (dump_backtrace) from [<c00132bc>] (show_stack+0x18)

    [ 26.023088] r7:bf0b13ec r6:600d0013 r5:00000000 r4:c09d320c

    [ 26.028812] [<c00132a4>] (show_stack) from [<c02a4148>] (dump_stack+0x90/0xa)

    [ 26.036069] [<c02a40b8>] (dump_stack) from [<c0034f74>] (warn_slowpath_commo)

    [ 26.044191] r7:bf0b13ec r6:0000006b r5:00000009 r4:00000000

    [ 26.049910] [<c0034eec>] (warn_slowpath_common) from [<c0035048>] (warn_slow)

    [ 26.058731] r8:00000004 r7:ecb5cec0 r6:ed614610 r5:00013738 r4:ee6d6a00

    [ 26.065507] [<c0035024>] (warn_slowpath_null) from [<bf0b13ec>] (wl12xx_sdio)

    [ 26.075682] [<bf0b1334>] (wl12xx_sdio_raw_read [wlcore_sdio]) from [<bf3e17c)

    [ 26.086246] r9:ed79ef40 r8:ed614600 r7:00000000 r6:ecb66040 r5:bf3fa990 r4:0

    [ 26.094102] [<bf3e1550>] (wlcore_nvs_cb [wlcore]) from [<c03f18a4>] (request)

    [ 26.103794] r10:eed40ac0 r9:00000000 r8:eed44200 r7:00000000 r6:eed40ac0 r50

    [ 26.111698] r4:ecb5cf40

    [ 26.114259] [<c03f186c>] (request_firmware_work_func) from [<c0049bfc>] (pro)

    [ 26.123602] r4:ecb5cf40

    [ 26.126157] [<c0049ad8>] (process_one_work) from [<c0049f18>] (worker_thread)

    [ 26.134280] r10:eed40ac0 r9:ee0d1100 r8:00000008 r7:ee660000 r6:eed40ad4 r58

    [ 26.142186] r4:eed40ac0

    [ 26.144739] [<c0049ecc>] (worker_thread) from [<c004f9e8>] (kthread+0xe4/0xf)

    [ 26.151989] r10:00000000 r9:00000000 r8:00000000 r7:c0049ecc r6:ee0d1100 r50

    [ 26.159887] r4:00000000

    [ 26.162443] [<c004f904>] (kthread) from [<c000fac8>] (ret_from_fork+0x14/0x2)

    [ 26.169692] r7:00000000 r6:00000000 r5:c004f904 r4:ee077080

    [ 26.175496] ---[ end trace 9ac914ab4ba04f81 ]---

    [ 26.180210] wl1271_sdio mmc2:0001:2: sdio read failed (-84)

    [ 26.185903] wlcore: ERROR couldn't get hw info

    Thanks.
  • Still looks like the same issue (sdio read fail).
    try lowering it even more (1Mhz) and also consult a hardware engineer for probing the sdio lines and verify signal integrity.

    BTW, have you followed this document while making the board?:

    http://www.ti.com/lit/an/swra448a/swra448a.pdf

    BR,
    Eyal

  • Dear Eyal,

    Thanks for your reply.

    When I changed to 1Mhz print information is as follows:

    [    8.391306] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)

    [    8.430703] wlcore: chip id 0x6030111 (185x PG20)

    [    8.502049] wlcore: loaded

    And  ifconfig -a  after the emergence of the wlan0 :

    root@am57xx-evm:~# ifconfig -a

    wlan0     Link encap:Ethernet  HWaddr E7:4E:07:00:07:10  
              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)

    But when I  iwlist wlan0 scanning  when the following information:

    root@am57xx-evm:~# iwlist wlan0 scanning

    wlan0     Interface doesn't support scanning.

    Is it a hardware problem?

    Thanks.

  • Dear Eyal,

    The above problem is solved after I updated the files in /lib/firmware/ti-connectivity and /usr/sbin/wlconf/official_inis .

    But when I
    root@am57xx-evm:~# iwlist wlan0 scan
    wlan0 Interface doesn't support scanning.

    root@am57xx-evm:~# dmesg | grep wl
    [ 8.511447] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [ 8.536219] wlcore: chip id 0x6030111 (185x PG20)
    [ 8.570426] wlcore: loaded
    [ 9.021095] wlcore: booting firmware ti-connectivity/wl18xx-fw-4.bin
    [ 9.034745] wlcore: clock freq 5 (13, 120, 0, 0, spit)
    [ 9.044055] wlcore: chip id 0x6030111
    [ 9.046116] wlcore: firmware chunks to be uploaded: 15
    [ 9.046125] wlcore: chunk 14 addr 0x0 len 114152
    [ 9.046130] wlcore: starting firmware upload
    [ 9.046135] wlcore: fw_data_len 114152 chunk_size 16384
    [ 9.047507] wlcore: uploading fw chunk 0xf25f700c to 0x0
    [ 9.082576] wlcore: uploading fw chunk 0xf25fb00c to 0x4000
    [ 9.117650] wlcore: uploading fw chunk 0xf25ff00c to 0x8000
    [ 9.152725] wlcore: uploading fw chunk 0xf260300c to 0xc000
    [ 9.189154] wlcore: uploading fw chunk 0xf260700c to 0x10000
    [ 9.224221] wlcore: uploading fw chunk 0xf260b00c to 0x14000
    [ 9.259297] wlcore: uploading fw last chunk (15848 B) 0xf260f00c to 0x18000
    [ 9.293364] wlcore: chunk 13 addr 0x100000 len 131072
    [ 9.293372] wlcore: starting firmware upload
    [ 9.293378] wlcore: fw_data_len 131072 chunk_size 16384
    [ 9.295989] wlcore: uploading fw chunk 0xf2612dfc to 0x100000
    [ 9.332340] wlcore: uploading fw chunk 0xf2616dfc to 0x104000
    [ 9.370161] wlcore: uploading fw chunk 0xf261adfc to 0x108000
    [ 9.406509] wlcore: uploading fw chunk 0xf261edfc to 0x10c000
    [ 9.442911] wlcore: uploading fw chunk 0xf2622dfc to 0x110000
    [ 9.479595] wlcore: uploading fw chunk 0xf2626dfc to 0x114000
    [ 9.516017] wlcore: uploading fw chunk 0xf262adfc to 0x118000
    [ 9.552434] wlcore: uploading fw chunk 0xf262edfc to 0x11c000
    [ 9.587486] wlcore: uploading fw last chunk (0 B) 0xf2632dfc to 0x120000
    [ 9.587501] wlcore: chunk 12 addr 0x20400000 len 53484
    [ 9.587507] wlcore: starting firmware upload
    [ 9.587513] wlcore: fw_data_len 53484 chunk_size 16384
    [ 9.590248] wlcore: uploading fw chunk 0xf2632e04 to 0x20400000
    [ 9.626653] wlcore: uploading fw chunk 0xf2636e04 to 0x20404000
    [ 9.663043] wlcore: uploading fw chunk 0xf263ae04 to 0x20408000
    [ 9.704996] wlcore: uploading fw last chunk (4332 B) 0xf263ee04 to 0x2040c000
    [ 9.714539] wlcore: chunk 11 addr 0xb00000 len 512
    [ 9.714546] wlcore: starting firmware upload
    [ 9.714552] wlcore: fw_data_len 512 chunk_size 16384
    [ 9.716122] wlcore: uploading fw last chunk (512 B) 0xf263fef8 to 0xb00000
    [ 9.717366] wlcore: chunk 10 addr 0xb0ae40 len 28124
    [ 9.717371] wlcore: starting firmware upload
    [ 9.717376] wlcore: fw_data_len 28124 chunk_size 16384
    [ 9.720038] wlcore: uploading fw chunk 0xf2640100 to 0xb0ae40
    [ 9.755096] wlcore: uploading fw last chunk (11740 B) 0xf2644100 to 0xb0ee40
    [ 9.780419] wlcore: chunk 9 addr 0x80900000 len 60496
    [ 9.780426] wlcore: starting firmware upload
    [ 9.780431] wlcore: fw_data_len 60496 chunk_size 16384
    [ 9.781742] wlcore: uploading fw chunk 0xf2646ee4 to 0x80900000
    [ 9.816795] wlcore: uploading fw chunk 0xf264aee4 to 0x80904000
    [ 9.851865] wlcore: uploading fw chunk 0xf264eee4 to 0x80908000
    [ 9.886930] wlcore: uploading fw last chunk (11344 B) 0xf2652ee4 to 0x8090c000
    [ 9.912982] wlcore: chunk 8 addr 0x80920000 len 32004
    [ 9.912988] wlcore: starting firmware upload
    [ 9.912993] wlcore: fw_data_len 32004 chunk_size 16384
    [ 9.916159] wlcore: uploading fw chunk 0xf2655b3c to 0x80920000
    [ 9.951232] wlcore: uploading fw last chunk (15620 B) 0xf2659b3c to 0x80924000
    [ 9.984840] wlcore: chunk 7 addr 0x80940000 len 6144
    [ 9.984848] wlcore: starting firmware upload
    [ 9.984853] wlcore: fw_data_len 6144 chunk_size 16384
    [ 9.986159] wlcore: uploading fw last chunk (6144 B) 0xf265d848 to 0x80940000
    [ 10.001388] wlcore: chunk 6 addr 0x80944000 len 6144
    [ 10.001397] wlcore: starting firmware upload
    [ 10.001403] wlcore: fw_data_len 6144 chunk_size 16384
    [ 10.002766] wlcore: uploading fw last chunk (6144 B) 0xf265f050 to 0x80944000
    [ 10.016017] wlcore: chunk 5 addr 0x80948000 len 6144
    [ 10.016025] wlcore: starting firmware upload
    [ 10.016030] wlcore: fw_data_len 6144 chunk_size 16384
    [ 10.017343] wlcore: uploading fw last chunk (6144 B) 0xf2660858 to 0x80948000
    [ 10.030587] wlcore: chunk 4 addr 0x8094c000 len 6144
    [ 10.030595] wlcore: starting firmware upload
    [ 10.030600] wlcore: fw_data_len 6144 chunk_size 16384
    [ 10.031958] wlcore: uploading fw last chunk (6144 B) 0xf2662060 to 0x8094c000
    [ 10.045201] wlcore: chunk 3 addr 0x80950000 len 8192
    [ 10.045208] wlcore: starting firmware upload
    [ 10.045213] wlcore: fw_data_len 8192 chunk_size 16384
    [ 10.046522] wlcore: uploading fw last chunk (8192 B) 0xf2663868 to 0x80950000
    [ 10.064118] wlcore: chunk 2 addr 0x80960000 len 21260
    [ 10.064124] wlcore: starting firmware upload
    [ 10.064129] wlcore: fw_data_len 21260 chunk_size 16384
    [ 10.065432] wlcore: uploading fw chunk 0xf2665870 to 0x80960000
    [ 10.100482] wlcore: uploading fw last chunk (4876 B) 0xf2669870 to 0x80964000
    [ 10.111213] wlcore: chunk 1 addr 0x80953000 len 1536
    [ 10.111220] wlcore: starting firmware upload
    [ 10.111226] wlcore: fw_data_len 1536 chunk_size 16384
    [ 10.112529] wlcore: uploading fw last chunk (1536 B) 0xf266ab84 to 0x80953000
    [ 10.115953] wlcore: chunk 0 addr 0x80958000 len 24576
    [ 10.115957] wlcore: starting firmware upload
    [ 10.115962] wlcore: fw_data_len 24576 chunk_size 16384
    [ 10.117260] wlcore: uploading fw chunk 0xf266b18c to 0x80958000
    [ 10.152300] wlcore: uploading fw last chunk (8192 B) 0xf266f18c to 0x8095c000
    [ 10.173983] wlcore: chip id after firmware boot: 0x6030111
    [ 10.195938] wlcore: PHY firmware version: Rev 8.2.0.0.232
    [ 10.385308] wlcore: rx start cmd channel 1
    [ 10.387843] wlcore: tx start cmd channel 1
    [ 10.395535] wlcore: firmware booted (Rev 8.9.0.0.48)
    [ 10.500585] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

    This is what is the reason?

    Thanks.
  • You should try:

    iw wlan0 scan

    Instead of iwlist.

    BR

    Eyal

  • Dear Eyal,

    Thanks for your reply.

    I can start wlan0 , can also be networked.

    But why 5Mhz and 50Mhz can not be used?

    And when I use 1Mhz very unstable, and often there will be the following print information :

    root@am57xx-evm:~# [ 1436.338748] ------------[ cut here ]------------
    [ 1436.343412] WARNING: CPU: 1 PID: 728 at drivers/net/wireless/ti/wlcore/sdio.c:107 wl12xx_sdio_raw_read+0xb8/0x144 [wlcore_sdio]()
    [ 1436.355142] Modules linked in: ctr ccm bc_example(O) rpmsg_rpc rpmsg_proto rpmsg_pru arc4 sha512_generic sha512_arm sha1_generic sha1
    _arm_neon sha1_arm md5 cbc sha256_generic wl18xx sha256_arm wlcore hmac drbg mac80211 xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4
    af_key xfrm_algo bluetooth cfg80211 pruss_intc dwc3 udc_core virtio_rpmsg_bus snd_soc_simple_card snd_soc_omap_hdmi_audio pru_rproc ahc
    i_platform libahci_platform pvrsrvkm(O) libahci omap_aes_driver omap_sham pruss omap_wdt libata wlcore_sdio ti_vpe ti_sc ti_vpdma dwc3_o
    map extcon_palmas extcon rtc_omap omap_des palmas_pwrbutton rtc_palmas snd_soc_tlv320aic3x rtc_ds1307 omap_rng rng_core omap_remoteproc
    remoteproc virtio virtio_ring sch_fq_codel uio_module_drv(O) uio gdbserverproxy(O) cryptodev(O) cmemk(O)
    [ 1436.424640] CPU: 1 PID: 728 Comm: irq/258-wl18xx Tainted: G W O 4.4.12-g3639bea54a #46
    [ 1436.433550] Hardware name: Generic DRA74X (Flattened Device Tree)
    [ 1436.439668] Backtrace:
    [ 1436.442145] [<c00130c0>] (dump_backtrace) from [<c00132bc>] (show_stack+0x18/0x1c)
    [ 1436.449746] r7:bf1653ec r6:60030113 r5:00000000 r4:c09d320c
    [ 1436.455472] [<c00132a4>] (show_stack) from [<c02a4148>] (dump_stack+0x90/0xa4)
    [ 1436.462729] [<c02a40b8>] (dump_stack) from [<c0034f74>] (warn_slowpath_common+0x88/0xb8)
    [ 1436.470852] r7:bf1653ec r6:0000006b r5:00000009 r4:00000000
    [ 1436.476567] [<c0034eec>] (warn_slowpath_common) from [<c0035048>] (warn_slowpath_null+0x24/0x2c)
    [ 1436.485388] r8:000000ec r7:ed221800 r6:ed5cea10 r5:000050f8 r4:ee6d7800
    [ 1436.492168] [<c0035024>] (warn_slowpath_null) from [<bf1653ec>] (wl12xx_sdio_raw_read+0xb8/0x144 [wlcore_sdio])
    [ 1436.502343] [<bf165334>] (wl12xx_sdio_raw_read [wlcore_sdio]) from [<bf0c5eec>] (wlcore_fw_status+0xb8/0x458 [wlcore])
    [ 1436.513084] r9:00000000 r8:bf0dd5ec r7:ece037c0 r6:bf0e2990 r5:bf165334 r4:ed1dad00
    [ 1436.520969] [<bf0c5e34>] (wlcore_fw_status [wlcore]) from [<bf0c632c>] (wlcore_irq_locked+0xa0/0x2cc [wlcore])
    [ 1436.531011] r10:c007a284 r9:00000000 r8:bf0dd5ec r7:ed1dad54 r6:bf0e2990 r5:00000100
    [ 1436.538915] r4:ed1dad00
    [ 1436.541529] [<bf0c628c>] (wlcore_irq_locked [wlcore]) from [<bf0c71f4>] (wlcore_irq+0xd4/0x170 [wlcore])
    [ 1436.551045] r10:c007a284 r9:ec810640 r8:ed1daee0 r7:ed1dad3c r6:ed1dad54 r5:ed1dad24
    [ 1436.558935] r4:ed1dad00
    [ 1436.561506] [<bf0c7120>] (wlcore_irq [wlcore]) from [<c007a2a8>] (irq_thread_fn+0x24/0x5c)
    [ 1436.569803] r9:ec810640 r8:ee1d9300 r7:00000001 r6:00000000 r5:ee1d9300 r4:ec810640
    [ 1436.577612] [<c007a284>] (irq_thread_fn) from [<c007a5b0>] (irq_thread+0x140/0x1f8)
    [ 1436.585296] r7:00000001 r6:00000000 r5:ec810664 r4:ec9e0000
    [ 1436.591003] [<c007a470>] (irq_thread) from [<c004f9e8>] (kthread+0xe4/0xfc)
    [ 1436.597989] r10:00000000 r9:00000000 r8:00000000 r7:c007a470 r6:ec810640 r5:ec810680
    [ 1436.605877] r4:00000000
    [ 1436.608424] [<c004f904>] (kthread) from [<c000fac8>] (ret_from_fork+0x14/0x2c)
    [ 1436.615672] r7:00000000 r6:00000000 r5:c004f904 r4:ec810680
    [ 1436.621410] ---[ end trace fdba343a91babdeb ]---
    [ 1436.626055] wl1271_sdio mmc2:0001:2: sdio read failed (-84)
    [ 1436.631664] ------------[ cut here ]------------
    [ 1436.636335] WARNING: CPU: 1 PID: 728 at drivers/net/wireless/ti/wlcore/main.c:811 wl12xx_queue_recovery_work.part.8+0x60/0x64 [wlcore]()
    [ 1436.648657] Modules linked in: ctr ccm bc_example(O) rpmsg_rpc rpmsg_proto rpmsg_pru arc4 sha512_generic sha512_arm sha1_generic sha1
    _arm_neon sha1_arm md5 cbc sha256_generic wl18xx sha256_arm wlcore hmac drbg mac80211 xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4
    af_key xfrm_algo bluetooth cfg80211 pruss_intc dwc3 udc_core virtio_rpmsg_bus snd_soc_simple_card snd_soc_omap_hdmi_audio pru_rproc ahc
    i_platform libahci_platform pvrsrvkm(O) libahci omap_aes_driver omap_sham pruss omap_wdt libata wlcore_sdio ti_vpe ti_sc ti_vpdma dwc3_o
    map extcon_palmas extcon rtc_omap omap_des palmas_pwrbutton rtc_palmas snd_soc_tlv320aic3x rtc_ds1307 omap_rng rng_core omap_remoteproc
    remoteproc virtio virtio_ring sch_fq_codel uio_module_drv(O) uio gdbserverproxy(O) cryptodev(O) cmemk(O)
    [ 1436.717774] CPU: 1 PID: 728 Comm: irq/258-wl18xx Tainted: G W O 4.4.12-g3639bea54a #46
    [ 1436.726679] Hardware name: Generic DRA74X (Flattened Device Tree)
    [ 1436.732792] Backtrace:
    [ 1436.735258] [<c00130c0>] (dump_backtrace) from [<c00132bc>] (show_stack+0x18/0x1c)
    [ 1436.742854] r7:bf0c6ff4 r6:60030113 r5:00000000 r4:c09d320c
    [ 1436.748563] [<c00132a4>] (show_stack) from [<c02a4148>] (dump_stack+0x90/0xa4)
    [ 1436.755816] [<c02a40b8>] (dump_stack) from [<c0034f74>] (warn_slowpath_common+0x88/0xb8)
    [ 1436.763935] r7:bf0c6ff4 r6:0000032b r5:00000009 r4:00000000
    [ 1436.769640] [<c0034eec>] (warn_slowpath_common) from [<c0035048>] (warn_slowpath_null+0x24/0x2c)
    [ 1436.778457] r8:ed1daee0 r7:ed1dad3c r6:ed1dad54 r5:ed1dad24 r4:ed1dad00
    [ 1436.785238] [<c0035024>] (warn_slowpath_null) from [<bf0c6ff4>] (wl12xx_queue_recovery_work.part.8+0x60/0x64 [wlcore])
    [ 1436.796020] [<bf0c6f94>] (wl12xx_queue_recovery_work.part.8 [wlcore]) from [<bf0c728c>] (wlcore_irq+0x16c/0x170 [wlcore])
    [ 1436.807016] r5:ed1dad24 r4:ed1dad00
    [ 1436.810637] [<bf0c7120>] (wlcore_irq [wlcore]) from [<c007a2a8>] (irq_thread_fn+0x24/0x5c)
    [ 1436.818931] r9:ec810640 r8:ee1d9300 r7:00000001 r6:00000000 r5:ee1d9300 r4:ec810640
    [ 1436.826739] [<c007a284>] (irq_thread_fn) from [<c007a5b0>] (irq_thread+0x140/0x1f8)
    [ 1436.834423] r7:00000001 r6:00000000 r5:ec810664 r4:ec9e0000
    [ 1436.840128] [<c007a470>] (irq_thread) from [<c004f9e8>] (kthread+0xe4/0xfc)
    [ 1436.847114] r10:00000000 r9:00000000 r8:00000000 r7:c007a470 r6:ec810640 r5:ec810680
    [ 1436.855005] r4:00000000
    [ 1436.857554] [<c004f904>] (kthread) from [<c000fac8>] (ret_from_fork+0x14/0x2c)
    [ 1436.864801] r7:00000000 r6:00000000 r5:c004f904 r4:ec810680
    [ 1436.870533] ---[ end trace fdba343a91babdec ]---
    [ 1436.875189] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.48
    [ 1436.883038] wlcore: down
    [ 1436.885586] wlcore: down
    [ 1436.895961] ieee80211 phy0: Hardware restart was requested
    [ 1438.420576] wlcore: PHY firmware version: Rev 8.2.0.0.232
    [ 1438.712659] wlcore: firmware booted (Rev 8.9.0.0.48)
    [ 1438.903126] wlcore: Association completed.

    Please help me analyze the specific reasons.

    Thanks.
  • Hi,

    As you are able to work (partially) using a lower SDIO spped, the issue is most likely a hardware issue with the sdio bus of your custom board.
    What level shifter was used in the design ( for 3.3->1.8V translation ?
    Did you follow the level shifting document i pointed you to earlier?
    Did you ask your hardware engineers to look at the sdio bus signals (using a scope) and verify the signal integrity?

    BR,
    Eyal
  • Dear Eyal,

    Thanks for your reply.

    I use the level shifter model is LSF0108QPWRQ1.

    Here is my schematic :

    Is there any problem with this connection?

    Thanks.

  • Hi,

    Normally, you should have used TXS0108. This is what most designs use, and as shown in:
    www.ti.com/.../swra448a.pdf

    I have forwarded it also to our H/W expert to comment regarding the feasibility of using the LSF.

    BR,
    Eyal
  • Dear Eyal,

    Thank you for forwarding, I will wait for your H / W expert advice.

  • Some suggestions from our hardware team:

    1. Scope the SDIO lines and take snap shots at several clocks
    2. Try to pull the sdio lines with a 10k resistor to 1.8V on the WL8 side with existing LS (D0,D1,D2,D3,CMD) and take snap shots again
    3. If it doesn’t work Try to replace with the TXS0108 Variant and measure again

    BR,
    Eyal
  • Hi Eyal,

    I have been on the side of the 10k pull up the resistance, can support 1M frequency, but 5M and 50M or not.

    Should I pull both sides at the same time?

    Every pin need pull-up?

    Or change the size of the resistor , because I saw the LSF0108.pdf wrote:

    9.2.1.2.2 Pull-up Resistor Sizing
    The pull-up resistor value needs to limit the current through the pass transistor when it is in the ON state to about
    15 mA. This ensures a pass voltage of 260 mV to 350 mV. If the current through the pass transistor is higher
    than 15 mA, the pass voltage also is higher in the ON state. To set the current through each pass transistor at 15
    mA, to calculate the pull-up resistor value use the following equation:
    Rpu = (Vpu – 0.35 V) / 0.015 A

    lsf0108.pdf

  • Hi Eyal,

    I tried in the 1.8v side of the pull-up 1K, 3.3V side pull-up 2K.
    The result is to support 2M, 2.5M very unstable.


    When I reduced the pull-up resistor to 100ohm and 240ohm.

    The frequency did not increase and the result was the same as if there was no pull-up.

    What's the reason?

    Thanks.

  • Hi,

    The best suggestion I have right now is to try and replace the LSF0108 with the TXS0108.
    This is the LS that most customers use.

    Otherwise you need to probe all the sdio lies using an oscilloscope a during sdio bus operations and check the signals.
    There is not much we can say without actually seeing the wave forms.

    BR,
    Eyal
  • Hi Eyal.

    Thanks for your reply.

    I can refer to the EVM design?

    Below is the circuit schematic.

    Why WL_EN, IRQ, CLK and CMD  、D0-D3 to use a different chip .

    Can not they use the same TXS0108 conversion?

    Or is it because these signals affect each other?

    Thanks.

  • Hi,

    Yes, they can use the same TXS0108.
    See for example the beaglebone black wireless board schematics for reference.

    github.com/.../BeagleBone_Black_Wireless_SCH.pdf

    BR,
    Eyal
  • Hi Eyal.

    Thanks for your reply.
    My problem is solved, the circuit is connected In addition to the problem, the use of LSF0108 is feasible.
    Thanks.
  • Hi,

    Thank you for the update.

    Just for knowledge, what was the fix you have done in order to make it work correctly?

    BR,

    Eyal

  • Hi Eyal.

    I have a piece of hardware and MMC_DAT2 shared, no problem after the break, it should be the reason for the use of the wifi.