|
【Linux】
AIO-186 CAMERA 例程验证失败
发表于 2025-3-25 14:31:09
浏览:120
|
回复:12
打印
只看该作者
[复制链接]
楼主
问题描述及复现步骤:
版本信息:开发板自带的原始固件,未烧录
- root@sophon:/home/admin# bm_version
- SophonSDK(BM1688) 1.7
- sophon-soc-libsophon : 0.4.9
- sophon-soc-libsophon-dev : 0.4.9
- sophon-media-soc-sophon-ffmpeg : 1.7.0
- sophon-media-soc-sophon-opencv : 1.7.0
- BL2 cv186ah:g4aa8422 2024-10-24T10:03:56+08:00
- BL31 cv186ah:gc3fb9f5-dirty 2024-07-22T15:27:39+08:00
- U-Boot 2021.10-g8528b7f8dd-dirty (Dec 11 2024 - 00:07:10 +0800) cvitek_sophgo
- KernelVersion : Linux sophon 5.10.4-sophon-custom-gaf0756bee730-dirty #236 SMP Wed Dec 11 00:38:48 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
- Mode: soc mode
- MCUVersion: 0.17.19
复制代码 问题现象:
根据wiki https://wiki.t-firefly.com/Core-186JD4/driver_camera.html 使用CAM-8MS1M验证,无论CAM-8MS1M插到csi0/csi1/csi2上,都报错无法获取到图像
创建软链接前无法找到设备
- root@sophon:/home/admin# /opt/sophon/sophon-soc-libisp_1.0.0/bin/ispv4l2_ut 5
- start ispv4l2 ut -->>
- set hdr ctrls id:1 success
- pipe: 0, get sensor type fail !
- open pipe 0 sensor fail!
- open /dev/v4l-subdev2 fail!
- open pipe 0 sensor fail!
- ISP Vipipe(0) Allocate pa(0x15c046000) va(0x0x7f8edd4000) size(286696)
- open /dev/v4l-subdev2 fail!
- ------pipe: 0 pub attr setting------
- height: 0
- width: 0
- fps:0.000000
- wdr:-1897483456
- enBayer: 0
- 20200426 05:35:59.378 33680 E isp AE_GetStatisticsConfig:4242 pstAeStatisticsCfg is NULL.
- 20200426 05:35:59.379 33680 E isp AE_SetStatisticsConfig:4228 pstAeStatisticsCfg is NULL.
- Bus error
复制代码
查看dev下只有v4l-subdev0设备,创建v4l-subdev2软链接后段错误
- root@sophon:/home/admin# /opt/sophon/sophon-soc-libisp_1.0.0/bin/ispv4l2_ut 5
- start ispv4l2 ut -->>
- set hdr ctrls id:1 success
- pipe: 0, set dev attr success!
- pipe: 0, sensor type: 1986356271
- pstSnsObj (nil)
- Segmentation fault
复制代码
期望:
1.为何报错,怎么修改,wiki上对应的是哪个版本
2.请帮忙提供dts&defconfig供内核编译
|
|