1954632_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

1954632_en-US

1954632_en-US

imx93 mxc-md 42800000.bus:camera: deferring cap_device registration

hi

linux kernel log: mxc-md 42800000.bus:camera: deferring cap_device registration

I don't know why this error occurred, please help me check it together.

I am using the 6.6.23 kernel, 

Thanks

Re: imx93 mxc-md 42800000.bus:camera: deferring cap_device registrationimx9_soc_device_register can't finish init process, becase OPTEE not loaded indeed. Need to figure out why firmware didnt started in UbootRe: imx93 mxc-md 42800000.bus:camera: deferring cap_device registrationOn my device Optee registered fine:

[ 0.000000] OF: reserved mem: 0x0000000096000000..0x0000000097dfffff (30720 KiB) nomap non-reusable optee_core@96000000
[ 0.000000] OF: reserved mem: 0x0000000097e00000..0x0000000097ffffff (2048 KiB) nomap non-reusable optee_shm@97e00000
[ 1.540675] optee: probing for conduit method.
[ 1.545155] optee: revision 4.0 (a303fc80)
[ 1.545573] optee: dynamic shared memory is enabled
[ 1.554907] optee: initialized driver


But still efuse failed.
回复: imx93 mxc-md 42800000.bus:camera: deferring cap_device registration

I have tested ap1302 camera on IMX93-11x11 evk, the result differs with the kernel versions:
6.1.36: camera works ok, and the sys path /dev/video* exist in system;

6.6.52-lts-next-ge0f9e2afd4cf: camera doesn't work, and no /dev/video* path in sys path.

I have found out that the ap1302 node differs in dts, after I change back it to the earlier one 6.1.36, the camera still didn't work.

could you pls share your solution of this problem, thanks in advance!

Re: imx93 mxc-md 42800000.bus:camera: deferring cap_device registration

HI.

I've also encountered this problem, can you please tell me how you solved it, I also reported this error

Re: imx93 mxc-md 42800000.bus:camera: deferring cap_device registration

I may have found the problem. In my initial log.txt,

HI

[ 1.487391] optee: probe of firmware:optee failed with error -22


[ 1.738045] imx9_init_soc 47510000.efuse:imx93-soc: error -EINVAL: failed to register SoC device


I don't know if it's due to the failure of Optee that caused the SOC registration to fail, which in turn affected the driver imx8-isi-core. c+656 line, ret=mxc_isi_stoc_match (mxc_isi, imx8_stoc) failed.

I haven't found a solution yet


Re: imx93 mxc-md 42800000.bus:camera: deferring cap_device registration

do you mind print the sd value in the register_isi_entity of media device driver? refer to your logfile, it seems the  get_subdev_by_node successfully, if sd vaule is 0, you need trace the driver, it seems ISI couldn't be probed

Re: imx93 mxc-md 42800000.bus:camera: deferring cap_device registration

hi 

Unfortunately, the same error still occurs. The attachment is a decompiled dts file from dtb, and it seems that there is no problem. However, imx-isi-capture did not load the driver before fsl,imx93-isi

thanks!

Re: imx93 mxc-md 42800000.bus:camera: deferring cap_device registration

refer to your logfile, it seems that register_isi issue, then I checked your isi in the dts, it seems you didn't set it correctly, try to change this

&isi_0 {
status = "okay";
};

&cap_device {
status = "okay";
};


try to isi node includes the cap_device, like this

&isi_0 {
status = "okay";

cap_device {
status = "okay";
};
};

Re: imx93 mxc-md 42800000.bus:camera: deferring cap_device registration

hi

I am using my own motherboard, and log.txt is the complete kernel log. I don't know what caused the cap_device to fail registration. I feel that my DTS is correct.


Thanks

Re: imx93 mxc-md 42800000.bus:camera: deferring cap_device registration

pls share more detailed information, how do you get this log? pls share whole logfile with me and tell me how to reproduce this? did you use nxp board or your own board?

Re: imx93 mxc-md 42800000.bus:camera: deferring cap_device registrationI solved this issue with reflashing boot image:
echo 0 > /sys/class/block/mmcblk0boot0/force_ro
dd if=imx-boot-ucm-imx93-sd.bin-flash_singleboot of=/dev/mmcblk0boot0
Tags (1)
No ratings
Version history
Last update:
‎12-31-2025 05:25 AM
Updated by: