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.

TDA4VM: IMX219 can't show in ls /dev

Genius 13655 points
Part Number: TDA4VM

Hello Champs,

HW: sk-tda4vm, Raspberry Pi (IMX219) 

SW: ti-processor-sdk-linux-sk-tda4vm-etcher-image.zip

Customer connected Raspberry Pi (IMX219) to sk-tda4vm and followed the steps on https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-sk-tda4vm/08_05_00/exports/docs/getting_started.html

By default IMX219 is disabled. After connecting the camera you can enable it by specifying the dtb overlay file in /run/media/mmcblk0p1/uEnv.txt as below,

name_overlays=k3-j721e-edgeai-apps.dtbo k3-j721e-sk-rpi-cam-imx219.dtbo

Reboot the board after editing and saving the file.

But there is no device when executing ls /dev, no log outputs. 

BTW, customer can use the compatible USB camera. 

Thanks
Regards,
Shine

  • Hi Shine,

    In terms of setup, the changes to the uEnv.txt should be all that is needed for the camera to be detected by Linux. Could you advise the customer to run the following commands and share the output:

    • i2cdetect -y -r 0x8
    • i2cdetect -y -r 0x9

    These command checks if I2C devices (including the RPi camera) are connected. Depending on which RPi connector the camera is connected on, it should show up on address 0x10 on either bus 0x8 or 0x9, regardless of whether the uEnv.txt is configured correctly or not. If address 0x10 is unused, then my advise would be to check the connection of the camera.

    A following is an example log of 1 camera connected to CAM2 port while CAM1 port does not have a camera connected:

    root@tda4vm-sk:/opt/edge_ai_apps# i2cdetect -y -r 0x8
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00: -- -- -- -- -- -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: UU -- -- -- -- -- -- --
    root@tda4vm-sk:/opt/edge_ai_apps# i2cdetect -y -r 0x9
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00: -- -- -- -- -- -- -- -- -- -- -- -- --
    10: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: UU -- -- -- -- -- -- --
    root@tda4vm-sk:/opt/edge_ai_apps#

    Regards,

    Takuma

  • Hi Takuma,

    Thanks for your great support.

    Below is customer's log

    i2cdetect            i2cdetect.i2c-tools  i2cdump              i2cdump.i2c-tools
    root@tda4vm-sk:/opt/edge_ai_apps# i2cdetect -y -r 0x08
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    00:          -- -- -- -- -- -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: UU -- -- -- -- -- -- --
    root@tda4vm-sk:/opt/edge_ai_apps# i2cdetect -y -r 0x09
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    00:          -- -- -- -- -- -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: UU -- -- -- -- -- -- --
    root@tda4vm-sk:/opt/edge_ai_apps#

    Thanks
    Regards,
    Shine

  • Hi Shine,

    Thank you for the logs. It seems the camera is not detected at all. Can the customer share pictures of how the connection looks between the SK-TDA4VM and camera?

    Some things to look out for are:

    • Orientation of the ribbon cable (which way the blue side is facing)
    • Whether the RPi headers are snapped in

    For reference here is what the orientation should look like:

    Regards,

    Takuma