1,381
edits
Changes
IGEP GST FRAMEWORK 2.00.20
= 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.
<br>
= Changes From 2.00.10 =
*Revolve Control + C incorrect DSPLink implementation<br>
*Upgrade GST plugin to SVN Revision 884 from 808.<br>
*Added a OMAPFB sink in gst plugin.<br>
*Added c6run_0_94_04_04 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>
*Support for IGEPv2 Revision C with DM37xx and OMAP35xx<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>
=== <br> ===
=== Enviroment Changes ===
*Code Generation tools it's now included inside the directory tools and the enviroment it's configured for use it.
<br>
== Dependences<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>
*Ubuntu 10.04 LTS.
*Automake 1.7 and 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);">(tools/package)</span>
<br>
= Prepare the Enviroment<br> =
It's a requisite configure your kernel properly for build this package:
<pre>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
</pre><pre>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
</pre><pre>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
</pre>
<br>
= How to Build<br> =
You should edit the file Rules.make for edit the package path, linux kernel and toolchain location.<br>
Rules.make<br>
'''<span style="color: rgb(255, 0, 0);">Your igep-gst directory path:
</span>'''
'''<span style="color: rgb(255, 0, 0);">WORKSPACE=/home/mcaro/Projects/myigep/workspace
</span>'''
'''<span style="color: rgb(255, 0, 0);">Your kernel directory path:
</span>'''
'''<span style="color: rgb(255, 0, 0);">OMAP3503_SDK_INSTALL_DIR=$(WORKSPACE)/kernel/linaro
</span>'''
'''<span style="color: rgb(255, 0, 0);">LINUXKERNEL_INSTALL_DIR=$(OMAP3503_SDK_INSTALL_DIR)/linux-linaro-2.6.35
</span>'''
'''<span style="color: rgb(255, 0, 0);">Your toolchain directory path:
</span>'''
'''<span style="color: rgb(255, 0, 0);">CSTOOL_DIR=/usr/local/poky/eabi-glibc
CSTOOL_PREFIX=$(CSTOOL_DIR)/bin/arm-none-linux-gnueabi-</span>'''<br>
<br>
You have two options: build all or every package individually.
a) All packages
make
b) One package
make <package_name>
<pre>make dmai
make gst
make dsplink
...
</pre>
For clean the build you should execute:
make clean
or
make <package_name>_clean
such:
<pre>make dmai_clean
make dsplink_clean
make gst_clean
</pre>
= Install =
Copy the "target" directory inside your IGEP board.
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.
<br>
== Uboot Setup ==
You should configure the max kernel memory to 430MBytes for do it you should pass the variable mem=430M to the kernel.
<br>
= Download<br> =
The package be available in the IGEPv2 download area.
<span style="color: rgb(51, 102, 255);">01-ISEE_Products --> IGEPv2 --> SW_Tools_SDK --> 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]]
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.
<br>
= Changes From 2.00.10 =
*Revolve Control + C incorrect DSPLink implementation<br>
*Upgrade GST plugin to SVN Revision 884 from 808.<br>
*Added a OMAPFB sink in gst plugin.<br>
*Added c6run_0_94_04_04 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>
*Support for IGEPv2 Revision C with DM37xx and OMAP35xx<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>
=== <br> ===
=== Enviroment Changes ===
*Code Generation tools it's now included inside the directory tools and the enviroment it's configured for use it.
<br>
== Dependences<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>
*Ubuntu 10.04 LTS.
*Automake 1.7 and 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);">(tools/package)</span>
<br>
= Prepare the Enviroment<br> =
It's a requisite configure your kernel properly for build this package:
<pre>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
</pre><pre>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
</pre><pre>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
</pre>
<br>
= How to Build<br> =
You should edit the file Rules.make for edit the package path, linux kernel and toolchain location.<br>
Rules.make<br>
'''<span style="color: rgb(255, 0, 0);">Your igep-gst directory path:
</span>'''
'''<span style="color: rgb(255, 0, 0);">WORKSPACE=/home/mcaro/Projects/myigep/workspace
</span>'''
'''<span style="color: rgb(255, 0, 0);">Your kernel directory path:
</span>'''
'''<span style="color: rgb(255, 0, 0);">OMAP3503_SDK_INSTALL_DIR=$(WORKSPACE)/kernel/linaro
</span>'''
'''<span style="color: rgb(255, 0, 0);">LINUXKERNEL_INSTALL_DIR=$(OMAP3503_SDK_INSTALL_DIR)/linux-linaro-2.6.35
</span>'''
'''<span style="color: rgb(255, 0, 0);">Your toolchain directory path:
</span>'''
'''<span style="color: rgb(255, 0, 0);">CSTOOL_DIR=/usr/local/poky/eabi-glibc
CSTOOL_PREFIX=$(CSTOOL_DIR)/bin/arm-none-linux-gnueabi-</span>'''<br>
<br>
You have two options: build all or every package individually.
a) All packages
make
b) One package
make <package_name>
<pre>make dmai
make gst
make dsplink
...
</pre>
For clean the build you should execute:
make clean
or
make <package_name>_clean
such:
<pre>make dmai_clean
make dsplink_clean
make gst_clean
</pre>
= Install =
Copy the "target" directory inside your IGEP board.
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.
<br>
== Uboot Setup ==
You should configure the max kernel memory to 430MBytes for do it you should pass the variable mem=430M to the kernel.
<br>
= Download<br> =
The package be available in the IGEPv2 download area.
<span style="color: rgb(51, 102, 255);">01-ISEE_Products --> IGEPv2 --> SW_Tools_SDK --> 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]]