您尚未登录。

楼主 #1 2019-11-22 19:44:14

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

V3S + AP6212 没有搞定,不出现WLAN0

# 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)

离线

楼主 #3 2019-11-22 20:03:42

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

Re: V3S + AP6212 没有搞定,不出现WLAN0

[    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 

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

最近编辑记录 john78 (2019-11-22 20:04:28)

离线

楼主 #5 2019-11-22 20:13:58

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

Re: V3S + AP6212 没有搞定,不出现WLAN0

ippen 说:

没看到加载brcmfmac的驱动

如何配置?能否提示?

离线

楼主 #7 2019-11-22 20:20:58

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

Re: V3S + AP6212 没有搞定,不出现WLAN0

啊,这么高深,还没有搞过

离线

楼主 #9 2019-11-22 20:25:48

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

Re: V3S + AP6212 没有搞定,不出现WLAN0

主线linux
https://whycan.cn/t_2522.html#p19750  这个贴貌似不需要?

离线

楼主 #12 2019-11-22 20:52:05

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

Re: V3S + AP6212 没有搞定,不出现WLAN0

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

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

最近编辑记录 john78 (2019-11-22 20:53:31)

离线

楼主 #14 2019-11-23 12:29:04

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

Re: V3S + AP6212 没有搞定,不出现WLAN0

# 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 ?

离线

楼主 #16 2019-11-23 13:53:17

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

Re: V3S + AP6212 没有搞定,不出现WLAN0

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

离线

楼主 #17 2019-11-23 13:54:22

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

Re: V3S + AP6212 没有搞定,不出现WLAN0

# 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

离线

楼主 #20 2019-11-28 11:15:01

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

Re: V3S + AP6212 没有搞定,不出现WLAN0

[    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--------------------

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

离线

楼主 #22 2019-12-03 12:53:26

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

Re: V3S + AP6212 没有搞定,不出现WLAN0

还没有搞定,难道硬件问题,换了个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------?

继续填坑

最近编辑记录 john78 (2019-12-03 14:21:51)

离线

页脚

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

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