Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to setup tvp5151 video decoder

29 bytes added, 13:51, 12 May 2011
no edit summary
By default the iommu2, tvp5151 and omap3-isp drivers be build inside the kernel but you can configure it for build as module using this [http://downloads.igep.es/files/tvp5151/config alternative configuration file].<br>
If you wish use this alternative configuration file copy it in the kernel sources root directory and rename the file as:<br>
<pre>mv config .config
</pre>Build the kernel with this configuration file:<br>
<pre>source /usr/local/poky/eabi-glibc/environment-setup-arm-none-linux-gnueabi
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage modules
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules_install INSTALL_MOD_PATH=[path to your target rootfs
</pre>After build the kernel and the modules you must install it on the IGEP board.
= TVP5151 Setup<br> =
You need the program [[http//downloads.igep.es/files/tvp5151/media-ctl|media-ctl]] this program it's useful for configure the ISP.<br>
If you use the iommu2, tvp5151 and isp as modules before start you must insert it inside the kernel as:<br>
<pre>modprobe iommu2
modprobe omap3-isp
</pre>The insert order must be first the iommu2 and after that the omap3-isp.<br>
== Seteps for configure the ISP and TVP5151<br> ==
Configure the right ISP routing.<br><pre>./media-ctl -r -l '"tvp5150 2-005c":0-&gt;"OMAP3 ISP CCDC":0[1], "OMAP3 ISP CCDC":1-&gt;"OMAP3 ISP CCDC output":0[1]'</pre>Configure the video capture setup.<br>
<pre>./media-ctl --set-format '"tvp5150 2-005c":0 [UYVY 720x628]'
</pre>
= Play with TVP5151<br> =
</pre>
or the gstreamer pipeline setup:<br>
<pre>gst-launch-0.10 -v v4l2src device=/dev/video2 queue-size=1 &nbsp;! video/x-raw-yuv,format=\(fourcc\)UYVY,width=720,height=628&nbsp;! omapdmaifbsink</pre> = Dependeces<br> =
*IGEPv2 board with a Expansion board.<br>*Camera with PAL output live video.<br>*ISEE IGEPv2 toolchain (IGEP VM suggested)<br>
*Gstreamer.<br>
<br>
[[Category:How_to_forge]][[Category:Gstreamer]][[Category:Hardware]][[Category:Linux]]<br>
<br>[[Category:How_to_forge]] [[Category:Gstreamer]] [[Category:Hardware]] [[Category:Linux]]