首页 > 其他分享 >241209 多imx415运行调试

241209 多imx415运行调试

时间:2024-12-11 18:56:29浏览次数:7  
标签:241209 get 0037 imx415 001a found using 调试

241209 多imx415运行调试

情况简述

之前买过一块RK3588-RD-V12,四个imx415摄像头工作正常,后板子经常硬重启,怀疑板卡出现问题,购买一块新的RK3588-RD-V12,调试imx415过程中发现问题,具体表现为:

  • 四个摄像头只有两个注册成功
  • 注册成功摄像头无法用gst命令工作

调试过程

开机启动dmesg查看imx415摄像头设备信息,两个注册失败

rpdzkj@debian11:~$ dmesg | grep imx
[    7.316092] imx415 2-001a: driver version: 00.01.08
[    7.316102] imx415 2-001a:  Get hdr mode failed! no hdr default
[    7.316120] imx415 2-001a: Failed to get reset-gpios
[    7.316132] imx415 2-001a: Failed to get power-gpios
[    7.316138] imx415 2-001a: could not get default pinstate
[    7.316142] imx415 2-001a: could not get sleep pinstate
[    7.316166] imx415 2-001a: supply dvdd not found, using dummy regulator
[    7.316227] imx415 2-001a: supply dovdd not found, using dummy regulator
[    7.316254] imx415 2-001a: supply avdd not found, using dummy regulator
[    7.384517] imx415 2-001a: Unexpected sensor id(000000), ret(-5)
[    7.385045] imx415 2-0037: driver version: 00.01.08
[    7.385062] imx415 2-0037:  Get hdr mode failed! no hdr default
[    7.385093] imx415 2-0037: Failed to get reset-gpios
[    7.385114] imx415 2-0037: Failed to get power-gpios
[    7.385124] imx415 2-0037: could not get default pinstate
[    7.385131] imx415 2-0037: could not get sleep pinstate
[    7.385164] imx415 2-0037: supply dvdd not found, using dummy regulator
[    7.385274] imx415 2-0037: supply dovdd not found, using dummy regulator
[    7.385318] imx415 2-0037: supply avdd not found, using dummy regulator
[    7.442084] imx415 2-0037: Detected imx415 id 0000e0
[    7.442895] imx415 3-001a: driver version: 00.01.08
[    7.442946] imx415 3-001a:  Get hdr mode failed! no hdr default
[    7.443020] imx415 3-001a: Failed to get reset-gpios
[    7.443073] imx415 3-001a: Failed to get power-gpios
[    7.443097] imx415 3-001a: could not get default pinstate
[    7.443115] imx415 3-001a: could not get sleep pinstate
[    7.443171] imx415 3-001a: supply dvdd not found, using dummy regulator
[    7.443441] imx415 3-001a: supply dovdd not found, using dummy regulator
[    7.443552] imx415 3-001a: supply avdd not found, using dummy regulator
[    7.505174] imx415 3-001a: Unexpected sensor id(000000), ret(-5)
[    7.505775] imx415 3-0037: driver version: 00.01.08
[    7.505803] imx415 3-0037:  Get hdr mode failed! no hdr default
[    7.505850] imx415 3-0037: Failed to get reset-gpios
[    7.505885] imx415 3-0037: Failed to get power-gpios
[    7.505901] imx415 3-0037: could not get default pinstate
[    7.505913] imx415 3-0037: could not get sleep pinstate
[    7.505949] imx415 3-0037: supply dvdd not found, using dummy regulator
[    7.506113] imx415 3-0037: supply dovdd not found, using dummy regulator
[    7.506188] imx415 3-0037: supply avdd not found, using dummy regulator
[    7.568599] imx415 3-0037: Detected imx415 id 0000e0
[    7.568686] rockchip-csi2-dphy csi2-dphy3: dphy3 matches m03_b_imx415 3-0037:bus type 5
[    7.739599] rockchip-csi2-dphy csi2-dcphy1: dphy1 matches m01_b_imx415 2-0037:bus type 5

检测图像输出设备:

rpdzkj@debian11:~$ media-ctl -d /dev/media4  -e "rkisp_mainpath"
/dev/video44
rpdzkj@debian11:~$ media-ctl -d /dev/media4  -e "rkisp_selfpath"
/dev/video45
rpdzkj@debian11:~$ media-ctl -d /dev/media5  -e "rkisp_mainpath"
/dev/video53
rpdzkj@debian11:~$ media-ctl -d /dev/media5  -e "rkisp_selfpath"
/dev/video54

尝试gst播放,出现warning,且卡住,无播放进度

rpdzkj@debian11:~$ gst-launch-1.0 v4l2src device=/dev/video44 ! videoconvert! videoscale ! video/x-raw, width=800, height=1080 ! kmssink -v 
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
/GstPipeline:pipeline0/GstKMSSink:kmssink0: display-width = 1920
/GstPipeline:pipeline0/GstKMSSink:kmssink0: display-height = 1080
0:00:03.428497093  2241   0x556f34ac00 WARN                    v4l2 gstv4l2object.c:4497:gst_v4l2_object_probe_caps:<v4l2src0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
...

