Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

IGEP GST FRAMEWORK 3.10.10

130 bytes removed, 14:12, 19 August 2011
no edit summary
IGEP gst framework it's based on TI DVSDK. It's modified version for provide all DSP&nbsp;essential packages and the [[GStreamer|gstreamer]] DSP plugin for use it in IGEP platforms. <br>
= Changes From 3.1000.00 =
*Support linux kernel 2.6.35.13-2<br>
*ISEE kernel 2.6.35.13-2
*Update codec server to codecs-omap3530_4_02_00_00.<br>
*Added MP3 codec (decodeonly).<br> *Added IGEP X-Loader.<br>*Prebuild binaries for DM3730 and OMAP3530 included.<br>
== Dependences<br> ==
*Ubuntu 10.10
*Automake 1.7 and Libtool ( '''sudo apt-get install autoconf automake libtool ''')
*Gstreamer.<br>
*SDK:&nbsp;<span style="color: rgb(255, 0, 0);">alsa-dev_1.0.20-r1_armv7a.ipk&nbsp;</span><span style="color: rgb(0, 0, 0);">(Now included inside the directory: tools/package).</span>&lt;span style="color: rgb(0, 0, 0);" /&gt;<br>
--&gt; igep-dsp-gst-framework-3_10_00.tar.bz2</span><br>
Download the package and uncompress this package as normal user in your desired directory ('''''don't use sudo command for decompress this file''''')
= How to Build<br> =
Rules.make<br>
<span style="color: rgb(0, 0, 255);">'''''Your igep-gst directory path:''''' </span>
'''<span style="color: rgb(255, 0, 0);">WORKSPACE=/home/&lt;YOUR_USER_PATH&gt;/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_00</span>'''
<span style="color: rgb(0, 0, 128);">'''Your toolchain directory path:'''</span><&lt;span style="color: rgb(51, 102, 255);"
'''<span style="color: rgb(255, 0, 0);">CSTOOL_DIR=/usr/local/poky/eabi-glibc</span>'''
Now the kernel it's included with this package you don't need to change anything related to the kernel.
Select your right processor:<br>
<span style="color: rgb(0, 0, 255);">'''''PLATFORM=o3530 (OMAP3530)''''''''</span>
<span style="color: rgb(0, 0, 255);">'''''PLATFORM=dm3730 (DM3730)'''''''''' ''''' </span>
== Build &amp; Clean<br> ==
make clean</pre>
== Build &amp; Clean Manually<br> ==
 
Build the framework:<br>
<pre>cd /home/&lt;YOUR_USER_PATH&gt;/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_00
make linux
make dsplink
make lpm
make c6accel
make c6run
make  </pre>You have two options: build all or every package individually.  a) All packages  make  b) One package  make &lt;package_name&gt; <pre>make dmai make gst make dsplink  ...gst_ti
</pre>
For clean Clean the build you should executeframework: <br> make clean  or  make <pre>cd /home/&lt;package_nameYOUR_USER_PATH&gt;_clean /Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_00 such: <pre>make dmai_cleanlinux_clean
make dsplink_clean
make lpm_cleanmake gst_cleancmem_clean</pre> make sdma_cleanBuild Manually make codecs_cleanmake c6accel_cleanmake c6run_cleanmake dmai_clean<pre>$ make linux_kernel dsplink cmem lpm sdma codecs dmai gst_ti opengldemosgst_ti_clean
</pre>
= Install =
Copy After build the framwork you must install all build packages inside the "target" directory inside your IGEP board ( rcp * jdoe@192using below command.168.2.1<br><pre>make install</pre>Inside the target directory you've two new directories: ) <br>
Inside IGEPv2 board you should copy the gst plugin inside the plugins directorydm3730-binaries (modules, normally inside /usr/lib/gstreamer-0kernel ...10 for DM3730)<br>
We included some files for configureomap3530-binaries (modules, load and unload the kernel modules as loadmodules.sh and unloadmodules.sh . for OMAP3530)
You should call the loadmodules.sh script before you can execute gstreamer. Copy your target directory to your board as:<br><pre>cd targetscp -r dm3730-binaries &lt;remote_user&gt;@&lt;IGEP IP&gt;:/home/&lt;your_desired_directory&gt;scp -r scripts &lt;remote_user&gt;@&lt;IGEP IP&gt;:/home/&lt;your_desired_directory&gt;
Also included you've the IGEP Xloader and the configuration file.</pre>Enter inside your IGEP board and go to gstreamer directory normally inside /usr/lib/gstreamer-0.10 and create two symbolic links from this directory to your files:<br>  == Uboot Setup ==
You should configure the max kernel memory to 430MBytes for do it you should pass the variable mem=430M to the kernel. <pre>This is a suggested configuration:bootargscd /usr/lib/gstreamer-base=mem=430M console=ttyS2,115200n8 console=tty0 omapfb0.mode=dvi:1280x720MR-16@60 vram=32M omapfb.vram=0:8M,1:16M,2:8M</pre> <br> 10
= Issues detected in this version =ln -s /home/&lt;your_desired_directory&gt;/cs.x64P
*make clean (dsplink) not work properly and it'ln -s necessary to do a make dsplink_clean for ensure all it's compiled correctly and remove the kernel modules from the dsplink directory. *gstreamer plugin directory "gstreamer-ti_svnr884/srchome/&lt;your_desired_directory&gt;/gstticodecplugin_dm3730" must be removed the first installation time (manually). *Typo in Makefile. "linaro_linux" must be changed to "linux_linaro". Otherwise "make linux_kernel" failslibgstticodecplugin.<br>so
or copy the files directly as inside target directory location.<br>
<br>
= Useful Links =