Firefly开源社区

标题: RK3568 ubuntu适配单目CAM-8MS1M问题 [打印本页]

作者: d_link    时间: 2021-12-16 11:10
标题: RK3568 ubuntu适配单目CAM-8MS1M问题
参考RK3568对应此摄像头的开发资料,提到有以下文件:

+//#include "rk3568-firefly-aioj-cam-8ms1m.dtsi"

为何在SDK里面找不到?

另外,我需要怎样做才能集成对应驱动到固件里面去?
作者: d_link    时间: 2021-12-16 15:34
烧录AIO-3568J-UBUNTU18.04-GPT-20211201-1505.img, 启动时候提示如下:

[    2.316363] Mali:
[    2.316365] Mali device driver loaded
[    2.316590] xc7160 4-001b: T-chip firefly camera driver version: 00.01.02
[    2.316814] xc7160 4-001b: Failed to get power-gpios, maybe no use
[    2.319315] xc7160 4-001b: 4-001b supply avdd not found, using dummy regulator
[    2.319384] xc7160 4-001b: Linked as a consumer to regulator.0
[    2.319415] xc7160 4-001b: 4-001b supply dovdd not found, using dummy regulator
[    2.319468] xc7160 4-001b: 4-001b supply dvdd not found, using dummy regulator
[    2.319519] xc7160 4-001b: could not get default pinstate
[    2.319531] xc7160 4-001b: could not get sleep pinstate
[    2.319548] xc7160 4-001b: Success to get xc7160 endpoint data lanes, dts uses 4 lanes
[    2.319558] xc7160 4-001b: xc7160 num data lanes is 4
[    2.340488] xc7160 4-001b: write XC7160_REG_HIGH_SELECT failed
[    2.341440] xc7160: probe of 4-001b failed with error -5
[    2.341502] rkisp rkisp-vir0: clear unready subdev num: 4
[    2.341515] rockchip-csi2-dphy0: No link between dphy and sensor
[    2.341904] rockchip-csi2-dphy0: No link between dphy and sensor
[    2.341915] rkisp-vir0: update sensor failed
[    2.348865] ret 1024 0
[    2.349127] ALSA device list:
[    2.349140]   #0: rockchip,hdmi
[    2.349145]   #1: rockchip,rk809-codec
[    2.355196] Freeing unused kernel memory: 1600K
[    2.360793] Run /init as init process
Loading, please wait...
/dev/console is Ok
作者: zyk    时间: 2021-12-16 16:29
看起来i2c都不通,确认一下是不是线没接对或者没接好
作者: Liuth    时间: 2021-12-16 16:34
文件有的,就在kernel/arch/arm64/boot/dts/rockchip/下
那个固件我们测试是没问题,你这log显示没有检测到摄像头
拆下摄像头重新连接一下,可能是接触不良
作者: d_link    时间: 2021-12-17 09:52
问题已经解决。
作者: 陪伴    时间: 2023-11-7 21:41
d_link 发表于 2021-12-17 09:52
问题已经解决。

您好,我在调试中也遇到这个问题,请问您是怎么解决这个问题的呢




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1