播放后再次查询dmesg

rpdzkj@debian11:~$ dmesg | grep imx
[  141.570954] imx415 2-0037: s_stream: 1. 3864x2192, hdr: 0, bpp: 10
[  141.628798] imx415 2-0037: set vblank 0x3a vts 2250
[  141.630361] imx415 2-0037: set exposure(shr0) 8 = cur_vts(2250) - val(2242)
[  141.631450] imx415 2-0037: set analog gain 0x0
[  144.315430] imx415 2-0037: s_stream: 0. 3864x2192, hdr: 0, bpp: 10
[  173.086958] imx415 2-0037: s_stream: 1. 3864x2192, hdr: 0, bpp: 10
[  173.139052] imx415 2-0037: set vblank 0x3a vts 2250
[  173.140487] imx415 2-0037: set exposure(shr0) 8 = cur_vts(2250) - val(2242)
[  173.141411] imx415 2-0037: set analog gain 0x0
[  179.792067] imx415 2-0037: s_stream: 0. 3864x2192, hdr: 0, bpp: 10
[  189.553972] imx415 2-0037: s_stream: 1. 3864x2192, hdr: 0, bpp: 10
[  189.614564] imx415 2-0037: set vblank 0x3a vts 2250
[  189.615926] imx415 2-0037: set exposure(shr0) 8 = cur_vts(2250) - val(2242)
[  189.617039] imx415 2-0037: set analog gain 0x0
[  207.667478] imx415 2-0037: s_stream: 0. 3864x2192, hdr: 0, bpp: 10

fix.1. camera0默认不开启原因

根据 camera0默认不开启原因,调整硬件后,dmesg得到:

[    7.310055] imx415 2-001a: driver version: 00.01.08
[    7.310070] imx415 2-001a:  Get hdr mode failed! no hdr default
[    7.310095] imx415 2-001a: Failed to get reset-gpios
[    7.310113] imx415 2-001a: Failed to get power-gpios
[    7.310121] imx415 2-001a: could not get default pinstate
[    7.310127] imx415 2-001a: could not get sleep pinstate
[    7.310154] imx415 2-001a: supply dvdd not found, using dummy regulator
[    7.310240] imx415 2-001a: supply dovdd not found, using dummy regulator
[    7.310278] imx415 2-001a: supply avdd not found, using dummy regulator
[    7.375947] imx415 2-001a: Detected imx415 id 0000e0
[    7.376262] imx415 2-0037: driver version: 00.01.08
[    7.376272] imx415 2-0037:  Get hdr mode failed! no hdr default
[    7.376291] imx415 2-0037: Failed to get reset-gpios
[    7.376303] imx415 2-0037: Failed to get power-gpios
[    7.376309] imx415 2-0037: could not get default pinstate
[    7.376314] imx415 2-0037: could not get sleep pinstate
[    7.376332] imx415 2-0037: supply dvdd not found, using dummy regulator
[    7.376398] imx415 2-0037: supply dovdd not found, using dummy regulator
[    7.376432] imx415 2-0037: supply avdd not found, using dummy regulator
[    7.446044] imx415 2-0037: Detected imx415 id 0000e0
[    7.446295] imx415 3-001a: driver version: 00.01.08
[    7.446308] imx415 3-001a:  Get hdr mode failed! no hdr default
[    7.446326] imx415 3-001a: Failed to get reset-gpios
[    7.446338] imx415 3-001a: Failed to get power-gpios
[    7.446344] imx415 3-001a: could not get default pinstate
[    7.446348] imx415 3-001a: could not get sleep pinstate
[    7.446363] imx415 3-001a: supply dvdd not found, using dummy regulator
[    7.446427] imx415 3-001a: supply dovdd not found, using dummy regulator
[    7.446454] imx415 3-001a: supply avdd not found, using dummy regulator
[    7.506497] imx415 3-001a: Unexpected sensor id(000000), ret(-5)
[    7.507651] imx415 3-0037: driver version: 00.01.08
[    7.507693] imx415 3-0037:  Get hdr mode failed! no hdr default
[    7.507764] imx415 3-0037: Failed to get reset-gpios
[    7.507816] imx415 3-0037: Failed to get power-gpios
[    7.507840] imx415 3-0037: could not get default pinstate
[    7.507857] imx415 3-0037: could not get sleep pinstate
[    7.507911] imx415 3-0037: supply dvdd not found, using dummy regulator
[    7.508145] imx415 3-0037: supply dovdd not found, using dummy regulator
[    7.508325] imx415 3-0037: supply avdd not found, using dummy regulator
[    7.563449] imx415 3-0037: Detected imx415 id 0000e0
[    7.563540] rockchip-csi2-dphy csi2-dphy3: dphy3 matches m03_b_imx415 3-0037:bus type 5
[    7.735428] rockchip-csi2-dphy csi2-dcphy0: dphy0 matches m00_f_imx415 2-001a:bus type 5
[    7.737064] rockchip-csi2-dphy csi2-dcphy1: dphy1 matches m01_b_imx415 2-0037:bus type 5

