您尚未登录。

#1 Re: 全志 SOC » 计划做一个AIC800的超小HMI工控开发板,开源原理图封装库和layout的那种 » 2021-07-17 10:40:52

saub 说:
已完成。成。成。 说:
qianniao29 说:

这个芯片在哪边能买到?淘宝上都搜不到

目前只有代理手上有

买不到芯片的项目还是别发了,没兴趣

楼主还在吗,请问原理图还有吗,我也想画一块aic800的板子,目前已经找到芯片源了,就是资料少,如果能有原理图必当万分感谢

#2 Re: 全志 SOC » 荔枝派zero全志V3S驱动ST7789V求助 » 2021-04-06 22:11:31

树先生 说:
树先生 说:
九重天 说:

这个是 8bit 的 spi 液晶屏吧, 右上角搜 st7789

有一个相关的 https://whycan.com/viewtopic.php?id=2749
但是我按照他说的在初始化里加入了这样一句代码,还是不行
par->fbtftops.reset(par);

按照这篇文章修改后能生成fb0设备,但是显示花屏不正常,原因还未找到
http://www.360doc.com/content/20/1028/21/18945873_942900893.shtml

你cat一点东西到fb里,看看什么样子

#3 Re: 全志 SOC » [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing » 2021-04-06 22:06:26

拍打323 说:

吃了会上瘾,为伊消得人憔悴,绵卷西风,人比黄花瘦!

好湿好湿

#4 Re: 全志 SOC » [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing » 2021-04-06 22:05:46

dlxy 说:

楼主能不能分享下你用的哪一个官方镜像文件

带python和gcc的Debian
rootfs-mindb

#5 Re: 全志 SOC » [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing » 2021-04-06 22:03:41

dlxy 说:

udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
[  301.847511] RTL8723BS: nolinked power save enter
一直显示这样的信息

检查一下配置有没有写对,wifi名称,密码啥的

#6 Re: 全志 SOC » [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing » 2021-03-31 17:42:21

dlxy 说:

你这个正确的dtb文件是哪儿来的呢,为什么用它就可以呢

荔枝派的外网官网上搞来的,里面加了设备树

#7 Re: 全志 SOC » [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing » 2021-03-31 17:41:46

mysteryli 说:

DTS放出来一下呀

是编译好的,你可以试试反编译,dts这边我也没有

#9 全志 SOC » [求助贴]启动又双叒叕卡在random了 » 2021-03-14 09:34:26

linstar
回复: 1

硬件:licheepi-zero核心板

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.15-licheepi-zero (root@kali) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #8 SMP Sat Mar 13 22:50:35 CST 2021
[    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 14 pages/cpu @c3dea000 s24716 r8192 d24436 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15883
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 console=tty0 rootwait root=/dev/mmcblk0p2 earlyprintk rw
[    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: 53640K/64036K available (6144K kernel code, 201K rwdata, 1400K rodata, 1024K init, 261K bss, 10396K 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 - 0xc0a32700   ( 202 kB)
[    0.000000]        .bss : 0xc0a34000 - 0xc0a7558c   ( 262 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected 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.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000138] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000346] Console: colour dummy device 80x30
[    0.000770] console [tty0] enabled
[    0.000810] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000847] pid_max: default: 32768 minimum: 301
[    0.000994] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001022] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001747] CPU: Testing write buffer coherency: ok
[    0.002185] /cpus/cpu@0 missing clock-frequency property
[    0.002231] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002619] Setting up static identity map for 0x40100000 - 0x40100058
[    0.003389] smp: Bringing up secondary CPUs ...
[    0.003430] smp: Brought up 1 node, 1 CPU
[    0.003451] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.003470] CPU: All CPU(s) started in SVC mode.
[    0.004277] devtmpfs: initialized
[    0.007299] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.007640] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007694] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007863] pinctrl core: initialized pinctrl subsystem
[    0.008877] NET: Registered protocol family 16
[    0.009379] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.010771] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.010821] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.022741] SCSI subsystem initialized
[    0.023070] usbcore: registered new interface driver usbfs
[    0.023151] usbcore: registered new interface driver hub
[    0.023259] usbcore: registered new device driver usb
[    0.023513] pps_core: LinuxPPS API ver. 1 registered
[    0.023539] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.023585] PTP clock support registered
[    0.023805] Advanced Linux Sound Architecture Driver Initialized.
[    0.025642] clocksource: Switched to clocksource arch_sys_counter
[    0.036328] NET: Registered protocol family 2
[    0.036985] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.037042] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.037078] TCP: Hash tables configured (established 1024 bind 1024)
[    0.037186] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.037248] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.037492] NET: Registered protocol family 1
[    0.038144] RPC: Registered named UNIX socket transport module.
[    0.038192] RPC: Registered udp transport module.
[    0.038209] RPC: Registered tcp transport module.
[    0.038227] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.040463] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.049544] NFS: Registering the id_resolver key type
[    0.049620] Key type id_resolver registered
[    0.049638] Key type id_legacy registered
[    0.053592] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.053650] io scheduler noop registered
[    0.053668] io scheduler deadline registered
[    0.053859] io scheduler cfq registered (default)
[    0.058180] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.127208] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.130513] console [ttyS0] disabled
[    0.150835] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A
[    0.707406] console [ttyS0] enabled
[    0.711635] [drm] Initialized
[    0.717197] spi_master spi32766: /soc/spi@01c68000/framebuffer@43e89000 has no valid 'spi-max-frequency' property (-22)
[    0.728120] spi_master spi32766: Failed to create SPI device for /soc/spi@01c68000/framebuffer@43e89000
[    0.738156] libphy: Fixed MDIO Bus: probed
[    0.742533] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.749156] ehci-platform: EHCI generic platform driver
[    0.754488] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.760738] ohci-platform: OHCI generic platform driver
[    0.766504] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.776101] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    0.785022] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    0.791966] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.796562] i2c /dev entries driver
[    0.801438] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    0.811046] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.875688] sunxi-mmc 1c0f000.mmc: base:0xc4061000 irq:23
[    0.925557] mmc0: host does not support reading read-only switch, assuming write-enable
[    0.935676] sunxi-mmc 1c10000.mmc: base:0xc4065000 irq:24
[    0.942066] usbcore: registered new interface driver usbhid
[    0.947741] usbhid: USB HID core driver
[    0.951688] fbtft_of_value: buswidth = 8
[    0.955665] fbtft_of_value: debug = 0
[    0.959335] fbtft_of_value: rotate = 270
[    0.963262] fbtft_of_value: fps = 30
[    0.967144] mmc0: new high speed SDHC card at address aaaa
[    1.094276] mmcblk0: mmc0:aaaa SC16G 14.8 GiB 
[    1.103740]  mmcblk0: p1 p2
[    1.111247] random: fast init done

