# 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 ...>
这个日志是否成功了???
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
-------------------------------------------------------------------------------------------
这个又是什么??
我的文件系统只读,如果文件系统中有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
就一直停在这里了
有没有在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
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);
# 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>;
};
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
为什么还是这个样啊?
还没有搞定,难道硬件问题,换了个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------?
继续填坑
我用的主线3.4没有搞定,能指点下? https://whycan.cn/t_3278.html
[ 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--------------------
这个有了,但是还有一堆错误啊
# 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
# 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 ?
主线linux
https://whycan.cn/t_2522.html#p19750 这个贴貌似不需要?
[ 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
----------------------奇怪,正常引导不出现?
# 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)
# 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
#
还是没有搞定,坑多多
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’未定义的引用
---------------------------------------------------------------------------------
这个是缺少什么?
lz:AP6212稳定吗?
https://whycan.cn/t_2091.html -- 这个看貌似ESP8089,不稳定(不好搞)
另可以共享下AP6212的资料,淘宝上有模块卖,没有看到脚位图?
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” 需求。 停止。
还缺少什么?
淘宝下架了,只能自己研究了
只找到这个说明
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?----- 不明白
修改 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 怎么获取?
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盘驱动器
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'
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;
}
主线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;
}
没有用.需要怎样修改?
电阻屏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*/
V3S u-boot调试信息从UART1输出没有成功,还遗留什么没有修改? (修改成功,方案在8楼)
http://whycan.com/t_1624.html
(出处:哇酷开发者社区)
git clone https://github.com/Lichee-Pi/u-boot.git -b v3s-spi-experimental
选择 Network device support ---> 并选中 Allwinner Sun8i Ethernet MAC support 没有这个选项
还是没有成功,我是这样理解的:
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命令才能挂载”-------------我的姿势不对?
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:
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
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
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也有问题
[ 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)
---------------------------------------------------------------
不知道怎么修改.
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
我也还有坑,调好传给你
这个没有弄懂
#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"