Difference between revisions of "IGEP GST FRAMEWORK 3.10.10"
From IGEP - ISEE Wiki
Manel Caro (talk | contribs) |
Manel Caro (talk | contribs) |
||
Line 3: | Line 3: | ||
IGEP gst framework it's based on TI DVSDK. It's modified version for provide all DSP essential packages and the [[GStreamer|gstreamer]] DSP plugin for use it in IGEP platforms. <br> | IGEP gst framework it's based on TI DVSDK. It's modified version for provide all DSP essential packages and the [[GStreamer|gstreamer]] DSP plugin for use it in IGEP platforms. <br> | ||
− | = Changes From 3. | + | = Changes From 3.00.00 = |
*Support linux kernel 2.6.35.13-2<br> | *Support linux kernel 2.6.35.13-2<br> | ||
*ISEE kernel 2.6.35.13-2 | *ISEE kernel 2.6.35.13-2 | ||
*Update codec server to codecs-omap3530_4_02_00_00.<br> | *Update codec server to codecs-omap3530_4_02_00_00.<br> | ||
− | *Added MP3 codec (decode).<br> | + | *Added MP3 codec (decode only).<br> |
+ | *Added IGEP X-Loader.<br> | ||
+ | *Prebuild binaries for DM3730 and OMAP3530 included.<br> | ||
== Dependences<br> == | == Dependences<br> == | ||
Line 16: | Line 18: | ||
*Ubuntu 10.10 | *Ubuntu 10.10 | ||
*Automake 1.7 and Libtool ( '''sudo apt-get install autoconf automake libtool ''') | *Automake 1.7 and Libtool ( '''sudo apt-get install autoconf automake libtool ''') | ||
+ | *Gstreamer.<br> | ||
*SDK: <span style="color: rgb(255, 0, 0);">alsa-dev_1.0.20-r1_armv7a.ipk </span><span style="color: rgb(0, 0, 0);">(Now included inside the directory: tools/package).</span><span style="color: rgb(0, 0, 0);" /><br> | *SDK: <span style="color: rgb(255, 0, 0);">alsa-dev_1.0.20-r1_armv7a.ipk </span><span style="color: rgb(0, 0, 0);">(Now included inside the directory: tools/package).</span><span style="color: rgb(0, 0, 0);" /><br> | ||
Line 25: | Line 28: | ||
--> igep-dsp-gst-framework-3_10_00.tar.bz2</span><br> | --> 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''''') | + | 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> = | = How to Build<br> = | ||
Line 33: | Line 36: | ||
Rules.make<br> | Rules.make<br> | ||
− | <span style="color: rgb(0, 0, 255);">'''''Your igep-gst directory path:''' </span> | + | <span style="color: rgb(0, 0, 255);">'''''Your igep-gst directory path:''' ''</span> |
'''<span style="color: rgb(255, 0, 0);">WORKSPACE=/home/<YOUR_USER_PATH>/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_00</span>''' | '''<span style="color: rgb(255, 0, 0);">WORKSPACE=/home/<YOUR_USER_PATH>/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> | + | <span style="color: rgb(0, 0, 128);">'''Your toolchain directory path:'''</span><span style="color: rgb(51, 102, 255);" |
'''<span style="color: rgb(255, 0, 0);">CSTOOL_DIR=/usr/local/poky/eabi-glibc</span>''' | '''<span style="color: rgb(255, 0, 0);">CSTOOL_DIR=/usr/local/poky/eabi-glibc</span>''' | ||
Line 45: | Line 48: | ||
Now the kernel it's included with this package you don't need to change anything related to the kernel. | 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> | + | Select your right processor:<br> |
− | <span style="color: rgb(0, 0, 255);">'''''PLATFORM=o3530 (OMAP3530) | + | <span style="color: rgb(0, 0, 255);">'''''PLATFORM=o3530 (OMAP3530)''''' |
− | '''''</span> | + | '''</span> |
− | <span style="color: rgb(0, 0, 255);">'''''PLATFORM=dm3730 (DM3730) | + | <span style="color: rgb(0, 0, 255);">'''''PLATFORM=dm3730 (DM3730)''''' |
− | ''''' </span> | + | ''''' '''''</span> |
== Build & Clean<br> == | == Build & Clean<br> == | ||
Line 62: | Line 65: | ||
make clean</pre> | make clean</pre> | ||
== Build & Clean Manually<br> == | == Build & Clean Manually<br> == | ||
+ | |||
+ | Build the framework:<br> | ||
<pre>cd /home/<YOUR_USER_PATH>/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_00 | <pre>cd /home/<YOUR_USER_PATH>/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_00 | ||
+ | make linux | ||
make dsplink | make dsplink | ||
make lpm | make lpm | ||
Line 70: | Line 76: | ||
make c6accel | make c6accel | ||
make c6run | make c6run | ||
− | + | make dmai | |
− | + | make gst_ti | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | make | ||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
− | + | Clean the framework:<br> | |
− | + | <pre>cd /home/<YOUR_USER_PATH>/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_00 | |
− | + | make linux_clean | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
make dsplink_clean | make dsplink_clean | ||
− | + | make lpm_clean | |
− | make | + | make cmem_clean |
− | + | make sdma_clean | |
− | + | make codecs_clean | |
− | + | make c6accel_clean | |
+ | make c6run_clean | ||
+ | make dmai_clean | ||
+ | make gst_ti_clean | ||
</pre> | </pre> | ||
= Install = | = Install = | ||
− | + | After build the framwork you must install all build packages inside the target directory using below command.<br> | |
+ | <pre>make install | ||
+ | </pre> | ||
+ | Inside the target directory you've two new directories:<br> | ||
− | + | dm3730-binaries (modules, kernel ... for DM3730)<br> | |
− | + | omap3530-binaries (modules, kernel ... for OMAP3530) | |
− | + | Copy your target directory to your board as:<br> | |
+ | <pre>cd target | ||
+ | scp -r dm3730-binaries <remote_user>@<IGEP IP>:/home/<your_desired_directory> | ||
+ | scp -r scripts <remote_user>@<IGEP IP>:/home/<your_desired_directory> | ||
− | <br> | + | 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> | |
− | + | cd /usr/lib/gstreamer-0.10 | |
− | |||
− | |||
− | |||
− | |||
− | + | ln -s /home/<your_desired_directory>/cs.x64P | |
− | + | ln -s /home/<your_desired_directory>/libgstticodecplugin.so | |
− | |||
− | |||
+ | or copy the files directly as inside target directory location.<br> | ||
+ | <br> | ||
= Useful Links = | = Useful Links = | ||
Revision as of 14:12, 19 August 2011
Contents
What is?
IGEP gst framework it's based on TI DVSDK. It's modified version for provide all DSP essential packages and the gstreamer DSP plugin for use it in IGEP platforms.
Changes From 3.00.00
- Support linux kernel 2.6.35.13-2
- ISEE kernel 2.6.35.13-2
- Update codec server to codecs-omap3530_4_02_00_00.
- Added MP3 codec (decode only).
- Added IGEP X-Loader.
- Prebuild binaries for DM3730 and OMAP3530 included.
Dependences
- ISEE Toolchain poky-eabi-glibc-i586-arm-toolchain-sdk-3.2.1.tar.bz2
- linux kernel 2.6.35.13-2 included with this package.
- Ubuntu 10.10
- Automake 1.7 and Libtool ( sudo apt-get install autoconf automake libtool )
- Gstreamer.
- SDK: alsa-dev_1.0.20-r1_armv7a.ipk (Now included inside the directory: tools/package).<span style="color: rgb(0, 0, 0);" />
Download
The package be available in the IGEPv2 download area.
01-ISEE_Products --> IGEPv2 --> SW_Tools_SDK --> igep_gst
--> igep-dsp-gst-framework-3_10_00.tar.bz2
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
You should edit the file Rules.make and update package path and toolchain path.
Rules.make
Your igep-gst directory path:
WORKSPACE=/home/<YOUR_USER_PATH>/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_00
Your toolchain directory path:<span style="color: rgb(51, 102, 255);"
CSTOOL_DIR=/usr/local/poky/eabi-glibc
CSTOOL_PREFIX=$(CSTOOL_DIR)/bin/arm-none-linux-gnueabi-
Now the kernel it's included with this package you don't need to change anything related to the kernel.
Select your right processor:
PLATFORM=o3530 (OMAP3530)
PLATFORM=dm3730 (DM3730)
Build & Clean
Build the framework:
cd /home/<YOUR_USER_PATH>/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_00 make
Clean the framework
cd /home/<YOUR_USER_PATH>/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_00 make clean
Build & Clean Manually
Build the framework:
cd /home/<YOUR_USER_PATH>/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_00 make linux make dsplink make lpm make cmem make sdma make codecs make c6accel make c6run make dmai make gst_ti
Clean the framework:
cd /home/<YOUR_USER_PATH>/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_00 make linux_clean make dsplink_clean make lpm_clean make cmem_clean make sdma_clean make codecs_clean make c6accel_clean make c6run_clean make dmai_clean make gst_ti_clean
Install
After build the framwork you must install all build packages inside the target directory using below command.
make install
Inside the target directory you've two new directories:
dm3730-binaries (modules, kernel ... for DM3730)
omap3530-binaries (modules, kernel ... for OMAP3530)
Copy your target directory to your board as:
cd target scp -r dm3730-binaries <remote_user>@<IGEP IP>:/home/<your_desired_directory> scp -r scripts <remote_user>@<IGEP IP>:/home/<your_desired_directory> Also included you've the IGEP Xloader and the configuration file.
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:
cd /usr/lib/gstreamer-0.10
ln -s /home/<your_desired_directory>/cs.x64P
ln -s /home/<your_desired_directory>/libgstticodecplugin.so
or copy the files directly as inside target directory location.