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.

  • Resolved

Linux/DRA746: Can't use four cam in PSDKLA 3.02(DRA7XX EVM BOARD), only the cam1 (VIP1 Slice0 PortA, video1 )can work.

Part Number: DRA746

Tool/software: Linux

 Hello,

I want do some test case with four cameras in PSDKLA 3.02(DRA7XX EVM BOARD + VISION APP BOARD),  and when i connected four cameras to board, there was four devices registered "/dev/video1/2/3/4", but  when i run dmabuftest to test the vip, there  only /dev/video1(VIP1 slice0 port A) can work, the other three vip port does't  get interrupt worked.

The mapping between all LVDS cameras and J6's VIP Port as below:

       cam1 0x38 0x74 0x60 Vin1a(VIP1 slice0 port A)
        cam2 0x39 0x75 0x64 Vin2a(VIP1 slice1 port A)
        cam3 0x3A 0x76 0x68 Vin3a(VIP2 slice0 port A)
        cam4 0x3B 0x77 0x6C Vin5a(VIP3 slice0 port A)

And the tisdk-rootfs-image-dra7xx-evm.tar.xz and boot-dra7xx-evm.tar.gz  which i use, was download from this pase:

     downloads.ti.com/.../index_FDS.html

What  should i do to get four cameras works on PSDK3.02?

PS:When i  connected four cameras to the board, it was easy to get one camera's sensor burnt.

But when i only connected three cameras to the board, there will all  get interrupted in each connected  vip port.

  • Hi,

    I have forwarded your question to a video expert for help.

    Regards,
    Yordan
  • Hi
    You are not using the bootloader for vision board
    Rebuild uboot with dra7xx_evm_vision_config
    That should work

    Nikhil D
  • In reply to Nikhil Devshatwar:

    Hi Nikhil,
    Thanks for your kindly reply.
    I will check it a little later.

    BTW:
    Do you know how to test the DSS Write back pipeline on PSDK or VSDK? Is there any test programs ? I want use DSS WB to record what was displayed on LCD.

    Best Regards,
    Sid
  • In reply to user4643736:

    That's a different thread.

    I'd recomment to go through software devloper guide.
    There is a standard V4L2 device representing writeback pipeline.

    You should be ablw to use it with standard V4L2 application.
    We have tested this with v4l2src Gstreamer plugin

    Regards,
    Nikhil D
  • In reply to Nikhil Devshatwar:

    Hi Nikhil,
    Do you know how to make Virtmem exp work with libdrm?
    In vision SDK 2.12, I moved display contrl to A15( libdrm) , and want directly display the video buffer from M4 captured, no GPU involved .
    I only find "sgx" link use "dmaFd" to get video buf , like the below link talked:
    e2e.ti.com/.../2188917.

    Best Regards,
    Sid
  • In reply to user4643736:

    This post seems comepletety unrelated for this thread. Please open new query for different topic Nikhil D

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.