我们是自己开发的硬件, 参考的J5开发板.
摄像头点亮过程中,发现无法获取图像.
视频传输链是CSI2 -> UB960->OV490
i2C bus 2.
使用/app/bin/camera_test/j5_camera_test.sh ./hb_j5dev.json 无报错, 无图像.
使用/app/bin/camera_test/j5_camera_test.sh ./hb_j5dev.json t1 d3 尝试dump图片, 出现报错如下:
Test work vin_handle thread---running.
Test vin_handle_worker_thread Ready !
Test work cim raw data thread---running.
Test cim_data_worker_thread raw Ready !
E/ ( 3523): [7674.663574]dev poll Timeout(5000): 0, Success
**** hb_vin_get_data(0, 0-raw, 0xffff917ae880) failed -4010
E/ ( 3523): [7674.663574][cim_dma hal]:pipe(0)output buffer manager NULL
@@@@ cim raw fps: pipe0=0.00
E/ ( 3523): [7674.663574][VIN]:[hb_vin_get_data][2751]hb_vin_get_data fail port 0 data_type 0
E/ ( 3523): [7679.668945]dev poll Timeout(5000): 0, Success
查看fps可以看到如下信息:
47180000.cim_dma# cat fps
cimdma pipe 0: input fps 25, output fps 0
查看cimdma_stat有如下信息, 发生sw drop
47180000.cim_dma# cat cimdma_stat |head
*******S0 info:******
[ipi0] width 2560, height 720, format 44, tpg_enable 0, hdr_mode 0, bypass_enable 0, pack_mode 0, id_decoder 0, enable_dma 1
output ddr: width 2560, height 720buf_num 0, out_buf_noncached 0, out_buf_noinvalid 0, use_ispbuf 0
hw drop count: 0
sw drop count: 7661
Frame running info: alloc capture buffer count 0
[Request 0 Process 0 Complete 0 User 0]
现在我无后续明确调查方向, 请帮看看此问题是哪里错了导致的.
