IGEP GST FRAMEWORK 2.00.20
From IGEP - ISEE Wiki
Contents
[hide]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.