Hi,
I'm porting imx290 sensor module with imx8mplus of 5.10.35 distro
I followed the camera sensor porting guide and made the driver changes in vvcam accordingly, but when board is booted it is not creating any videonode even the driver's probe function is success.
below are the log messages from the time the modules starts loading:
[ 6.208014] imx290_vvcam: loading out-of-tree module taints kernel.
[ 6.224028] entering th func:imx290_probe
[ 6.318075] eimx290_vvcam 1-0042: supply DOVDD not found, using dummy regulator
[ 6.339949] eimx290_vvcam 1-0042: supply DVDD not found, using dummy regulator
[ 6.349485] eimx290_vvcam 1-0042: supply AVDD not found, using dummy regulator
[ 6.382951] imx8_media_dev: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.443331] enter viv_isp_init_module
[ 6.448757] enter isp_hw_probe
[ 6.453073] enter viv_dwe_init_module
[ 6.456791] vvcam isp driver registered
[ 6.457080] enter dwe_hw_probe
[ 6.461686] imx-sdma 30e10000.dma-controller: firmware found.
[ 6.466027] vvcam dewarp driver probed
[ 6.470277] imx-sdma 30bd0000.dma-controller: firmware found.
[ 6.479325] imx-sdma 30bd0000.dma-controller: loaded firmware 4.6
[ 6.839512] caam algorithms registered in /proc/crypto
[ 6.896947] caam 30900000.crypto: caam pkc algorithms registered in /proc/crypto
[ 6.896962] caam 30900000.crypto: registering rng-caam
[ 6.898300] Device caam-keygen registered
[ 6.921808] random: crng init done
[ 6.921819] random: 7 urandom warning(s) missed due to ratelimiting
[ 7.309550] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Opts: (null)
[ 7.383698] RTL8211F Gigabit Ethernet 30be0000.ethernet-1:01: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=30be0000.)
[ 7.475098] imx-dwmac 30bf0000.ethernet eth1: PHY [stmmac-1:01] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[ 7.487079] imx-dwmac 30bf0000.ethernet eth1: No Safety Features support found
[ 7.487093] imx-dwmac 30bf0000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[ 7.487260] imx-dwmac 30bf0000.ethernet eth1: registered PTP clock
[ 7.487510] imx-dwmac 30bf0000.ethernet eth1: configuring for phy/rgmii-id link mode
[ 7.519467] 8021q: adding VLAN 0 to HW filter on device eth1
[ 8.143730] audit: type=1006 audit(1616581522.276:2): pid=639 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[ 8.192190] returnvalue after initilizing media entity pads of the camera subdev= 0
[ 8.196776] returnvalue after asynconous registering of the camera subdev= 0
[ 8.204482] entering th func:imx290_retrieve_capture_properties
[ 8.211560] imx290 detected.
When i give lsmod: check it is creating the following modules , vvcam_video module is not loaded
Module Size Used by
vvcam_isp 65536 0
vvcam_dwe 28672 0
imx8_media_dev 20480 0
imx290_vvcam 147456 0
when i tried removing the imx8_media_dev module and modprobe it again
imx290_vvcam 147456 1
which made the module getting utilised, but still there is no video node created.
when i modprobe vvcam_video then it is loading but is not been utilised again as
vvcam_video 40960 0
please help me out to solve this issue.
Thank you in advance,
Mukesh Kumar