0
edits
Changes
From IGEP - ISEE Wiki
Remove kernel 2.6.35 (deprecated)
<br>
= Dependecies<br> =
*IGEP Board with TVP5151 peripheral (IGEPv2 board with a Expansion boardBoard or IGEP Berlin).<br> *Camera with PAL output live video.<br> *ISEE IGEPv2 toolchain IGEP SDK (IGEP VM suggested)<br> *Gstreamer.
= Kernel 2.6.3537.y === Get the ISP kernel binaries == You can download the compiled images from here: [http://downloads.isee.biz/pub/files/tvp5151/2.6.35/uImage Kernel 2.6.35 (uImage)] [http://downloads.isee.biz/pub/files/tvp5151/2.6.35/zImage Kernel 2.6.35 (zImage)] [http://downloads.isee.biz/pub/files/tvp5151/2.6.35/linux-2.6.35-10-modules.tgz Kernel 2.6.35 (Modules]) == TVP5151 Setup IGEP Firmware Yocto == You need the program [http://downloads.isee.biz/pub/files/tvp5151/2.6.35/media-ctl media-ctl] this program it's useful for configure the ISP. You can download the sources from [http://downloads.isee.biz/pub/files/tvp5151/2.6.37/media-ctl.tar.gz here] or access to media-ctl git from [http://git.ideasonboard.org/media-ctl.git/commit/b16cbe7bce0fd8d9d940473a2272b6b0148795c3 here].<br> There are two modules that you will use that are not inserted into the kernel: iommu2 (tvp5151) and isp. You have to load these kernel modules before start:<br> <pre>modprobe iommu2modprobe omap3-isp</pre> (Note: The first load order must be the iommu2 and then the omap3-isp)<br> === Steps to configure the ISP and TVP5151 === Configure the right ISP routing.<br> <pre>./media-ctl -r -l '"tvp5150 2-005c":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP CCDC":1->"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 == You can use for get the captured images [http://downloads.isee.biz/pub/files/tvp5151/2.6.35/yavta yavta] or gstreamer as live stream. You can download the sources from [http://downloads.isee.biz/pub/files/tvp5151/2.6.37/yavta.tar.gz here] or access to yavta git from [http://git.ideasonboard.org/yavta.git/commit/82ff2efdb9787737b9f21b6f4759f077c827b238 here]. This is the suggested yavta capture setup:<br> <pre>./yavta -f UYVY -s 720x628 -n 4 --capture=4 -F /dev/video2</pre> or the gstreamer pipeline setup:<br> <pre>gst-launch-0.10 -v v4l2src device=/dev/video2 queue-size=1 ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=720,height=628 ! omapdmaifbsink</pre> or using gstreamer for the TCP live streaming:
== Configure TVP5151 ==<section begin=configure />Use the following steps to capture configure analog video:
*Connect a video composite input to J501 connector from IGEPv2 Expansion (near CAN Bus) or J402 connector from IGEP BERLIN (near HDMI output)
*Connect a screen, for example HDMI monitor.
*Refresh repositories and accept it.
<pre>zypper ref </pre>
*Install video4linux2 plugin
<pre>zypper in gst-plugins-good-video4linux2
</pre><section end=configure /> == Play with TVP5151 ==<section begin=playigepv2 /><section begin=playberlin />
*Load OMAP ISP kernel module<br>
<pre>modprobe omap3-isp
</pre>
<section end=playberlin />*Configure ISP, for PAL resulution use 720x576 for NTSC resolution use 720x480for '''IGEPv2 Expansion''':<br>
<pre>media-ctl -r -l '"tvp5150 2-005c":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]'
media-ctl -v --set-format '"tvp5150 2-005c":0 [UYVY 720x480]'
media-ctl -v --set-format '"OMAP3 ISP CCDC":0 [UYVY 720x480]'
media-ctl -v --set-format '"OMAP3 ISP CCDC":1 [UYVY 720x480]' </pre>
<section end=playigepv2 />
<section begin=playberlin />
*Configure ISP, for PAL resulution use 720x576 for NTSC resolution use 720x480 for '''IGEP BERLIN''':<br>
<pre>media-ctl -r -l '"tvp5150 3-005d":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]'
media-ctl -v --set-format '"tvp5150 3-005d":0 [UYVY 720x480]'
media-ctl -v --set-format '"OMAP3 ISP CCDC":0 [UYVY 720x480]'
media-ctl -v --set-format '"OMAP3 ISP CCDC":1 [UYVY 720x480]' </pre>
<section begin=playigepv2 />
*Export display
<pre>export DISPLAY=:0.0 </pre>
| [[Image:Igepv2expgstreamercapture.jpg|400px]]
|}
<section end=playigepv2 /><section end=playberlin />
[[Category:Gstreamer]]
[[Category:Software applications]]