Difference between revisions of "IGEP GST FRAMEWORK 2.00.20"

From IGEP - ISEE Wiki

Jump to: navigation, search
(IGEP GST FRAMEWORK 2.00.20)
 
m (Download)
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
= What is?  =
 
= What is?  =
  
IGEP gst framework it's based on TI DVSDK. It's modified for provide all DSP essential packages and the gstreamer DSP plugin for use it in IGEP platforms.  
+
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>  
 
 
<br>  
 
  
 
= Changes From 2.00.10  =
 
= Changes From 2.00.10  =
  
*Revolve Control + C incorrect DSPLink implementation<br>
+
*Resolve Control + C incorrect DSPLink implementation<br>  
*Upgrade GST plugin to SVN Revision 884 from 808.<br>
+
*Upgrade GST plugin to SVN Revision 884 from 808.<br>  
*Added a OMAPFB&nbsp;sink in gst plugin.<br>
+
*Added a OMAPFB&nbsp;sink in gst plugin.<br>  
*Added c6run_0_94_04_04 package<br>
+
*Added c6run_0_94_04_04 package<br>  
*Added c6accel_1_01_00_01 package<br>
+
*Added c6accel_1_01_00_01 package<br>  
*Added SDK alsa-dev_1.0.20-r1_armv7a.ipk package for compile DMAI (tools/package)<br>
+
*Added SDK alsa-dev_1.0.20-r1_armv7a.ipk package for compile DMAI (tools/package)<br>  
*Support for IGEPv2 Revision C with DM37xx and OMAP35xx<br>
+
*Support for IGEPv2 Revision C with DM37xx and OMAP35xx<br>  
*lpm added git support and add support for kernel 2.6.35<br>
+
*lpm added git support and add support for kernel 2.6.35<br>  
*Support linux kernel 2.6.35.y and Linaro 2.6.35.y (default binary build included - 2.6.35-1010-linaro-omap)<br>
+
*Support linux kernel 2.6.35.y and Linaro 2.6.35.y (default binary build included - 2.6.35-1010-linaro-omap)<br>  
 +
*Added target/exec_gst as gst launch example.
 +
*Removed dots from the package directory name.
  
=== <br> ===
+
<br>  
  
 
=== Enviroment Changes  ===
 
=== Enviroment Changes  ===
Line 28: Line 28:
  
 
*ISEE Toolchain poky-eabi-glibc-i586-arm-toolchain-sdk-3.2.1.tar.bz2<br>  
 
*ISEE Toolchain poky-eabi-glibc-i586-arm-toolchain-sdk-3.2.1.tar.bz2<br>  
*linux kernel 2.6.35.y and Linaro 2.6.35.y (default binary build included - 2.6.35-1010-linaro-omap)<br>
+
*linux kernel 2.6.35.y and Linaro 2.6.35.y (default binary build included - 2.6.35-1010-linaro-omap)<br>  
 
*Ubuntu 10.04 LTS.  
 
*Ubuntu 10.04 LTS.  
 
*Automake 1.7 and Libtool.  
 
*Automake 1.7 and Libtool.  
*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);">(tools/package)</span>
+
*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>  
 
<br>  
Line 37: Line 37:
 
= Prepare the Enviroment<br>  =
 
= Prepare the Enviroment<br>  =
  
It's a requisite configure your kernel properly for build this package:
+
It's a requisite configure your kernel properly for build this package:  
<pre>ISEE Kernel (git.igep.es)
+
<pre>a) ISEE Kernel (git.igep.es)
  
 
source /usr/local/poky/eabi-glibc/environment-setup-arm-none-linux-gnueabi
 
