您尚未登录。

楼主 #1 2019-07-24 21:26:22

fan12398
会员
注册时间: 2019-07-09
已发帖子: 34
积分: 33

v3s加载esp8089失败

错误如下,dtb 文件使用的 sun8i-v3s-licheepi-zero-dock.dtb,
esp8089.ko 是按照 https://whycan.cn/t_2232.html 编译出来的
esp8089模块是接在 SDC1上的,SDC0插了SD卡,

# insmod esp8089.ko 
[   64.175698] esp8089: loading out-of-tree module taints kernel.
[   64.204349] eagle_sdio mmc1:0001:1: Direct firmware load for eagle_fw_ate_config_v19.bin failed with error -2
[   64.214349] download firmware failed
[   64.217925] esp_init_all failed: -2
[   64.221408] first error exit

最近编辑记录 fan12398 (2019-07-24 21:28:49)

离线

楼主 #2 2019-07-24 21:35:16

fan12398
会员
注册时间: 2019-07-09
已发帖子: 34
积分: 33

Re: v3s加载esp8089失败

kernel 启动日志最后的mmc部分如下

[    1.249474] mmc0: new high speed SD card at address 219b
[    1.255511] mmcblk0: mmc0:219b XTSDA 122 MiB 
[    1.261319]  mmcblk0: p1 p2
[    1.272244] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc430
[    1.282954] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    1.292704] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    1.301200] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy rer
[    1.312622] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.318469] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.327483] hub 3-0:1.0: USB hub found
[    1.331321] hub 3-0:1.0: 1 port detected
[    1.336465] using random self ethernet address
[    1.340919] using random host ethernet address
[    1.346354] usb0: HOST MAC 5e:73:73:10:9e:76
[    1.350672] usb0: MAC 5a:ef:22:7d:e8:14
[    1.354674] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.362151] g_cdc gadget: g_cdc ready
[    1.366250] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:04 UTC (4)
[    1.374479] vcc5v0: disabling
[    1.379533] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.388849] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.399854] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[    1.408269] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.416564] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.424958] devtmpfs: mounted
[    1.429289] Freeing unused kernel memory: 1024K
[    1.437303] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[    1.447474] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[    1.455073] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[    1.461240] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[    1.467591] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[    1.474092] mmc1: new high speed SDIO card at address 0001
[    1.583167] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting syslogd: OK
Starting klogd: OK
Initializing random number generator... done.
Starting network: OK
Starting sshd: OK

Welcome to Buildroot
whale login: 

离线

#3 2019-07-24 22:42:14

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: v3s加载esp8089失败

/lib/firmware 目录缺 eagle_fw_ate_config_v19.bin 等几个固件





在线

楼主 #4 2019-07-25 10:00:25

fan12398
会员
注册时间: 2019-07-09
已发帖子: 34
积分: 33

Re: v3s加载esp8089失败

把esp8089 编译后的 firmware 复制到 /lib/firmware下了,
insmod 又显示以下错误。才疏学浅,老是卡在比较二的问题上 neutral

