Hi ,
I am using Lichee pi zero Board. Also have V3s Custom board.
On my board and Lichee pi both SDcard is working fine. not I am trying to give support of WiFi ESP8089 module(SDIO Based)
Driver is successfully compile but when I am trying to scan a WiFi its give "No scan results"
I am using Buildroot paltform for compilation :
Kernel Version :Linux version 4.14.14-licheepi-zero
ESP8089 Code: esp8089-clenaup
My Configuration Steps and logs:
# modprobe esp8089.ko config=crystal_26M_en=1
[ 200.341399] esp8089: module is from the staging directory, the quality is unknown, you have been warned.
# [ 201.286481] mmc1: card 0001 removed
[ 201.380585] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[ 201.396593] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[ 201.408435] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[ 201.418939] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[ 201.427959] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[ 201.436503] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[ 201.444763] mmc1: new high speed SDIO card at address 0001
#ifconfig wlan2 up
# iwlist wlan2 scan
wlan2 No scan results
------------------------
Logs:
# wpa_supplicant -B -d -i wlan2 -c /etc/wpa_supplicant.conf
wpa_supplicant v2.6
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan2' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ap_scan=1
Priority group 0
id=0 ssid='Jay jalaram'
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Using driver-based off-channel TX
nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
nl80211: interface wlan2 in phy phy2
nl80211: Set mode ifindex 8 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0x9eb90
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9eb90 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9eb90 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9eb90 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9eb90 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9eb90 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9eb90 match=0505
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9eb90 match=0500
rfkill: initial event: idx=2 type=1 op=0 soft=0 hard=0
netlink: Operstate: ifindex=8 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan2 to a new radio phy2
nl80211: Set mode ifindex 8 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0x9eb90
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9eb90 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9eb90 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9eb90 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9eb90 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9eb90 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9eb90 match=0505
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9eb90 match=0500
rfkill: initial event: idx=2 type=1 op=0 soft=0 hard=0
netlink: Operstate: ifindex=8 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan2 to a new radio phy2
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
nl80211: 57240-63720 @ 2160 MHz 0 mBm
nl80211: Added 802.11b mode based on 802.11g information
wlan2: Own MAC address: ac:d0:74:28:17:1d
wpa_driver_nl80211_set_key: ifindex=8 (wlan2) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=8 (wlan2) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=8 (wlan2) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=8 (wlan2) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
wlan2: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlan2: Setting scan request: 0.100000 sec
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip set_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
wlan2: Added interface wlan2
wlan2: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan2 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=8 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
Jan 1 00:03:24 licheepi-zero user.warn kernel: [ 200.341399] esp8089: module is from the staging directory, the quality is unknown, you have been w.
Jan 1 00:03:25 licheepi-zero user.info kernel: [ 201.286481] mmc1: card 0001 removed
Jan 1 00:03:25 licheepi-zero user.warn kernel: [ 201.380585] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
Jan 1 00:03:25 licheepi-zero user.warn kernel: [ 201.396593] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
Jan 1 00:03:25 licheepi-zero user.warn kernel: [ 201.408435] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
Jan 1 00:03:25 licheepi-zero user.warn kernel: [ 201.418939] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
Jan 1 00:03:25 licheepi-zero user.warn kernel: [ 201.427959] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
Jan 1 00:03:25 licheepi-zero user.warn kernel: [ 201.436503] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
Jan 1 00:03:25 licheepi-zero user.info kernel: [ 201.444763] mmc1: new high speed SDIO card at address 0001
Jan 1 00:03:25 licheepi-zero daemon.warn dhcpcd[122]: all: IPv6 kernel autoconf disabled
Jan 1 00:03:25 licheepi-zero daemon.info dhcpcd[122]: wlan2: waiting for carrier
Jan 1 00:03:25 licheepi-zero daemon.info dhcpcd[122]: wlan2: carrier acquired
Jan 1 00:03:25 licheepi-zero daemon.warn dhcpcd[122]: all: IPv6 kernel autoconf disabled
Jan 1 00:03:25 licheepi-zero daemon.info dhcpcd[122]: wlan2: IAID 74:28:17:1d
Jan 1 00:03:25 licheepi-zero daemon.info dhcpcd[122]: wlan2: adding address fe80::e827:6524:6c32:c232
Jan 1 00:03:25 licheepi-zero daemon.err dhcpcd[122]: if_addaddress6: Operation not supported
Jan 1 00:03:25 licheepi-zero daemon.info dhcpcd[122]: wlan2: carrier lost
--------------------------
Can you please help me to workout this..
is there any Configuration in DTS file for ESP8089 moudle ?
Regards,
Pratik
----------------------
/var/log/messages
离线
Thank you for your reply
I have already disbaled leds in "sun8i-v3s-licheepi-zero-dock.dts" file..
leds {
/* The LEDs use PG0~2 pins, which conflict with MMC1 */
status = "disabled";
};
is it ok. or something else?
Regards,
Pratik
离线