Other Parts Discussed in Thread: WL1837, WL1271
Tool/software: Linux
Hi Folks,
I am getting following warning from kernel, when the module is loaded. I am using am572x and using wl1837, from the logs It seems SDIO is initialized. Just to add I have added max-frequency=<15000000>;
in the DT node, If I remove this property the SDIO interface fails to initialize [1] .
root@vb4:~# insmod /lib/modules/4.4.54-rt63-g00eb0a0737/kernel/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko
[ 137.528297] wl18xx_driver wl18xx.1.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2
[ 137.538958] wl18xx_driver wl18xx.1.auto: Falling back to user helper
[ 137.898748] ------------[ cut here ]------------
[ 137.903406] WARNING: CPU: 0 PID: 422 at /home/mike/kernel-source/drivers/net/wireless/ti/wlcore/sdio.c:145)
[ 137.922567] Modules linked in: wl18xx wlcore_sdio xhci_plat_hcd xhci_hcd usbcore wlcore mac80211 cfg80211 pru_rproc dwc3 pruss_intc udc_core sha512_ge]
[ 137.975530] CPU: 0 PID: 422 Comm: kworker/0:3 Tainted: G W O 4.4.54-rt63-g00eb0a0737 #162
[ 137.975533] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 137.975545] Workqueue: events request_firmware_work_func
[ 137.975549] Backtrace:
[ 137.975565] [<c0012180>] (dump_backtrace) from [<c0012378>] (show_stack+0x18/0x1c)
[ 137.975574] r7:00000091 r6:600f0013 r5:00000000 r4:c094958c
[ 137.975586] [<c0012360>] (show_stack) from [<c0281d9c>] (dump_stack+0x84/0xa0)
[ 137.975598] [<c0281d18>] (dump_stack) from [<c0030610>] (warn_slowpath_common+0x8c/0xb8)
[ 137.975605] r7:00000091 r6:bf366047 r5:00000009 r4:00000000
[ 137.975615] [<c0030584>] (warn_slowpath_common) from [<c00306e0>] (warn_slowpath_null+0x24/0x2c)
[ 137.975625] r8:ed78aa10 r7:00000004 r6:ecd626c0 r5:0001ffc4 r4:ed9f9800
[ 137.975637] [<c00306bc>] (warn_slowpath_null) from [<bf365270>] (wl12xx_sdio_raw_write+0xbc/0x124 [wlcore_sdio])
[ 137.975689] [<bf3651b4>] (wl12xx_sdio_raw_write [wlcore_sdio]) from [<bf2b9e6c>] (wlcore_set_partition+0x110/0x408 [wlcore])
[ 137.975699] r8:ed78aa00 r7:00000000 r6:bf3651b4 r5:bf37274c r4:ecf70f20
[ 137.975778] [<bf2b9d5c>] (wlcore_set_partition [wlcore]) from [<bf2b0758>] (wl12xx_set_power_on+0x64/0x148 [wlcore])
[ 137.975785] r6:bf2cced4 r5:00000000 r4:ecf70f20
[ 137.975862] [<bf2b06f4>] (wl12xx_set_power_on [wlcore]) from [<bf2b4f08>] (wlcore_nvs_cb+0x1f0/0x9f4 [wlcore])
[ 137.975867] r5:ecf71f20 r4:ecf70f20
[ 137.975911] [<bf2b4d18>] (wlcore_nvs_cb [wlcore]) from [<c03a3c88>] (request_firmware_work_func+0x38/0x60)
[ 137.975922] r10:00000008 r9:00000000 r8:eed27300 r7:00000000 r6:eed23c00 r5:ecd62dc0
[ 137.975925] r4:ecd62dc0
[ 137.975936] [<c03a3c50>] (request_firmware_work_func) from [<c0043bd0>] (process_one_work+0x1b0/0x314)
[ 137.975940] r4:ed71c380
[ 137.975949] [<c0043a20>] (process_one_work) from [<c0044c9c>] (worker_thread+0x354/0x448)
[ 137.975958] r10:00000008 r9:ed71c398 r8:eed23c28 r7:c0914580 r6:eed23c00 r5:eed23c00
[ 137.975961] r4:ed71c380
[ 137.975970] [<c0044948>] (worker_thread) from [<c0049328>] (kthread+0xe0/0xf0)
[ 137.975979] r10:00000000 r9:00000000 r8:00000000 r7:c0044948 r6:ed71c380 r5:00000000
[ 137.975982] r4:ed664480
[ 137.975990] [<c0049248>] (kthread) from [<c000f010>] (ret_from_fork+0x14/0x24)
[ 137.975997] r7:00000000 r6:00000000 r5:c0049248 r4:ed664480
[ 137.982661] ---[ end trace 0000000000000003 ]---
[ 138.199346] wl1271_sdio mmc2:0001:2: sdio write failed (-84)
Thanks,
--Mike