野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1248|回复: 1

[求助] 开启设备树后,IMX415仍无法在lubancat2 使用

[复制链接]
发表于 2025-5-10 10:11:05 | 显示全部楼层 |阅读模式
调整mipi接线松紧后,查看dmesg 发现两种不同的错误:
第一种:
dmesg |grep imx415[  123.226338] imx415 1-001a: s_stream: 0. 3864x2192, hdr: 0, bpp: 10[  124.580334] imx415 1-001a: s_stream: 1. 3864x2192, hdr: 0, bpp: 10[  124.580347] imx415 1-001a: write reg array error[  124.668312] imx415 1-001a: write reg array, sleep 30ms[  124.669681] imx415 1-001a: set vblank 0x3a vts 2250[  124.670995] imx415 1-001a: set exposure(shr0) 2149 = cur_vts(2250) - val(101)[  124.671865] imx415 1-001a: set analog gain 0x0
第二种:
cat@lubancat:~$ dmesg |grep imx415[    2.451262] imx415 1-001a: driver version: 00.01.08[    2.454411] imx415 1-001a:  Get hdr mode failed! no hdr default[    2.458633] imx415 1-001a:  Get data lanes failed! 4 lanes default[    2.460725] imx415 1-001a: detect imx415 lane 2[    2.462909] imx415 1-001a: Failed to get power-gpios[    2.465099] imx415 1-001a: no pinctrl[    2.467228] imx415 1-001a: Looking up dvdd-supply from device tree[    2.467240] imx415 1-001a: Looking up dvdd-supply property in node /i2c@fe5a0000/imx415@1a failed[    2.467281] imx415 1-001a: 1-001a supply dvdd not found, using dummy regulator[    2.469557] imx415 1-001a: Linked as a consumer to regulator.0[    2.471738] imx415 1-001a: Looking up dovdd-supply from device tree[    2.471747] imx415 1-001a: Looking up dovdd-supply property in node /i2c@fe5a0000/imx415@1a failed[    2.471796] imx415 1-001a: 1-001a supply dovdd not found, using dummy regulator[    2.474040] imx415 1-001a: Looking up avdd-supply from device tree[    2.474049] imx415 1-001a: Looking up avdd-supply property in node /i2c@fe5a0000/imx415@1a failed[    2.474066] imx415 1-001a: 1-001a supply avdd not found, using dummy regulator[    2.544965] imx415 1-001a: Detected imx415 id 0000e0[    2.547168] rockchip-csi2-dphy csi2-dphy1: dphy1 matches m00_b_imx415 1-001a:bus type 4[    8.594556] imx415 1-001a: set hdr cfg, set mode to 0[    8.597026] imx415 1-001a: set fmt: cur_mode: 3864x2192, hdr: 0, bpp: 10[    8.627007] imx415 1-001a: set exposure(shr0) 2149 = cur_vts(2250) - val(101)


重新换了一个fpc排线,也是如此:可以读取配置,但是无法使用guvcview打开
请问怎么解决这个问题?


读取摄像头配置和dmesg信息.zip

20.05 KB, 下载次数: 15

完整日志

回复

使用道具 举报

发表于 2025-5-13 08:59:41 | 显示全部楼层
试试用命令行能不能显示。gst-launch-1.0 -v v4l2src device=/dev/video0 ! "video/x-raw, format=(string)UYVY, width=640, height=480" ! videoconvert ! ximagesink sync=false

回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2025-12-6 00:19 , Processed in 0.087791 second(s), 29 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表