# insmod esp8089.ko 
[   13.877068] esp8089: loading out-of-tree module taints kernel.
[   14.157825] ESSERT:/home/fantl/esp8089/esp_sip.c 2142
[   14.162909] Unable to handle kernel NULL pointer dereference at virtual address 000000c0
[   14.170989] pgd = c0004000
[   14.173693] [000000c0] *pgd=00000000
[   14.177276] Internal error: Oops: 17 [#1] SMP ARM
[   14.181971] Modules linked in: esp8089(O+)
[   14.186072] CPU: 0 PID: 5 Comm: kworker/u2:0 Tainted: G           O    4.14.14-licheepi-zero+ #11
[   14.194928] Hardware name: Allwinner sun8i Family
[   14.199703] Workqueue: esp_wkq sip_rxq_process [esp8089]
[   14.205011] task: c382d700 task.stack: c3842000
[   14.209547] PC is at __queue_work+0x20/0x41c
[   14.213813] LR is at queue_work_on+0x40/0x4c
[   14.218076] pc : [<c01304ac>]    lr : [<c01308e8>]    psr: 200f0093
[   14.224332] sp : c3843e50  ip : 00000000  fp : c3bd4f64
[   14.229547] r10: c3bd4f00  r9 : 00000008  r8 : 0000c3bf
[   14.234764] r7 : 00000000  r6 : 00000008  r5 : c3bb2f78  r4 : c3bb2f78
[   14.241280] r3 : 600f0093  r2 : c3bb2f78  r1 : 00000000  r0 : 00000008
[   14.247801] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   14.255011] Control: 10c5387d  Table: 4303c06a  DAC: 00000051
[   14.260749] Process kworker/u2:0 (pid: 5, stack limit = 0xc3842210)
[   14.267007] Stack: (0xc3843e50 to 0xc3844000)
[   14.271361] 3e40:                                     c3bf1000 0000000c 0000c3bf 00000000
[   14.279529] 3e60: 0000001b c3bb2f78 600f0013 00000008 00000000 0000c3bf c3bf1000 c3bd4f00
[   14.287697] 3e80: c3bd4f64 c01308e8 00000000 c3bd4f00 c3804200 c3be9800 0000c3bf bf004a28
[   14.295865] 3ea0: c3bd4f00 0000c3bf c3804200 bf002a04 00031202 0000c3bf c3804200 bf0032f4
[   14.304032] 3ec0: 00000001 c39e2280 c3bd4480 c3deda40 c382d700 c39e2280 c301d540 bf00a000
[   14.312200] 3ee0: c3bd4f54 c3bd4f40 c3843f3c c067076c 00000001 c03abbf0 c3bf0c00 c3a0d004
[   14.320368] 3f00: c3a0d014 c3bd4f64 c383c100 c3804200 c3be9800 00000000 00000000 00000088
[   14.328536] 3f20: c3804200 c0131a68 c0a02d00 c3804218 c383c100 c3804200 c383c118 c0a02d00
[   14.336704] 3f40: c3804218 ffffe000 00000088 c01327f0 ffffe000 c0a4f99e c07bfbec 00000000
[   14.344872] 3f60: ffffe000 c380fd40 c380fbc0 00000000 c3842000 c383c100 c01327a4 c3831ee0
[   14.353040] 3f80: c380fd5c c013753c c3842000 c380fbc0 c01373f0 00000000 00000000 00000000
[   14.361207] 3fa0: 00000000 00000000 00000000 c0107868 00000000 00000000 00000000 00000000
[   14.369374] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   14.377541] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 bae8ab58 abe13bf4
[   14.385727] [<c01304ac>] (__queue_work) from [<c01308e8>] (queue_work_on+0x40/0x4c)
[   14.393412] [<c01308e8>] (queue_work_on) from [<bf004a28>] (sip_cmd_enqueue+0x88/0xe0 [esp8089])
[   14.402250] [<bf004a28>] (sip_cmd_enqueue [esp8089]) from [<bf002a04>] (sip_recalc_credit_claim+0x38/0xb4 [esp8)
[   14.412815] [<bf002a04>] (sip_recalc_credit_claim [esp8089]) from [<bf0032f4>] (sip_rxq_process+0x788/0x894 [es)
[   14.423528] [<bf0032f4>] (sip_rxq_process [esp8089]) from [<c0131a68>] (process_one_work+0x1ec/0x414)
[   14.432742] [<c0131a68>] (process_one_work) from [<c01327f0>] (worker_thread+0x4c/0x5d4)
[   14.440826] [<c01327f0>] (worker_thread) from [<c013753c>] (kthread+0x14c/0x154)
[   14.448220] [<c013753c>] (kthread) from [<c0107868>] (ret_from_fork+0x14/0x2c)
[   14.455438] Code: e1a05002 e10f3000 e3130080 0a0000be (e59730c0) 
[   14.461528] ---[ end trace 5ea13a16d8132001 ]---
[   24.163941] resetting event timeout
[   24.167449] esp_init_all failed: -110
[   24.171105] first error exit
# 

离线

楼主 #5 2019-07-25 15:13:50

fan12398
会员
注册时间: 2019-07-09
已发帖子: 34
积分: 33

Re: v3s加载esp8089失败

继续求助啊!esp8089 扫描不到 wifi,直接连接wifi udhcpc: sending discover 无限循环

附注:我把 esp8089 放到 linux 文件夹编译就没有4楼的问题了,可能是单独编译有参数没有设置吧。

# modprobe esp8089.ko config=crystal_26M_en=1
# [  172.004796] mmc1: card 0001 removed
[  172.098913] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[  172.111566] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[  172.120338] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[  172.127769] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[  172.133297] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[  172.139250] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[  172.144830] mmc1: new high speed SDIO card at address 0001
# 
# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
# 
# udhcpc -i wlan0
udhcpc: started, v1.30.1
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
^C
# 
# 
# 
# iwlist wlan0 scan
wlan0     No scan results

# iwlist wlan0 scan
wlan0     No scan results

# [  856.496219] wlan0: authenticate with 4c:ed:fb:a2:cc:08
[  856.501521] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 1/3)
[  856.714237] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 2/3)
[  856.924264] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 3/3)
[  857.134225] wlan0: authentication with 4c:ed:fb:a2:cc:08 timed out
# ifconfig 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  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)

wlan0     Link encap:Ethernet  HWaddr AC:D0:74:E2:02:A6  
          UP 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)

# [ 1461.095903] wlan0: authenticate with 4c:ed:fb:a2:cc:08
[ 1461.101201] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 1/3)
[ 1461.314238] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 2/3)
[ 1461.524237] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 3/3)
[ 1461.734223] wlan0: authentication with 4c:ed:fb:a2:cc:08 timed out

最近编辑记录 fan12398 (2019-07-25 15:31:14)

离线

楼主 #6 2019-07-25 16:52:18

fan12398
会员
注册时间: 2019-07-09
已发帖子: 34
积分: 33

Re: v3s加载esp8089失败

求助啊

离线

楼主 #7 2019-07-25 17:33:53

fan12398
会员
注册时间: 2019-07-09
已发帖子: 34
积分: 33

Re: v3s加载esp8089失败

大神们帮我看一下5楼的问题呀

离线

#8 2019-07-25 17:50:49

error_0
会员
注册时间: 2018-12-10
已发帖子: 31
积分: 26

Re: v3s加载esp8089失败