三个摄像头注册成功,且用gst运行video44,仍无法播放,怀疑dts存在问题。

fix_tmp

参考mipi-摄像头-与isp-和i2c-的对应关系是怎样的如何匹配的4路mipi-相机

标签:241209,get,0037,imx415,001a,found,using,调试
From: https://www.cnblogs.com/wunyje/p/18600488

相关文章

  • SSM怡莱酒店管理系统6pk28(程序+源码+数据库+调试部署+开发环境)
    本系统(程序+源码+数据库+调试部署+开发环境)带论文文档1万字以上,文末可获取,系统界面在最后面。系统程序文件列表开题报告内容一、项目背景随着酒店行业的竞争日益激烈,提升酒店运营效率和服务质量成为酒店管理的核心任务。传统的酒店管理方式存在诸多不足,如人工操作繁琐、信......
  • SSM银行学习系统buwu2--程序+源码+数据库+调试部署+开发环境
    本系统(程序+源码+数据库+调试部署+开发环境)带论文文档1万字以上,文末可获取,系统界面在最后面。系统程序文件列表开题报告内容一、课题背景与意义随着金融行业的快速发展,银行业务日益复杂,对员工的专业技能和综合素质要求不断提高。传统的培训方式存在时间、地点限制,且难以精......
  • 使用WinDbg进行动态调试
    WinDbg是Microsoft提供的一款功能强大的调试工具,专门用于调试Windows操作系统中的内核模式和用户模式程序。通过图形界面和命令行接口,WinDbg提供了丰富的调试和分析功能,深受开发人员和IT专业人员的喜爱。本文将详细介绍如何使用WinDbg进行动态调试,并深入探讨其中的技术细节。......
  • Lua 调试(Debug)
    Lua提供了debug库用于提供创建我们自定义调试器的功能。Lua本身并未有内置的调试器,但很多开发者共享了他们的Lua调试器代码。Lua中debug库包含以下函数:序号方法&用途1.debug():进入一个用户交互模式,运行用户输入的每个字符串。使用简单的命令以及其它调试设置,用......
  • 课程答疑微信小程序ssm+论文源码调试讲解
    2相关技术2.1微信小程序小程序是一种新的开放能力,开发者可以快速地开发一个小程序。小程序可以在微信内被便捷地获取和传播,同时具有出色的使用体验。尤其拥抱微信生态圈,让微信小程序更加的如虎添翼,发展迅猛。2.2MYSQL数据库MySQL是一个真正的多用户、多线程SQL数据库服......
  • SSM阳关健身房管理系统5e761程序+源码+数据库+调试部署+开发环境
    本系统(程序+源码+数据库+调试部署+开发环境)带论文文档1万字以上,文末可获取,系统界面在最后面。系统程序文件列表开题报告内容一、项目背景随着健康意识的不断提升,健身房在现代社会中扮演着越来越重要的角色。然而,传统的健身房管理方式往往存在效率低下、信息不透明等问题。......
  • SSM学生组织管理系统zcd9v--(程序+源码+数据库+调试部署+开发环境)
    本系统(程序+源码+数据库+调试部署+开发环境)带论文文档1万字以上,文末可获取,系统界面在最后面。系统程序文件列表开题报告内容一、项目背景随着高校规模的扩大和学生活动的增多,学生组织的管理变得日益复杂。传统的人工管理方式存在效率低、易出错等问题,无法满足现代学生组织......
  • SSM学生俱乐部的构建与实现y816d--程序+源码+数据库+调试部署+开发环境
    本系统(程序+源码+数据库+调试部署+开发环境)带论文文档1万字以上,文末可获取,系统界面在最后面。系统程序文件列表开题报告内容一、研究背景随着高校教育的不断发展,学生俱乐部作为校园文化的重要组成部分,对于丰富学生课余生活、提升学生综合素质具有重要意义。然而,当前学生俱......
  • SSM兴隆超市管理系统23gi3(程序+源码+数据库+调试部署+开发环境)
    本系统(程序+源码+数据库+调试部署+开发环境)带论文文档1万字以上,文末可获取,系统界面在最后面。系统程序文件列表开题报告内容一、项目背景与意义随着信息技术的飞速发展,超市管理逐渐从传统的人工操作转向智能化管理。兴隆超市作为本地知名的零售企业,面临着日益增长的商品种......
  • SSM养老院老人日常生活管理系统likf3--程序+源码+数据库+调试部署+开发环境
    本系统(程序+源码+数据库+调试部署+开发环境)带论文文档1万字以上,文末可获取,系统界面在最后面。系统程序文件列表开题报告内容一、研究背景与意义随着人口老龄化趋势的加剧,养老服务需求日益增长。传统养老院管理方式存在信息不透明、管理效率低下等问题,影响了老人的生活质量......