Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

IGEP GST FRAMEWORK 3.40.00

4,692 bytes removed, 17:03, 6 February 2013
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.0010.00 10 =
*Support linux kernel 2.6.3537.13-3y<br> *Update codec server to codecsUpgraded IGEP-X-omap3530_4_02_00_00Loader 2.5.0-1<br> *Added MP3 codec (decode only)Included &amp; upgraded toolchain [http://www.<br>*Added MPEG4 and H264 720P Video Encoderisee.<br>*Added biz/component/zoo/item/igep-yocto-toolchain-sdk IGEP X-LoaderSDK Yocto Toolchain 1.<br> *Prebuild binaries for DM3730 and OMAP3530 included2.1-2]<br>
== Dependences<br> ==
*ISEE IGEP SDK Yocto Toolchain poky-eabi-glibc-i586-arm-toolchain-sdk-31.2.1.tar.bz2-2<br> *linux kernel 2.6.35.13-2 included with this package37.y<br> *Host: Ubuntu 10.10 or compatible distribution *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><br>
= Download<br> =
The package is available at the Official ISEE site, at the IGEPv2 [http://isee.biz/component/zoo/item/igep-dsp-gst-framework download area].
http://isee.biz/component/zoo/item/igep-dsp-gst-framework 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> =
You should edit Ensure that you've the file Rules.make and update right toolchain installed (you can install it using the script included in the root package path and toolchain pathdirectory install_toolchain.sh)<br>
RulesExecute the script: build_configure.makesh<br>
<span style="color: rgb(0, 0, 128);">'''''Your igep-gst directory path:''' ''</span>  '''<span style="color: rgb(255, 0, 0);">WORKSPACE=&lt;YOUR_USER_PATH&gt;</span>'''  '''<span>DVSDK_INSTALL_DIR=$(WORKSPACE)/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_10</span>'''  <span style="color: rgb(0, 0, 128);">'''Your toolchain directory path:'''</span>  '''<span style="color: rgb(255, 0, 0);">CSTOOL_DIR=/usr/local/poky/eabi-glibc</span>'''  '''<span style="color: rgb(255, 0, 0);">CSTOOL_PREFIX=$(CSTOOL_DIR)/bin/arm-none-linux-gnueabi-</span><br>'''  Now the kernel it's included with this package It will ask you don't need to change anything related to for 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> == Build the frameworkplatform:<br> <pre>cd /home/&lt;YOUR_USER_PATH&gt;/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_10This program will configure and build this softwaremake</pre> Clean the framework<br> <pre>cd /home/&lt;YOUR_USER_PATH&gt;/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_10make clean</pre> == Build &amp; Clean Manually<br> == Build the frameworkSelect your processor:<br> <pre>cd /home/&lt;YOUR_USER_PATHA&gt;/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_10make linuxmake dsplinkmake lpmmake cmemmake sdmamake codecsmake c6accelmake c6runmake dmaimake gst_ti</pre> Clean the framework:<br> <pre>cd /home/DM3730, &lt;YOUR_USER_PATHB&gt;/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_10make linux_cleanmake dsplink_cleanmake lpm_cleanmake cmem_cleanmake sdma_cleanmake codecs_cleanmake c6accel_cleanmake c6run_cleanmake dmai_cleanmake gst_ti_clean</pre> = Install = After build the framework you must install all build packages inside the target directory using below commandOMAP3530 Please choose one.<br> <pre>make install</pre> Inside the target directory you've two new directories(default:<br>  dm3730-binaries (modules, kernel ... for DM3730)<br>  omap3530-binaries (modules, kernel ... for OMAP3530)  Copy 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 After that you've the IGEP Xloader and the configuration file.</pre> Enter re ready for copy it 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>  cd /usr/lib/gstreamer-0.10  ln -s /home/&lt;your_desired_directory&gt;/cs.x64P
ln -s /home/&lt;your_desired_directory&gt;/libgstticodecpluginAll build binaries will reside inside the target directory under your selected platform, copy all the content inside your board.so
or copy the files directly as inside target directory locationIGEP-X-Loader and Linux kernel have self own howto about build and install it ...
== Target Structure ==
<pre>drwxr-xr-x 5 mcaro mcaro 4096 2011-08-18 11:55 dm3730-binaries
lrwxrwxrwx 1 mcaro mcaro 37 2011-08-19 11:49 igep.ini -&gt; ../psp/igep-x-loader/scripts/igep.ini
lrwxrwxrwx 1 mcaro mcaro 14 2011-08-19 11:48 MLO -&gt; x-load.bin.ift
drwxr-xr-x 5 mcaro mcaro 4096 2011-08-18 10:42 omap3530-binaries
drwxr-xr-x 2 mcaro mcaro 4096 2011-08-18 10:54 scripts
lrwxrwxrwx 1 mcaro mcaro 35 2011-08-19 11:49 x-load.bin.ift -&gt; ../psp/igep-x-loader/x-load.bin.ift</pre>
<u>Directory dm3730-binaries</u>: Inside this directory resides all the build binaries for DM3730 processor.
<u>Directory omap3530-binaries</u>: Inside this directory resides all the build binaries for OMAP3530 processor.
 
MLO and igep.ini: [[The IGEP X-loader|IGEP X-Loader]]
 
<u>Scripts Directory</u>:
<pre>-rwxr-xr-x 1 mcaro mcaro 290 2010-12-17 12:33 exec_gst
-rwxr-xr-x 1 mcaro mcaro 198 2010-09-06 10:43 fb1-16M-settings.sh
-rwxr-xr-x 1 mcaro mcaro 1109 2010-12-17 12:33 load-modules.sh
-rwxr-xr-x 1 mcaro mcaro 89 2011-08-17 15:02 powervr.ini
-rwxr-xr-x 1 mcaro mcaro 218 2010-12-17 12:33 unloadmodules.sh</pre>
Some useful scripts.
 
<u>Directory dm3730-binaries and </u><u>Directory omap3530-binaries has the same structure.<br></u>
<pre>&lt;u&gt;&lt;/u&gt;drwxr-xr-x 3 mcaro mcaro 4096 2011-08-18 11:54 boot
drwxr-xr-x 3 mcaro mcaro 4096 2011-08-18 11:55 lib
drwxr-xr-x 4 mcaro mcaro 4096 2011-08-18 11:56 usr
</pre>
Boot: Here resides the kernel and the modules.
 
Lib: Here resides the Linux DSP Communication modules as lpm, sdma, cmemk, dsplink.
 
Usr: Here resides the Codec Server, the gst plugin and some other examples.
= BUGS Detected =
| Other
|-
| 3.1040.00 | Incorrect GFX install script Alsa dev headers not included| Copy follow the target and es.3x or es.5x directly | Edit Makefile line 43 and remove opengldemos_install|-| 3.10.00 | Incorrect DSP Memory map instructions included inside tools/packages directory| Upgrade the package to 3.10.10 | Download the package 3.10.10|-| 3.10.10<br> | Incorrect GFX install script | Copy the target and es.3x or es.5x directly | Edit Makefile line 43 and remove opengldemos_install|-| 3.10.10| Gstreamer library initializes incorrectly the video encoder H264 and MPG4| Upgrade to a newer gst library plugin| N/A
|}
<br>
= Play with it<br> =
! TIAuddec1&nbsp;! alsasink demux.video_00&nbsp;! queue max-size-buffers=2 max-size-time=0 max-size-bytes=0&nbsp;! TIViddec2 engineName=codecServer \
! queue&nbsp;! TIDmaiVideoSink displayStd=fbdev displayDevice=/dev/fb1 accelFrameCopy=TRUE contiguousInputFrame=1
</pre> 
= Useful Links =