你这个可能是挂载命令的问题,你的晶振是不是24M的, 你试下这个命令 modprobe esp8089.ko config=crystal_26M_en=2

fan12398 说:

继续求助啊!esp8089 扫描不到 wifi,直接连接wifi udhcpc: sending discover 无限循环

附注:我把 esp8089 放到 linux 文件夹编译就没有4楼的问题了,可能是单独编译有参数没有设置吧。

# modprobe esp8089.ko config=crystal_26M_en=1
# [  172.004796] mmc1: card 0001 removed
[  172.098913] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[  172.111566] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[  172.120338] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[  172.127769] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[  172.133297] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[  172.139250] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[  172.144830] mmc1: new high speed SDIO card at address 0001
# 
# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
# 
# udhcpc -i wlan0
udhcpc: started, v1.30.1
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
^C
# 
# 
# 
# iwlist wlan0 scan
wlan0     No scan results

# iwlist wlan0 scan
wlan0     No scan results

# [  856.496219] wlan0: authenticate with 4c:ed:fb:a2:cc:08
[  856.501521] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 1/3)
[  856.714237] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 2/3)
[  856.924264] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 3/3)
[  857.134225] wlan0: authentication with 4c:ed:fb:a2:cc:08 timed out
# ifconfig 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  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)

wlan0     Link encap:Ethernet  HWaddr AC:D0:74:E2:02:A6  
          UP 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)

# [ 1461.095903] wlan0: authenticate with 4c:ed:fb:a2:cc:08
[ 1461.101201] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 1/3)
[ 1461.314238] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 2/3)
[ 1461.524237] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 3/3)
[ 1461.734223] wlan0: authentication with 4c:ed:fb:a2:cc:08 timed out

离线

楼主 #9 2019-07-25 19:30:27

fan12398
会员
注册时间: 2019-07-09
已发帖子: 34
积分: 33

Re: v3s加载esp8089失败

error_0 说:

你这个可能是挂载命令的问题,你的晶振是不是24M的, 你试下这个命令 modprobe esp8089.ko config=crystal_26M_en=2

esp8089 是淘宝上买来的TF卡形状的模块,是26M的,命令 modprobe esp8089.ko config=crystal_26M_en=2 也是一样的现象。

这次打印了详细信息,大佬再帮忙看下,感谢

# modprobe esp8089.ko config=crystal_26M_en=1
# [   44.084946] mmc1: card 0001 removed
[   44.179029] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[   44.191696] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[   44.200500] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[   44.207924] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[   44.213461] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[   44.219453] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[   44.225048] mmc1: new high speed SDIO card at address 0001

# ifconfig wlan0 up
# wpa_supplicant -B -d -i wlan0 -c /etc/wpa_supplicant.conf
wpa_supplicant v2.7
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' 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='ASUS'
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 wlan0 in phy phy0
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0xa4a18
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xa4a18 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xa4a18 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xa4a18 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xa4a18 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xa4a18 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xa4a18 match=0505
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xa4a18 match=0500
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
netlink: Operstate: ifindex=5 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
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
wlan0: Own MAC address: ac:d0:74:e2:02:a6
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlan0: 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
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
# udhcpc -i wlan0
udhcpc: started, v1.30.1
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover

最近编辑记录 fan12398 (2019-07-25 20:44:37)

离线

楼主 #10 2019-07-25 20:38:05

fan12398
会员
注册时间: 2019-07-09
已发帖子: 34
积分: 33

Re: v3s加载esp8089失败

相同的操作用rtl8723bs 模块,一切正常。

不同的是,rtl8723bs再modprobe之后,Daemonize..之后会多打印几行,

nl80211: Added 802.11b mode based on 802.11g information
wlan0: Own MAC address: cc:d2:9b:4b:8e:7d
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlan0: 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
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
# [  207.903689] RTL8723BS: rtw_set_802_11_connect(wlan0)  fw_state = 0x00000008
[  208.144314] RTL8723BS: start auth
[  208.150359] RTL8723BS: auth success, start assoc
[  208.471382] RTL8723BS: rtw_cfg80211_indicate_connect(wlan0) BSS not found !!
[  208.478534] RTL8723BS: assoc success
[  208.489164] RTL8723BS: send eapol packet
[  208.503662] RTL8723BS: send eapol packet
[  208.508456] RTL8723BS: set pairwise key camid:4, addr:4c:ed:fb:a2:cc:08, kid:0, type:AES
[  208.535670] RTL8723BS: set group key camid:5, addr:4c:ed:fb:a2:cc:08, kid:2, type:AES
udhcpc -i wlan0
udhcpc: started, v1.30.1
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending select for 192.168.1.9
udhcpc: lease of 192.168.1.9 obtained, lease time 86400
deleting routers
adding dns 192.168.1.1
# 

离线

楼主 #11 2019-07-25 20:38:48

fan12398
会员
注册时间: 2019-07-09
已发帖子: 34
积分: 33

Re: v3s加载esp8089失败

可是,esp8089 模块是什么问题呢

离线

#12 2019-07-26 08:29:39

error_0
会员
注册时间: 2018-12-10
已发帖子: 31
积分: 26

Re: v3s加载esp8089失败

