|
发表于 2021-11-1 09:40:37
只看该作者
37#
麻烦帮忙分析一下离线帧处理问题,显示摄像头打开错误。是不固件内也需要把摄像头的文件配置进去,我这边的操作如下:
1、在buildroot/configs/rockchip_rv1126_rv1109_defconfig添加了BR2_PACKAGE_CAMERA_ENGINE_RKAIQ_FAKE_CAMERA_IQFILE="os04a10_CMK-OT1607-FV1_M12-40IRC-4MP-F16.xml"
2、重新编译快速启动固件,烧录到板子内,开机完成快速启动
3、在SDK内搜索到os04a10_CMK-OT1607-FV1_M12-40IRC-4MP-F16.xml文件,使用adb工具push到板子内,并把文件名修改FakeCamera.xml,移动到/tmp/iqfiles文件夹
4、复制/etc/iqfiles下os04a10_CMK-OT1607-FV1_M12-40IRC-4MP-F16.bin文件到/tmp/iqfiles文件夹
5、将编译后rkmedia_fake_vi_test 应用程序使用adb push 到tmp文件夹
6、执行./rkmedia_fake_vi_test -a /tmp/iqfiles -d /dev/video21 -s /dev/v4l-subdev6 -w 1920 -h 1080 -v 1
7、报错信息如下所示:
# ./rkmedia_fake_vi_test -a /tmp/iqfiles -d /dev/video21 -s /dev/v4l-subdev6 -w 1920 -h 1080 -v 1
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rockchip-mipi-dphy-rx is null
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
Rga built version:1.04 c54e142+2021-10-26 07:22:41
#Rkaiq XML DirPath: /tmp/iqfiles
parse_mcu_rkraws: get isp shared buf failed
sensor_name is FakeCamera
[09:09:28.743613][XCORE]:XCAM ERROR v4l2_device.cpp:196: open device() failed
rkmedia_fake_vi_test: xcore/v4l2_device.cpp:1200: virtual XCamReturn XCam::V4l2SubDevice::subscribe_event(int): Assertion `is_opened()' failed.
Aborted |
|