lam007 发表于 2021-12-30 23:00:02

购买的开发板Core-1126-JD4,烧录源码编译的固件,不能工作

购买的开发板Core-1126-JD4,烧录源码编译 rv1126_rv1109_linux_release_20211022.tgz的固件,不能工作,WIFI不能用,摄像头不能用.

799959745 发表于 2021-12-31 09:03:47

你要先更新源代码,然后再编译。

lam007 发表于 2021-12-31 10:13:03

我已经有同步更新并编译.

799959745 发表于 2021-12-31 14:30:48

cat /proc/version看一下

lam007 发表于 2022-1-1 15:54:45

cat /proc/version
Linux version 4.19.111 (lvsx@tchip14) (rv1126_rv1109_linux_20211206.xml) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #116 SMP PREEMPT Mon Dec 6 10:16:00 CST 2021
# a
抓出的版本是这样,然后WIFI也修改了密码,连接不上,通过指令
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B
Successfully initialized wpa_supplicant
rfkill: WLAN soft blocked
CFG80211-ERROR) wl_cfg80211_add_virtual_iface :Failed to create interface p2p-dev-wlan0: -19 (No such devic e)
nl80211: Failed to creatde a P2P Device interface p2p-dev-wlan0
P2P: Failed to enavble P2P Device interface
ice is not ready
# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B
Successfully initialized wpa_supplicant
rfkill: WLAN soft blocked
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/wlan0' manually if it is not used anymore
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.

nl80211: deinit ifname=wlan0 disabled_11b_rates=0
# udhcpc -i wlan0
udhcpc: started, v1.27.2
ifconfig: SIOCSIFFLAGS: Operation not possible due to RF-kill
ifconfig: SIOCSIFFLAGS: Operation not possible due to RF-kill
Failed to kill daemon: No such file or directory
udhcpc: sending discover
udhcpc: sendto: Network is down
udhcpc: read error: Network is down, reopening socket
udhcpc: sending discover
udhcpc: sendto: Network is down
udhcpc: read error: Network is down, reopening socket
udhcpc: sending discover
udhcpc: sendto: Network is down
udhcpc: read error: Network is down, reopening socket
Could not receive return value from daemon process.
udhcpc: read error: Network is down, reopening socket
udhcpc: read error: Network is down, reopening socket
udhcpc: read error: Network is down, reopening socket
^Audhcpc: read error: Network is down, reopening socket

lam007 发表于 2022-1-1 16:02:22

# cat /proc/version
Linux version 4.19.111 (root@lgssvr) (rv1126_rv1109_linux_20211206.xml) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #1 SMP PREEMPT Wed Dec 29 18:01:02 CST 2021

lam007 发表于 2022-1-2 17:01:55

开发板烧录编译出来的固件
1. 用指令,WIFI不能连接工作
# vi /etc/wpa_supplicant.conf
//将 SSID 替换成WiFi名称
//将 PASSWORD 替换成 WiFi 密码
# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B #WiFi wpa_supplicant 后台连接
# udhcpc -i wlan0 //WiFi 连接成功后获取 IP 地址,如下不能正常工作

2. 连接网口查看摄像头不能工作

板蓝根 发表于 2022-1-4 09:49:48

1. https://wiki.t-firefly.com/zh_CN/CORE-1126-JD4/Devices.html#wifi请问扫描可以扫出wifi吗?这个可以通过登录 web,查看wifi 信号强度确认,一般没连接到 wifi 是没接天线。
2.请提供 dmesg log,没有log 无法分析。另外可以查看一下 vlc 能否打开流

lam007 发表于 2022-1-4 10:39:52

1. 通过web的WIFI是可以连接,通过指令是不能连接,为什么?已经有连接天线.
2. vlc的数据流不是默认打开的吗,怎么打开呢,在web端是看不到摄像头,摄像头是os04A

799959745 发表于 2022-1-4 11:13:41

1、根据你提出的 WiFi 问题更新了 wiki 教程
#关闭默认摄像头应用
/oem/RkLunch-stop.sh
#解锁外设设备
rfkill unblock all
killall wpa_supplicant
#修改 wpa_supplicant.conf 配置文件
vi /etc/wpa_supplicant.conf
#将 SSID 替换成WiFi名称
#将 PASSWORD 替换成 WiFi 密码
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B & #WiFi wpa_supplicant 后台连接
udhcpc -i wlan0 #WiFi 连接成功后获取 IP 地址

2、摄像头不能工作提供log和相关图片
页: [1] 2 3
查看完整版本: 购买的开发板Core-1126-JD4,烧录源码编译的固件,不能工作