esp8089.zip  这个是我之前移植过的 源码,我用的是4.10的主线,里面有个镜像 你下载进去看下 我当时也是用的SD卡模块测试的。

离线

#13 2019-07-26 08:30:14

error_0
会员
注册时间: 2018-12-10
已发帖子: 31
积分: 26

Re: v3s加载esp8089失败

先用我的测试下 看是不是WIFI的问题

fan12398 说:

可是,esp8089 模块是什么问题呢

离线

楼主 #14 2019-07-26 12:33:42

fan12398
会员
注册时间: 2019-07-09
已发帖子: 34
积分: 33

Re: v3s加载esp8089失败

error_0 说:

esp8089.zip  这个是我之前移植过的 源码,我用的是4.10的主线,里面有个镜像 你下载进去看下 我当时也是用的SD卡模块测试的。

登录密码是什么啊

离线

楼主 #15 2019-07-26 19:46:30

fan12398
会员
注册时间: 2019-07-09
已发帖子: 34
积分: 33

Re: v3s加载esp8089失败

fan12398 说:
error_0 说:

esp8089.zip  这个是我之前移植过的 源码,我用的是4.10的主线,里面有个镜像 你下载进去看下 我当时也是用的SD卡模块测试的。

登录密码是什么啊

试出来了,密码是1

离线

楼主 #16 2019-07-26 20:03:44

fan12398
会员
注册时间: 2019-07-09
已发帖子: 34
积分: 33

Re: v3s加载esp8089失败

error_0 说:

esp8089.zip  这个是我之前移植过的 源码,我用的是4.10的主线,里面有个镜像 你下载进去看下 我当时也是用的SD卡模块测试的。

用这个固件,esp8089会挂掉,试了手里的两个esp8089模块,都是这样

# insmod esp8089.ko 
# [   25.285795] mmc0: card 0001 removed
[   25.380013] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)
[   25.392662] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)
[   25.401439] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)
[   25.408763] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)
[   25.414292] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)
[   25.420264] mmc0: queuing unknown CIS tuple 0x82 (1 bytes)
[   25.426184] mmc0: new high speed SDIO card at address 0001
# ifconfig
eth0      Link encap:Ethernet  HWaddr 62:90:16:EE:5E:F8  
          UP 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)
          Interrupt:36 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  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)

usb0      Link encap:Ethernet  HWaddr 7A:BB:12:80:E4:25  
          UP 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)

wlan0     Link encap:Ethernet  HWaddr AC:D0:74:E2:02:A6  
          UP 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)

# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
# udhcpc -i wlan0
udhcpc: started, v1.29.3
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: read error: Network is down, reopening socket
[  159.086191] mmc0: card 0001 removed
[  159.179959] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)
[  159.192547] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)
[  159.201249] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)
[  159.208582] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)
[  159.214115] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)
[  159.220129] mmc0: queuing unknown CIS tuple 0x82 (1 bytes)
[  159.225728] mmc0: new high speed SDIO card at address 0001
[  159.964896] sip_write_memory send buffer failed
[  159.969467] esp_download_fw Failed to write fw, err: -16
[  159.974781] download firmware failed
[  159.978385] esp_init_all failed: -16
[  159.981955] first error exit
[  161.045562] sip_detach wrong state 1
[  161.049481] mmc0: card 0001 removed
[  161.825308] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
udhcpc: bind: No such device
# [  163.605311] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  164.355289] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  165.105306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  167.965307] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  168.715290] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  169.465306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  172.285306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  173.035294] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  173.785304] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  175.585306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  177.365306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  178.115290] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  178.865306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  181.725307] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  182.475290] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  183.225307] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  186.045306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  186.795290] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  187.545305] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  189.345306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  191.125307] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  191.875290] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  192.625305] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  194.465305] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  196.245306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  196.995289] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  197.745303] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  200.605304] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  201.355290] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  202.105304] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  204.925306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  205.675289] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  206.425304] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  209.245306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  209.995289] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  210.745305] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  213.565306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  214.315291] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  215.065306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  217.885305] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  218.635290] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  219.385303] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  222.205306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  222.955289] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  223.705306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  226.525305] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  227.275289] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  228.025303] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  229.825305] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  231.605306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  232.355288] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  233.105304] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  234.945307] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  236.725306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  237.475290] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  238.225305] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  240.065306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  241.845305] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  242.595290] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  243.345303] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  245.185307] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  246.965306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  247.715291] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  248.465304] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  250.305306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  252.085306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  252.835289] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  253.585305] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  255.425307] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  257.205305] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  257.955289] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  258.705304] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  261.565305] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  262.315289] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  263.065304] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  265.885307] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  266.635289] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  267.385304] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  270.205307] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  270.955290] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  271.705303] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  273.505303] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  275.285305] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  276.035289] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  276.785306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  278.625306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  280.405306] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  281.155290] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  281.905302] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  284.765307] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout
[  286.339943] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)
[  286.352522] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)
[  286.361329] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)
[  286.368665] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)
[  286.374199] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)
[  286.380222] mmc0: queuing unknown CIS tuple 0x82 (1 bytes)
[  286.385846] mmc0: new high speed SDIO card at address 0001
[  286.391835] Unable to handle kernel paging request at virtual address 7365636d
[  286.399134] pgd = c0004000
[  286.401842] [7365636d] *pgd=00000000
[  286.405445] Internal error: Oops: 5 [#1] SMP ARM
[  286.410055] Modules linked in: esp8089
[  286.413810] CPU: 0 PID: 21 Comm: kworker/0:1 Tainted: G        W       4.10.15-mangopi #7
[  286.421973] Hardware name: Allwinner sun8i Family
[  286.426685] Workqueue: events_freezable mmc_rescan
[  286.431471] task: c387ea00 task.stack: c3920000
[  286.436035] PC is at esp_sdio_probe+0x54/0x438 [esp8089]
[  286.441343] LR is at sdio_bus_probe+0xa0/0x114
[  286.445782] pc : [<bf000c48>]    lr : [<c049bd54>]    psr: a0000013
[  286.445782] sp : c3921de0  ip : 00000000  fp : c3b89000
[  286.457240] r10: bf007e18  r9 : c332ca08  r8 : bf00a500
[  286.462456] r7 : bf009b70  r6 : 73656369  r5 : c332ca00  r4 : c31c7100
[  286.468973] r3 : 00000000  r2 : 00000003  r1 : bf007e18  r0 : c332ca00
[  286.475492] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  286.482616] Control: 10c5387d  Table: 431cc06a  DAC: 00000051
[  286.488353] Process kworker/0:1 (pid: 21, stack limit = 0xc3920210)
[  286.494610] Stack: (0xc3921de0 to 0xc3922000)
[  286.498965] 1de0: 60000013 bf007e18 0000000c c332ca08 00000000 c332ca00 bf009b84 bf007e18
[  286.507133] 1e00: 0000000c 00000000 00000346 c049bd54 c332ca08 c0a6c9c8 00000000 bf009b84
[  286.515300] 1e20: 00000000 c03cdec4 00000000 c3921e60 c03ce058 00000001 c0a6c9a4 00000000
[  286.523467] 1e40: 00000000 c03cc4ac c3914c6c c31e8138 c332ca08 c332ca3c c0a29fec c03cdc08
[  286.531634] 1e60: c332ca08 00000001 c332ca08 c332ca10 c332ca08 c0a29fec 00000000 c03cd29c
[  286.539801] 1e80: c332ca10 c3384008 c332ca08 c03cb614 00000001 c0492ac8 c332ca00 c332ca08
[  286.547968] 1ea0: c332ca00 c332ca08 c3b89000 c3384000 c3384000 00000001 0000019a c049c03c
[  286.556135] 1ec0: 00000001 00000001 c3b89000 c049b528 00000000 c3921ee3 00000000 00000000
[  286.564303] 1ee0: 00000000 10ffff00 00000000 c3b89254 00061a80 c3b89000 c073ad5c c073ad68
[  286.572470] 1f00: 00000000 c3ee6200 c3916e00 c049365c c3b89254 c3916e00 c3ee6200 c3ee9500
[  286.580638] 1f20: 00000000 c0131578 c3ee6218 ffffe000 c3ee6200 c3916e18 c0a02d00 c3ee6218
[  286.588805] 1f40: ffffe000 00000008 c3ee6200 c0132300 c0a0e3aa ffffe000 c3917840 c07b61c8
[  286.596972] 1f60: ffffe000 c3917900 c3917840 00000000 c3920000 c3916e00 c01322b4 c3841ed8
[  286.605139] 1f80: c391791c c0137220 c3920000 c3917840 c01370d4 00000000 00000000 00000000
[  286.613306] 1fa0: 00000000 00000000 00000000 c0107638 00000000 00000000 00000000 00000000
[  286.621472] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  286.629639] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 aae8aae8 abe8bae8
[  286.637832] [<bf000c48>] (esp_sdio_probe [esp8089]) from [<c049bd54>] (sdio_bus_probe+0xa0/0x114)
[  286.646701] [<c049bd54>] (sdio_bus_probe) from [<c03cdec4>] (driver_probe_device+0x1dc/0x2c8)
[  286.655220] [<c03cdec4>] (driver_probe_device) from [<c03cc4ac>] (bus_for_each_drv+0x44/0x94)
[  286.663737] [<c03cc4ac>] (bus_for_each_drv) from [<c03cdc08>] (__device_attach+0xb0/0x114)
[  286.671993] [<c03cdc08>] (__device_attach) from [<c03cd29c>] (bus_probe_device+0x84/0x8c)
[  286.680162] [<c03cd29c>] (bus_probe_device) from [<c03cb614>] (device_add+0x394/0x594)
[  286.688070] [<c03cb614>] (device_add) from [<c049c03c>] (sdio_add_func+0x5c/0x70)
[  286.695545] [<c049c03c>] (sdio_add_func) from [<c049b528>] (mmc_attach_sdio+0x290/0x34c)
[  286.703629] [<c049b528>] (mmc_attach_sdio) from [<c049365c>] (mmc_rescan+0x33c/0x3e4)
[  286.711457] [<c049365c>] (mmc_rescan) from [<c0131578>] (process_one_work+0x1ec/0x414)
[  286.719369] [<c0131578>] (process_one_work) from [<c0132300>] (worker_thread+0x4c/0x59c)
[  286.727453] [<c0132300>] (worker_thread) from [<c0137220>] (kthread+0x14c/0x154)
[  286.734845] [<c0137220>] (kthread) from [<c0107638>] (ret_from_fork+0x14/0x3c)
[  286.742061] Code: e5946004 e3a03000 e5883000 e3a02003 (e5963004) 
[  286.748207] ---[ end trace b099dcd113abe3a5 ]---

