I want to know some additional information about the Multides Surround View Kit.
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.
Hi aniket,
Yes the multides kit can be used to connect up to 6 cameras to the video in ports.
For this, you'll need the TDA2xx CPU board + Vision Application card + Multides surround view kit
TI software supports this hardware platform and has sample applications which work out of the box on this platform.
Regards,
Nikhil D
Hi aniket,
The default kernel already has support for the TVP5158
We have mentioned in the software developer guide about the detailed steps to run the capture usecase from different cameras.
Please follow them.
The tvp5158 kernel driver is already part of the default kernel (comes as part of the installer)
Thank you Nikhil,
Yes, I got it confirmed about the Kernel support.
I have some further querries and here it goes:
-> I am using TI JACINTO 6 with JAMR3 application board. here am using GLSDK .3051.Boot-msg.zip
JAMR3 board is getting detected. The procedure is followed as below:
Capturing through TVP decoder
Linux kernel supports TVP5158 NTSC/PAL decoder.
TVP5158 decoder is a TI chip which can decode upto 4 channels of NTSC/PAL analog video and multiplex it.
Video capture from 1 channel TVP5158 can be verified as follows.
Connect analog camera to the Vin1 port of the JAMR3 board
Change the SW2 switch setting on JAMR board as SW2[1-2] = [OFF, ON] - This is to select i2c4 for the IO expander
Reboot the board and enable i2c2 as given above
I2C device on Bus 2 slave address 0x58 should be probed successfully
VIP should register a V4L2 video device (e.g. /dev/video1) using this i2c device
Run dmabuftest with capture format of the analog camera (e.g. '720x240@YUYV')
“Reboot the board and enable i2c2 as given above “ was given in glsdk manual. But i couldn't find any i2c2 settings in the manual.
By following this we can see “/dev/video0 /dev/video1 /dev/video2 “, without even connecting camera to input video port of JAMR3 board. If we connect camera, its not getting detected.
Below are the messages.
[ 6.406210] tvp5158 1-0058: Unable to of_probe
[ 6.411333] i2c 1-0058: Driver tvp5158 requests probe deferral
[ 6.418440] tvp5158 1-0058: Unable to of_probe
[ 6.422921] i2c 1-0058: Driver tvp5158 requests probe deferral
Detailed boot message log is attached. Request help on this............
root@dra7xx-evm:~# dmabuftest -s 4:800x480 -d /dev/video0 -c 1280x720@YUYV
Opening Display..
using 1 connectors, 1280x800 display, multiplanar: 1
Opening V4L2..
Exported buffer fd = 6
Exported buffer fd = 8
Exported buffer fd = 10
Exported buffer fd = 12
Exported buffer fd = 14
Exported buffer fd = 16
ERROR:v4l2_qbuf:453: VIDIOC_QBUF failed: Bad address (-1)
ERROR:v4l2_qbuf:453: VIDIOC_QBUF failed: Bad address (-1)
ERROR:v4l2_qbuf:453: VIDIOC_QBUF failed: Bad address (-1)
ERROR:v4l2_qbuf:453: VIDIOC_QBUF failed: Bad address (-1)
ERROR:v4l2_qbuf:453: VIDIOC_QBUF failed: Bad address (-1)
ERROR:v4l2_qbuf:453: VIDIOC_QBUF failed: Bad address (-1)
PFA the zip file for support.
Regards,
Aniket.
Hi Nikhil,
Are there any solution regarding the above query?
If any please let me know.
Thank You
Regards,
Aniket. B
Hello,
This is beacuse the i2c4 is not getting probed
TVP device has a dependency on i2c4
i2c4 has dependency on the switch on the JAMR board
Please make sure that your JAMR board has the i2c working
Run following
i2cdetect -r -y 3 and you shall see some i2c slaves on the i2c4 bus (in kernel it is /dev/i2c-3)
Nikhil D
thanks for your reply Nikhil.
i followed the steps given below:
Video capture from 1 channel TVP5158 can be verified as follows.
Connect analog camera to the Vin1 port of the JAMR3 board
Change the SW2 switch setting on JAMR board as SW2[1-2] = [OFF, ON] - This is to select i2c4 for the IO expander
Reboot the board and enable i2c2 as given above
I2C device on Bus 2 slave address 0x58 should be probed successfully
VIP should register a V4L2 video device (e.g. /dev/video1) using this i2c device
Run dmabuftest with capture format of the analog camera (e.g. '720x240@YUYV')
“Reboot the board and enable i2c2 as given above “ was given in glsdk manual. But i couldn't find any i2c2 settings in the manual.
By following this we can see “/dev/video0 /dev/video1 /dev/video2 “, without even connecting camera to input video port of JAMR3 board. If we connect camera, its not getting detected.
please find the manual in given link- http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_Software_Developers_Guide#Video_Input_Port
when i tried to run the following command -
#i2cdetect -r -y 3
Am getting message like -
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
please help me regarding this.
regards,
Aniket