hi, am using TI JACINTO 6 with JAMR3 application board. here am using GLSDK .
JAMR3 board is getting detected. The procedure is followed as below:
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)