最近编辑记录 fan12398 (2019-07-26 20:04:10)

离线

楼主 #17 2019-07-27 14:44:55

fan12398
会员
注册时间: 2019-07-09
已发帖子: 34
积分: 33

Re: v3s加载esp8089失败

/var/log/message 里的信息,ipv6的问题?

Jan  1 00:01:23 whale daemon.info dhcpcd[113]: wlan0: waiting for carrier
Jan  1 00:01:23 whale daemon.info dhcpcd[113]: wlan0: carrier acquired
Jan  1 00:01:23 whale daemon.info dhcpcd[113]: wlan0: IAID 74:51:38:dd
Jan  1 00:01:23 whale daemon.info dhcpcd[113]: wlan0: adding address fe80::cb99:e911:b98d:fb89
Jan  1 00:01:23 whale daemon.err dhcpcd[113]: ipv6_addaddr1: Operation not supported
Jan  1 00:01:23 whale daemon.info dhcpcd[113]: wlan0: carrier lost

离线

#18 2019-07-27 16:37:11

error_0
会员
注册时间: 2018-12-10
已发帖子: 31
积分: 26

Re: v3s加载esp8089失败

我自己再测试一下,测试完成后再发出来

fan12398 说:

/var/log/message 里的信息,ipv6的问题?

Jan  1 00:01:23 whale daemon.info dhcpcd[113]: wlan0: waiting for carrier
Jan  1 00:01:23 whale daemon.info dhcpcd[113]: wlan0: carrier acquired
Jan  1 00:01:23 whale daemon.info dhcpcd[113]: wlan0: IAID 74:51:38:dd
Jan  1 00:01:23 whale daemon.info dhcpcd[113]: wlan0: adding address fe80::cb99:e911:b98d:fb89
Jan  1 00:01:23 whale daemon.err dhcpcd[113]: ipv6_addaddr1: Operation not supported
Jan  1 00:01:23 whale daemon.info dhcpcd[113]: wlan0: carrier lost

离线

#19 2019-08-16 22:12:47

john78
会员
注册时间: 2018-07-19
已发帖子: 222
积分: 160

Re: v3s加载esp8089失败

LZ测试怎么样了,我也买了ESP8098 准备试下

离线

楼主 #20 2019-08-24 13:33:34

fan12398
会员
注册时间: 2019-07-09
已发帖子: 34
积分: 33

Re: v3s加载esp8089失败

john78 说:

LZ测试怎么样了,我也买了ESP8098 准备试下

ESP8089尚未调试好,一直是搜不到网络的问题。
RTL8723bs比较好调,但是ping一会儿会自动断开重连,也不是很稳定。

离线

#21 2019-09-11 10:42:23

xiaohui
会员
注册时间: 2019-01-15
已发帖子: 259
积分: 122.5

Re: v3s加载esp8089失败

手上有示波器的话就先看看wifi模块上的晶振有没有起振,还有挂载驱动模块的时候要选择是24mhz还是26mhz

离线

#22 2020-01-20 00:26:52

秋的本格
会员
注册时间: 2020-01-20
已发帖子: 1
积分: 1

Re: v3s加载esp8089失败

楼主你好,我遇到与你4楼一样的问题,请问是怎么解决的:D

离线

#23 2020-01-20 00:35:15

哦豁哦豁
会员
注册时间: 2020-01-17
已发帖子: 79
积分: 79

Re: v3s加载esp8089失败

用 bsp linux 吧, 主线没有稳定的 esp8089 驱动.

离线

#24 2020-08-18 17:36:14

笨企鹅
会员
注册时间: 2019-10-28
已发帖子: 38
积分: 37.5

Re: v3s加载esp8089失败

我也遇到这个问题了,大神们你们都是怎么解决的啊。。。。。。。。。。




fan12398 说:

继续求助啊!esp8089 扫描不到 wifi,直接连接wifi udhcpc: sending discover 无限循环

附注:我把 esp8089 放到 linux 文件夹编译就没有4楼的问题了,可能是单独编译有参数没有设置吧。

# modprobe esp8089.ko config=crystal_26M_en=1
# [  172.004796] mmc1: card 0001 removed
[  172.098913] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[  172.111566] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[  172.120338] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[  172.127769] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[  172.133297] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[  172.139250] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[  172.144830] mmc1: new high speed SDIO card at address 0001
# 
# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
# 
# udhcpc -i wlan0
udhcpc: started, v1.30.1
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
^C
# 
# 
# 
# iwlist wlan0 scan
wlan0     No scan results

# iwlist wlan0 scan
wlan0     No scan results

# [  856.496219] wlan0: authenticate with 4c:ed:fb:a2:cc:08
[  856.501521] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 1/3)
[  856.714237] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 2/3)
[  856.924264] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 3/3)
[  857.134225] wlan0: authentication with 4c:ed:fb:a2:cc:08 timed out
# ifconfig 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  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)

wlan0     Link encap:Ethernet  HWaddr AC:D0:74:E2:02:A6  
          UP 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)

# [ 1461.095903] wlan0: authenticate with 4c:ed:fb:a2:cc:08
[ 1461.101201] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 1/3)
[ 1461.314238] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 2/3)
[ 1461.524237] wlan0: send auth to 4c:ed:fb:a2:cc:08 (try 3/3)
[ 1461.734223] wlan0: authentication with 4c:ed:fb:a2:cc:08 timed out

离线

#25 2020-08-18 17:37:52

笨企鹅
会员
注册时间: 2019-10-28
已发帖子: 38
积分: 37.5

Re: v3s加载esp8089失败

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.6.0 (pi@pi-VirtualBox) (gcc version 9.3.0 (Buildroot 2020.08-rc1-32-g9e3397cfab-dirty)) #1 SMP Tue Aug 18 16:58:08 CST 2020
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Xunlong Orange Pi Zero
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 16 MiB at 0x4ec00000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 15 pages/cpu s30668 r8192 d22580 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 231132K/262144K available (7168K kernel code, 456K rwdata, 1892K rodata, 1024K init, 258K bss, 14628K reserved, 16384K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x29c/0x43c with crng_init=0
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000016] Switching to timer-based delay loop, resolution 41ns
[    0.000189] Console: colour dummy device 80x30
[    0.000230] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000244] pid_max: default: 32768 minimum: 301
[    0.000377] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000388] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001051] CPU: Testing write buffer coherency: ok
[    0.001402] /cpus/cpu@0 missing clock-frequency property
[    0.001422] /cpus/cpu@1 missing clock-frequency property
[    0.001437] /cpus/cpu@2 missing clock-frequency property
[    0.001454] /cpus/cpu@3 missing clock-frequency property
[    0.001464] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001924] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002033] rcu: Hierarchical SRCU implementation.
[    0.002469] smp: Bringing up secondary CPUs ...
[    0.013118] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.023860] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.034522] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.034602] smp: Brought up 1 node, 4 CPUs
[    0.034620] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.034626] CPU: All CPU(s) started in HYP mode.
[    0.034631] CPU: Virtualization extensions available.
[    0.035071] devtmpfs: initialized
[    0.039552] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.039775] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.039796] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.040547] pinctrl core: initialized pinctrl subsystem
[    0.041048] thermal_sys: Registered thermal governor 'step_wise'
[    0.041775] NET: Registered protocol family 16
[    0.042994] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.043957] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.043967] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.062852] SCSI subsystem initialized
[    0.063229] usbcore: registered new interface driver usbfs
[    0.063273] usbcore: registered new interface driver hub
[    0.063323] usbcore: registered new device driver usb
[    0.063544] pps_core: LinuxPPS API ver. 1 registered
[    0.063552] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.063570] PTP clock support registered
[    0.063767] Advanced Linux Sound Architecture Driver Initialized.
[    0.064626] clocksource: Switched to clocksource arch_sys_counter
[    0.071475] NET: Registered protocol family 2
[    0.071949] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.071975] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.072003] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.072038] TCP: Hash tables configured (established 2048 bind 2048)
[    0.072144] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.072184] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.072351] NET: Registered protocol family 1
[    0.072820] RPC: Registered named UNIX socket transport module.
[    0.072831] RPC: Registered udp transport module.
[    0.072836] RPC: Registered tcp transport module.
[    0.072841] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.074213] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.075284] Initialise system trusted keyrings
[    0.075453] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.082027] NFS: Registering the id_resolver key type
[    0.082058] Key type id_resolver registered
[    0.082065] Key type id_legacy registered
[    0.117578] Key type asymmetric registered
[    0.117590] Asymmetric key parser 'x509' registered
[    0.117678] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.117687] io scheduler mq-deadline registered
[    0.117693] io scheduler kyber registered
[    0.118414] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.122205] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.123701] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.169159] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.170813] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pa not found, using dummy regulator
[    0.171555] printk: console [ttyS0] disabled
[    0.171632] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 38, base_baud = 1500000) is a 16550A
[    0.795423] printk: console [ttyS0] enabled
[    0.803522] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[    0.814280] spi-nor spi2.0: mx25l1606e (2048 Kbytes)
[    0.819534] 1 fixed-partitions partitions found on MTD device spi2.0
[    0.825897] Creating 1 MTD partitions on "spi2.0":
[    0.830690] 0x000000000000-0x000000200000 : "partition"
[    0.838003] libphy: Fixed MDIO Bus: probed
[    0.842407] CAN device driver interface
[    0.846725] dwmac-sun8i 1c30000.ethernet: IRQ eth_wake_irq not found
[    0.853074] dwmac-sun8i 1c30000.ethernet: IRQ eth_lpi not found
[    0.859100] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.864891] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.870734] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 58000)
[    0.880150] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.887372] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.894584] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.899550] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.906337] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.911989] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.918108] libphy: stmmac: probed
[    0.922005] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[    0.928486] libphy: mdio_mux: probed
[    0.932078] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[    0.938442] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[    0.945475] libphy: mdio_mux: probed
[    0.949450] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.955993] ehci-platform: EHCI generic platform driver
[    0.961379] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.966981] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.975215] ehci-platform 1c1a000.usb: irq 27, io mem 0x01c1a000
[    1.004641] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.011476] hub 1-0:1.0: USB hub found
[    1.015282] hub 1-0:1.0: 1 port detected
[    1.019839] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.026048] ohci-platform: OHCI generic platform driver
[    1.031418] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.038054] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.045989] ohci-platform 1c1a400.usb: irq 28, io mem 0x01c1a400
[    1.119293] hub 2-0:1.0: USB hub found
[    1.123072] hub 2-0:1.0: 1 port detected
[    1.131195] sun6i-rtc 1f00000.rtc: registered as rtc0
[    1.136264] sun6i-rtc 1f00000.rtc: RTC enabled
[    1.140934] i2c /dev entries driver
[    1.145947] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.154104] sun8i-h3-r-pinctrl 1f02c00.pinctrl: 1f02c00.pinctrl supply vcc-pl not found, using dummy regulator
[    1.164622] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.175126] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    1.204649] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.211830] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    1.222891] sun8i-ce 1c15000.crypto: Set mod clock to 50000000 (50 Mhz) from 24000000 (24 Mhz)
[    1.231684] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[    1.239671] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[    1.247410] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[    1.255131] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[    1.262795] sun8i-ce 1c15000.crypto: Register cbc(aes)
[    1.268294] sun8i-ce 1c15000.crypto: Register ecb(aes)
[    1.273649] sun8i-ce 1c15000.crypto: Register cbc(des3_ede)
[    1.279317] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.279460] sun8i-ce 1c15000.crypto: Register ecb(des3_ede)
[    1.289404] mmc0: new high speed SDHC card at address 1234
[    1.293143] sun8i-ce 1c15000.crypto: CryptoEngine Die ID 1
[    1.299061] mmcblk0: mmc0:1234 SA04G 3.64 GiB
[    1.304703] usbcore: registered new interface driver usbhid
[    1.313888] usbhid: USB HID core driver
[    1.319663]  mmcblk0: p1 p2
[    1.323626] NET: Registered protocol family 17
[    1.328147] can: controller area network core (rev 20170425 abi 9)
[    1.334404] NET: Registered protocol family 29
[    1.338886] can: raw protocol (rev 20170425)
[    1.343150] can: broadcast manager protocol (rev 20170425 t)
[    1.348820] can: netlink gateway (rev 20190810) max_hops=1
[    1.354526] Key type dns_resolver registered
[    1.358914] Registering SWP/SWPB emulation handler
[    1.363898] Loading compiled-in X.509 certificates
[    1.378814] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    1.389902] ehci-platform 1c1b000.usb: EHCI Host Controller
[    1.395543] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    1.403689] ehci-platform 1c1b000.usb: irq 29, io mem 0x01c1b000
[    1.434629] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    1.441445] hub 3-0:1.0: USB hub found
[    1.445268] hub 3-0:1.0: 1 port detected
[    1.449954] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    1.456600] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 4
[    1.464520] ohci-platform 1c1b400.usb: irq 30, io mem 0x01c1b400
[    1.539289] hub 4-0:1.0: USB hub found
[    1.543069] hub 4-0:1.0: 1 port detected
[    1.547784] usb_phy_generic usb_phy_generic.1.auto: usb_phy_generic.1.auto supply vcc not found, using dummy regulator
[    1.562356] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    1.807232] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.814366] sun6i-rtc 1f00000.rtc: setting system clock to 2020-08-17T23:00:39 UTC (1597705239)
[    1.823368] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.831316] usb 3-1: new high-speed USB device number 2 using ehci-platform
[    1.841975] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.852340] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.852665] ALSA device list:
[    1.861115] cfg80211: failed to load regulatory.db
[    1.864076]   No soundcards found.
[    1.889102] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.897335] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.905615] devtmpfs: mounted
[    1.909870] mmc1: new high speed SDIO card at address 0001
[    1.910555] Freeing unused kernel memory: 1024K
[    1.955619] Run /sbin/init as init process
[    2.163498] random: fast init done
[    2.173094] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    2.179729] ext4 filesystem being remounted at / supports timestamps until 2038 (0x7fffffff)
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting mdev... OK
[    3.015037] xradio_wlan: loading out-of-tree module taints kernel.
[    3.279316] xradio_wlan mmc1:0001:1:    Input buffers: 30 x 1632 bytes
[    3.279316]    Hardware: 7.9
[    3.279316]    WSM firmware ver: 8, build: 43, api: 1060, cap: 0x0003
[    3.295162] xradio_wlan mmc1:0001:1: Firmware Label:XR_C01.08.0043 Jun  6 2016 20:41:04
Starting watchdog...
Initializing random number generator: OK
Saving random seed: [    3.355705] random: dd: uninitialized urandom read (512 bytes read)
OK
Starting system message bus: [    3.468678] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
[    3.479830] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
done
Starting network: udhcpc: started, v1.31.1
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing
FAIL

Welcome to Buildroot for the Orange Pi Zero
OrangePi_Zero login: [   32.474644] vcc3v0: disabling
[   32.477624] vcc5v0: disabling
root
# [  114.744915] random: crng init done
[  114.748337] random: 2 urandom warning(s) missed due to ratelimiting

#
#
#
#

离线

页脚

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

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