确定是dtb的锅,但是我加入了fbtft节点所以必须替换原来的dtb,然后就卡random了(瘫
可能是fbtft的原因,这个节点删了就不会卡random了(((
我该怎么做才可以带fbtft进系统
求求了

#10 Re: 全志 SOC » [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing » 2021-03-13 11:27:55

xfdr0805 说:

这里的错误是怎么回事?

netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
# daemon: No such device
wlan0: Removing interface wlan0

网络配置好像炸了?

#11 Re: 全志 SOC » [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing » 2021-03-10 19:54:30

xfdr0805 说:

LZ,这是怎么回事呢?

# wpa_supplicant -B -d -i wlan0 -c /etc/wpa_supplicant.conf
wpa_supplicant v2.9
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ap_scan=1
Priority group 5
   id=0 ssid='Luxul1750_2.4G'
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:6
nl80211: Using driver-based off-channel TX
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 3 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0xe12c8
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0104
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0801
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0a1a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0505
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xe12c8 match=0500
rfkill: Cannot open RFKILL control device
nl80211: RFKILL status not available
netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
nl80211: 57240-63720 @ 2160 MHz 0 mBm
nl80211: Added 802.11b mode based on 802.11g information
nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED]
nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED]
wlan0: Own MAC address: 3c:33:00:5a:84:02
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=4 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (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: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: 56cc0996-a7ea-531b-8788-a5de502565ac
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip set_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
# daemon: No such device
wlan0: Removing interface wlan0
wlan0: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=00:00:00:00:00:00 reason=3 (DEAUTH_LEAVING) state=DISCONNECTED
nl80211: Data frame filter flags=0x0
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unicast_in_l2_multicast: No such file or directory
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unsolicited_na: No such file or directory
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
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_multicast: No such file or directory
nl80211: Failed to open /proc/sys/net/ipv6/conf/wlan0/drop_unsolicited_na: No such file or directory
HS20: Delete all stored icons
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=3 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 3 iftype 2 (STATION)
nl80211: Unsubscribe mgmt frames handle 0x88869a41 (mode change)
wlan0: CTRL-EVENT-TERMINATING 
ifconfig -a
eth0      Link encap:Ethernet  HWaddr 26:D9:88:20:63:74  
          inet addr:192.168.6.100  Bcast:192.168.6.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1104 (1.0 KiB)  TX bytes:726 (726.0 B)
          Interrupt:38 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 3C:33:00:5A:84:02  
          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)

# 

应该也是RFKILL的锅,把内核选项里CONFIG_RFKILL的还有子项都打开试一试

#12 Re: 全志 SOC » [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing » 2021-03-10 19:47:32

xfdr0805 说:

我的可以搜索到WiFi 但是连接不上去,会出现

# wpa_supplicant -D wext -c  /etc/wpa_supplicant.conf -i wlan0 -B
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
# daemon: No such device
wlan0: CTRL-EVENT-TERMINATING

内核里有关RFKILL的项全部打开试一试

#13 Re: 全志 SOC » [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing » 2021-03-10 19:43:32

dlxy 说:

复制 .ko文件到boot的时候显示boot分区容量不足

建议压成zip

#14 Re: 全志 SOC » [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing » 2021-03-10 19:42:24

dlxy 说:

# cd /boot
-sh: cd: can't cd to /boot

这,我是主线linux+uboot,tf文件系统应该是有boot分区的

#15 Re: 全志 SOC » [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing » 2021-02-26 01:52:21

mmmage 说:

感谢分享. 原来用荔枝派nano时也是碰到类似的wifi的问题,搞得焦头烂额

大家都是这样子过来的,我这些内容也都是自己遇到过的坑awq

#16 全志 SOC » [荔枝派zero萌新向]r8723WIFI的正确打开方式!超级详细ing » 2021-02-25 21:54:44

linstar
回复: 41

PS:我也是新人这是我在摸索路上探寻出来的经验,有些地方可能不对qw
-------------------------------
下面是r8723的食用方法 真的超级详细!!!

如果你使用的是网盘的的【官方镜像】,我可以很不负责任的告诉你,r8723肯定是不能正常使用的
经过亲测,所有镜像root目录下自带的r8723bs.ko文件都会出现【Invalid module format】错误
如果你也是使用的官方镜像,你可以去文末下载我测试过的r8723bs.ko

先别下滑,我还可以很不负责任的告诉你,如果你使用官方镜像和我的ko文件
也是有很大概率遇到【驱动正常】但是【不出wlan0】的情况
恭喜你,你的dtb文件是错误的,文末的链接里也会有正确的dtb,直接替换boot分区里的同名文件
(重启以后不要忘了insmod,insmod会在重启后失效

如果你的ko文件和dtb文件都已经准备完毕,我们就可以正式开始驱动配置啦~

首先,cd切换到r8723bs.ko所在的目录,输入指令:insmod r8723bs.ko

当你看到【module init ret =0】时代表驱动已经正常启动!
输入命令:ifconfig -a
再打印信息里看到【wlan0】就说明你已经可以继续下一步了!
这时候输入命令:vim /etc/wpa_supplicant.conf
弹出窗口以后按一下键盘上的i键,就可以编辑内容~
用键盘上的上下左右键来调整光标,先按住退格把所有内容删除,然后按照以下内容写上去:
--------------------------------------------------(分割线
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network={
    ssid="你的WIFI名字"
    scan_ssid=1
    key_mgmt=WPA-PSK
    pairwise=CCMP
    group=CCMP
    psk="你的WIFI密码"
    priority=5
}
--------------------------------------------------(分割线
检查一下你的WIFI名和WIFI密码是否输入正确,千万不要有多空格之类的东西
然后按住shift,再点一下键盘上的冒号键
松开shift,输入wq然后回车
这样子你的WIFI就配置好了!
先输入命令:ifconfig wlan0 up 来启动网口
没有报错的话进行下一步

现在cd /root 来切换到根目录,官方镜像在这里留有一个connect_wx.sh
因为是第一次执行,所以我们先给这个文件一个运行权限,只需要执行一次!以后就不用了!
命令为:chmod 777 connect_wx.sh
然后输入./connect_wx.sh 来连接到你的WIFI!
如果你像确认WIFI是否连接,就输入ping baidu.com
假如可以显示延迟的话就是成功了!
享受你的新wife(划掉)wifi吧!

当然小星星是不会只关心官方镜像的!
假如你使用的是4.14或者5.2这种高版本内核,是可以直接在menuconfig里编译r8723bs的!
具体请转到官网awa 或者看这篇文章:https://blog.csdn.net/u012577474/article/details/104678522
一般编译出来的ko文件都是可以直接使用的,假如出现这样的报错:
“Direct firmware load for rtlwifi/rtl8723bs_nic.bin failed with error -2”
你就需要手动把ko文件目录下的rtl8723bs_nic.bin,移动到 /lib/firmware/rtlwifi/
指令为:mv rtl8723bs_nic.bin /lib/firmware/rtlwifi/

问题来了,假如没有rtl8723bs_nic.bin这个文件怎么办呢?
没关系,我已经给你拿出来了!同样可以在文末下载,按照上面的命令转移以后重载模块就可以了!
解决掉报错以后就可以按照上文的方法正常使用惹

--------------------常见报错汇总----------------------------
1.疯狂打印【RTL8723BS: nolinked power save leave】
- /etc/wpa_supplicant.conf的配置不正确,确保WIFI名和密码都写对了!
2.驱动正常但是没有wlan0网口
- 你没有使用正确的dtb文件,请下载以后直接拷贝网盘内的sun8i-v3s-licheepi-zero.dtb到boot分区,就是有zlmage的那个文件夹
3.好像没了,如果你出现了奇奇怪怪的报错还原留言,我会抽时间看的!
--------------------------------------------------------------

对了,如果你不知道怎么把文件从电脑转移到板子上的话,我有个笨办法
把你的tf卡接上读卡器插在windows电脑上会出现两个设备,其中一个设备是可以被读到的
那个设备就是/boot分区!直接把文件丢到里面,在板子上的时候使用cd /boot然后ls就可以看到了!
mv 文件名 /root 来把文件转移到根分区~

下面是激动人心的资料链接!!!!!!!!
https://pan.baidu.com/s/1F216NrATxdIpgznlzn-rwQ 提取码:STAR
链接挂了请无比告诉我
这边顺便贴上荔枝派官方网盘的链接:
https://pan.baidu.com/s/1x75Uqnxl6bmBCYDN3NUdJg 提取码:ohzx
其中在根目录下的gz文件是文件系统,dd_ing文件夹下的就都是dd镜像了
dd镜像在windows下也可以通过Win32DiskImager烧录!
把文件筛选改成*就可以了
---------------------------------------------------------------
祝各位都能早日玩转自己的wife(划掉)wifi!
如果有什么不对的地方欢迎指出啊~也是第一次发教程帖

THE END~

#17 Re: 全志 SOC » [zero]萌新求教,卡启动进不了系统,急!谢谢了(趴 » 2021-02-25 00:58:51

谢谢大佬!!大佬元宵快乐。这个文件系统我之前可以跑起来的,应该怎么处理,重烧uboot吗,麻烦了(瘫)

#18 全志 SOC » [zero]萌新求教,卡启动进不了系统,急!谢谢了(趴 » 2021-02-24 21:39:48

linstar
回复: 3

硬件:荔枝派zero核心板,ch340G串口(没接VCC),供电5v1a,闪迪16GBTF卡,焊了一个8723bs
本人小白,有些地方可能都说错了qwq
uboot读到dtb和内核OK以后就直接Starting kernel ... 开始无限循环
死活也进不了系统(瘫倒
log: https://paste.ubuntu.com/p/BdjyghjKXD/
救救孩子吧!
(也是和晕哥哥来的呢(被打

页脚

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

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