Difference between revisions of "IGEP GST FRAMEWORK 3.10.10"
From IGEP - ISEE Wiki
Manel Caro (talk | contribs) (Created page with '= 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 …') |
Manel Caro (talk | contribs) |
||
Line 7: | Line 7: | ||
*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).<br> | ||
Line 16: | Line 16: | ||
*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 ''') | ||
− | *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> | + | *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> |
= Download<br> = | = Download<br> = | ||
Line 24: | Line 24: | ||
<span style="color: rgb(51, 102, 255);">01-ISEE_Products --> IGEPv2 --> SW_Tools_SDK --> igep_gst | <span style="color: rgb(51, 102, 255);">01-ISEE_Products --> IGEPv2 --> SW_Tools_SDK --> igep_gst | ||
--> 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''''') | ||
= How to Build<br> = | = How to Build<br> = | ||
Line 31: | Line 33: | ||
Rules.make<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/<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(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 43: | Line 45: | ||
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> |
+ | |||
+ | <span style="color: rgb(0, 0, 255);">'''''PLATFORM=o3530 (OMAP3530) | ||
+ | '''''</span> | ||
+ | |||
+ | <span style="color: rgb(0, 0, 255);">'''''PLATFORM=dm3730 (DM3730) | ||
+ | ''''' </span> | ||
− | + | == Build & Clean<br> == | |
− | |||
− | < | ||
− | |||
− | |||
− | <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 | ||
+ | make</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 clean</pre> | ||
+ | == Build & Clean Manually<br> == | ||
+ | <pre>cd /home/<YOUR_USER_PATH>/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_00 | ||
+ | make dsplink | ||
+ | make lpm | ||
+ | make cmem | ||
+ | make sdma | ||
+ | make codecs | ||
+ | make c6accel | ||
+ | make c6run | ||
+ | make | ||
+ | </pre> | ||
You have two options: build all or every package individually. | You have two options: build all or every package individually. | ||
Revision as of 13:44, 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.10.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).
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 )
- 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
cd /home/<YOUR_USER_PATH>/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_00 make dsplink make lpm make cmem make sdma make codecs make c6accel make c6run make
You have two options: build all or every package individually.
a) All packages
make
b) One package
make <package_name>
make dmai make gst make dsplink ...
For clean the build you should execute:
make clean
or
make <package_name>_clean
such:
make dmai_clean make dsplink_clean make gst_clean
Build Manually
$ make linux_kernel dsplink cmem lpm sdma codecs dmai gst_ti opengldemos
Install
Copy the "target" directory inside your IGEP board ( rcp * jdoe@192.168.2.1: )
Inside IGEPv2 board you should copy the gst plugin inside the plugins directory, normally inside /usr/lib/gstreamer-0.10
We included some files for configure, load and unload the kernel modules as loadmodules.sh and unloadmodules.sh
You should call the loadmodules.sh script before you can execute gstreamer.
Uboot Setup
You should configure the max kernel memory to 430MBytes for do it you should pass the variable mem=430M to the kernel.
This is a suggested configuration: bootargs-base=mem=430M console=ttyS2,115200n8 console=tty0 omapfb.mode=dvi:1280x720MR-16@60 vram=32M omapfb.vram=0:8M,1:16M,2:8M
Issues detected in this version
- make clean (dsplink) not work properly and it'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/src/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" fails.