source /usr/local/poky/eabi-glibc/environment-setup-arm-none-linux-gnueabi
 
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- igep0020_defconfig
 
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- igep0020_defconfig
</pre><pre>Linaro Kernel (http://git.linaro.org/gitweb?p=kernel/linux-linaro-2.6.35.git;a=summary)
+
</pre><pre>b) Linaro Kernel (http://git.linaro.org/gitweb?p=kernel/linux-linaro-2.6.35.git;a=summary)
  
 
source /usr/local/poky/eabi-glibc/environment-setup-arm-none-linux-gnueabi
 
source /usr/local/poky/eabi-glibc/environment-setup-arm-none-linux-gnueabi
 
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap3_defconfig
 
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap3_defconfig
</pre><pre>Linaro Ubuntu Kernel (http://git.linaro.org/gitweb?p=ubuntu/linux-linaro.git;a=summary)
+
 
 +
</pre><pre>c) Linaro Ubuntu Kernel (http://git.linaro.org/gitweb?p=ubuntu/linux-linaro.git;a=summary)
  
 
Create a new file with this content:
 
Create a new file with this content:
 +
  
 
echo "Setting environment for armel cross-compile"
 
echo "Setting environment for armel cross-compile"
Line 56: Line 58:
 
export DEB_BUILD_ARCH=armel
 
export DEB_BUILD_ARCH=armel
 
export DEB_HOST_ARCH=armel
 
export DEB_HOST_ARCH=armel
 +
  
 
Save it as file with the name enviroment  
 
Save it as file with the name enviroment  
 
source enviroment  
 
source enviroment  
 
Enter in the linaro ubuntu directory and for build you should do:
 
Enter in the linaro ubuntu directory and for build you should do:
 +
  
 
&gt;&gt; cd ${linaro}
 
&gt;&gt; cd ${linaro}
Line 65: Line 69:
 
&gt;&gt; fakeroot/rules binary-linaro-omap
 
&gt;&gt; fakeroot/rules binary-linaro-omap
  
</pre>  
+
</pre>
<br>  
+
 
 +
= Download<br> =
 +
 
 +
The package be available in the IGEPv2 download area.
 +
 
 +
https://www.isee.biz/support/downloads/item/igep-dsp-gst-framework
  
 
= How to Build<br>  =
 
= How to Build<br>  =
Line 72: Line 81:
 
You should edit the file Rules.make for edit the package path, linux kernel and toolchain location.<br>  
 
You should edit the file Rules.make for edit the package path, linux kernel and toolchain location.<br>  
  
Rules.make<br>
+
Rules.make<br>  
  
'''<span style="color: rgb(255, 0, 0);">Your igep-gst directory path:
+
'''<span style="color: rgb(255, 0, 0);">Your igep-gst directory path:</span>'''  
</span>'''
 
  
'''<span style="color: rgb(255, 0, 0);">WORKSPACE=/home/mcaro/Projects/myigep/workspace
+
'''<span style="color: rgb(255, 0, 0);">WORKSPACE=/home/mcaro/Projects/myigep/workspace</span>'''  
</span>'''
 
  
'''<span style="color: rgb(255, 0, 0);">Your kernel directory path:
+
'''<span style="color: rgb(255, 0, 0);">Your kernel directory path:</span>'''  
</span>'''
 
  
'''<span style="color: rgb(255, 0, 0);">OMAP3503_SDK_INSTALL_DIR=$(WORKSPACE)/kernel/linaro
+
'''<span style="color: rgb(255, 0, 0);">OMAP3503_SDK_INSTALL_DIR=$(WORKSPACE)/kernel/linaro</span>'''  
</span>'''
 
  
'''<span style="color: rgb(255, 0, 0);">LINUXKERNEL_INSTALL_DIR=$(OMAP3503_SDK_INSTALL_DIR)/linux-linaro-2.6.35
+
'''<span style="color: rgb(255, 0, 0);">LINUXKERNEL_INSTALL_DIR=$(OMAP3503_SDK_INSTALL_DIR)/linux-linaro-2.6.35</span>'''  
</span>'''
 
  
'''<span style="color: rgb(255, 0, 0);">Your toolchain directory path:
+
'''<span style="color: rgb(255, 0, 0);">Your toolchain directory path:</span>'''  
</span>'''
 
  
'''<span style="color: rgb(255, 0, 0);">CSTOOL_DIR=/usr/local/poky/eabi-glibc
+
'''<span style="color: rgb(255, 0, 0);">CSTOOL_DIR=/usr/local/poky/eabi-glibc</span>'''  
CSTOOL_PREFIX=$(CSTOOL_DIR)/bin/arm-none-linux-gnueabi-</span>'''<br>
 
  
<br>
+
'''<span style="color: rgb(255, 0, 0);">CSTOOL_PREFIX=$(CSTOOL_DIR)/bin/arm-none-linux-gnueabi-</span><br>'''
  
You have two options: build all or every package individually.
+
You have two options: build all or every package individually.  
  
 
a) All packages  
 
a) All packages  
Line 131: Line 133:
 
= Install  =
 
= Install  =
  
Copy the "target" directory inside your IGEP board.  
+
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  
 
Inside IGEPv2 board you should copy the gst plugin inside the plugins directory, normally inside /usr/lib/gstreamer-0.10  
Line 144: Line 146:
  
 
You should configure the max kernel memory to 430MBytes for do it you should pass the variable mem=430M to the kernel.  
 
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:
 +
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
 +
</pre>
 +
<br>
 +
 +
= Issues detected in this version  =
 +
 +
*The path file cannot contain any "." dot due a xdctools BUG.
 +
*make clean (dsplink) not work properly and it's necessary to do a make dsplink_clean for ensure all it's compiled correctly.
  
 
<br>  
 
<br>  
  
= Download<br> =
+
= Useful Links  =
 +
 
 +
*[[GStreamer|Gstreamer]]
 +
*[[Example_GStreamer_Pipelines]]<br>
  
The package be available in the IGEPv2 download area.
 
  
<span style="color: rgb(51, 102, 255);">01-ISEE_Products --&gt; IGEPv2 --&gt; SW_Tools_SDK --&gt; igep_gst
 
</span><br>
 
  
= Issues detected in this version  =
 
  
*The path file cannot contain any "." dot due a xdctools BUG.
 
*make clean (dsplink) not work properly and it's necessary to do a make dsplink_clean for ensure all it's compiled correctly.
 
  
[[Category:How_to_forge]]
+
[[Category:Gstreamer]]

Latest revision as of 11:39, 31 December 2013

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 2.00.10

  • Resolve Control + C incorrect DSPLink implementation
  • Upgrade GST plugin to SVN Revision 884 from 808.
  • Added a OMAPFB sink in gst plugin.
  • Added c6run_0_94_04_04 package
  • Added c6accel_1_01_00_01 package
  • Added SDK alsa-dev_1.0.20-r1_armv7a.ipk package for compile DMAI (tools/package)
  • Support for IGEPv2 Revision C with DM37xx and OMAP35xx
  • lpm added git support and add support for kernel 2.6.35
  • Support linux kernel 2.6.35.y and Linaro 2.6.35.y (default binary build included - 2.6.35-1010-linaro-omap)
  • Added target/exec_gst as gst launch example.
  • Removed dots from the package directory name.


Enviroment Changes

  • Code Generation tools it's now included inside the directory tools and the enviroment it's configured for use it.


Dependences

  • ISEE Toolchain poky-eabi-glibc-i586-arm-toolchain-sdk-3.2.1.tar.bz2
  • linux kernel 2.6.35.y and Linaro 2.6.35.y (default binary build included - 2.6.35-1010-linaro-omap)
  • Ubuntu 10.04 LTS.
  • Automake 1.7 and Libtool.
  • SDK: alsa-dev_1.0.20-r1_armv7a.ipk (Now included inside the directory: tools/package)


Prepare the Enviroment

It's a requisite configure your kernel properly for build this package:

a) ISEE Kernel (git.igep.es)

source /usr/local/poky/eabi-glibc/environment-setup-arm-none-linux-gnueabi
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- igep0020_defconfig
b) Linaro Kernel (http://git.linaro.org/gitweb?p=kernel/linux-linaro-2.6.35.git;a=summary)

source /usr/local/poky/eabi-glibc/environment-setup-arm-none-linux-gnueabi make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap3_defconfig

c) Linaro Ubuntu Kernel (http://git.linaro.org/gitweb?p=ubuntu/linux-linaro.git;a=summary)

Create a new file with this content:


echo "Setting environment for armel cross-compile" export ARCH=arm export CROSS_COMPILE=arm-none-linux-gnueabi- export PATH=/usr/local/poky/eabi-glibc/bin:$PATH export DEB_BUILD_ARCH=armel export DEB_HOST_ARCH=armel


Save it as file with the name enviroment source enviroment Enter in the linaro ubuntu directory and for build you should do:


>> cd ${linaro} >> fakeroot/rules clean >> fakeroot/rules binary-linaro-omap

Download

The package be available in the IGEPv2 download area.

https://www.isee.biz/support/downloads/item/igep-dsp-gst-framework

How to Build

You should edit the file Rules.make for edit the package path, linux kernel and toolchain location.

Rules.make

Your igep-gst directory path:

WORKSPACE=/home/mcaro/Projects/myigep/workspace

Your kernel directory path:

OMAP3503_SDK_INSTALL_DIR=$(WORKSPACE)/kernel/linaro

LINUXKERNEL_INSTALL_DIR=$(OMAP3503_SDK_INSTALL_DIR)/linux-linaro-2.6.35

Your toolchain directory path:

CSTOOL_DIR=/usr/local/poky/eabi-glibc

CSTOOL_PREFIX=$(CSTOOL_DIR)/bin/arm-none-linux-gnueabi-

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

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

  • The path file cannot contain any "." dot due a xdctools BUG.
  • make clean (dsplink) not work properly and it's necessary to do a make dsplink_clean for ensure all it's compiled correctly.


Useful Links