This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

mt9p031.c driver not detecting LI-5M02 camera sensor on DM365DVEVM.

Hi,

I m facing a problem wherein the mt9p031.c kernel driver is unable detect the connected LI-5M02 camera sensor. During boot-up, I see a log showing that the chipset is not detected:

-----------
EVM: switch to HD imager video input
mt9p031 1-005d: No MT9P031 chip detected, register read ffffff87
vpfe-capture vpfe-capture: v4l2 sub device mt9p031 register fails
No sub devices registered
----------   http:/pastebin.com/64fTM7Df    ..... for complete dmesg output

I m using ti-dvsdk_dm365-evm_4_02_00_06. Bootargs are modified as per the instructions

setenv bootargs console=ttyS0,115200n8 rw mem=60M video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 vpfe_capture.cont_bufsize=6291456 davinci_enc_mngr.ch0_mode=1080I-30 root=/dev/nfs nfsroot=10.0.0.100:/home/rahul/evmrootfs ip=10.0.0.3:10.0.0.100:10.0.0.1:255.255.255.0::::off vpfe_capture.interface=1 vpfe_capture.bufsize=4147200.

Please help.

Thanks,
Vinod

  • are you sure 0x5d is the right i2c address?

    I saw somebody had similar problem before:

    http://designsomething.org/leopardboard/f/33/p/593/2308.aspx

  • Thanks Hongfeng,

    But I had checked the I2C address (based on so many postings online). Im using DM365 EVM board and the I2C address is 0x5d .... nevertheless I still tried using 0x48 I2C address which failed too. I tried DVSDK 4.01 then tried with latest 4.02 as well. Also I tried linux-davinci kernel from git://arago-project.org/git/projects/linux-davinci.git.

    The kernel probe function (mt9p031_probe) fails the same way in each of those.

    Is there any hardware jumper setting that needs to be changed by any chance?

    Thanks

    Vinod