-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
driver wilc1000 for kernel 4.14.98 #96
Comments
FW can be downloaded from https://github.com/linux4wilc/firmware repo. For wilc1000, use wilc1000_wifi_firmware.bin FW binary. The link to 15.3.1 driver & FW is below: |
Hi, insmod wilc-sdio.ko ifconfig wlan0 up This is my device tree: /* WIFI */
}; pinctrl_atwilc1000: atwilc1000grp { Best Regards |
From the logs, it appears that the driver fails to get 'reset' GPIO using gpiod_get() API. During failure, it tries to load a default GPIO 'GPIO_NUM_RESET' which may be not correct in your codebase. "wilc_sdio mmc1:0001:1: failed to get Reset GPIO, try default" Please check and try by configuring with correct available GPIO for reset. |
Hi, #define GPIO_NUM 8 this is the output: insmod wilc-sdio.ko there still seems to be a problem. Best Regards |
The logs look a bit strange for fetching reset GPIO because the next call for wilc_wlan_power() it was able to fetch reset from your Device tree. The below logs were missing for the next call to wilc_wlan_power(). [ 100.665204] wifi_pm : 0 So still I suspect the reset GPIO is not configured properly for the proper pwr sequence of WILC device. Please try commenting out below code in wilc_wlan_power_on_sequence() and check the behavior after a hard reset?
|
Hi, ~# insmod wilc-sdio.ko ~# ifconfig wlan0 up Best Regards |
I suspect the issue could be related to power_sequence not triggered from host to WILC device. I hope you have tried by rebooting the host by removing power cable too. |
Hi,
I'm using an NXP imx8m mini processor, and we connected the ATWILC1000 module on the SDIO interface.
I'm using the 4.14.98 kernel and when I load the driver it gives me the following output:
insmod wilc1000-sdio.ko
[35.225950] wilc1000_sdio: module is from the staging directory, the quality is unknown, you have been warned.
[35.246083] wilc1000_sdio mmc1: 0001: 1: Driver Initializing success
ifconfig wlan0 up
[54.458111] wilc1000_sdio mmc1: 0001: 1: chipid (c0802221)
[54.463459] wilc1000_sdio mmc1: 0001: 1: has_thrpt_enh3 = 0 ...
[54.470250] wilc1000_sdio mmc1: 0001: 1 wlan0: loading firmware atmel / wilc1002_firmware.bin
[54.478522] wilc1000_sdio mmc1: 0001: 1: Falling back to user helper
[54.487556] wilc1000_sdio mmc1: 0001: 1 wlan0: atmel / wilc1002_firmware.bin - firmware not available
[54.497183] wilc1000_sdio mmc1: 0001: 1 wlan0: WLAN initialization FAILED
[54.503881] wilc1000_sdio mmc1: 0001: 1 wlan0: Failed to set driver handler
[54.510771] wilc1000_sdio mmc1: 0001: 1 wlan0: Host cmd 24 failed
[54.516727] wilc1000_sdio mmc1: 0001: 1 wlan0: [Host Interface] undefined
SIOCSIFFLAGS: Input / output error
the firmware seems to be missing, where can I find it? Is this the correct driver to load?
Best Regards
Domenico Acri
The text was updated successfully, but these errors were encountered: