您尚未登录。

#3 Re: 全志 SOC » 咨询下芯片电源用EA3036的好处?用三个ASM1117不是也可以么? » 2023-11-16 12:42:55

不在乎功耗三个LDO确实也没有问题,我已经这样用了。开发板的方案主要还是考虑功耗

#6 Re: 全志 SOC » 开源一块 V3s 小板子 » 2023-10-04 18:35:35

板载wifi&蓝牙--用的那个模块?稳定吗?

#7 Re: 全志 SOC » 【开源】无线J-Link(V831+XR829+AXP2101+STM32F072C8) » 2023-10-04 18:14:06

这个不错,V831,不好采购?V3S应该也可以的吧,先研究下JLinkRemoteServerCLExe 。找时间玩下

#10 Re: Qt/MSVC/MINGW/C++/MFC/GTK+/Delphi/BCB » 分享一个-手工贴片助手-C#开发 » 2022-03-28 14:22:16

曾经也想做个,分析完 99se到处坐标,后来。。。直接买了个国产贴片机

#11 Re: 全志 SOC » 分享一个V3x板子 » 2022-03-18 15:45:57

芯片用锡膏再热风枪?用到什么锡膏?

#15 Re: 全志 SOC » 还是USB-WIFI问题 wpa_supplicant.conf中的/var/run/wpa_supplicant 这个是什么? » 2021-10-19 16:51:25

# strace wpa_cli -i wlan0
execve("/usr/sbin/wpa_cli", ["wpa_cli", "-i", "wlan0"], [/* 22 vars */]) = 0
brk(NULL)                               = 0x33000
uname({sysname="Linux", nodename="DYHMI", ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f13000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/v7l/neon/vfp/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l/neon/vfp", 0xbee564f8) = -1 ENOENT (No such file or directory)
open("/lib/tls/v7l/neon/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l/neon", 0xbee564f8) = -1 ENOENT (No such file or directory)
open("/lib/tls/v7l/vfp/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l/vfp", 0xbee564f8)  = -1 ENOENT (No such file or directory)
open("/lib/tls/v7l/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l", 0xbee564f8)      = -1 ENOENT (No such file or directory)
open("/lib/tls/neon/vfp/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/neon/vfp", 0xbee564f8) = -1 ENOENT (No such file or directory)
open("/lib/tls/neon/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/neon", 0xbee564f8)     = -1 ENOENT (No such file or directory)
open("/lib/tls/vfp/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/vfp", 0xbee564f8)      = -1 ENOENT (No such file or directory)
open("/lib/tls/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0xbee564f8)          = -1 ENOENT (No such file or directory)
open("/lib/v7l/neon/vfp/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l/neon/vfp", 0xbee564f8) = -1 ENOENT (No such file or directory)
open("/lib/v7l/neon/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l/neon", 0xbee564f8)     = -1 ENOENT (No such file or directory)
open("/lib/v7l/vfp/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l/vfp", 0xbee564f8)      = -1 ENOENT (No such file or directory)
open("/lib/v7l/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l", 0xbee564f8)          = -1 ENOENT (No such file or directory)
open("/lib/neon/vfp/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/neon/vfp", 0xbee564f8)     = -1 ENOENT (No such file or directory)
open("/lib/neon/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/neon", 0xbee564f8)         = -1 ENOENT (No such file or directory)
open("/lib/vfp/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/vfp", 0xbee564f8)          = -1 ENOENT (No such file or directory)
open("/lib/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0000\27\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=22432, ...}) = 0
mmap2(NULL, 86544, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6ed7000
mprotect(0xb6edc000, 61440, PROT_NONE)  = 0
mmap2(0xb6eeb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0xb6eeb000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\331i\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=894624, ...}) = 0
mmap2(NULL, 963912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6deb000
mprotect(0xb6ec2000, 61440, PROT_NONE)  = 0
mmap2(0xb6ed1000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd6000) = 0xb6ed1000
mmap2(0xb6ed4000, 9544, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6ed4000
close(3)                                = 0
open("/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\245F\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=107280, ...}) = 0
mmap2(NULL, 143948, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6dc7000
mprotect(0xb6dd8000, 61440, PROT_NONE)  = 0
mmap2(0xb6de7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0xb6de7000
mmap2(0xb6de9000, 4684, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6de9000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f12000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f11000
set_tls(0xb6f12920, 0xb6f11008, 0xb6f15050, 0xb6f12920, 0xb6f15050) = 0
mprotect(0xb6ed1000, 8192, PROT_READ)   = 0
mprotect(0xb6de7000, 4096, PROT_READ)   = 0
mprotect(0xb6eeb000, 4096, PROT_READ)   = 0
mprotect(0xb6f14000, 4096, PROT_READ)   = 0
set_tid_address(0xb6f124c8)             = 158
set_robust_list(0xb6f124d0, 12)         = 0
rt_sigaction(SIGRTMIN, {sa_handler=0xb6dcb1f5, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0xb6e10151}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0xb6dcb295, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0xb6e10151}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
ugetrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
brk(NULL)                               = 0x33000
brk(0x54000)                            = 0x54000
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(5, 1), ...}) = 0
ioctl(1, TCGETS, {B115200 opost isig icanon echo ...}) = 0
write(1, "wpa_cli v2.6\n", 13wpa_cli v2.6
)          = 13
write(1, "Copyright (c) 2004-2016, Jouni M"..., 67Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi> and contributors

) = 67
write(1, "This software may be distributed"..., 98This software may be distributed under the terms of the BSD license.
See README for more details.
) = 98
write(1, "\n\n", 2

)                     = 2
rt_sigaction(SIGINT, {sa_handler=0x19130, sa_mask=[INT], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0xb6e10141}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGTERM, {sa_handler=0x19130, sa_mask=[TERM], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0xb6e10141}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
write(1, "\nInteractive mode\n", 18
Interactive mode
)    = 18
write(1, "\n", 1
)                       = 1
clock_gettime(CLOCK_BOOTTIME, {tv_sec=33, tv_nsec=69344224}) = 0
clock_gettime(CLOCK_BOOTTIME, {tv_sec=33, tv_nsec=69523890}) = 0
_newselect(1, [], [], [], {tv_sec=0, tv_usec=0}) = 0 (Timeout)
clock_gettime(CLOCK_BOOTTIME, {tv_sec=33, tv_nsec=69838640}) = 0
socket(AF_UNIX, SOCK_DGRAM, 0)          = 3
bind(3, {sa_family=AF_UNIX, sun_path="/tmp/wpa_ctrl_158-1"}, 110) = 0
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/wpa_supplicant/wlan0"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
unlink("/tmp/wpa_ctrl_158-1")           = 0
write(1, "Could not connect to wpa_supplic"..., 55Could not connect to wpa_supplicant: wlan0 - re-trying
) = 55
clock_gettime(CLOCK_BOOTTIME, {tv_sec=33, tv_nsec=72056932}) = 0
clock_gettime(CLOCK_BOOTTIME, {tv_sec=33, tv_nsec=72172724}) = 0
_newselect(1, [], [], [], {tv_sec=0, tv_usec=999884}) = 0 (Timeout)
clock_gettime(CLOCK_BOOTTIME, {tv_sec=34, tv_nsec=73611016}) = 0
socket(AF_UNIX, SOCK_DGRAM, 0)          = 3
bind(3, {sa_family=AF_UNIX, sun_path="/tmp/wpa_ctrl_158-2"}, 110) = 0
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/wpa_supplicant/wlan0"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
unlink("/tmp/wpa_ctrl_158-2")           = 0
clock_gettime(CLOCK_BOOTTIME, {tv_sec=34, tv_nsec=75266516}) = 0
clock_gettime(CLOCK_BOOTTIME, {tv_sec=34, tv_nsec=75406224}) = 0
_newselect(1, [], [], [], {tv_sec=0, tv_usec=999860}) = 0 (Timeout)
clock_gettime(CLOCK_BOOTTIME, {tv_sec=35, tv_nsec=76781391}) = 0
socket(AF_UNIX, SOCK_DGRAM, 0)          = 3
bind(3, {sa_family=AF_UNIX, sun_path="/tmp/wpa_ctrl_158-3"}, 110) = 0
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/wpa_supplicant/wlan0"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
unlink("/tmp/wpa_ctrl_158-3")           = 0
clock_gettime(CLOCK_BOOTTIME, {tv_sec=35, tv_nsec=78360350}) = 0
clock_gettime(CLOCK_BOOTTIME, {tv_sec=35, tv_nsec=78544808}) = 0
_newselect(1, [], [], [], {tv_sec=0, tv_usec=999816}^Cstrace: Process 158 detached
<detached ...>

#16 Re: 全志 SOC » 还是USB-WIFI问题 wpa_supplicant.conf中的/var/run/wpa_supplicant 这个是什么? » 2021-10-16 16:53:17

这个日志是否成功了???

wpa_supplicant -B -d -i wlan0 -c /bkup5/wpa_supplicant.conf

wpa_supplicant v2.6
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/bkup5/wpa_supplicant.conf' driver 'default                                                                                                                                                             ' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/bkup5/wpa_supplicant.conf' -> '/bkup5/wpa_supplicant.conf'
Reading configuration file '/bkup5/wpa_supplicant.conf'
ctrl_interface='/tmp/wpa_supplicant'
ctrl_interface_group='wheel'
update_config=1
eapol_version=1
ap_scan=1
fast_reauth=1
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: Supported cipher 00-0f-ac:10
nl80211: Supported cipher 00-0f-ac:8
nl80211: Supported cipher 00-0f-ac:9
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 6 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0x196798
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=0104
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=0409506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=7f506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=0801
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=0a1a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=0505
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                                                                                                                             h=0500
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
netlink: Operstate: ifindex=6 linkmode=1 (userspace-control), operstate=5 (IF_OP                                                                                                                                                             ER_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: 00:e0:4d:2d:14:c5
wpa_driver_nl80211_set_key: ifindex=6 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=                                                                                                                                                             0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=6 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=                                                                                                                                                             0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=6 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=                                                                                                                                                             0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=6 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=                                                                                                                                                             0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=6 (wlan0) alg=0 addr=(nil) key_idx=4 set_tx=                                                                                                                                                             0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=6 (wlan0) alg=0 addr=(nil) key_idx=5 set_tx=                                                                                                                                                             0 seq_len=0 key_len=0
wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlan0: State: DISCONNECTED -> INACTIVE
wlan0: WPS: UUID based on MAC address: f3eb3f2e-b98e-5c83-bbd3-09e26c9771e9
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
Using existing control interface directory.
ctrl_interface_group=10 (from group name 'wheel')
wlan0: Added interface wlan0
wlan0: State: INACTIVE -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=6 linkmode=-1 (no change), operstate=5 (IF_OPER_DORM                                                                                                                                                             ANT)
Daemonize..
-------------------------------------------------------------------------------------------
 wpa_cli -i wlan0 scan
Failed to connect to non-global ctrl_ifname: wlan0  error: No such file or directory
-------------------------------------------------------------------------------------------

这个又是什么??

#17 Re: 全志 SOC » 还是USB-WIFI问题 wpa_supplicant.conf中的/var/run/wpa_supplicant 这个是什么? » 2021-10-14 17:20:10

另外用 iw dev wlan0 scan 能扫描到周围的WIFI。但是用  iw wlan0 connect 没有成功

#18 全志 SOC » 还是USB-WIFI问题 wpa_supplicant.conf中的/var/run/wpa_supplicant 这个是什么? » 2021-10-14 17:15:12

john78
回复: 3

我的文件系统只读,如果文件系统中有var/run/wpa_supplicant文件夹
wpa_supplicant v2.6
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/bkup5/wpa_supplicant.conf' driver 'default                                                               ' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/bkup5/wpa_supplicant.conf' -> '/bkup5/wpa_supplicant.conf'
Reading configuration file '/bkup5/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='wheel'
update_config=1
eapol_version=1
ap_scan=1
fast_reauth=1
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: Supported cipher 00-0f-ac:10
nl80211: Supported cipher 00-0f-ac:8
nl80211: Supported cipher 00-0f-ac:9
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 0x196798
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=0104
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=0409506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=7f506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=0801
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=0a1a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=0505
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x196798 matc                                                               h=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_OP                                                               ER_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: 00:e0:4d:2d:14:c5
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
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=4 set_tx=                                                               0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=5 set_tx=                                                               0 seq_len=0 key_len=0
wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlan0: State: DISCONNECTED -> INACTIVE
wlan0: WPS: UUID based on MAC address: f3eb3f2e-b98e-5c83-bbd3-09e26c9771e9
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
Using existing control interface directory.
ctrl_interface_group=10 (from group name 'wheel')
chown[ctrl_interface=/var/run/wpa_supplicant,gid=10]: Read-only file system
Failed to initialize control interface '/var/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.

Failed to add interface wlan0
wlan0: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=00:00:0                                                               0:00:00:00 reason=3 state=INACTIVE
nl80211: Data frame filter flags=0x0
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unicast_in_l2_multica                                                               st: No such file or directory
nl80211: Failed to set IPv6 unicast in multicast filter
wlan0: State: INACTIVE -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORM                                                               ANT)
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wlan0: WPA: Clear old PMK and PTK
wlan0: Cancelling scan request
wlan0: Cancelling authentication timeout
Off-channel: Clear pending Action frame TX (pending_action_tx=(nil)
nl80211: Data frame filter flags=0x0
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unicast_in_l2_multica                                                               st: No such file or directory
nl80211: Failed to set IPv6 unicast in multicast filter
Remove interface wlan0 from radio phy0
Remove radio phy0
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=5 linkmode=0 (kernel-control), operstate=6 (IF_OPER_                                                               UP)
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Unsubscribe mgmt frames handle 0x8891ef11 (mode change)
---------------------------------------------------------------------------------------------
/var/run/wpa_supplicant 改成其他可读写目录页没有成功
wpa_supplicant -i wlan0 -c /bkup5/wpa_supplicant.conf
后出现

Successfully initialized wpa_supplicant
就一直停在这里了

#20 Re: 全志 SOC » [V3X][Mystery]项目开发进度汇报 » 2021-08-19 06:35:12

这个芯片什么价?和V3s有什么区别

#22 Re: 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » LVGL8 移植到安卓 [转] » 2021-07-08 07:18:42

没有开发过安卓的小白问下,这个是用什么开发环境(IDE)?

#23 Re: 司徒开源 » 感謝狀 » 2021-06-12 09:23:51

感谢大佬,那个淘宝是司徒的官方miyoo掌机?打算支持下

#25 Re: 全志 SOC » 买了个USB转网卡 » 2021-03-25 23:40:25

电容耦合.  论坛芒果的widora-neo也是这个耦合方式

#26 Re: SigmaStar/SSD201/SSD202/SSD212 » 转自Q群的 SSD201/SSD202/SSD20X AD/DXP 原理图与PCB » 2021-02-09 09:54:49

双网口,看上去不错,这个芯片的工作温度范围多少?没看到手册

#29 Re: 全志 SOC » 自制全志H3核心板 » 2020-12-07 19:52:28

膜拜大佬。还没有画过等长布线的板

#33 全志 SOC » 用 opendir -> readdir -> closedir 方式遍历文件中文文件名问题 » 2020-09-15 16:03:32

john78
回复: 1

Linux version 4.13.16-licheepi-zero+
struct dirent中d_name读到的中文被 ‘?’ 替换,无法转成UTF8 不能正常显示

#34 Re: 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » LittleVGL 可以运行在 浏览器上了 » 2020-09-05 17:22:29

发现两个错误,不知道怎么处理了
wasm streaming compile failed: TypeError: Response has unsupported MIME type
falling back to ArrayBuffer instantiation

#35 Re: 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » LittleVGL 可以运行在 浏览器上了 » 2020-09-05 16:49:19

lvgl.html、lvgl.js、lvgl.wasm-----------哪有这个3个文件,我比较下

#37 Re: 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » LittleVGL 可以运行在 浏览器上了 » 2020-09-05 16:26:27

编译好了lvgl.html、lvgl.js、lvgl.wasm三个文件也有了,但是filefox,Google Chrome,Ie都没有显示啊,只有空白

#39 Re: ST/STM8/STM8S/STM8L » STM32H750+lvgl » 2020-07-15 14:07:24

LZ 搞定没有?我打算用TKM32F499了

#42 全志 SOC » Linux 串口都是定长接收的,如果根据特定的结束符结束接收 » 2020-07-10 21:30:38

john78
回复: 2

只知道超时和定长,用什么方法收到结束符如(0x0D)立即结束接收?

#44 Re: 全志 SOC » 大佬们,V3S用那个WIFI稳定? » 2020-06-03 14:06:33

AP6212 搞过几天,没有搞定,有没有V3S连接原理图?找到资料,从头到尾,搞一次

#45 全志 SOC » 大佬们,V3S用那个WIFI稳定? » 2020-06-03 13:42:55

john78
回复: 3

稳定,一定要稳定,哪个方式?

#50 Re: 全志 SOC » 全志A33 UART baudrate 921600 問題!! » 2020-05-03 08:21:13

有没有在V3S上成功的?

------------修改后报错--------------------

[   12.899663] serial8250: too much work for irq37
[   12.904480] serial8250: too much work for irq37
[   12.909318] serial8250: too much work for irq37
[   12.914110] serial8250: too much work for irq37
[   12.918913] serial8250: too much work for irq37
[   12.923701] serial8250: too much work for irq37
[   12.928497] serial8250: too much work for irq37
[   12.933284] serial8250: too much work for irq37
[   12.938079] serial8250: too much work for irq37
[   12.942866] serial8250: too much work for irq37

#51 Re: 全志 SOC » 全志A33 UART baudrate 921600 問題!! » 2020-05-02 22:03:01

V3S 改后通讯1分钟不到,就中断了void clock_init_uart(void)
{
#if CONFIG_CONS_INDEX < 5
        struct sunxi_ccm_reg *const ccm =
                (struct sunxi_ccm_reg *)SUNXI_CCM_BASE;

        /* uart clock source is apb2 */
        writel(APB2_CLK_SRC_OSC24M|      //这里改为APB2_CLK_SRC_PLL6,从内部pll6时钟分频
               APB2_CLK_RATE_N_1|               //这里预分频不变
               APB2_CLK_RATE_M(1),
               &ccm->apb2_div);

#52 Re: 全志 SOC » 全志A33 UART baudrate 921600 問題!! » 2020-05-02 20:28:07

这个只要修改U-BOOT,LINUX系统中不需要修改?

#53 Re: 全志 SOC » 使用iperf测试esp8266做F1C200s的spi无线网卡的网络性能(10Mbps) » 2020-05-02 09:51:01

8266是自己的固件?某宝上SPI接口有个看上去很牛,价格也挺牛

#56 Re: 全志 SOC » 关于 SD NAND 的信号切换。成功! » 2020-04-19 09:03:30

不切换,将CPU处于复位状态,也可以吧

#58 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » littileVGL 如何生成图片点阵文件,如BMP? » 2020-04-07 21:06:54

john78
回复: 0

littileVGL 如何生成图片点阵文件,如BMP?
有LCD,但不要在LCD上显示,需要保存一个图片文件。方便打印或者通过网络传送

#59 Re: 全志 SOC » 关于 lichee-pi zero v3s 以太网硬件严重发热问题和解决办法 » 2020-03-20 08:26:58

LZ,PIN94接的电阻多大的,我不知道参考哪放了个6.2K的
海豚派 V3s是2.49K

#60 Re: 全志 SOC » 关于 lichee-pi zero v3s 以太网硬件严重发热问题和解决办法 » 2020-03-18 12:21:03

R8, R9, R10, R11-----不装吗?试了下不行啊
L1-装不装都没有发现问题

#62 Re: 全志 SOC » V3S 如何 LCD 背光调整? » 2020-03-05 21:43:28

# echo 0 > /sys/class/backlight/pwm-backlight/brightness
-sh: can't create /sys/class/backlight/pwm-backlight/brightness: nonexistent directory
--------------------------------------------------------------------------------
dts:
backlight: backlight {
        compatible = "pwm-backlight";
        pwms = <&pwm 0 1000000 0>;
        brightness-levels = <0 30 40 50 60 70 100>;
        default-brightness-level = <6>;
    };

#63 全志 SOC » V3S 如何 LCD 背光调整? » 2020-03-05 21:08:39

john78
回复: 26

u-boot的DTS中有背光的控制,LINUX中的DTS没有

echo 1 > /sys/class/backlight/pwm-backlight/bl_power  ---这个使用要哪个dts配合?

#64 全志 SOC » 如何判断一个LINUX 可以执行文件是否完整? » 2020-03-01 17:34:44

john78
回复: 1

如何判断一个LINUX 可以执行文件是否完整?gcc 生成的了可执行文件。不了解格式,有没有简单判断文件是否完整的方法?

#66 全志 SOC » 有没在LINUX系统下串口打印的资料?有个忙信号,不知道怎么办 » 2020-02-26 12:15:11

john78
回复: 0

有没在LINUX系统下串口打印的资料?有个忙信号,不知道怎么办

#67 全志 SOC » u-boot复制后不能正常编译问题,请教 » 2019-12-29 22:18:15

john78
回复: 2

BINMAN  u-boot-sunxi-with-spl.bin
/bin/sh: 1: ./tools/binman/binman: not found
Makefile:1079: recipe for target 'u-boot-sunxi-with-spl.bin' failed
make: *** [u-boot-sunxi-with-spl.bin] Error 127
-------------------------------------------------------------------------------------------
复制u-boot时,有个binman软连接没有能复制,所以,已经建立一个binman -> binman.py
为什么还是这个样啊?

#69 Re: 全志 SOC » V3S + AP6212 没有搞定,不出现WLAN0 » 2019-12-03 12:53:26

还没有搞定,难道硬件问题,换了个USB转WIFI的,又遇到问题

 wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant.conf -d
wpa_supplicant v2.6
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' 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/'
Priority group 0
   id=0 ssid='HiWiFi_12345678'
WEXT: cfg80211-based driver detected
wext: interface wlan0 phy: phy0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0x1f flags 0x0
WEXT: Driver: rtl8xxxu
netlink: Operstate: ifindex=5 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
wlan0: Own MAC address: 00:e0:4d:2d:14:c5
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=4 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_key: alg=0 key_idx=5 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_countermeasures
wlan0: RSN: flushing PMKID list in the driver
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: f3eb3f2e-b98e-5c83-bbd3-09e26c9771e9
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
mkdir[ctrl_interface=/var/run/wpa_supplicant/]: No such file or directory
Failed to initialize control interface '/var/run/wpa_supplicant/'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.

Failed to add interface wlan0
wlan0: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=00:00:00:00:00:00 reason=3 state=DISCONNECTED
wlan0: State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_wext_set_countermeasures
wlan0: WPA: Clear old PMK and PTK
wlan0: Cancelling scan request
wlan0: Cancelling authentication timeout
Off-channel: Clear pending Action frame TX (pending_action_tx=(nil)
Remove interface wlan0 from radio phy0
Remove radio phy0
netlink: Operstate: ifindex=5 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)

----------------------------------------------
ioctl[SIOCSIWENCODEEXT]: Invalid argument------?

继续填坑

#71 Re: 全志 SOC » V3S + AP6212 没有搞定,不出现WLAN0 » 2019-11-28 11:15:01

[    1.491645] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.499361] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.508259] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.522938] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[    1.692263] mmc1: new high speed SDIO card at address 0001
[    2.206994] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support!
[    2.262368] EXT4-fs (mmcblk0p1): mounted filesystem with journalled data mode. Opts: data=journal
[    2.281224] EXT4-fs (mmcblk0p5): mounted filesystem with journalled data mode. Opts: data=journal
[    2.360189] Generic PHY stmmac-0:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:01, irq=-1)
[    2.372119] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[    2.379892] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[   42.730504] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[   42.730913] sunxi-mmc 1c10000.mmc: data error, sending stop command
[   42.737306] sunxi-mmc 1c10000.mmc: send stop command failed
[   42.745795] sunxi-mmc 1c10000.mmc: data error, sending stop command
[   42.755340] sunxi-mmc 1c10000.mmc: send stop command failed
[   42.769251] sunxi-mmc 1c10000.mmc: data error, sending stop command
[   42.778337] sunxi-mmc 1c10000.mmc: send stop command failed
[   42.789719] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x08008, err: -110
[   42.803293] sunxi-mmc 1c10000.mmc: data error, sending stop command
[   42.815021] sunxi-mmc 1c10000.mmc: send stop command failed
[   42.829072] sunxi-mmc 1c10000.mmc: data error, sending stop command
[   42.837999] sunxi-mmc 1c10000.mmc: send stop command failed
[   42.851744] sunxi-mmc 1c10000.mmc: data error, sending stop command
[   42.860995] sunxi-mmc 1c10000.mmc: send stop command failed
[   42.872607] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x08008, err: -110
[   42.885883] brcmfmac: brcmf_chip_cores_check: CPU core not detected
[   42.897680] brcmfmac: brcmf_sdio_probe_attach: brcmf_chip_attach failed!
[   42.909924] brcmfmac: brcmf_sdio_probe: brcmf_sdio_probe_attach failed
[   42.922922] brcmfmac: brcmf_ops_sdio_probe: F2 error, probe failed -19...
------------------------------------------------------------------------------------------------

[    1.692263] mmc1: new high speed SDIO card at address 0001--------------------

这个有了,但是还有一堆错误啊

#72 Re: 全志 SOC » V3S + AP6212 没有搞定,不出现WLAN0 » 2019-11-23 13:54:22

# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero+ (root@ubuntu) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1)) #105 SMP Sat Nov 23 13:48:09 +08 2019
[    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: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 16009
[    0.000000] free_area_init_node: node 0, pgdat c0a39200, node_mem_map c3e03000
[    0.000000]   Normal zone: 126 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16009 pages, LIFO batch:3
[    0.000000] percpu: Embedded 16 pages/cpu @c3de6000 s33920 r8192 d23424 u65536
[    0.000000] pcpu-alloc: s33920 r8192 d23424 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15883
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait root=/dev/mmcblk0p2 rw rootfstype=squashfs vt.global_cursor_default=0
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 53564K/64036K available (6144K kernel code, 231K rwdata, 1564K rodata, 1024K init, 263K bss, 10472K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3e89000   (  62 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a39e40   ( 232 kB)
[    0.000000]        .bss : 0xc0a418d0 - 0xc0a8366c   ( 264 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000017] Switching to timer-based delay loop, resolution 41ns
[    0.000185] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000406] Console: colour dummy device 80x30
[    0.000443] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000460] pid_max: default: 32768 minimum: 301
[    0.000599] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000616] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001223] CPU: Testing write buffer coherency: ok
[    0.001591] /cpus/cpu@0 missing clock-frequency property
[    0.001614] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002048] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002216] Hierarchical SRCU implementation.
[    0.002683] smp: Bringing up secondary CPUs ...
[    0.002697] smp: Brought up 1 node, 1 CPU
[    0.002707] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002714] CPU: All CPU(s) started in SVC mode.
[    0.003496] devtmpfs: initialized
[    0.006743] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.007018] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007050] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007214] pinctrl core: initialized pinctrl subsystem
[    0.008062] random: get_random_u32 called from bucket_table_alloc+0xf0/0x250 with crng_init=0
[    0.008192] NET: Registered protocol family 16
[    0.008648] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009783] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009799] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.023812] SCSI subsystem initialized
[    0.024113] usbcore: registered new interface driver usbfs
[    0.024181] usbcore: registered new interface driver hub
[    0.024295] usbcore: registered new device driver usb
[    0.024534] pps_core: LinuxPPS API ver. 1 registered
[    0.024547] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.024570] PTP clock support registered
[    0.024790] Advanced Linux Sound Architecture Driver Initialized.
[    0.026641] clocksource: Switched to clocksource arch_sys_counter
[    0.037683] NET: Registered protocol family 2
[    0.038279] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.038311] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.038335] TCP: Hash tables configured (established 1024 bind 1024)
[    0.038466] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.038515] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.038728] NET: Registered protocol family 1
[    0.039315] RPC: Registered named UNIX socket transport module.
[    0.039334] RPC: Registered udp transport module.
[    0.039340] RPC: Registered tcp transport module.
[    0.039346] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.041316] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.049576] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.050727] NFS: Registering the id_resolver key type
[    0.050788] Key type id_resolver registered
[    0.050795] Key type id_legacy registered
[    0.050853] ntfs: driver 2.1.32 [Flags: R/W DEBUG].
[    0.051188] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.052685] random: fast init done
[    0.055454] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.055476] io scheduler noop registered
[    0.055484] io scheduler deadline registered
[    0.055684] io scheduler cfq registered (default)
[    0.055694] io scheduler mq-deadline registered
[    0.055701] io scheduler kyber registered
[    0.060426] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.130436] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.133692] console [ttyS0] disabled
[    0.153973] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.752828] console [ttyS0] enabled
[    0.777833] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 37, base_baud = 1500000) is a U6_16550A
[    0.808313] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 38, base_baud = 1500000) is a U6_16550A
[    0.822029] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00, 00, 00
[    0.828718] m25p80: probe of spi32766.0 failed with error -2
[    0.835068] libphy: Fixed MDIO Bus: probed
[    0.839824] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.845622] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.851404] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    0.857439] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 168000 (expect 38000)
[    0.867032] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.872694] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.879980] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.885635] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.892874] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.897848] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.904810] libphy: stmmac: probed
[    0.910234] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.916904] ehci-platform: EHCI generic platform driver
[    0.922437] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.928127] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.936034] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.966655] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.973918] hub 1-0:1.0: USB hub found
[    0.977866] hub 1-0:1.0: 1 port detected
[    0.982398] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.988705] ohci-platform: OHCI generic platform driver
[    0.994289] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.001043] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.009004] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.081783] hub 2-0:1.0: USB hub found
[    1.085606] hub 2-0:1.0: 1 port detected
[    1.092998] usbcore: registered new interface driver usb-storage
[    1.099287] usbcore: registered new interface driver usbserial
[    1.105331] musb-sunxi 1c19000.usb: Invalid or missing 'dr_mode' property
[    1.112213] musb-sunxi: probe of 1c19000.usb failed with error -22
[    1.119241] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.127756] i2c /dev entries driver
[    1.132561] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.168669] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.236681] sunxi-mmc 1c0f000.mmc: base:0xc4253000 irq:23
[    1.283648] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.293583] mmc0: new high speed SD card at address 21e1
[    1.299451] sunxi-mmc 1c10000.mmc: base:0xc4257000 irq:24
[    1.305891] usbcore: registered new interface driver usbhid
[    1.311561] usbhid: USB HID core driver
[    1.316140] mmcblk0: mmc0:21e1 APPSD 120 MiB
[    1.322754] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.330808] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.338719] NET: Registered protocol family 17
[    1.343359] Key type dns_resolver registered
[    1.347911] Registering SWP/SWPB emulation handler
[    1.354247]  mmcblk0: p1 p2 p3 p4 < p5 >
[    1.366397] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4400000
[    1.377090] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    1.393361] Console: switching to colour frame buffer device 100x30
[    1.405821] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    1.416255] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.424651] hctosys: unable to open rtc device (rtc0)
[    1.430068] vcc5v0: disabling
[    1.433045] ALSA device list:
[    1.436010]   #0: V3s Audio Codec
[    1.446577] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[    1.456391] devtmpfs: mounted
[    1.460792] Freeing unused kernel memory: 1024K
[    2.199588] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support!
[    2.213122] EXT4-fs (mmcblk0p1): mounted filesystem with journalled data mode. Opts: data=journal
[    2.232447] EXT4-fs (mmcblk0p5): mounted filesystem with journalled data mode. Opts: data=journal
[    2.311460] Generic PHY stmmac-0:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:01, irq=-1)
[    2.323401] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[    2.331176] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[    4.376645] mmc1: error -110 whilst initialising SDIO card
[    5.447228] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   49.136197] Broadcom 43xx driver loaded [ Features: NS ]
[   59.018898] Broadcom 43xx-legacy driver loaded [ Features: ID ]
[   94.682230] usbcore: registered new interface driver brcmfmac

#73 Re: 全志 SOC » V3S + AP6212 没有搞定,不出现WLAN0 » 2019-11-23 13:53:17

加载姿势不对?我用insmod手工加载的

#74 Re: 全志 SOC » V3S + AP6212 没有搞定,不出现WLAN0 » 2019-11-23 12:29:04

# lsmod
Module                  Size  Used by    Not tainted
brcmfmac              237568  0
brcmsmac              495616  0
brcmutil               16384  2 brcmfmac,brcmsmac
b43legacy             114688  0
b43                   397312  0
# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:44:C0:A8:08:63
          inet addr:192.168.8.99  Bcast:192.168.8.255  Mask:255.255.255.0
          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:40

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 ?

#75 Re: 全志 SOC » V3S + AP6212 没有搞定,不出现WLAN0 » 2019-11-22 20:52:05

看来,这严重错误了,需要再研究下

这个模块怎么编译?有参考?

#78 Re: 全志 SOC » V3S + AP6212 没有搞定,不出现WLAN0 » 2019-11-22 20:13:58

ippen 说:

没看到加载brcmfmac的驱动

如何配置?能否提示?

#79 Re: 全志 SOC » V3S + AP6212 没有搞定,不出现WLAN0 » 2019-11-22 20:03:42

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero+ (root@ubuntu) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1)) #97 SMP Fri Nov 22 19:35:12 +08 2019
[    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: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 16009
[    0.000000] free_area_init_node: node 0, pgdat c0b3ecc0, node_mem_map c3e03000
[    0.000000]   Normal zone: 126 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16009 pages, LIFO batch:3
[    0.000000] percpu: Embedded 16 pages/cpu @c3de6000 s33920 r8192 d23424 u65536
[    0.000000] pcpu-alloc: s33920 r8192 d23424 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15883
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait root=/dev/mmcblk0p2 rw rootfstype=squashfs vt.global_cursor_default=0
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 52512K/64036K available (7168K kernel code, 254K rwdata, 1780K rodata, 1024K init, 265K bss, 11524K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3e89000   (  62 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0800000   (8160 kB)
[    0.000000]       .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
[    0.000000]       .data : 0xc0b00000 - 0xc0b3f920   ( 255 kB)
[    0.000000]        .bss : 0xc0b47d44 - 0xc0b8a43c   ( 266 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000187] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000408] Console: colour dummy device 80x30
[    0.000443] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000458] pid_max: default: 32768 minimum: 301
[    0.000593] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000611] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001206] CPU: Testing write buffer coherency: ok
[    0.001589] /cpus/cpu@0 missing clock-frequency property
[    0.001614] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002049] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002217] Hierarchical SRCU implementation.
[    0.002695] smp: Bringing up secondary CPUs ...
[    0.002710] smp: Brought up 1 node, 1 CPU
[    0.002720] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002728] CPU: All CPU(s) started in SVC mode.
[    0.003521] devtmpfs: initialized
[    0.006809] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.007080] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007110] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007279] pinctrl core: initialized pinctrl subsystem
[    0.008124] random: get_random_u32 called from bucket_table_alloc+0xf0/0x250 with crng_init=0
[    0.008262] NET: Registered protocol family 16
[    0.008735] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009863] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009964] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.024294] SCSI subsystem initialized
[    0.024590] usbcore: registered new interface driver usbfs
[    0.024690] usbcore: registered new interface driver hub
[    0.024786] usbcore: registered new device driver usb
[    0.025009] pps_core: LinuxPPS API ver. 1 registered
[    0.025018] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.025039] PTP clock support registered
[    0.025255] Advanced Linux Sound Architecture Driver Initialized.
[    0.027099] clocksource: Switched to clocksource arch_sys_counter
[    0.037921] NET: Registered protocol family 2
[    0.038516] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.038550] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.038574] TCP: Hash tables configured (established 1024 bind 1024)
[    0.038700] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.038752] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.038976] NET: Registered protocol family 1
[    0.039555] RPC: Registered named UNIX socket transport module.
[    0.039574] RPC: Registered udp transport module.
[    0.039581] RPC: Registered tcp transport module.
[    0.039586] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.041561] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.049728] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.050842] NFS: Registering the id_resolver key type
[    0.050905] Key type id_resolver registered
[    0.050913] Key type id_legacy registered
[    0.050963] ntfs: driver 2.1.32 [Flags: R/W DEBUG].
[    0.051279] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.052761] random: fast init done
[    0.055586] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.055611] io scheduler noop registered
[    0.055619] io scheduler deadline registered
[    0.055838] io scheduler cfq registered (default)
[    0.055851] io scheduler mq-deadline registered
[    0.055858] io scheduler kyber registered
[    0.060433] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.128447] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.131654] console [ttyS0] disabled
[    0.151930] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.750676] console [ttyS0] enabled
[    0.775644] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 37, base_baud = 1500000) is a U6_16550A
[    0.806130] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 38, base_baud = 1500000) is a U6_16550A
[    0.820057] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00, 00, 00
[    0.826622] m25p80: probe of spi32766.0 failed with error -2
[    0.832808] libphy: Fixed MDIO Bus: probed
[    0.837501] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.843297] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.849075] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    0.855088] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 168000 (expect 38000)
[    0.864688] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.870380] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.877611] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.883264] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.890490] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.895450] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.902421] libphy: stmmac: probed
[    0.908083] Broadcom 43xx driver loaded [ Features: NLS ]
[    0.913542] Broadcom 43xx-legacy driver loaded [ Features: LID ]
[    0.919823] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.926348] ehci-platform: EHCI generic platform driver
[    0.931913] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.937596] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.945503] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.951761] usbcore: registered new interface driver brcmfmac
[    0.977132] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.984368] hub 1-0:1.0: USB hub found
[    0.988315] hub 1-0:1.0: 1 port detected
[    0.992851] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.999157] ohci-platform: OHCI generic platform driver
[    1.004741] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.011468] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.019400] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.092218] hub 2-0:1.0: USB hub found
[    1.096041] hub 2-0:1.0: 1 port detected
[    1.103387] usbcore: registered new interface driver usb-storage
[    1.109663] usbcore: registered new interface driver usbserial
[    1.115710] musb-sunxi 1c19000.usb: Invalid or missing 'dr_mode' property
[    1.122595] musb-sunxi: probe of 1c19000.usb failed with error -22
[    1.129612] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.138128] i2c /dev entries driver
[    1.142921] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.179120] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.247140] sunxi-mmc 1c0f000.mmc: base:0xc4253000 irq:23
[    1.294108] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.304042] mmc0: new high speed SD card at address 21e1
[    1.309925] sunxi-mmc 1c10000.mmc: base:0xc4257000 irq:24
[    1.316369] usbcore: registered new interface driver usbhid
[    1.322034] usbhid: USB HID core driver
[    1.326641] mmcblk0: mmc0:21e1 APPSD 120 MiB
[    1.333238] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.341294] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.349172] NET: Registered protocol family 17
[    1.353794] Key type dns_resolver registered
[    1.358352] Registering SWP/SWPB emulation handler
[    1.364656]  mmcblk0: p1 p2 p3 p4 < p5 >
[    1.376799] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4400000
[    1.387488] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    1.403763] Console: switching to colour frame buffer device 100x30
[    1.416238] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    1.426649] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.435060] hctosys: unable to open rtc device (rtc0)
[    1.440472] vcc5v0: disabling
[    1.443445] ALSA device list:
[    1.446409]   #0: V3s Audio Codec
[    1.456868] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[    1.466859] devtmpfs: mounted
[    1.471253] Freeing unused kernel memory: 1024K
[    3.175703] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support!
[    3.189743] EXT4-fs (mmcblk0p1): mounted filesystem with journalled data mode. Opts: data=journal
[    3.219019] EXT4-fs (mmcblk0p5): mounted filesystem with journalled data mode. Opts: data=journal
[    3.308429] Generic PHY stmmac-0:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:01, irq=-1)
[    3.320331] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[    3.328098] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[    4.387101] mmc1: error -110 whilst initialising SDIO card 

----------------------奇怪,正常引导不出现?

#80 全志 SOC » V3S + AP6212 没有搞定,不出现WLAN0 » 2019-11-22 19:44:14

john78
回复: 26
# hostapd -d /etc/hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd.conf
Could not read interface wlan0 flags: No such device
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=0 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
Could not read interface wlan0 flags: No such device
nl80211: Set mode ifindex 0 iftype 2 (STATION)
nl80211: Failed to set interface 0 to mode 2: -19 (No such device)
nl80211 driver initialization failed.
hostapd_interface_deinit_free(0x105990)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x105990)
wlan0: interface state UNINITIALIZED->DISABLED
hostapd_bss_deinit: deinit bss wlan0
wlan0: AP-DISABLED
hostapd_cleanup(hapd=0x106ae0 (wlan0))
hostapd_free_hapd_data: Interface wlan0 wasn't started
hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit
hostapd_interface_free(0x105990)
hostapd_interface_free: free hapd 0x106ae0
hostapd_cleanup_iface(0x105990)
hostapd_cleanup_iface_partial(0x105990)
hostapd_cleanup_iface: free iface=0x105990
# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:44:C0:A8:08:63
          inet addr:192.168.8.99  Bcast:192.168.8.255  Mask:255.255.255.0
          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:40

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)

# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 02:44:C0:A8:08:63
          inet addr:192.168.8.99  Bcast:192.168.8.255  Mask:255.255.255.0
          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:40

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)

#81 Re: 全志 SOC » 感谢 @小智科技 赠送的 TF卡 AP6212 WIFI 模组 » 2019-11-22 14:20:11

# wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant.conf -d
wpa_supplicant v2.6
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' 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 2
   id=0 ssid='HiWiFi_12345678'
rfkill: Cannot get wiphy information
WEXT: RFKILL status not available
Could not read interface wlan0 flags: No such device
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface
Failed to add interface wlan0
wlan0: Cancelling scan request
wlan0: Cancelling authentication timeout
#
还是没有搞定,坑多多

#82 Re: 全志 SOC » 感谢 @小智科技 赠送的 TF卡 AP6212 WIFI 模组 » 2019-11-22 09:05:37

make[1]: 正在进入目录 `/work/v3s/buildroot-2017.02.7/output/build/wpa_supplicant-2.6/wpa_supplicant'
../src/common/sae.o:在函数‘sae_cn_confirm.isra.2’中:
sae.c:(.text+0x168):对‘crypto_bignum_to_bin’未定义的引用
sae.c:(.text+0x198):对‘crypto_bignum_to_bin’未定义的引用
../src/common/sae.o:在函数‘sae_cn_confirm_ffc’中:
sae.c:(.text+0x214):对‘crypto_bignum_to_bin’未定义的引用
sae.c:(.text+0x22c):对‘crypto_bignum_to_bin’未定义的引用
../src/common/sae.o:在函数‘sae_cn_confirm_ecc’中:
sae.c:(.text+0x2a4):对‘crypto_ec_point_to_bin’未定义的引用
sae.c:(.text+0x2c0):对‘crypto_ec_point_to_bin’未定义的引用
../src/common/sae.o:在函数‘sae_derive_pwe_ecc’中:
sae.c:(.text+0x370):对‘crypto_bignum_to_bin’未定义的引用
sae.c:(.text+0x388):对‘crypto_ec_prime_len_bits’未定义的引用
sae.c:(.text+0x40c):对‘crypto_bignum_init_set’未定义的引用
sae.c:(.text+0x420):对‘crypto_bignum_legendre’未定义的引用
sae.c:(.text+0x464):对‘crypto_bignum_deinit’未定义的引用
sae.c:(.text+0x528):对‘crypto_ec_prime_len_bits’未定义的引用
sae.c:(.text+0x5c0):对‘crypto_bignum_init_set’未定义的引用
sae.c:(.text+0x5d8):对‘crypto_ec_point_compute_y_sqr’未定义的引用
sae.c:(.text+0x5f0):对‘crypto_bignum_deinit’未定义的引用
sae.c:(.text+0x600):对‘crypto_bignum_deinit’未定义的引用
sae.c:(.text+0x60c):对‘crypto_bignum_deinit’未定义的引用
sae.c:(.text+0x670):对‘crypto_bignum_init_set’未定义的引用
sae.c:(.text+0x67c):对‘crypto_bignum_is_zero’未定义的引用
sae.c:(.text+0x690):对‘crypto_bignum_deinit’未定义的引用
sae.c:(.text+0x6a4):对‘crypto_bignum_init’未定义的引用
---------------------------------------------------------------------------------
这个是缺少什么?

#86 全志 SOC » V3S的U-BOOT能读写U盘吗? » 2019-10-26 07:58:16

john78
回复: 1

试了下不行,有没有用过的?

#87 Re: 全志 SOC » 产品小批量压成本问题, DIY打样量产问题讨论(SMT) » 2019-10-25 07:34:00

我有个桌面的在吃灰,可以转让你。买来3W多。80多料位,带视觉,0603以上都能对付,主要速度慢,所以后来从朋友处转了条二手线,就一直吃灰了。

#89 全志 SOC » 哪种文件系统合适?文件不大100MB,存储到TF卡 » 2019-09-18 10:10:11

john78
回复: 3

文件不大100MB,存储到TF卡,那种文件对突然掉电保护比较好?

#91 Re: 全志 SOC » 试一试把 V3s 当做 无线 wifi 热点 » 2019-09-11 09:14:19

lz:AP6212稳定吗?
https://whycan.cn/t_2091.html -- 这个看貌似ESP8089,不稳定(不好搞)

另可以共享下AP6212的资料,淘宝上有模块卖,没有看到脚位图?

#93 ESP32/ESP8266 » make: *** 没有规则可制作目标“check_python_dependencies”,由“menuconfig” 需求 » 2019-09-02 11:02:15

john78
回复: 5

msys2

$ make menuconfig
pkg_resources cannot be imported probably because the pip package is not installed and/or using a legacy Python interpreter. Please refer to the Get Started section of the ESP-IDF Programming Guide for setting up the required packages.
make: *** 没有规则可制作目标“check_python_dependencies”,由“menuconfig” 需求。 停止。

还缺少什么?

#94 Re: 全志 SOC » v3s加载esp8089失败 » 2019-08-16 22:12:47

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

#96 Re: 君正Ingenic/X1000/X2000/T10/T20/T30 » 分享一个 君正 X1000 自动挂载 TF卡/U盘 分区 » 2019-08-08 09:16:54

echo /sbin/mdev > /proc/sys/kernel/hotplug  的意思是将/sbin/mdev写入hotplug?
/proc/sys/kernel/hotplug  文件是空的,哪里设置问题?

#98 Re: 全志 SOC » 荔枝zero我通过usb去读取SD就是识别不了 » 2019-08-07 18:34:14

LZ搞定没有,我的貌似hotplug没
起作用。

#99 Re: 全志 SOC » 各位大神,全志Allwinner V3s的板子,怎么样才能自动挂载u盘,读卡器? » 2019-08-06 17:23:23

没有搞定自动
mdev怎么配置?buildroot-2017.02.7中么有 linux 3.14y中也没有

貌似hotplug无法启动

手工mount可以实现

#102 Re: 全志 SOC » 哪里做板+SMT便宜,支持散料 » 2019-07-05 10:21:29

小客户,小量,只能是累成狗。贴片厂空闲怎么都好说,忙的时候,呵呵。质量就看心情了。
我们受够了,没有办法,搞了个小生产线,自己加工。没有办法,质量和价格总要妥协的。
嘉立创是小批量,最便宜的了(自己弄,成本远高于他们),但贴不全,也很麻烦,何况还有插件要自己干。

#104 Re: 全志 SOC » V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写 » 2019-07-04 07:56:44

烧录键?

进入这个模式,各个引脚有什么要求? PE6接地就可以?

#105 Re: 全志 SOC » miyoo游戏机横版拆机 » 2019-06-27 10:32:35

这,手感怎么样,搞个玩下?

#110 Re: ESP32/ESP8266 » ESP32+mDNS+HTTP Server的方案验证 » 2019-04-15 22:48:30

看上去不错,在非LINUX下HTTP serever不知道怎么下手。

#112 Re: 全志 SOC » V3S 主线linux 什么格式的压缩图片最方便显示? » 2019-04-06 14:07:17

好的。
再伸手:直接勾上之后,怎么使用,有没有例程?

#113 全志 SOC » V3S 主线linux 什么格式的压缩图片最方便显示? » 2019-04-06 13:36:59

john78
回复: 3

V3S 主线linux 什么格式的压缩图片最方便显示?
没有做个相关的图片处理,有什么经验?参考?

#115 Re: 全志 SOC » 有没有做过用V3s刷8位并口的液晶? » 2019-03-28 21:08:07

晕哥 说:

V3s支持I80液晶,但是要用 bsp Linux


彩虹派:

https://whycan.cn/t_1900.html


https://whycan.cn/t_1902.html



淘宝下架了,只能自己研究了

#117 Re: 全志 SOC » 有没有做过用V3s刷8位并口的液晶? » 2019-03-28 19:56:00

这种51就能驱动的液晶,反而不支持。模具关系换液晶比较麻烦,看来还是要换CPU了。

#118 全志 SOC » 有没有做过用V3s刷8位并口的液晶? » 2019-03-28 19:43:42

john78
回复: 6

用了V3S省的换其他CPU,想凑合用下

#119 Re: 全志 SOC » v3s RTC使用备用电池时,时间只保存,不走怎么回事? » 2019-03-26 13:18:36

我已经放弃了,用外内置晶振的RTC,稳稳的,就是价格多了些

#120 Re: 全志 SOC » 歪朵拉上线了全志S3/S3L的芯片零售服务 » 2019-03-08 20:12:05

s3l的脚间距多少的。v3s,那个0.4的也不好焊

#121 Re: 全志 SOC » BITC200(F1c200s/100s)手工焊接简直焊瞎了眼 » 2019-02-27 22:14:52

0201要好点的贴片机才能搞定,人工焊接?没有这个勇气

#122 全志 SOC » 在WIN下压缩,在linux(V3S)中解压文件,用什么压缩方式容易实现? » 2019-02-27 22:11:45

john78
回复: 2

如题,数据文件大概10M内,主要考虑压缩后传输快些。

#125 Re: 全志 SOC » 【视频分享】制作荔枝派Zero开发板(全志V3s) TF/SD卡启动盘 » 2019-02-19 16:11:50

晕哥 说:

@john78 你是想把 sd 卡 当 flash 用?

是的,spi的flash容量小,实在不行就老实用文件系统了

#126 Re: 全志 SOC » 【视频分享】制作荔枝派Zero开发板(全志V3s) TF/SD卡启动盘 » 2019-02-19 14:51:59

只找到这个说明

mtdparts

mtdparts=fc000000.nor_flash:1920k(linux),128k(fdt),20M(ramdisk),4M(jffs2),38272k(user),256k(env),384k(uboot)

要想这个参数起作用,内核中的mtd驱动必须要支持,即内核配置时需要选上Device Drivers  ---> Memory Technology Device (MTD) support  ---> Command line partition table parsing



mtdparts的格式如下:

mtdparts=<mtddef>[;<mtddef]

<mtddef>  := <mtd-id>:<partdef>[,<partdef>]

<partdef> := <size>[@offset][<name>][ro]

<mtd-id>  := unique id used in mapping driver/device

<size>    := standard linux memsize OR "-" to denote all remaining space

<name>    := (NAME)

因此你在使用的时候需要按照下面的格式来设置:

mtdparts=mtd-id:<size1>@<offset1>(<name1>),<size2>@<offset2>(<name2>)

这里面有几个必须要注意的:

a.  mtd-id 必须要跟你当前平台的flash的mtd-id一致,不然整个mtdparts会失效 怎样获取到当前平台的flash的mtd-id?

在bootargs参数列表中可以指定当前flash的mtd-id,如指定 mtdids:nand0=gen_nand.1,前面的nand0则表示第一个flash

b.  size在设置的时候可以为实际的size(xxM,xxk,xx),也可以为'-'这表示剩余的所有空间。

相关信息可以查看drivers/mtd/cmdlinepart.c中的注释找到相关描述。
----------------------------------------------------------------------------------------------------------------------------
a.  mtd-id 必须要跟你当前平台的flash的mtd-id一致,不然整个mtdparts会失效 怎样获取到当前平台的flash的mtd-id?----- 不明白

#127 Re: 全志 SOC » 【视频分享】制作荔枝派Zero开发板(全志V3s) TF/SD卡启动盘 » 2019-02-19 12:12:20

晕哥 说:
john78 说:
晕哥 说:

没有错,mtdparts是原来给flash驱动生成分区用的,你可以删除。

只用sd卡删除这个mtdparts 也没问题。

假如,我不在SD中中文件系统,就想和SPI的FLASH一样用这个mtdparts.

这个给参数该怎么设置?

不用 sd卡,只用 flash?

不用FLASH,用SD卡,直接读写,不用分区(不想用户在电脑上看到文件系统)

#128 Re: 全志 SOC » 【视频分享】制作荔枝派Zero开发板(全志V3s) TF/SD卡启动盘 » 2019-02-19 11:32:05

晕哥 说:

没有错,mtdparts是原来给flash驱动生成分区用的,你可以删除。

只用sd卡删除这个mtdparts 也没问题。

假如,我不在SD中中文件系统,就想和SPI的FLASH一样用这个mtdparts.

这个给参数该怎么设置?

#129 Re: 全志 SOC » 【视频分享】制作荔枝派Zero开发板(全志V3s) TF/SD卡启动盘 » 2019-02-19 10:56:30

修改 include/configs/sun8i.h

#define CONFIG_BOOTARGS        "console=ttyS0,115200 panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,6M(kernel)ro,-(rootfs) root=/dev/mmcblk0p2 earlyprintk rw"

#define CONFIG_BOOTCOMMAND \
    "setenv bootm_boot_mode sec; " \
    "load mmc 0:1 0x41000000 zImage; " \
    "load mmc 0:1 0x41800000 sun8i-v3s-licheepi-zero-dock.dtb;" \
    "bootz 0x41000000 - 0x41800000; "

-----------------------------------------------------------------------
LZ的这个 用SD卡后 CONFIG_BOOTARGS中的mtdparts=spi32766.0?
这个是否有错?如果用SD卡,不用后面的文件系统,这个mt-id  怎么获取?

#130 Re: 全志 SOC » 作大死,厚度错了 » 2019-02-17 23:48:42

不用金手指?这样也行?

#131 Re: 全志 SOC » VM 下 ubuntu检测不到U盘?怎么折腾? » 2019-02-17 22:15:43

ippen 说:

应该是vmware没有映射usb接口给虚拟机,所以lsusb看不到设备

也是这样想的。
但是VM右下角的图标已经点亮。WIN下的U盘也消失,应该虚拟机接管了U盘?

#132 全志 SOC » VM 下 ubuntu检测不到U盘?怎么折腾? » 2019-02-17 13:18:53

john78
回复: 5

VMware® Workstation 14 Pro(14.1.2 build-8497320)

Linux version 4.4.0-31-generic (buildd@lgw01-01) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) ) #50~14.04.1-Ubuntu SMP Wed Jul 13 01:06:37 UTC 2016


-----------------------------------
在VM 菜单-虚拟机—可移动设备中已识别到U盘

lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 003 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 003 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

fdik -l 中只有一个系统盘

gparted中识别不到u盘驱动器

#134 Re: 全志 SOC » 买两片 W25M512JVFIQ 测试一下 » 2019-02-14 22:58:04

应该是sf update 的问题。
用sf erase,sf write 可以了

#136 Re: 全志 SOC » 买两片 W25M512JVFIQ 测试一下 » 2019-02-11 10:50:57

32M的MX25L2564

在U-BOOT中没有搞定

=> sf probe 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
=> sf update 0x41010000 0x16200000 0x100
Offset exceeds device limit
sf - SPI flash sub-system

Usage:
sf probe [[bus:]cs] [hz] [mode] - init flash device on given SPI bus
                                  and chip select
sf read addr offset|partition len       - read `len' bytes starting at
                                          `offset' or from start of mtd
                                          `partition'to memory at `addr'
sf write addr offset|partition len      - write `len' bytes from memory
                                          at `addr' to flash at `offset'
                                          or to start of mtd `partition'
sf erase offset|partition [+]len        - erase `len' bytes from `offset'
                                          or from start of mtd `partition'
                                         `+len' round up `len' to block size
sf update addr offset|partition len     - erase and write `len' bytes from memory
                                          at `addr' to flash at `offset'
                                          or to start of mtd `partition'
sf protect lock/unlock sector len       - protect/unprotect 'len' bytes starting
                                          at address 'sector'

#138 Re: 全志 SOC » V3S 主线linux 怎么将LCD改成16bpp » 2019-01-20 15:17:55

LCD是16位的?不浪费?刷新时还要转来转去?

#139 全志 SOC » V3S 主线linux 怎么将LCD改成16bpp » 2019-01-20 14:10:22

john78
回复: 3

uboot中是depth:18,

APP中
if(ioctl(fbfd, FBIOGET_VSCREENINFO, &vinfo) == -1) {
        perror("Error reading variable information");
        return;
    }

    printf("%dx%d, %dbpp\n", vinfo.xres, vinfo.yres, vinfo.bits_per_pixel);

读出来是800x480, 32bpp
-----------------------------------------
在Linux中修改?

#140 Re: 全志 SOC » ns2009触摸芯片太**了,出来的原始数据偶尔经常出现大偏差,戳东出西,TI的I2C触摸芯片TSC2007价格吓人,只好用新唐单片机模拟 » 2019-01-18 07:52:37

static int ns2009_ts_report(struct ns2009_data *data)
{
	u16 x[10], y[10], z1;
	u16 agvx,agvy,maxx,minx,maxy,miny;	
	s32 sx,sy,stx,sty,stax,stay;	
	int i;
	int ret;

	/*
	 * NS2009 chip supports pressure measurement, but currently it needs
	 * more investigation, so we only use z1 axis to detect pen down
	 * here.
	 */
	
	ret = ns2009_ts_read_data(data, NS2009_READ_Z1_LOW_POWER_12BIT, &z1);
	if (ret) return ret;

	if (z1 >= NS2009_PEN_UP_Z1_ERR)
	{
		for(i=0;i<10;i++)
		{
			ret = ns2009_ts_read_data(data, NS2009_READ_X_LOW_POWER_12BIT,&x[i]);
			if (ret) return ret;

			ret = ns2009_ts_read_data(data, NS2009_READ_Y_LOW_POWER_12BIT,&y[i]);
			if (ret) return ret;
		}
		//计算平均值
		agvx=0;
		agvx=0;
		maxx=x[2];
		minx=maxx;
		maxy=y[2];
		miny=maxy;
		for(i=0;i<10;i++)
		{
			agvx += x[i];
			agvy += y[i];
			if(minx > x[i]) minx = x[i];
			if(maxx < x[i]) maxx = x[i];
			if(miny > y[i]) miny = y[i];
			if(maxy < y[i]) maxy = y[i];		
		}
		//agvx -= maxx;
		//agvx -= minx;
		///agvy -= maxy;
		//agvy -= miny;
		agvx /= 10;
		agvy /= 10;
		//计算方差
		stax = agvx;
		stay = agvy;
		sx = 0;
		sy = 0;		
		for(i=0;i<10;i++)
		{	
			stx = x[i];
			sx += (stx-stax)*(stx-stax);
			sty = y[i];
			sy += (sty-stay)*(sty-stay);
		}
		sx /= 10;
		sy /= 10;

		if(sx>50) return sx;
		if(sy>50) return sy;

		if (!data->pen_down)
		{
			input_report_key(data->input, BTN_TOUCH, 1);
			data->pen_down = true;
		}

		input_report_abs(data->input, ABS_X, agvx);
		input_report_abs(data->input, ABS_Y, agvy);
		input_sync(data->input);
	} else if (data->pen_down) {
		input_report_key(data->input, BTN_TOUCH, 0);
		input_sync(data->input);
		data->pen_down = false;
	}
	return 0;
}

#141 Re: 全志 SOC » ns2009触摸芯片太**了,出来的原始数据偶尔经常出现大偏差,戳东出西,TI的I2C触摸芯片TSC2007价格吓人,只好用新唐单片机模拟 » 2019-01-16 15:01:34

-------------粘贴代码出现下面的错误,难道不能用[]?

继续发帖前请修正以下错误:

[ i ] 标签不允许在其自身内部使用

#144 Re: 全志 SOC » V3S内置RTC掉电保存但是不计时 » 2019-01-03 09:01:40

主线LINUX
我修改了rtc-sun6i.c
static int sun6i_rtc_osc_set_parent(struct clk_hw *hw, u8 index)
{
    struct sun6i_rtc_dev *rtc = container_of(hw, struct sun6i_rtc_dev, hw);
    unsigned long flags;
    u32 val;

    if (index > 1)
        return -EINVAL;

    spin_lock_irqsave(&rtc->lock, flags);
    val = readl(rtc->base + SUN6I_LOSC_CTRL);
    val &= ~SUN6I_LOSC_CTRL_EXT_OSC;
    val |= SUN6I_LOSC_CTRL_KEY;
    val |= 1; //index ? SUN6I_LOSC_CTRL_EXT_OSC : 0;
    writel(val, rtc->base + SUN6I_LOSC_CTRL);
    spin_unlock_irqrestore(&rtc->lock, flags);

    return 0;
}

没有用.需要怎样修改?

#146 Re: 全志 SOC » flash 1,4 pin » 2018-12-14 13:33:11

记得那个提到,说SD卡中有特殊文件,也能进FEL?谁有这个文件?

#148 Re: 全志 SOC » V3S littlevgl 触摸 问题 » 2018-12-07 15:17:28

tslib OK,ts_calibrate,ts_test可以正常运行。

这个需要怎么在LitlevGL中调用?

#149 Re: 全志 SOC » V3S littlevgl 触摸 问题 » 2018-12-07 15:05:32

但是触摸不对啊,和画面对不上?
另外,这个怎么使用 tslib校准好的数据? /dev/input/event1--这个输出已经校准了吗?

#150 全志 SOC » V3S littlevgl 触摸 问题 » 2018-12-07 14:36:35

john78
回复: 5

电阻屏NS2009
tslib OK,ts_calibrate,ts_test可以正常运行。
littlevgl demo可以正常显示,但是,触摸 错误输出“ input input1: Poll touch data failed: ”

    lv_indev_drv_t indev_drv;
     lv_indev_drv_init(&indev_drv);          /*Basic initialization*/
     evdev_init();
     indev_drv.type = LV_INDEV_TYPE_POINTER; /*See below.*/
     indev_drv.read =  evdev_read;            /*See below.*/
     lv_indev_drv_register(&indev_drv);      /*Register the driver in LittlevGL*/
。。。
/*Handle LitlevGL tasks (tickless mode)*/
    while(1) {
        lv_tick_inc(5);
        lv_task_handler();
        usleep(5000);
    }

哪里配置还有问题

/*-------------------------------------------------
* Mouse or touchpad as evdev interface (for Linux based systems)
*------------------------------------------------*/
#ifndef USE_EVDEV
#define USE_EVDEV           1
#endif
#if USE_EVDEV
#define EVDEV_NAME   "/dev/input/event1"        /*You can use the "evtest" Linux tool to get the list of devices and test them*/
#define EVDEV_SWAP_AXES         0               /*Swap the x and y axes of the touchscreen*/

#define EVDEV_SCALE             0               /* Scale input, e.g. if touchscreen resolution does not match display resolution */
#if EVDEV_SCALE
#define EVDEV_SCALE_HOR_RES     (800)     /* Horizontal resolution of touchscreen */
#define EVDEV_SCALE_VER_RES     (480)        /* Vertical resolution of touchscreen */
#endif  /*EVDEV_SCALE*/

#define EVDEV_CALIBRATE         0               /*Scale and offset the touchscreen coordinates by using maximum and minimum values for each axis*/
#if EVDEV_CALIBRATE
#define EVDEV_HOR_MIN   3800                    /*If EVDEV_XXX_MIN > EVDEV_XXX_MAX the XXX axis is automatically inverted*/
#define EVDEV_HOR_MAX   200
#define EVDEV_VER_MIN   200
#define EVDEV_VER_MAX   3800
#endif  /*EVDEV_SCALE*/
#endif  /*USE_EVDEV*/

#151 Re: 全志 SOC » v3s RTC使用备用电池时,时间只保存,不走怎么回事? » 2018-11-26 14:34:35

是硬件没有起振,内置RTC都比较挑剔。后续还是考虑外置了

#152 Re: 全志 SOC » v3s RTC使用备用电池时,时间只保存,不走怎么回事? » 2018-11-26 13:01:02

我也遇到这样的问题,断电(电池供电)没有走时。
上电 hwclock -r 时钟是走的

#153 Re: 全志 SOC » 请问 荔枝派zero V3s主线u-boot 如何修改默认的串口为uart2(PB0/PB1) ? » 2018-11-10 22:27:26

V3S u-boot调试信息从UART1输出没有成功,还遗留什么没有修改? (修改成功,方案在8楼)
http://whycan.com/t_1624.html
(出处:哇酷开发者社区)

#154 Re: 全志 SOC » 怎样增加一个登陆密码 » 2018-10-29 11:45:34

ippen 说:

将系统解压出来,然后更新shadow文件,再重新打包进去

好主意,试下。

#155 全志 SOC » 怎样增加一个登陆密码 » 2018-10-28 13:41:13

john78
回复: 3

V3S LINUX系统默认root用户,没有密码,怎样在代码中增加一个密码?
因为文件系统压缩了只读,用password无法设置

#157 全志 SOC » 小容量的TF卡,有没有质量好的供货渠道? » 2018-10-14 08:47:48

john78
回复: 8

SPI的FLASH速度速度不高,容量小,想试下SD

#159 Re: 全志 SOC » V3S u-boot IP怎么修改,并生效? » 2018-10-11 16:40:44

关键在U-BOOT中网关可以PING 到,同一网内的计算机就PING不到

#160 全志 SOC » V3S u-boot IP怎么修改,并生效? » 2018-10-11 15:13:24

john78
回复: 3

setenv ipaddr 192.168.8.102

pri命令查看也 ipaddr=192.168.8.102

但是tftpsrv命令显示Listening for TFTP transfer on 192.168.8.100(还是修改前的IP)

另,PING只能ping到网关,
自己和局域网内的地址都PING不到

#165 Re: 全志 SOC » 全志Allwinner V3s我想用以太网使用tftp下载zImage和设备树,使用nfs根文件系统,可是u-boot如何启用以太网呢? » 2018-10-03 19:26:45

git clone https://github.com/Lichee-Pi/u-boot.git -b v3s-spi-experimental   

选择 Network device support ---> 并选中 Allwinner Sun8i Ethernet MAC support  没有这个选项

#166 Re: 全志 SOC » V3S overlayfs 问题 » 2018-10-03 09:23:47

还是没有成功,我是这样理解的:
mount -n -t jffs2 /dev/mtdblock4  /overlay   这样 /overlay 挂载成功,可以读写/overlay.创建 /overlay/upper和 /overlay/work 两个目录
mount -n -t overlay overlayfs:overlay -o lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work /mnt
这里
[  135.532462] overlayfs: fs on '/' does not support file handles, falling back to index=off.
[  135.542425] overlayfs: upper fs does not support tmpfile.
[  135.547921] overlayfs: upper fs does not support xattr.
Jan  1 00:02:20 buildroot user.warn kernel: [  135.532462] overlayfs: fs on '/' does not support file handles, falling back to index=off.
# Jan  1 00:02:20 buildroot user.warn kernel: [  135.542425] overlayfs: upper fs does not support tmpfile.
Jan  1 00:02:20 buildroot user.warn kernel: [  135.547921] overlayfs: upper fs does not support xattr.

---------------------------------------------------------------------------------------------------------------------
我哪里理解错了


http://zero.lichee.pro/%E7%B3%BB%E7%BB%9F%E5%BC%80%E5%8F%91/SPI_falsh_doc2.html 大神的文档只能给大神看?

文档中 “注意需要使用正规mount命令,而不是busybox的mount命令才能挂载”-------------我的姿势不对?

#167 Re: 全志 SOC » 有没有朋友用过 【SD 接口的 NAND】,可以用在全志soc上 » 2018-10-02 22:19:28

这个不错,spiFLASH容量太小。

1,具体型号?
2,Ⅴ3s,能有USB在线刷写程序?要自已改写。

#168 Re: 全志 SOC » V3S overlayfs 问题 » 2018-10-01 21:56:01

谢谢,貌似又点明白各个关系了。过两天再试下

#169 Re: 全志 SOC » V3S overlayfs 问题 » 2018-10-01 18:57:36

mount -n -t overlay overlayfs:/overlay -o lowerdir=/,upperdir=/overlay,workdir=/workdir /mnt

这个workdir又是什么鬼?

#170 Re: 全志 SOC » V3S overlayfs 问题 » 2018-10-01 17:39:52

mkdir /overlay
mkdir: can't create directory '/overlay': Read-only file system 

这个只读的文件系统?哪里还有设置?

#171 Re: 全志 SOC » V3S overlayfs 问题 » 2018-10-01 17:26:21

# mount -n -t jffs2 /dev/mtdblock4 /overlay
mount: mounting /dev/mtdblock4 on /overlay failed: No such file or directory


还是不行,已经有/dev/mtdblock4 了

#172 Re: 全志 SOC » V3S overlayfs 问题 » 2018-10-01 17:12:17

被大神逗了 少个逗号
spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,8M(rootfs),-(data) root=31:03 rw rootfstype=squashfs

#173 Re: 全志 SOC » V3S overlayfs 问题 » 2018-10-01 17:01:01

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero-with-800x480-lcd+ (root@ubuntu) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1)) #7 SMP Mon Oct 1 15:09:08 +08 2018
[    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: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3de6000 s33920 r8192 d23424 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15883
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,8M(rootfs) -(data) root=31:03 rw rootfstype=squashfs
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 53580K/64036K available (6144K kernel code, 218K rwdata, 1472K rodata, 1024K init, 264K bss, 10456K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3e89000   (  62 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a36b00   ( 219 kB)
[    0.000000]        .bss : 0xc0a3db5c - 0xc0a7fe7c   ( 265 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000017] Switching to timer-based delay loop, resolution 41ns
[    0.000183] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000421] Console: colour dummy device 80x30
[    0.000461] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000475] pid_max: default: 32768 minimum: 301
[    0.000599] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000617] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001203] CPU: Testing write buffer coherency: ok
[    0.001579] /cpus/cpu@0 missing clock-frequency property
[    0.001602] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002022] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002189] Hierarchical SRCU implementation.
[    0.002682] smp: Bringing up secondary CPUs ...
[    0.002701] smp: Brought up 1 node, 1 CPU
[    0.002710] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002717] CPU: All CPU(s) started in SVC mode.
[    0.003480] devtmpfs: initialized
[    0.006636] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006932] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006955] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007123] pinctrl core: initialized pinctrl subsystem
[    0.008011] random: get_random_u32 called from bucket_table_alloc+0xf0/0x250 with crng_init=0
[    0.008151] NET: Registered protocol family 16
[    0.008639] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009778] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009796] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.023675] SCSI subsystem initialized
[    0.023982] usbcore: registered new interface driver usbfs
[    0.024050] usbcore: registered new interface driver hub
[    0.024145] usbcore: registered new device driver usb
[    0.024395] pps_core: LinuxPPS API ver. 1 registered
[    0.024406] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.024428] PTP clock support registered
[    0.024657] Advanced Linux Sound Architecture Driver Initialized.
[    0.026524] clocksource: Switched to clocksource arch_sys_counter
[    0.037538] NET: Registered protocol family 2
[    0.038125] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.038160] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.038184] TCP: Hash tables configured (established 1024 bind 1024)
[    0.038320] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.038371] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.038589] NET: Registered protocol family 1
[    0.039175] RPC: Registered named UNIX socket transport module.
[    0.039197] RPC: Registered udp transport module.
[    0.039203] RPC: Registered tcp transport module.
[    0.039208] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.041338] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.049411] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.050567] NFS: Registering the id_resolver key type
[    0.050614] Key type id_resolver registered
[    0.050622] Key type id_legacy registered
[    0.050668] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.052292] random: fast init done
[    0.055061] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.055080] io scheduler noop registered
[    0.055087] io scheduler deadline registered
[    0.055278] io scheduler cfq registered (default)
[    0.055288] io scheduler mq-deadline registered
[    0.055295] io scheduler kyber registered
[    0.059814] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.130018] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.133198] console [ttyS0] disabled
[    0.153474] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.751088] console [ttyS0] enabled
[    0.759177] m25p80 spi32766.0: w25q128 (16384 Kbytes)
[    0.764264] spi32766.0: parser cmdlinepart: 4
[    0.768697] 4 cmdlinepart partitions found on MTD device spi32766.0
[    0.774959] Creating 4 MTD partitions on "spi32766.0":
[    0.780118] 0x000000000000-0x000000100000 : "uboot"
[    0.786464] 0x000000100000-0x000000110000 : "dtb"
[    0.792516] 0x000000110000-0x000000510000 : "kernel"
[    0.798869] 0x000000510000-0x000000d10000 : "rootfs"
[    0.805492] libphy: Fixed MDIO Bus: probed
[    0.810233] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.816031] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.821815] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    0.828001] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.833663] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.840911] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.846580] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.853794] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.858764] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.865738] libphy: stmmac: probed
[    0.870970] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.877631] ehci-platform: EHCI generic platform driver
[    0.883145] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.888834] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.896809] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.926540] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.933700] hub 1-0:1.0: USB hub found
[    0.937644] hub 1-0:1.0: 1 port detected
[    0.942120] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.948425] ohci-platform: OHCI generic platform driver
[    0.953966] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.960684] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.968618] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.041613] hub 2-0:1.0: USB hub found
[    1.045462] hub 2-0:1.0: 1 port detected
[    1.053086] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.062680] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.071621] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.078519] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.083058] i2c /dev entries driver
[    1.088162] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.097662] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.166566] sunxi-mmc 1c0f000.mmc: base:0xc407b000 irq:23
[    1.226554] sunxi-mmc 1c10000.mmc: base:0xc423b000 irq:24
[    1.233034] usbcore: registered new interface driver usbhid
[    1.238689] usbhid: USB HID core driver
[    1.244164] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.252211] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.259733] NET: Registered protocol family 17
[    1.264293] Key type dns_resolver registered
[    1.268844] Registering SWP/SWPB emulation handler
[    1.281373] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4400000
[    1.292084] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    1.308425] Console: switching to colour frame buffer device 100x30
[    1.320848] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    1.329488] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.340920] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.346768] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.355874] hub 3-0:1.0: USB hub found
[    1.359874] hub 3-0:1.0: 1 port detected
[    1.364938] using random self ethernet address
[    1.369499] using random host ethernet address
[    1.374962] usb0: HOST MAC ca:95:48:60:77:6f
[    1.379387] usb0: MAC 56:da:be:be:40:3e
[    1.383284] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.390800] g_cdc gadget: g_cdc ready
[    1.397188] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.406845] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:06 UTC (6)
[    1.415018] vcc3v3: disabling
[    1.418058] vcc5v0: disabling
[    1.421026] ALSA device list:
[    1.423989]   #0: V3s Audio Codec
[    1.431353] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.440454] devtmpfs: mounted
[    1.444709] Freeing unused kernel memory: 1024K
[    1.516213] random: crng init done
[    1.546958] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (80, <SessEnd), retry #0, port1 00000100
Starting logging: Jan  1 00:00:06 buildroot syslog.info syslogd started: BusyBox v1.26.2
OK
Jan  1 00:00:06 buildroot user.notice kernel: klogd started: BusyBox v1.26.2 (2018-10-01 14:15:21 +08)
read-only file system detected...done
Jan  1 00:00:06 buildroot user.info kernel: [    0.000000] Booting Linux on physical CPU 0x0
Jan  1 00:00:06 buildroot user.notice kernel: [    0.000000] Linux version 4.13.16-licheepi-zero-with-800x480-lcd+ (root@ubuntu) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1)) #7 SMP Mon Oct 1 15:09:08 +08 2018
Jan  1 00:00:06 buildroot user.info kernel: [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
Jan  1 00:00:06 buildroot user.info kernel: [    0.000000] CPU: div instructions available: patching division code
Jan  1 00:00:06 buildroot user.info kernel: [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Jan  1 00:00:06 buildroot user.info kernel: [    0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
Jan  1 00:00:06 buildroot user.info kernel: [    0.000000] Memory policy: Data cache writealloc
Jan  1 00:00:06 buildroot user.debug kernel: [    0.000000] On node 0 totalpages: 16009
Jan  1 00:00:06 buildroot user.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat c0a35ec0, node_mem_map c3e03000
Jan  1 00:00:06 buildroot user.debug kernel: [    0.000000]   Normal zone: 126 pages used for memmap
Jan  1 00:00:06 buildroot user.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Jan  1 00:00:06 buildroot user.debug kernel: [    0.000000]   Normal zone: 16009 pages, LIFO batch:3
Jan  1 00:00:06 buildroot user.info kernel: [    0.000000] percpu: Embedded 16 pages/cpu @c3de6000 s33920 r8192 d23424 u65536
Jan  1 00:00:06 buildroot user.debug kernel: [    0.000000] pcpu-alloc: s33920 r8192 d23424 u65536 alloc=16*4096
Jan  1 00:00:06 buildroot user.debug kernel: [    0.000000] pcpu-alloc: [0] 0
Jan  1 00:00:06 buildroot user.info kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15883
Jan  1 00:00:06 buildroot user.notice kernel: [    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,8M(rootfs) -(data) root=31:03 rw rootfstype=squashfs
Jan  1 00:00:06 buildroot user.info kernel: [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
Jan  1 00:00:06 buildroot user.info kernel: [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Jan  1 00:00:06 buildroot user.info kernel: [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Jan  1 00:00:06 buildroot user.info kernel: [    0.000000] Memory: 53580K/64036K available (6144K kernel code, 218K rwdata, 1472K rodata, 1024K init, 264K bss, 10456K reserved, 0K cma-reserved, 0K highmem)
Jan  1 00:00:06 buildroot user.notice kernel: [    0.000000] Virtual kernel memory layout:
Jan  1 00:00:06 buildroot user.notice kernel: [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
Jan  1 00:00:06 buildroot user.notice kernel: [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
Jan  1 00:00:06 buildroot user.notice kernel: [    0.000000]     vmalloc : 0xc4000000 - 0xff800000   ( 952 MB)
Jan  1 00:00:06 buildroot user.notice kernel: [    0.000000]     lowmem  : 0xc0000000 - 0xc3e89000   (  62 MB)
Jan  1 00:00:06 buildroot user.notice kernel: [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
Jan  1 00:00:06 buildroot user.notice kernel: [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
Jan  1 00:00:06 buildroot user.notice kernel: [    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
Jan  1 00:00:06 buildroot user.notice kernel: [    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
Jan  1 00:00:06 buildroot user.notice kernel: [    0.000000]       .data : 0xc0a00000 - 0xc0a36b00   ( 219 kB)
Jan  1 00:00:06 buildroot user.notice kernel: [    0.000000]        .bss : 0xc0a3db5c - 0xc0a7fe7c   ( 265 kB)
Jan  1 00:00:06 buildroot user.info kernel: [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Jan  1 00:00:06 buildroot user.info kernel: [    0.000000] Hierarchical RCU implementation.
Jan  1 00:00:06 buildroot user.info kernel: [    Jan  1 00:00:06 buildroot user.info kernel: [    0.000461] CalibJan  1 00:00:06 buildroot user.info kernel: [    0.038125] TCP eStarting network: Jan  1 00:00:07 buildroot user.info kernel: [ Jan  1 00:00:07 buildroot user.info kernel: [    1.097662] sunxiJan  1 00:00:07 buildroot user.notice kernel: [    1.264293] Keyifup: can't open '/var/run/ifstate.new': No such file or directory
FAIL
Jan  1 00:00:07 buildroot daemon.info : starting pid 87, tty '/dev/console': '/sbin/getty -L  console 0 vt100 '

Welcome to Buildroot
buildroot login:

#174 全志 SOC » V3S overlayfs 问题 » 2018-10-01 15:24:06

john78
回复: 15

http://zero.lichee.pro/%E7%B3%BB%E7%BB%9F%E5%BC%80%E5%8F%91/SPI_falsh_doc2.html

按照这个文档

最后mount -n -t jffs2 /dev/mtdblock4  /overlay 不成功
mount: mounting /dev/mtdblock4 on /overlay failed: No such file or directory

查看/dev/下没有/mtdblock4

#175 Re: Cortex M0/M3/M4/M7 » 有没有谁用STM32去检测外部380V 220V电压电流的电路? » 2018-09-29 08:52:22

没有提要求?LS的电表芯片,看是杀鸡用牛刀,也确实简单。

#176 Re: 全志 SOC » 如何在源码中自动配置网络参数? » 2018-09-23 17:10:32

这个脚本一般放在源码的什么路径合适。系统会生成ⅰnterfaces。不知道在源码什么地方追加。

#177 全志 SOC » U-BOOT和linux中 dts文件有什么联系? » 2018-09-23 16:16:07

john78
回复: 1

如题?哪些是U-BOOT传给系统?

#178 全志 SOC » 如何在源码中自动配置网络参数? » 2018-09-23 15:58:18

john78
回复: 3

静态IP地址MAC地址怎么设置?
查了半天修改interfaces
但没找到这个文件是由哪个脚本文件生成的。

另外,MAC怎样“自动”生成?

#180 Re: 全志 SOC » V3S SPI FLASH 启动起来了,但还有坑 » 2018-09-22 14:07:47

晕哥 说:

ifconfig eth0 up

ifconfig eth0 192.168.1.99

用这个命令,你用的可能是脚本,脚本又访问了文件,刚好你的文件又没有,就出警告了。

--------------------------------
这个可以了,后续再查哪个脚本。

#181 Re: 全志 SOC » V3S SPI FLASH 启动起来了,但还有坑 » 2018-09-22 10:52:41

Starting network: ifup: can't open '/var/run/ifstate.new': No such file or directory
FAIL
-----------------------------------------

# cd /var
# ls
www
# cd /dev

缺少的这个和哪个设置相关?

#182 Re: 全志 SOC » V3S SPI FLASH 启动起来了,但还有坑 » 2018-09-22 10:49:07

# ls
bin      lib      media    proc     sbin     usr
dev      lib32    mnt      root     sys      var
etc      linuxrc  opt      run      tmp
#

#183 Re: 全志 SOC » V3S SPI FLASH 启动起来了,但还有坑 » 2018-09-22 10:29:10

# pwd
/root
# cd /
# ls
[1;34mbin[0m      [1;34mlib[0m      [1;34mmedia[0m    [1;34mproc[0m     [1;34msbin[0m     [1;34musr[0m
[1;34mdev[0m      [1;36mlib32[0m    [1;34mmnt[0m      [1;34mroot[0m     [1;34msys[0m      [1;34mvar[0m
[1;34metc[0m      [1;36mlinuxrc[0m  [1;34mopt[0m      [1;34mrun[0m      [1;34mtmp[0m
#

#184 全志 SOC » V3S SPI FLASH 启动起来了,但还有坑 » 2018-09-22 10:10:05

john78
回复: 7

Starting logging: OK
Jan  1 00:13:39 buildroot syslog.info syslogd started: BusyBox v1.26.2
Jan  1 00:13:39 buildroot user.info kernel: [    0.000000] Booting Linux on physical CPU 0x0
Jan  1 00:13:39 buildroot user.notice kernel: [    0.000000] Linux version 4.13.16-licheepi-zero-with-800x480-lcd+ (root@ubuntu) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1)) #5 SMP Sat Sep 22 09:47:53 +08 2018
Jan  1 00:13:39 buildroot user.info kernel: [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
Jan  1 00:13:39 buildroot user.info kernel: [    0.000000] CPU: div instructions available: patching division code
Jan  1 00:13:39 buildroot user.info kernel: [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Jan  1 00:13:39 buildroot user.info kernel: [    0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
Jan  1 00:13:39 buildroot user.info kernel: [    0.000000] Memory policy: Data cache writealloc
Jan  1 00:13:39 buildroot user.debug kernel: [    0.000000] On node 0 totalpages: 16009
Jan  1 00:13:39 buildroot user.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat c0a35c80, node_mem_map c3e03000
Jan  1 00:13:39 buildroot user.debug kernel: [    0.000000]   Normal zone: 126 pages used for memmap
Jan  1 00:13:39 buildroot user.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Jan  1 00:13:39 buildroot user.debug kernel: [    0.000000]   Normal zone: 16009 pages, LIFO batch:3
Jan  1 00:13:39 buildroot user.info kernel: [    0.000000] percpu: Embedded 16 pages/cpu @c3de6000 s33920 r8192 d23424 u65536
Jan  1 00:13:39 buildroot user.debug kernel: [    0.000000] pcpu-alloc: s33920 r8192 d23424 u65536 alloc=16*4096
Jan  1 00:13:39 buildroot user.debug kernel: [    0.000000] pcpu-alloc: [0] 0
Jan  1 00:13:39 buildroot user.info kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15883
Jan  1 00:13:39 buildroot user.notice kernel: [    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
Jan  1 00:13:39 buildroot user.info kernel: [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
Jan  1 00:13:39 buildroot user.info kernel: [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Jan  1 00:13:39 buildroot user.info kernel: [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Jan  1 00:13:39 buildroot user.info kernel: [    0.000000] Memory: 53580K/64036K available (6144K kernel code, 218K rwdata, 1456K rodata, 1024K init, 264K bss, 10456K reserved, 0K cma-reserved, 0K highmem)
Jan  1 00:13:39 buildroot user.notice kernel: [    0.000000] Virtual kernel memory layout:
Jan  1 00:13:39 buildroot user.notice kernel: [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
Jan  1 00:13:39 buildroot user.notice kernel: [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
Jan  1 00:13:39 buildroot user.notice kernel: [    0.000000]     vmalloc : 0xc4000000 - 0xff800000   ( 952 MB)
Jan  1 00:13:39 buildroot user.notice kernel: [    0.000000]     lowmem  : 0xc0000000 - 0xc3e89000   (  62 MB)
Jan  1 00:13:39 buildroot user.notice kernel: [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
Jan  1 00:13:39 buildroot user.notice kernel: [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
Jan  1 00:13:39 buildroot user.notice kernel: [    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
Jan  1 00:13:39 buildroot user.notice kernel: [    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
Jan  1 00:13:39 buildroot user.notice kernel: [    0.000000]       .data : 0xc0a00000 - 0xc0a368c0   ( 219 kB)
Jan  1 00:13:39 buildroot user.notice kernel: [    0.000000]        .bss : 0xc0a3dafc - 0xc0a7fdfc   ( 265 kB)
Jan  1 00:13:39 buildroot user.info kernel: [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Jan  1 00:13:39 buildroot user.info kernel: [    0.000000] Hierarchical RCU implementation.
Jan  1 00:13:39 buildroot user.info kernel: [    0.000000]     RCU eveJan  1 00:13:39 buildroot user.info kernel: [    0.000453] CalibInitializing random number generator... done.
Starting network: ifup: can't open '/var/run/ifstate.new': No such file or directory
FAIL
Jan  1 00:13:39 buildroot daemon.info : starting pid 91, tty '/dev/console': '/sbin/getty -L  console 0 vt100 '

Welcome to Buildroot
buildroot login:
Welcome to Buildroot
buildroot login: root
Jan  1 00:13:45 buildroot auth.info login[91]: root login on 'console'
# ls

#186 Re: 全志 SOC » SPI使用的jssf2文件系统怎么制作?有没有步骤介绍 » 2018-09-19 17:29:56

[    1.418373] VFS: Cannot open root device "31:03" or unknown-block(31,3): error -19

还有坑

#187 Re: 全志 SOC » V3S spi FLASH 烧写命令地址 » 2018-09-19 17:28:54

1.404856] vcc3v3: disabling
[    1.407890] vcc5v0: disabling
[    1.410859] ALSA device list:
[    1.413822]   #0: V3s Audio Codec
[    1.418373] VFS: Cannot open root device "31:03" or unknown-block(31,3): error -19
[    1.425944] Please append a correct "root=" boot option; here are the available partitions:
[    1.434392] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[    1.442740] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.16-licheepi-zero-with-800x480-lcd+ #2


///我也没有搞定,这个jffs2也有问题

#188 Re: 全志 SOC » SPI使用的jssf2文件系统怎么制作?有没有步骤介绍 » 2018-09-19 16:34:09

做出来的根文件系统很大啊,编译时去掉不用的项也不行?
装了16M的FLASH不够了

#189 Re: 全志 SOC » SPI使用的jssf2文件系统怎么制作?有没有步骤介绍 » 2018-09-19 16:14:00

是根文件系统路径 是编译后的rootfs.tar.gz文件?
要用tar xzvf 解压?

#190 全志 SOC » SPI使用的jssf2文件系统怎么制作?有没有步骤介绍 » 2018-09-19 15:50:39

john78
回复: 8

SPI使用的jssf2文件系统怎么制作?有没有步骤介绍  折腾了半天搞定

#191 全志 SOC » 有没有“”设备树, Linux“”配置说明 » 2018-09-15 14:56:37

john78
回复: 9

[    0.155184] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A
[    0.752102] console [ttyS0] enabled
[    0.756960] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE0
[    0.764627] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE1
[    0.772346] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE2
[    0.780022] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE3
[    0.787685] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE4
[    0.795334] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE5
[    0.802994] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE6
[    0.810654] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE7
[    0.818313] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE8
[    0.825962] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE9
[    0.833622] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE10
[    0.841369] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE11
[    0.849115] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE12
[    0.856861] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE13
[    0.864597] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE14
[    0.872343] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE15
[    0.880090] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE16
[    0.887836] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE17
[    0.895571] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE18
[    0.903317] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE19
[    0.911064] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE23
[    0.918811] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE24
[    0.928098] panel-simple panel: panel supply power not found, using dummy regulator
[    0.938322] m25p80 spi32766.0: w25q128 (16384 Kbytes)

---------------------------------------------------------------
不知道怎么修改.

#192 Re: 全志 SOC » V3S spi FLASH 烧写命令地址 » 2018-09-13 20:12:33

在公司电脑中,明天有事,等去公司后再发你

#193 Re: 全志 SOC » V3S spi FLASH 烧写命令地址 » 2018-09-13 16:50:57

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero+ (root@ubuntu) (gcc version 4.8.                                4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1)) #1 SMP Thu Sep 13 08:58:50 +08 2018
[    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 c                                ache
[    0.000000] OF: fdt: Machine model: Lichee Pi Zero
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3de6000 s33920 r8192 d23424 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages:                                 15883
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwa                                it mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw                                 rootfstype=jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 53580K/64036K available (6144K kernel code, 217K rwdata, 143                                6K rodata, 1024K init, 262K bss, 10456K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3e89000   (  62 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a367c0   ( 218 kB)
[    0.000000]        .bss : 0xc0a3d874 - 0xc0a7f1fc   ( 263 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x                                588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 43980465                                11097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000178] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idl                                e_ns: 79635851949 ns
[    0.000411] Console: colour dummy device 80x30
[    0.000449] Calibrating delay loop (skipped), value calculated using timer frequ                                ency.. 48.00 BogoMIPS (lpj=240000)
[    0.000466] pid_max: default: 32768 minimum: 301
[    0.000587] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000603] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001208] CPU: Testing write buffer coherency: ok
[    0.001588] /cpus/cpu@0 missing clock-frequency property
[    0.001612] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002064] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002247] Hierarchical SRCU implementation.
[    0.002734] smp: Bringing up secondary CPUs ...
[    0.002750] smp: Brought up 1 node, 1 CPU
[    0.002759] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002766] CPU: All CPU(s) started in SVC mode.
[    0.003529] devtmpfs: initialized
[    0.006657] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 re                                v 5
[    0.006953] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_i                                dle_ns: 19112604462750000 ns
[    0.006981] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007144] pinctrl core: initialized pinctrl subsystem
[    0.008016] random: get_random_u32 called from bucket_table_alloc+0xf0/0x250 wit                                h crng_init=0
[    0.008160] NET: Registered protocol family 16
[    0.008646] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009767] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint reg                                isters.
[    0.009785] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.022979] SCSI subsystem initialized
[    0.023282] usbcore: registered new interface driver usbfs
[    0.023352] usbcore: registered new interface driver hub
[    0.023446] usbcore: registered new device driver usb
[    0.023719] pps_core: LinuxPPS API ver. 1 registered
[    0.023730] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti                                 <giometti@linux.it>
[    0.023753] PTP clock support registered
[    0.023970] Advanced Linux Sound Architecture Driver Initialized.
[    0.025856] clocksource: Switched to clocksource arch_sys_counter
[    0.036844] NET: Registered protocol family 2
[    0.037454] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.037492] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.037516] TCP: Hash tables configured (established 1024 bind 1024)
[    0.037646] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.037697] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.037904] NET: Registered protocol family 1
[    0.038501] RPC: Registered named UNIX socket transport module.
[    0.038523] RPC: Registered udp transport module.
[    0.038530] RPC: Registered tcp transport module.
[    0.038536] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.040660] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.049692] NFS: Registering the id_resolver key type
[    0.049751] Key type id_resolver registered
[    0.049759] Key type id_legacy registered
[    0.050689] random: fast init done
[    0.053483] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.053503] io scheduler noop registered
[    0.053511] io scheduler deadline registered
[    0.053747] io scheduler cfq registered (default)
[    0.053759] io scheduler mq-deadline registered
[    0.053766] io scheduler kyber registered
[    0.058262] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.058767] pwm-backlight backlight: backlight supply power not found, using dum                                my regulator
[    0.129113] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.132531] console [ttyS0] disabled
[    0.152807] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 15000                                00) is a U6_16550A
[    0.743666] console [ttyS0] enabled
[    0.748421] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE0
[    0.756171] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE1
[    0.763825] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE2
[    0.771495] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE3
[    0.779159] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE4
[    0.786820] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE5
[    0.794469] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE6
[    0.802128] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE7
[    0.809787] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE8
[    0.817445] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE9
[    0.825092] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE10
[    0.832838] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE11
[    0.840584] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE12
[    0.848330] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE13
[    0.856075] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE14
[    0.863811] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE15
[    0.871557] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE16
[    0.879302] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE17
[    0.887048] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE18
[    0.894784] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE19
[    0.902530] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE23
[    0.910276] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE24
[    0.919538] panel-simple panel: panel supply power not found, using dummy regula                                tor
[    0.928724] libphy: Fixed MDIO Bus: probed
[    0.933200] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.939815] ehci-platform: EHCI generic platform driver
[    0.945311] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.950981] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus numb                                er 1
[    0.958910] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.985904] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.993086] hub 1-0:1.0: USB hub found
[    0.997047] hub 1-0:1.0: 1 port detected
[    1.001533] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.007845] ohci-platform: OHCI generic platform driver
[    1.013421] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.020153] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus numb                                er 2
[    1.028081] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.100935] hub 2-0:1.0: USB hub found
[    1.104761] hub 2-0:1.0: 1 port detected
[    1.112361] udc-core: couldn't find an available UDC - added [g_cdc] to list of                                 pending drivers
[    1.122116] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.129021] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.133572] i2c /dev entries driver
[    1.138581] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/i                                nput/input0
[    1.148153] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayo                                ut=0)
[    1.216095] sunxi-mmc 1c0f000.mmc: base:0xc4069000 irq:24
[    1.223216] usbcore: registered new interface driver usbhid
[    1.228890] usbhid: USB HID core driver
[    1.234669] NET: Registered protocol family 17
[    1.239357] Key type dns_resolver registered
[    1.243780] Registering SWP/SWPB emulation handler
[    1.254382] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000,                                 0x177000 bytes, mapped to 0xc4380000
[    1.265034] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x4                                80x32, linelength=3200
[    1.283365] Console: switching to colour frame buffer device 100x30
[    1.295908] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    1.303984] pwm-backlight backlight: backlight supply power not found, using dum                                my regulator
[    1.313578] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE0
[    1.321349] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE1
[    1.329032] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE2
[    1.336700] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE3
[    1.344350] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE4
[    1.352012] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE5
[    1.359674] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE6
[    1.367334] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE7
[    1.374983] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE8
[    1.382643] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE9
[    1.390304] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE10
[    1.398051] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE11
[    1.405786] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE12
[    1.413533] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE13
[    1.421279] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE14
[    1.429025] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE15
[    1.436771] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE16
[    1.444506] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE17
[    1.452252] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE18
[    1.459999] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE19
[    1.467746] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE23
[    1.475482] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin                                 PE24
[    1.483616] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.490361] [drm] No driver support for vblank timestamp query.
[    1.505707] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc073eff4)
[    1.513114] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc073de                                74)
[    1.520858] fb: switching to sun4i-drm-fb from simple
[    1.526055] Console: switching to colour dummy device 80x30

我也还有坑,调好传给你

#194 Re: 全志 SOC » V3S spi FLASH 烧写命令地址 » 2018-09-13 15:33:18

这个没有弄懂
#define CONFIG_BOOTCOMMAND   "sf probe 0; "                           \
                             "sf read 0x41800000 0x100000 0x10000; "  \
                             "sf read 0x41000000 0x110000 0x400000; " \
                             "bootz 0x41000000 - 0x41800000"

#define CONFIG_BOOTARGS      "console=ttyS0,115200 earlyprintk panic=5 rootwait " \
                             "mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2"

#195 Re: 全志 SOC » V3S spi FLASH 烧写命令地址 » 2018-09-13 14:54:17

写进去了,读出来了 。但是zImage是3.9MB。

读出来的数据0x250000后面就是dtb的文件内容。前面的数据还不够zImage存放的

#196 Re: 全志 SOC » V3S spi FLASH 烧写命令地址 » 2018-09-13 14:43:14

zImage 弄错了,这个文件是arch/arm/boot下的?这个文件有3.9MB

"sunxi-fel.exe -p spiflash-write 0x100000 zImage.bin
sunxi-fel.exe -p spiflash-write 0x350000 dtb.bin"

这个范围不够存放?

#197 Re: 全志 SOC » V3S spi FLASH 烧写命令地址 » 2018-09-13 11:58:58

=> bootz 0x41000000 - 0x41800000
=> bootz 0x41000000 - 0x41800000
=>
=>
=>
=>
=>
=> bootz 0x41000000 - 0x41800000
=>
没有反应

#198 Re: 全志 SOC » V3S spi FLASH 烧写命令地址 » 2018-09-13 11:50:53

Hit any key to stop autoboot:  0
=> printenv bootcmd
bootcmd=sf probe 0; sf read 0x41800000 0x100000 0x10000; sf read 0x41000000 0x110000 0x400000; bootz 0x41000000 - 0x41800000
=> printenv bootargs
bootargs=console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
=>

#199 全志 SOC » V3S spi FLASH 烧写命令地址 » 2018-09-13 10:58:44

john78
回复: 55

sunxi-fel.exe -p spiflash-write 0 u-boot-sunxi-with-spl.bin
sunxi-fel.exe -p spiflash-write 0x100000 zImage.bin
sunxi-fel.exe -p spiflash-write 0x350000 dtb.bin
sunxi-fel.exe -p spiflash-write 0x400000 rootfs_jffs2.bin

是这样吗? 有没有通过的文件,我测试下,是我编译错误还是什么问题
BOOT启动后无反应

starting USB...
No controllers found
Hit any key to stop autoboot:  2  1  0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
=>

#200 Re: 全志 SOC » 荔枝派zero V3S u-boot调试信息从UART1(PE21/PE22)输出没有成功,还遗留什么没有修改? (修改成功,方案在8楼) » 2018-09-12 09:22:05

include/configs/sunxi-common.h

#define CONFIG_CONS_INDEX              2       /* UART1 */

下面增加

#elif CONFIG_CONS_INDEX == 2 && defined(CONFIG_MACH_SUN8I)
#define OF_STDOUT_PATH		"/soc@01c00000/serial@01c28400:115200"

//还有增加这个引脚的初始化驱动
u-boot/arch/arm/include/asm/arch-sunxi/gpio.h

    增加

#define SUN8I_V3S_GPE_UART1	4
u-boot/arch/arm/arch-sunxi/board.c
static int gpio_init(void)
{

    增加

	#elif CONFIG_CONS_INDEX == 2 && defined(CONFIG_MACH_SUN8I_V3S)
		sunxi_gpio_set_cfgpin(SUNXI_GPE(21), SUN8I_V3S_GPE_UART1);
		sunxi_gpio_set_cfgpin(SUNXI_GPE(22), SUN8I_V3S_GPE_UART1);
		sunxi_gpio_set_pull(SUNXI_GPE(22), SUNXI_GPIO_PULL_UP);
}

页脚

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

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