您尚未登录。

#1 Re: 全志 SOC » licheepi v3s 4.10 内核 有线网口无法驱动 » 2020-11-05 16:54:13

Hi Ocean,

Can you please help me to run wireless network in 4.14 kernel.?

Actually I have build the esp8089.ko but i can not scan any network.

Can you please help me.

Regards,
Pratik

#2 Re: 全志 SOC » V3S主线驱动wifi-esp8089 » 2020-11-04 01:33:04

Hi,

Still same error.wlan0 is detected but no scan result..

Is dts file have anything need to add for esp8089?

My dts file for mmc1:

&mmc1 {
        broken-cd;
        bus-width = <4>;
        vmmc-supply = <&reg_vcc3v3>;
        status = "okay";

};

#3 Re: 全志 SOC » V3S主线驱动wifi-esp8089 » 2020-11-03 20:54:32

Hi @Shawn.d

How. can you please give some hint..

For All

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 ?

#4 Re: 全志 SOC » V3S主线驱动wifi-esp8089 » 2020-11-03 20:51:20

Hi @Lone Star Tears

Thank you for your reply.
What is "Firmware on the 7th floor"?

I am new so I don't know.

How to go to for "Firmware on the 7th floor" ?
Can you please give me link ?

#5 Re: 全志 SOC » V3S Lichee Pi ESP8089 WIFI SDIO Based Not working- No scan results » 2020-11-03 20:40:52

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

#6 Re: 全志 SOC » V3S主线驱动wifi-esp8089 » 2020-11-03 17:03:13

Hi All,

Is V3s Wifi -ESP8089 problem slove?

I have same issue. esp8089.ko module load successfully. but I can not scan any wifi network..it gives "No scan results"

Regards,
Pratik

#7 全志 SOC » V3S Lichee Pi ESP8089 WIFI SDIO Based Not working- No scan results » 2020-11-03 16:22:30

Pratik
回复: 4

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

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn