专栏算法工具链J5板子BSP镜像版本查询 ,apa 样例部署到板子上运行失败

J5板子BSP镜像版本查询 ,apa 样例部署到板子上运行失败

已解决
默认506242024-05-20
137
2

用户您好,请详细描述您所遇到的问题,详细的描述有助于帮助我们快速定位,解决问题~Thanks♪(・ω・)ノ

1. 硬件获取渠道及型号:

2. 系统镜像版本: cat /etc/version 

gonghongyan@soc debug 20230317-134731

root@j5dvb:~# cat /proc/version 

Linux version 5.10.59-rt52 (gonghongyan@soc) (aarch64-linux-gnu-gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #4 SMP PREEMPT_RT Fri Mar 17 13:49:41 CST 2023

3. 问题模块: J5板子BSP镜像版本查询 
4. 问题描述: J5板子BSP镜像版本查询 

5. 示例代码: apa 样例执行失败

第一次执行:

 ./init.sh -l

[W][1632][01-01][08:04:02:272][discovery_utils.cpp:249][mainboard2][communication] if_addr_struct->ifa_addr is NULL and its ifa name is [can0]

[W][1632][01-01][08:04:02:272][discovery_utils.cpp:249][mainboard2][communication] if_addr_struct->ifa_addr is NULL and its ifa name is [can1]

[W][1632][01-01][08:04:02:272][discovery_utils.cpp:249][mainboard2][communication] if_addr_struct->ifa_addr is NULL and its ifa name is [can2]

[W][1632][01-01][08:04:02:272][discovery_utils.cpp:249][mainboard2][communication] if_addr_struct->ifa_addr is NULL and its ifa name is [can3]

[E][1632][01-01][08:04:02:272][udp_server_unix.cpp:119][mainboard2][communication] UdpServerMulticastUnix::Init IP_ADD_MEMBERSHIP failed 19. You need to execute the command in the terminal first: route add -net 224.0.0.0 netmask 255.255.255.0 eth0(device network card name)!!!

[E][1632][01-01][08:04:02:272][udp_server_unix.cpp:228][mainboard2][communication] UdpServerUnix::Init MakeSocket failed. udp_server_type_ 0

第二次 增添路由,看脚本J5并没有增添路由,只是在J3情况下增添,为规避错误特增添路由,执行弹出如下错误,且执行后与主机PC断连接,查看所连接网口地址已改变为初始值

root@j5dvb:/userdata/sample_j5/apa# route add -net 224.0.0.0 netmask 255.255.255.0 eth0

root@j5dvb:/userdata/sample_j5/apa# ./init.sh -l

j5dvb

[W][1644][01-01][08:07:45:183][discovery_utils.cpp:249][mainboard2][communication] if_addr_struct->ifa_addr is NULL and its ifa name is [can0]

[W][1644][01-01][08:07:45:183][discovery_utils.cpp:249][mainboard2][communication] if_addr_struct->ifa_addr is NULL and its ifa name is [can1]

[W][1644][01-01][08:07:45:183][discovery_utils.cpp:249][mainboard2][communication] if_addr_struct->ifa_addr is NULL and its ifa name is [can2]

[W][1644][01-01][08:07:45:183][discovery_utils.cpp:249][mainboard2][communication] if_addr_struct->ifa_addr is NULL and its ifa name is [can3]

[W][1661][01-01][08:07:45:501][types.cpp:489][mainboard2][communication] communication is already been initialized!!

[W][1661][01-01][08:07:45:502][adapter_manager.cc:377][mainboard2][sensor_center] communication has been init: communication has been initialized

[W][1661][01-01][08:07:45:503][adapter_manager.cc:204][mainboard2][sensor_center] adapter /bole/event/sensors is not enable.

[W][1661][01-01][08:07:45:503][adapter_manager.cc:204][mainboard2][sensor_center] adapter /bole/command/sensors is not enable.

[W][1661][01-01][08:07:45:509][separatedthread_executor.cpp:137][mainboard2][default] Check thread name length exceed the maximum value(15), intercept thread name is: sc_TimerM_check

[W][1661][01-01][08:07:45:509][separatedthread_executor.cpp:150][mainboard2][default] Exec thread name length exceed the maximum value(15), intercept thread name is: sc_TimerMa_exec

[W][1661][01-01][08:07:45:510][sensor_center.cpp:1958][mainboard2][sensor_center] get cmd adapter: /bole/command/sensors failed, command_adapter is disable

[W][1661][01-01][08:07:45:511][camera.cpp:225][mainboard2][sensor_center] Cannot find null

[W][1661][01-01][08:07:45:564][camera.cpp:225][mainboard2][sensor_center] Cannot find null

[W][1661][01-01][08:07:45:564][camera.cpp:225][mainboard2][sensor_center] Cannot find null

[W][1661][01-01][08:07:45:565][camera.cpp:225][mainboard2][sensor_center] Cannot find null

[W][1661][01-01][08:07:45:573][sensor_module.cpp:139][mainboard2][apa] [1661] - sub_camera_4 disabled

[W][1661][01-01][08:07:45:573][sensor_module.cpp:139][mainboard2][apa] [1661] - sub_camera_5 disabled

[W][1661][01-01][08:07:45:573][sensor_module.cpp:139][mainboard2][apa] [1661] - sub_camera_6 disabled

[W][1661][01-01][08:07:45:573][sensor_module.cpp:139][mainboard2][apa] [1661] - sub_camera_7 disabled

[W][1661][01-01][08:07:45:573][sensor_module.cpp:139][mainboard2][apa] [1661] - sub_camera_8 disabled

[W][1661][01-01][08:07:45:573][sensor_module.cpp:139][mainboard2][apa] [1661] - sub_camera_9 disabled

[W][1661][01-01][08:07:45:573][sensor_module.cpp:139][mainboard2][apa] [1661] - sub_camera_10 disabled

[W][1661][01-01][08:07:45:573][sensor_module.cpp:139][mainboard2][apa] [1661] - sub_camera_11 disabled

[EasyDNN]: EasyDNN version = 1.7.3_(1.17.3 DNN)

[BPU_PLAT]BPU Platform Version(1.3.3)!


6. log文件(目前暂不支持附件上传,请通过百度网盘上传后贴链接):

算法工具链
征程5
评论2
0/1000
  • luoyuhao
    Lv.1

    我在使用天准的域控时遇到了同样的问题,我的解决方法是输入 route add -net 224.0.0.0 netmask 255.255.255.0 eth1

    2024-05-24
    1
    0
  • 默认50624
    Lv.1

    第二次执行,路由已添加

    2024-05-27
    1
    0