工具与软件:
您好、TI 专家!
我在使用 AM625 EVM 启动摄像头时遇到一些问题、请帮助我解决。
我现在尝试使用的摄像头中的传感器名为 OV5647。 因此、我创建了相同的模块
为摄像头 OV5647添加驱动程序支持后、我可以在/dev/文件夹 中观察 devcie 节点。 但是、当尝试使用此摄像头捕捉图像/视频时、会收到一些错误日志
错误日志包括:
root@am62xx-evm:~# cam -c1 --stream width=640,height=480,pixelformat=SBGGR -C10 [0:10:25.391269170] [2793] INFO Camera camera_manager.cpp:298 libcamera v0.0.5+dirty (2024-03-23T14:12:31+00:00) [0:10:25.405864620] [2794] WARN CameraSensor camera_sensor.cpp:244 'ov5647 4-0036': Recommended V4L2 control 0x009a0922 not supported [0:10:25.406011655] [279[ 625.621421] v4l2_get_link_freq: Link frequency estimated using pixel rate: result might be inaccurate 4] WARN CameraSensor camera_sensor.cpp:311[ 625.632827] v4l2_get_link_freq: Consider implementing support for V4L2_CID_LINK_FREQ in the transmitter driver 'ov5647 4-0036': The sensor kernel driver needs to b[ 625.648320] csi2rx_configure_external_dphy: Link frequency is 137500000 e fixed [0:10:25.406049495] [2794] WARN CameraSensor camera_sensor.cpp:313 'ov5647 4-0036': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information [0:10:25.408144865] [2794] WARN CameraSensor camera_sensor.cpp:459 'ov5647 4-0036': Failed to retrieve the camera location Camera configuration adjusted Using camera /base/bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@36 as cam0 [0:10:25.410748370] [2793] INFO Camera camera.cpp:1028 configuring streams: (0) 640x480-SBGGR10 cam0: Capture 10 frames
最后打印的是"捕获10帧"、但它从不会停止、我需要提供中断来停止命令。
此外,该命令输出中的一个行指出"不支持推荐的 V4L2控制":这到底意味着什么?
器件成功列出、如下所示:
root@am62xx-evm:~# media-ctl -p Media controller API version 6.1.80 Media device information ------------------------ driver j721e-csi2rx model TI-CSI2RX serial bus info platform:30102000.ticsi2rx hw revision 0x1 driver version 6.1.80 - entity 13: ov5647 4-0036 (1 pad, 1 link, 0 route) type V4L2 subdev subtype Sensor flags 0 device node name /dev/v4l-subdev2 pad0: Source [stream:0 fmt:SBGGR10_1X10/640x480 field:none colorspace:srgb crop.bounds:(16,16)/2592x1944 crop:(32,16)/2560x1920] -> "cdns_csi2rx.30101000.csi-bridge":0 [ENABLED,IMMUTABLE] root@am62xx-evm:~# v4l2-ctl --list-devices j721e-csi2rx (platform:30102000.ticsi2rx): /dev/video0 /dev/video1 /dev/video2 /dev/video3 /dev/media0
通过观察上述输出、我猜摄像机已列出并成功配置。
那么、请帮助我解决该问题?
此致、
Aditya T