你好,我使用官方提供的镜像烧录后,在开机过程中camera初始化报错,具体如下,请问这个有解决方法么?
[ 4.895342] CAM_INFO: CAM-SMMU: cam_smmu_need_force_alloc_cached: 383: force_cache_allocs=1
[ 4.895361] CAM_ERR: CAM-MEM: cam_mem_mgr_get_dma_heaps: 488: qcom,display heap not found, rc=0
[ 4.895430] CAM_WARN: CAM-CRM: cam_req_mgr_close: 189: release invoked associated userspace process has died, open_cnt: 1
[ 4.895440] CAM_ERR: CAM-CORE: cam_subdev_ioctl: 79: shutdown device failed(rc = -22) for cam-isp
[ 4.895445] CAM_ERR: CAM-CORE: cam_subdev_ioctl: 79: shutdown device failed(rc = -22) for cam-lrme
[ 4.895450] CAM_ERR: CAM-CORE: cam_subdev_ioctl: 79: shutdown device failed(rc = -22) for cam-jpeg
[ 4.895466] CAM_WARN: CAM-CPAS: __cam_cpas_subdev_close: 707: device already closed, open_cnt: 0
[ 4.895864] qcom,fastrpc-cb a300000.remoteproc:glink-edge:fastrpc:compute-cb@3: Adding to iommu group 24
[ 4.897208] CAM_ERR: CAM-CPAS: cam_cpas_subdev_ioctl: 750: Invalid command -2140645888 for CPAS! from pid 474, comm v4l_id
请问您使用的是什么系统?Android? linux? debian?
linux 1.1.1的镜像,更详细的报错如下:
[ 6.422328]CAM_ERR: CAM-CPAS: cam_cpas_subdev_ioctl: 750: Invalid command -2140645888 for CPAS! from pid 661, comm gst-plugin-scan
[ 6.422409]CAM_ERR: CAM-CORE: cam_subdev_ioctl: 84: Invalid command -2140645888 for cam-isp from pid 661 comm gst-plugin-scan
[ 6.422476]CAM_ERR: CAM-CORE: cam_subdev_ioctl: 84: Invalid command -2140645888 for cam-jpeg from pid 661 comm gst-plugin-scan
[ 6.422538]CAM_ERR: CAM-CORE: cam_subdev_ioctl: 84: Invalid command -2140645888 for cam-lrme from pid 661 comm gst-plugin-scan
[ 6.422598]CAM_ERR: CAM-CSIPHY: cam_csiphy_subdev_ioctl: 128: Wrong ioctl : -2140645888
[ 6.422655]CAM_ERR: CAM-CSIPHY: cam_csiphy_subdev_ioctl: 128: Wrong ioctl : -2140645888
[ 6.422713]CAM_ERR: CAM-CSIPHY: cam_csiphy_subdev_ioctl: 128: Wrong ioctl : -2140645888
[ 6.422767]CAM_ERR: CAM-CSIPHY: cam_csiphy_subdev_ioctl: 128: Wrong ioctl : -2140645888
[ 6.422821]CAM_ERR: CAM-CSIPHY: cam_csiphy_subdev_ioctl: 128: Wrong ioctl : -2140645888
[ 6.422875]CAM_ERR: CAM-SENSOR: cam_sensor_subdev_ioctl: 68: Invalid ioctl cmd: -2140645888
[ 6.422929]CAM_ERR: CAM-SENSOR: cam_sensor_subdev_ioctl: 68: Invalid ioctl cmd: -2140645888
[ 6.423437]CAM_ERR: CAM-MEM: cam_mem_mgr_request_mem: 1551: failed. mem_mgr not initialized
[ 6.423441]CAM_ERR: CAM-ICP: cam_icp_allocate_hfi_mem: 2887: Unable to allocate qtbl memory
[ 6.423832]CAM_ERR: CAM-ICP: cam_icp_subdev_open: 97: FW download failed
[ 6.423927]CAM_INFO: CAM-SMMU: cam_smmu_need_force_alloc_cached: 383: force_cache_allocs=1
[ 6.423933]CAM_ERR: CAM-MEM: cam_mem_mgr_get_dma_heaps: 488: qcom,display heap not found, rc=0
[ 6.424013]CAM_WARN: CAM-CRM: cam_req_mgr_close: 189: release invoked associated userspace process has died, open_cnt: 1
[ 6.424018]CAM_ERR: CAM-CORE: cam_subdev_ioctl: 79: shutdown device failed(rc = -22) for cam-isp
[ 6.424020]CAM_ERR: CAM-CORE: cam_subdev_ioctl: 79: shutdown device failed(rc = -22) for cam-lrme
[ 6.424022]CAM_ERR: CAM-CORE: cam_subdev_ioctl: 79: shutdown device failed(rc = -22) for cam-jpeg
[ 6.424027]CAM_WARN: CAM-CPAS: __cam_cpas_subdev_close: 707: device already closed, open_cnt: 0
请问您是否使用测试命令?具体是什么命令?
你好,没有使用测试命令,开机过程中就报这个错误,板子上插的是自己从网上买的imx477模组
请问是从树莓派官方购买的吗
请提供您购买的imx477模组的信息
你好,不是从官方买的,我这边试了去掉模组刷了1.1.1的镜像也是同样的报错:
[ 4.794033]CAM_ERRe[0m: CAM-CSIPHY: cam_csiphy_subdev_ioctl: 128: Wrong ioctl : -2140645888
[ 4.794709]st-magn-i2c 1-001ce[0me[1m: supply vddio not found, using dummy regulatore[0m
[ 4.797102]CAM_ERRe[0m: CAM-CORE: cam_subdev_ioctl: 84: Invalid command -2140645888 for cam-isp from pid 513 comm v4l_id
[ 4.797608]CAM_ERRe[0m: CAM-CSIPHY: cam_csiphy_subdev_ioctl: 128: Wrong ioctl : -2140645888
[ 4.799869]iio iio:device2e[0me[31m: failed to read Who-Am-I register.e[0m
[ 4.800421]CAM_ERRe[0m: CAM-CSIPHY: cam_csiphy_subdev_ioctl: 128: Wrong ioctl : -2140645888
[ 4.802080][dhd] sdioh_attache[0me[1m: sd clock rate = 202000000e[0m
[ 4.802714]CAM_ERRe[0m: CAM-CSIPHY: cam_csiphy_subdev_ioctl: 128: Wrong ioctl : -2140645888
[ 4.802911]CAM_ERRe[0m: CAM-CPAS: cam_cpas_subdev_ioctl: 750: Invalid command -2140645888 for CPAS! from pid 504, comm v4l_id
[ 4.804026]CAM_ERRe[0m: CAM-CORE: cam_subdev_ioctl: 84: Invalid command -2140645888 for cam-jpeg from pid 516 comm v4l_id
[ 4.809191]CAM_ERRe[0m: CAM-SENSOR: cam_sensor_subdev_ioctl: 68: Invalid ioctl cmd: -2140645888
[ 4.809918]CAM_ERRe[0m: CAM-CORE: cam_subdev_ioctl: 84: Invalid command -2140645888 for cam-lrme from pid 517 comm v4l_id
[ 4.810040]CAM_ERRe[0m: CAM-SENSOR: cam_sensor_subdev_ioctl: 68: Invalid ioctl cmd: -2140645888
[ 4.817381]qcom,fastrpc-cb a300000.remoteproc:glink-edge:fastrpc:compute-cb@1e[0m: Adding to iommu group 22
[ 4.818633]CAM_ERRe[0m: CAM-MEM: cam_mem_mgr_request_mem: 1551: failed. mem_mgr not initialized
[ 4.818641]CAM_ERRe[0m: CAM-ICP: cam_icp_allocate_hfi_mem: 2887: Unable to allocate qtbl memory
[ 4.819178]CAM_ERRe[0m: CAM-ICP: cam_icp_subdev_open: 97: FW download failed
[ 4.820182][dhd] dhdsdio_probe e[0me[1m: no mutex helde[0m
[ 4.820188][dhd] dhdsdio_probe e[0me[1m: set mutex locke[0m
请问这份log是在去掉模组后,刷1.1.1的固件包后重启的第一份log吗?
请问这个过程中是否有进行过其他操作?您是否有在设备上做修改?
你好,是刷机过后的第一份开机log,我买的早,用的是体验版的开发板。没有进行其他操作,就是刷完过后开机抓的dmesg。
These logs are not expected to have a significant impact on the functionality of the camera. We recommend that the customer connect the camera and perform a test to verify its performance.
The official Raspberry Pi purchase link for the IMX477 module, as well as additional information, can be found in the user manual.
https://www.thundercomm.com/rubik-pi-3/en/docs/rubik-pi-3-user-manual/1.1.0/peripherals-and-interfaces/#24-csi
camera基础的初始化都是错的,后边camera内核模块都没起来,是致命影响
我们有搭环境做测试,这些log基本不会影响camera的使用,所以建议您连接camera做测试
下图中左侧为我们截取的dmesg log,右侧为您提供的dmesg log
连接camera后可正常使用
好的,我找了新的fpc验证是可以的
Good news! Thank you for your response. ![]()

