大家在玩耍过程中,遇到问题,如果群内未能及时回答,可以在这里留言~
离线
现在的docker是基于ubuntu 12.04的,太旧了,能不能更新下,用16.04, 否则vscode remote 都用不了, ref https://code.visualstudio.com/docs/remote/linux
离线
现在的docker是基于ubuntu 12.04的,太旧了,能不能更新下,用16.04, 否则vscode remote 都用不了, ref https://code.visualstudio.com/docs/remote/linux
你说的问题是因为我们的镜像没有安装ssh服务,你可以进容器里面先装下ssh服务再试试能不能连接
离线
你说的问题是因为我们的镜像没有安装ssh服务,你可以进容器里面先装下ssh服务再试试能不能连接
就算安装了ssh也不行,vscode 不支持 ubuntu 12.04 作为remote linux
确实是 12.04太旧了,已经end of life, 好些Mirror也没有了
还是希望能更新到16.04,这样常用的软件都支持
最近编辑记录 dbskcnc (2020-06-10 11:55:51)
离线
就算安装了ssh也不行,vscode 不支持 ubuntu 12.04 作为remote linux
确实是 12.04太旧了,已经end of life, 好些Mirror也没有了
还是希望能更新到16.04,这样常用的软件都支持
docker pull cijliu/dopi-ubuntu16.04:v0.99
喜欢折腾的同学可以在这个上面迭代自己的环境,我们只提供最基础的docker镜像
离线
docker pull cijliu/dopi-ubuntu16.04:v0.99
喜欢折腾的同学可以在这个上面迭代自己的环境,我们只提供最基础的docker镜像
不错,反正基础系统好了,其它的就可以自己根据需要apt 安装
离线
dopi_rtsp 有提供源码?
离线
dopi_rtsp 有提供源码?
暂时没有喔
离线
关于海思HI3516EV200的SDK,官方有2个版本,一个是linux,一个是liteos,这里根据之前群友提供的sdk整理总结下,以防大家下载到错误的版本
linux sdk 版本为 Hi3516EV200R001C01SPC010:
链接:https://pan.baidu.com/s/1bJRVcm9DLD4RIL4zCzWMXA
提取码:702k
liteos sdk 版本为Hi3516EV200R002C05SPC010:
链接:https://pan.baidu.com/s/1LnN-E6ekdS1iryi3x89hNw
提取码:prkb
离线
运行海思SDK 中vio例程,怎样可以看到输出的图像?
离线
运行海思SDK 中vio例程,怎样可以看到输出的图像?
海思的vo需要适配海思的hifb,我们配的LCD是标准的linux framebuffer设备,所以要自己在获取摄像头数据后,自己做映射到fbdev上
离线
也就是运行VIO例程必须接LCD?
离线
试了一下 提供的固件 网口联网好像有问题,麻烦确认一下
离线
试了一下 提供的固件 网口联网好像有问题,麻烦确认一下
具体描述下操作过程,有线网口默认没有启动,需要自己启动,具体执行
ifconfig eth0 up
udhcpc -i eth0 &
然后获取到ip后执行ifconfig就能看见
离线
wifi 一会儿就断开了
# ./dopi_rtsp
Dopi RTSP Demo
[INFO rtsp_demo.c:281:rtsp_new_demo] rtsp server demo starting on port 554
[DEBUG rtsp_demo.c:481:rtsp_new_session] add session path: /live.sdp
[SAMPLE_COMM_VI_GetMipiLaneMode]-1779: support this chip 3516e200
[SAMPLE_COMM_VI_GetMipiLaneMode]-1779: support this chip 3516e200
[SAMPLE_COMM_VI_SetMipiAttr]-1985: ============= MipiDev 0, SetMipiAttr enWDRMode: 0
linear mode
==============================================================
=====Sony imx307_2l sensor 1080P30fps(MIPI) init success!=====
==============================================================
please press twice ENTER to exit rtsp
[SAMPLE_COMM_ISP_Thread]-359: ISP Dev 0 running !
[DEBUG utils.c:160:rtsp_codec_data_parse_from_user_h264] sps 15
[DEBUG utils.c:168:rtsp_codec_data_parse_from_user_h264] pps 4
sip_rx first read err -84 244
rccsip_rx_pkt_process seq mismatch! got 1112, expect 1111
++++++++++++++++show rbuf+++++++++++++++
0x01, 0x00, 0xf4, 0x00, 0x00, 0x40, 0x0f, 0x00, 0x58, 0x04, 0x00, 0x00, 0x2c, 0x10, 0xde, 0xf0
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xa7, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff
++++++++++++++++++++++++++++++++++++++++
ESSERT:drivers/net/wireless/esp8089/esp_sip.c 424
rcr[INFO rtsp_demo.c:409:rtsp_new_client_connection] new rtsp client 192.168.1.111:50352 comming
[DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
OPTIONS rtsp://192.168.1.113:554/live.sdp RTSP/1.0
CSeq: 2
User-Agent: LibVLC/3.0.10 (LIVE555 Streaming Media v2016.11.28)
[DEBUG rtsp_demo.c:712:rtsp_handle_OPTIONS]
[DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
RTSP/1.0 200 OK
CSeq: 2
Date: Thu Jan 1 00:01:30 1970
Public: OPTIONS, DESCRIBE, SETUP, PLAY, PAUSE, TEARDOWN
Server: rtsp_demo
[DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
DESCRIBE rtsp://192.168.1.113:554/live.sdp RTSP/1.0
CSeq: 3
User-Agent: LibVLC/3.0.10 (LIVE555 Streaming Media v2016.11.28)
Accept: application/sdp
[DEBUG rtsp_demo.c:733:rtsp_handle_DESCRIBE]
[DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
RTSP/1.0 200 OK
CSeq: 3
Date: Thu Jan 1 00:01:30 1970
Server: rtsp_demo
Content-Type: application/sdp
Content-Length: 309
v=0
o=- 0 0 IN IP4 0.0.0.0
s=rtsp_demo
t=0 0
a=control:rtsp://192.168.1.113:554/live.sdp
a=range:npt=0-
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;sprop-parameter-sets=Z0IAH5Y1QKALdNwEBAQI,aM4xsg==
a=control:rtsp://192.168.1.113:554/live.sdp/track1
[DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
SETUP rtsp://192.168.1.113:554/live.sdp/track1 RTSP/1.0
CSeq: 4
User-Agent: LibVLC/3.0.10 (LIVE555 Streaming Media v2016.11.28)
Transport: RTP/AVP;unicast;client_port=64712-64713
[DEBUG rtsp_demo.c:937:rtsp_handle_SETUP]
[INFO rtsp_demo.c:894:rtsp_new_rtp_connection] new rtp over udp for video ssrc:22345678 local_port:49152-49153 peer_addr:192.168.1.111 peer_port:64712-64713
[DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
RTSP/1.0 200 OK
CSeq: 4
Date: Thu Jan 1 00:01:30 1970
Session: 12345678
Transport: RTP/AVP;ssrc=22345678;unicast;client_port=64712-64713;server_port=49152-49153
Server: rtsp_demo
[DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
PLAY rtsp://192.168.1.113:554/live.sdp RTSP/1.0
CSeq: 5
User-Agent: LibVLC/3.0.10 (LIVE555 Streaming Media v2016.11.28)
Session: 12345678
Range: npt=0.000-
[DEBUG rtsp_demo.c:1024:rtsp_handle_PLAY]
[DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
RTSP/1.0 200 OK
CSeq: 5
Date: Thu Jan 1 00:01:30 1970
Session: 12345678
Server: rtsp_demo
sip_rx first read err -84 12
rccsip_rx_pkt_process seq mismatch! got 1560, expect 1559
++++++++++++++++show rbuf+++++++++++++++
0x00, 0x05, 0x0c, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x18, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
++++++++++++++++++++++++++++++++++++++++
ESSERT:drivers/net/wireless/esp8089/esp_sip.c 424
sip_txq_process recalc credits!
rcrwlan0: deauthenticating from b0:95:8e:21:0a:b1 by local choice (Reason: 3=DEAUTH_LEAVING)
mmc1: card 0001 removed
mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
mmc1: new SDIO card at address 0001
mmc1: Timeout waiting for hardware interrupt.
sdhci: =========== REGISTER DUMP (mmc1)===========
sdhci: Sys addr: 0x00000001 | Version: 0x00000005
sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000000
sdhci: Argument: 0x97ee0000 | Trn mode: 0x00000003
sdhci: Present: 0x03e700f6 | Host ctl: 0x00000013
sdhci: Power: 0x0000000d | Blk gap: 0x00000000
sdhci: Wake-up: 0x00000020 | Clock: 0x0000000f
sdhci: Timeout: 0x0000000e | Int stat: 0x00000000
sdhci: Int enab: 0x03ff008b | Sig enab: 0x03ff008b
sdhci: ACMD err: 0x00000000 | Slot int: 0x00000000
sdhci: Caps: 0x276dc881 | Caps_1: 0x08002077
sdhci: Cmd: 0x0000353a | Max curr: 0x00000000
sdhci: Host ctl2: 0x00000080
sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x41827208
sdhci: ===========================================
sip_write_memory send buffer failed
esp_download_fw Failed to write fw, err: -110
download firmware failed
esp_init_all failed: -110
first error exit
sip_detach wrong state 1
mmc1: card 0001 removed
离线
wifi 一会儿就断开了
# ./dopi_rtsp
Dopi RTSP Demo
[INFO rtsp_demo.c:281:rtsp_new_demo] rtsp server demo starting on port 554
[DEBUG rtsp_demo.c:481:rtsp_new_session] add session path: /live.sdp
[SAMPLE_COMM_VI_GetMipiLaneMode]-1779: support this chip 3516e200
[SAMPLE_COMM_VI_GetMipiLaneMode]-1779: support this chip 3516e200
[SAMPLE_COMM_VI_SetMipiAttr]-1985: ============= MipiDev 0, SetMipiAttr enWDRMode: 0
linear mode
==============================================================
=====Sony imx307_2l sensor 1080P30fps(MIPI) init success!=====
==============================================================
please press twice ENTER to exit rtsp
[SAMPLE_COMM_ISP_Thread]-359: ISP Dev 0 running !
[DEBUG utils.c:160:rtsp_codec_data_parse_from_user_h264] sps 15
[DEBUG utils.c:168:rtsp_codec_data_parse_from_user_h264] pps 4
sip_rx first read err -84 244
rccsip_rx_pkt_process seq mismatch! got 1112, expect 1111++++++++++++++++show rbuf+++++++++++++++
0x01, 0x00, 0xf4, 0x00, 0x00, 0x40, 0x0f, 0x00, 0x58, 0x04, 0x00, 0x00, 0x2c, 0x10, 0xde, 0xf0
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xa7, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff++++++++++++++++++++++++++++++++++++++++
ESSERT:drivers/net/wireless/esp8089/esp_sip.c 424
rcr[INFO rtsp_demo.c:409:rtsp_new_client_connection] new rtsp client 192.168.1.111:50352 comming
[DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
OPTIONS rtsp://192.168.1.113:554/live.sdp RTSP/1.0
CSeq: 2
User-Agent: LibVLC/3.0.10 (LIVE555 Streaming Media v2016.11.28)[DEBUG rtsp_demo.c:712:rtsp_handle_OPTIONS]
[DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
RTSP/1.0 200 OK
CSeq: 2
Date: Thu Jan 1 00:01:30 1970
Public: OPTIONS, DESCRIBE, SETUP, PLAY, PAUSE, TEARDOWN
Server: rtsp_demo[DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
DESCRIBE rtsp://192.168.1.113:554/live.sdp RTSP/1.0
CSeq: 3
User-Agent: LibVLC/3.0.10 (LIVE555 Streaming Media v2016.11.28)
Accept: application/sdp[DEBUG rtsp_demo.c:733:rtsp_handle_DESCRIBE]
[DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
RTSP/1.0 200 OK
CSeq: 3
Date: Thu Jan 1 00:01:30 1970
Server: rtsp_demo
Content-Type: application/sdp
Content-Length: 309v=0
o=- 0 0 IN IP4 0.0.0.0
s=rtsp_demo
t=0 0
a=control:rtsp://192.168.1.113:554/live.sdp
a=range:npt=0-
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;sprop-parameter-sets=Z0IAH5Y1QKALdNwEBAQI,aM4xsg==
a=control:rtsp://192.168.1.113:554/live.sdp/track1
[DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
SETUP rtsp://192.168.1.113:554/live.sdp/track1 RTSP/1.0
CSeq: 4
User-Agent: LibVLC/3.0.10 (LIVE555 Streaming Media v2016.11.28)
Transport: RTP/AVP;unicast;client_port=64712-64713[DEBUG rtsp_demo.c:937:rtsp_handle_SETUP]
[INFO rtsp_demo.c:894:rtsp_new_rtp_connection] new rtp over udp for video ssrc:22345678 local_port:49152-49153 peer_addr:192.168.1.111 peer_port:64712-64713
[DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
RTSP/1.0 200 OK
CSeq: 4
Date: Thu Jan 1 00:01:30 1970
Session: 12345678
Transport: RTP/AVP;ssrc=22345678;unicast;client_port=64712-64713;server_port=49152-49153
Server: rtsp_demo[DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
PLAY rtsp://192.168.1.113:554/live.sdp RTSP/1.0
CSeq: 5
User-Agent: LibVLC/3.0.10 (LIVE555 Streaming Media v2016.11.28)
Session: 12345678
Range: npt=0.000-[DEBUG rtsp_demo.c:1024:rtsp_handle_PLAY]
[DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
RTSP/1.0 200 OK
CSeq: 5
Date: Thu Jan 1 00:01:30 1970
Session: 12345678
Server: rtsp_demosip_rx first read err -84 12
rccsip_rx_pkt_process seq mismatch! got 1560, expect 1559++++++++++++++++show rbuf+++++++++++++++
0x00, 0x05, 0x0c, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x18, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00++++++++++++++++++++++++++++++++++++++++
ESSERT:drivers/net/wireless/esp8089/esp_sip.c 424
sip_txq_process recalc credits!
rcrwlan0: deauthenticating from b0:95:8e:21:0a:b1 by local choice (Reason: 3=DEAUTH_LEAVING)
mmc1: card 0001 removed
mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
mmc1: new SDIO card at address 0001
mmc1: Timeout waiting for hardware interrupt.
sdhci: =========== REGISTER DUMP (mmc1)===========
sdhci: Sys addr: 0x00000001 | Version: 0x00000005
sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000000
sdhci: Argument: 0x97ee0000 | Trn mode: 0x00000003
sdhci: Present: 0x03e700f6 | Host ctl: 0x00000013
sdhci: Power: 0x0000000d | Blk gap: 0x00000000
sdhci: Wake-up: 0x00000020 | Clock: 0x0000000f
sdhci: Timeout: 0x0000000e | Int stat: 0x00000000
sdhci: Int enab: 0x03ff008b | Sig enab: 0x03ff008b
sdhci: ACMD err: 0x00000000 | Slot int: 0x00000000
sdhci: Caps: 0x276dc881 | Caps_1: 0x08002077
sdhci: Cmd: 0x0000353a | Max curr: 0x00000000
sdhci: Host ctl2: 0x00000080
sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x41827208
sdhci: ===========================================
sip_write_memory send buffer failed
esp_download_fw Failed to write fw, err: -110
download firmware failed
esp_init_all failed: -110
first error exit
sip_detach wrong state 1
mmc1: card 0001 removed
WIFI下传RTSP不稳定,如果需要在WIFI下传视频,需要做以下修改:
1.更换wifi驱动文件 esp8089驱动
2.板子上CN2电压选择切换到3.3V
离线
dopi 团队还是很专业的,解决问题。
离线
视频会闪,特别是影像有变化的时候
离线
sensor是哪个,看现象闪烁偏色是因为线没有接稳(不能晃动),mipi是差分信号,软排线因为不是双绞,多少会有影响
离线
@cijliu gc2053和imx307都有的,特别是不断挥手对着镜头
离线
@cijliu 还有一个问题就是 esp8089 3.3v驱动, reboot再挂载驱动,不成功,可能是没有初始化
离线
@cijliu 还有一个问题就是 esp8089 3.3v驱动, reboot再挂载驱动,不成功,可能是没有初始化
esp8089不支持软启动哈,所以你reboot后esp8089还是处于之前的状态没有切回来,目前只能靠断电重启解决哈,你的摄像头现象我之前出现过,就是因为线没有固定容易导致信号干扰,可以试试把线固定住,或者换短的线比较不会出现
离线
如何配置WDR模式,测试VIO 例程里面的wdr 的选项会都不行?
离线
海思的vo需要适配海思的hifb,我们配的LCD是标准的linux framebuffer设备,所以要自己在获取摄像头数据后,自己做映射到fbdev上
有没有实例代码啊,我这屏上可以显示汉字,摄像头数据如何显示啊,有思路不
离线
https://whycan.cn/t_4793.html
https://whycan.cn/t_4815.html
参考这两个gui移植
有没有实例代码啊,我这屏上可以显示汉字,摄像头数据如何显示啊,有思路不
离线
有没有实例代码啊,我这屏上可以显示汉字,摄像头数据如何显示啊,有思路不
后面会出,最近比较忙没时间整理文档,你可以自己尝试下,获取VI的数据后得到YUV数据,然后转RGB565格式,输出到fbdev设备
离线
有没有关于aac和mp3解码的组件?
离线
我使用的摄像头是imx307
但是启动的过程中一直报这个错误
...
[Func]:imx307_2l_write_register [Line]:140 [Info]:I2C_WRITE error!hibvt-i2c 12060000.i2c: wait idle timeout, RIS: 0x10, SR: 0xa0000
...
[VENC_GetVencStreamProc]-1048: HI_MPI_VENC_QueryStatus chn[1] failed with 0xa0088005!
...
看了接线:
CH1 CH2 CH6 原理图都是使用1.8v 所以我接的也是1.8v
离线
3516ev200刚到货正在学习,有个问题请教,为什么我的WiFi装上以后只能ping通网关,ping不通其它地址,也ping不通自己?
wlan0 Link encap:Ethernet HWaddr 18:FE:34:09:B4:65
inet addr:192.168.3.35 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:910 errors:0 dropped:703 overruns:0 frame:0
TX packets:2013 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:99029 (96.7 KiB) TX bytes:413628 (403.9 KiB)
# ping 192.168.3.1
PING 192.168.3.1 (192.168.3.1): 56 data bytes
64 bytes from 192.168.3.1: seq=0 ttl=64 time=2.226 ms
64 bytes from 192.168.3.1: seq=1 ttl=64 time=1.595 ms
64 bytes from 192.168.3.1: seq=2 ttl=64 time=1.405 ms
^C
--- 192.168.3.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.405/1.742/2.226 ms
# ping 192.168.3.35
PING 192.168.3.35 (192.168.3.35): 56 data bytes
^C
--- 192.168.3.35 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
#
最近编辑记录 you3700 (2020-09-21 23:29:31)
离线
3516ev200刚到货正在学习,有个问题请教,为什么我的WiFi装上以后只能ping通网关,ping不通其它地址,也ping不通自己?
wlan0 Link encap:Ethernet HWaddr 18:FE:34:09:B4:65 inet addr:192.168.3.35 Bcast:192.168.3.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:910 errors:0 dropped:703 overruns:0 frame:0 TX packets:2013 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:99029 (96.7 KiB) TX bytes:413628 (403.9 KiB) # ping 192.168.3.1 PING 192.168.3.1 (192.168.3.1): 56 data bytes 64 bytes from 192.168.3.1: seq=0 ttl=64 time=2.226 ms 64 bytes from 192.168.3.1: seq=1 ttl=64 time=1.595 ms 64 bytes from 192.168.3.1: seq=2 ttl=64 time=1.405 ms ^C --- 192.168.3.1 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.405/1.742/2.226 ms # ping 192.168.3.35 PING 192.168.3.35 (192.168.3.35): 56 data bytes ^C --- 192.168.3.35 ping statistics --- 5 packets transmitted, 0 packets received, 100% packet loss #
lo回环设备没有开启, ifconfig -a看下有个lo设备,打开就可以ifconfig lo up
离线
我使用的摄像头是imx307
但是启动的过程中一直报这个错误
...
[Func]:imx307_2l_write_register [Line]:140 [Info]:I2C_WRITE error!hibvt-i2c 12060000.i2c: wait idle timeout, RIS: 0x10, SR: 0xa0000
...
[VENC_GetVencStreamProc]-1048: HI_MPI_VENC_QueryStatus chn[1] failed with 0xa0088005!
...看了接线:
CH1 CH2 CH6 原理图都是使用1.8v 所以我接的也是1.8v
先用万用表确认线路是否连通
离线
我在编译dopi优化的uboot时遇到如下错误,执行./build.sh nand,最后出现如下错误,请问是什么情况?
./scripts/check-config.sh u-boot.cfg \
./scripts/config_whitelist.txt . 1>&2
/bin/sh: 1: ./scripts/check-config.sh: Permission denied
Makefile:923: recipe for target 'all' failed
make: *** [all] Error 126
make -C /home/you/uboot/arch/arm/cpu/armv7/hi3516ev200/hw_compressed/ \
CROSS_COMPILE=arm-himix100-linux- \
BINIMAGE=/home/you/uboot/u-boot.bin TOPDIR=/home/you/uboot
./gzip -fNqc -7 /home/you/uboot/u-boot.bin > image_data.gzip
/bin/sh: 1: ./gzip: Permission denied
Makefile:124: recipe for target 'image_data.gzip' failed
make[1]: *** [image_data.gzip] Error 126
Makefile:951: recipe for target 'u-boot-z.bin' failed
make: *** [u-boot-z.bin] Error 2
build spi nand flash version
离线
我在编译dopi优化的uboot时遇到如下错误,执行./build.sh nand,最后出现如下错误,请问是什么情况?
./scripts/check-config.sh u-boot.cfg \ ./scripts/config_whitelist.txt . 1>&2 /bin/sh: 1: ./scripts/check-config.sh: Permission denied Makefile:923: recipe for target 'all' failed make: *** [all] Error 126 make -C /home/you/uboot/arch/arm/cpu/armv7/hi3516ev200/hw_compressed/ \ CROSS_COMPILE=arm-himix100-linux- \ BINIMAGE=/home/you/uboot/u-boot.bin TOPDIR=/home/you/uboot ./gzip -fNqc -7 /home/you/uboot/u-boot.bin > image_data.gzip /bin/sh: 1: ./gzip: Permission denied Makefile:124: recipe for target 'image_data.gzip' failed make[1]: *** [image_data.gzip] Error 126 Makefile:951: recipe for target 'u-boot-z.bin' failed make: *** [u-boot-z.bin] Error 2 build spi nand flash version
总算解决了,又是改权限,又是替换/uboot/arch/arm/cpu/armv7/hi3516ev200/hw_compressed下的源文件,总算编译出来了,还不知道能不能用,明天试试吧。另外问一下,能单独烧录uboot而不烧kernel和文件系统吗?
离线
为什么telnetd开启不了
telnetd:applet not found
离线
下载的dopi的源码,编译完rootfs,烧写后,开发板卡在如下环节,不在动作,难道又是权限的问题?/sbin/init无运行权限?
yaffs: dev is 32505858 name is "mtdblock2" rw
yaffs: passed flags ""
VFS: Mounted root (yaffs2 filesystem) on device 31:2.
devtmpfs: mounted
Freeing unused kernel memory: 188K (c06b9000 - c06e8000)
This architecture does not have kernel memory protection.
Starting init: /sbin/init exists but couldn't execute it (error -13)
Starting init: /bin/sh exists but couldn't execute it (error -13)
Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.37 #1
Hardware name: Generic DT based system
Backtrace:
[<c0012870>] (dump_backtrace) from [<c0012b2c>] (show_stack+0x18/0x1c)
r7:00000000 r6:00000000 r5:00000000 r4:c071a2e8
[<c0012b14>] (show_stack) from [<c02568ac>] (dump_stack+0x24/0x28)
[<c0256888>] (dump_stack) from [<c00736e8>] (panic+0xd0/0x238)
[<c007361c>] (panic) from [<c05640f4>] (__irq_alloc_descs+0x0/0x22c)
r3:c06f1b98 r2:c06f1b98 r1:00000000 r0:c0621818
r7:00000000
[<c0563ff8>] (kernel_init) from [<c000f7e8>] (ret_from_fork+0x14/0x2c)
r5:c0563ff8 r4:00000000
---[ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
离线
为什么telnetd开启不了
telnetd:applet not found
新的带包管理的默认没有telnetd服务,可以自己安装
离线