Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

IGEP GST FRAMEWORK 3.40.00

4,039 bytes removed, 12:37, 30 June 2015
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-omap3530_4_02_00_00X-Loader 2.5.0-1<br> *Added MP3 codec (decode only)Included &amp; upgraded toolchain [https://www.<br>*Added MPEG4 and H264 720P Video Encoderisee.<br>*Added biz/support/downloads/item/igep-sdk-yocto-toolchain-1-2-2-3?category_id=81 IGEP XSDK Yocto Toolchain 1.2.2-Loader.3]<br> *Prebuild binaries for DM3730 and OMAP3530 includedDSP &amp; ARM&nbsp;Memory map changed.<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 the file Rules.make and update package path and toolchain path.<br>  Rules.make<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 Ensure that you don't need to change anything related to ve 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 toolchain installed (DM3730)'''''''''' '''''</span>  == Build &amp; Clean<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_10make</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 framework:<br> <pre>cd /home/&lt;YOUR_USER_PATH&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/&lt;YOUR_USER_PATH&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 can install all build packages inside it using the script included in the target root package directory using below commandinstall_toolchain.<br> <pre>make install</pre> Inside the target directory you've two new directories:sh)<br>
dm3730-binaries (modules, kernel Execute the script: build_configure... for DM3730)sh<br>
omap3530-binaries (modules, kernel ... It will ask you for OMAP3530)  Copy target directory to your board asthe right processor platform:<br> <pre>cd targetThis program will configure and build this softwarescp -r dm3730-binaries &lt;remote_user&gt;@&lt;IGEP IP&gt;Select your processor:/home/&lt;your_desired_directory&gt;scp -r scripts &lt;remote_userA&gt;@DM3730, &lt;IGEP IPB&gt;OMAP3530 Please choose one. (default:/home/&lt;your_desired_directory&gt; Also included you've the IGEP Xloader and the configuration file.DM3730)
</pre>
Enter After that you'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-0All build binaries will reside inside the target directory under your selected platform, copy all the content inside your board.10
ln IGEP-s /home/&lt;your_desired_directory&gt;/csX-Loader and Linux kernel have self own howto about build and install it ...x64P
ln -s Inside target/home/&lt;your_desired_directory&gt;/libgstticodecpluginscript directory you can found some useful scripts.so
or copy the files directly as inside target directory location. = Memory Map =
== Target Structure ==<pre>drwxr-xr-x 5 mcaro mcaro 4096 2011-08-18 11:55 dm3730-binarieslrwxrwxrwx 1 mcaro mcaro 37 2011-08-19 11:49 igep.ini -&gt; ../psp/igep-x-loader/scripts/igep.inilrwxrwxrwx 1 mcaro mcaro 14 2011-08-19 11:48 MLO -&gt; x-load.bin.iftdrwxr-xr-x 5 mcaro mcaro 4096 2011-08-18 10:42 omap3530-binariesdrwxr-xr-x 2 mcaro mcaro 4096 2011-08-18 10:54 scriptslrwxrwxrwx 1 mcaro mcaro 35 2011-08-19 11This package uses the same memory structure that dvsdk from TI, it must be configured as (in kernel command line):49 x-load.bin.ift -&gt; ../psp/igep-x-loader/x-load.bin.ift</pre> <ubr>Directory dm3730-binaries</u>: Inside this directory resides all the build binaries for DM3730 processor.
mem=50M@0x80000000<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</prebr> Some useful scripts.  <u>Directory dm3730-binaries and </u><u>Directory omap3530-binaries has the same structure.mem=383M@0x88000000<br></u> <pre>&lt;u&gt;&lt;/u&gt;drwxr-xr-x 3 mcaro mcaro 4096 2011-08-18 11:54 bootdrwxr-xr-x 3 mcaro mcaro 4096 2011-08-18 11:55 libdrwxr-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 instructions included inside tools/packages directory | Edit Makefile line 43 and remove opengldemos_installsee install.txt file
|-
| 3.1040.00 | Incorrect DSP Memory map | Upgrade the package to 3build_configure.10.10 | Download the package 3.10.10|-| 3sh has a syntax error and it not handle correctly any directoy name change.10.10<br> | Incorrect GFX install script | Copy Go to line 19 and replace the target and es.3x or es.5x directly | Edit Makefile line 43 and remove opengldemos_installusing this alternative: |-| 3.10.10| Gstreamer library initializes incorrectly the video encoder H264 and MPG4script="s&#124;"$old_workspace"&#124;"$WORKSPACE"&#124;g" | Upgrade to a newer gst library plugin| N/A
|}
! 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 =
*[[GStreamer|Gstreamer overview]]*[[:Category:Gstreamer|Gstreamer]]
*[[Example GStreamer Pipelines]]<br>
 
{{Message/Forum}}
[[Category:Gstreamer]]
0
edits