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.

SK-TDA4VM: imx219

Part Number: SK-TDA4VM

我在sk-tda4vm上连接树莓派的imx219摄像头,按照sk-tda4vm的官方文档配置后重启单板,依旧无法找到对应的设备(ls /dev),请问要怎么样定位这个问题?

  • 请问使用的是哪个版本的processor SDK? 具体的步骤是什么?Log信息是什么?

  • 用的ti-processor-sdk-linux-sk-tda4vm-etcher-image.zip这个版本,使用兼容的usb摄像头已经可以跑示例程序,想用树莓派的imx219具体步骤:参考了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.

    然后插上摄像头重启单板查看ls /dev下找不到对应的设备,拔了摄像头没有任何log打印,再插上摄像头也没有任何log打印。

  • 请问按照GSG里的Please refer Camera sources (v4l2) to know how to list all the cameras connected and select which one to use for the demo.能检测到camera吗?

  • 目前我的单板上只连接imx219摄像头,运行init_script.sh脚本后没有任何log输出。

  • 好的,谢谢!!!

  • 抱歉回复晚了,请看下面e2e工程师的回复。

    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#



  • 我的单板的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#

  • 已把您的问题在e2e帖子上更新,请关注帖子的回复。

  • 请看下面e2e工程师的回复。

    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: