Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

IGEP GST FRAMEWORK 2.00.10

2,121 bytes added, 11:42, 31 December 2013
m
Download
*Added the xdctools and bios package, now it's not necessary download and install it.
*Added the TI&nbsp;cg6x_7_0_1 code generation tools.<br>
*Update the Memory mapnow linux should be configured for use max 430 MBytes. *Included a Memory map file. *Support for ISEE kernel 2.6.33.xx and TI&nbsp;Arago project kernel 2.6.32.
=== Enviroment Changes ===
<br>
 
== Dependences<br> ==
 
*ISEE Toolchain poky-eabi-glibc-i586-arm-toolchain-sdk-3.2.1.tar.bz2<br>
*TI Code generation tools version 7.0.1 (included inside tools directory)
*Linux kernel 2.6.33.x from ISEE git repository or TI Arago Linux Kernel 2.6.32.
*Ubuntu 10.04 LTS.
*Automake 1.7 and Libtool.
*SDK:&nbsp;<span style="color: rgb(255, 0, 0); ">alsa-dev_1.0.20-r1_armv7a.ipk </span>(DMAI dependence) Download from [http://downloads.igep.es/dist/poky/purple-3.2/ipk/armv7a/alsa-dev_1.0.20-r1_armv7a.ipk here].
 
<br>
= Prepare the Enviroment<br> =
Untar the file cg6x_7_0_1.bz2 (located in tools/code_generation_tools/) in the /usr/local/ti directory if it not exist first you should create it.<br>
<pre>&gt;&gt;sudo mkdir /usr/local/ti
&gt;&gt;cd /usr/local/ti
 
&gt;&gt;sudo tar xvfj cg6x_7_0_1.bz2</pre>
If it's necessary add read permissions to all files:
<pre>&gt;&gt; sudo chmod a+r /usr/local/ti/cg6x_7_0_1</pre>
It's a requisite configure your kernel properly for build this package:
<pre>source /usr/local/poky/eabi-glibc/environment-setup-arm-none-linux-gnueabi
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- igep0020_defconfig
</pre>
<br>
You should edit the file Rules.make for edit the package path, linux kernel&nbsp; and toolchain location:<br>
---- Rules.make ----
'''# Define target platformRules.<br>PLATFORM=omap3530'''make ----
<span style="color: rgb(255, 0, 0);">'''WORKSPACE# Define target platform.<br>PLATFORM=/media/VERBATIM_Linux/mcaro/Portatil_Backup/workspaceomap3530'''</span>
'''# The installation directory of the DVSDK.<br>'''<span style="color: rgb(255, 0, 0);">'''DVSDK_INSTALL_DIRWORKSPACE=$(WORKSPACE)/myigepmedia/VERBATIM_Linux/mcaro/Portatil_Backup/igep-dsp-frameworkworkspace'''</span>
'''# For backwards compatibilityThe installation directory of the DVSDK.<br>DVEVM_INSTALL_DIR'''<span style="color: rgb(255, 0, 0);">'''DVSDK_INSTALL_DIR=$(DVSDK_INSTALL_DIRWORKSPACE)/myigep/igep-dsp-framework'''</span>
'''# Where DSP/BIOS is installed.For backwards compatibility<br>BIOS_INSTALL_DIRDVEVM_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/tools/bios/bios_5_41_04_18'''
'''# Where the DSPBIOS Utils package DSP/BIOS is installed.<br>BIOSUTILS_INSTALL_DIRBIOS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/biosutils_1_02_02tools/bios/bios_5_41_04_18'''
'''# Where the Codec Engine DSPBIOS Utils package is installed.<br>CE_INSTALL_DIRBIOSUTILS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/codec_engine_2_25_05_16biosutils_1_02_02'''
'''# Where the TI C6x codegen tool Codec Engine package is installed.<br>'''<span style="color: rgb(255, 0, 0);">'''TI_TOOLS_PREFIX=/usr/local/tiCODEGEN_INSTALL_DIRCE_INSTALL_DIR=$(TI_TOOLS_PREFIXDVSDK_INSTALL_DIR)/cg6x_7_0_1codec_engine_2_25_05_16'''</span>
'''# Where the DSP Link package TI C6x codegen tool is installed.<br>LINK_INSTALL_DIR'''<span style=$"color: rgb(DVSDK_INSTALL_DIR255, 0, 0);">'''TI_TOOLS_PREFIX=/usr/dsplink_linux_1_65_00_02local/ti'''</span>
'''# Where DMAI package is installed.<brspan style="color: rgb(255, 0, 0);">DMAI_INSTALL_DIRCODEGEN_INSTALL_DIR=$(DVSDK_INSTALL_DIRTI_TOOLS_PREFIX)/dmai_2_05_00_21cg6x_7_0_1</dmaispan>'''
'''# Where the DVSDK demos are DSP Link package is installed.<br>DEMO_INSTALL_DIRLINK_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dvsdk_demos_3_01_00_13dsplink_linux_1_65_00_02'''
'''# Where the DVTB DMAI package is installed.<br>DVTB_INSTALL_DIRDMAI_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dvtb_4_20_05dmai_2_05_00_21/dmai'''
'''# Where the EDMA3 LLD package is DVSDK demos are installed.<br>EDMA3_LLD_INSTALL_DIRDEMO_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/edma3_lld_01_11_01_04dvsdk_demos_3_01_00_13'''
'''# Where the Framework Components DVTB package is installed.<br>FC_INSTALL_DIRDVTB_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/framework_components_2_25_03_07dvtb_4_20_05'''
'''# Where the linuxlibs EDMA3 LLD package is installed.<br>#LINUXLIBS_INSTALL_DIREDMA3_LLD_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/linuxlibs_3_01edma3_lld_01_11_01_04'''
'''# Where the MFC Linux Utils Framework Components package is installed.<br>LINUXUTILS_INSTALL_DIRFC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/linuxutils_2_25_04_10<br>CMEM_INSTALL_DIR=$(LINUXUTILS_INSTALL_DIR)framework_components_2_25_03_07'''
'''# Where the local power manager linuxlibs package is installed.<br>LPM_INSTALL_DIR#LINUXLIBS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/local_power_manager_linux_1_24_02_09linuxlibs_3_01'''
'''ifeq ($(PLATFORM),omap3530)<br># Where the cs1omap3530 codec server MFC Linux Utils package is installed.<br>CODEC_INSTALL_DIRLINUXUTILS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/ms1omap3530_1_00_00linuxutils_2_25_04_10<br>endifCMEM_INSTALL_DIR=$(LINUXUTILS_INSTALL_DIR)'''
'''# Where the XDAIS local power manager package is installed.<br>XDAIS_INSTALL_DIRLPM_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/xdais_6_25_02_11local_power_manager_linux_1_24_02_09'''
'''ifeq ($(PLATFORM),omap3530)<br># Where the RTSC tools cs1omap3530 codec server package is installed.<br>XDC_INSTALL_DIRCODEC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/tools/xdctools/xdctools_3_16_04_39ms1omap3530_1_00_00<br>endif'''
'''# The directory that points to codec engine exampleWhere the XDAIS package is installed.<br>USER_XDC_PATHXDAIS_INSTALL_DIR=$(CE_INSTALL_DIRDVSDK_INSTALL_DIR)/examplesxdais_6_25_02_11'''
'''# The directory that points to your OMAP35xx SDK installation directoryWhere the RTSC tools package is installed.<br>'''<span style="color: rgb(255, 0, 0);">'''OMAP3503_SDK_INSTALL_DIRXDC_INSTALL_DIR=$(WORKSPACEDVSDK_INSTALL_DIR)/myigeptools/xdctools/xdctools_3_16_04_39'''</span>
'''# Gstreamer PluginThe directory that points to codec engine example<br>GST_OMAP3530_PLUGIN_DIRUSER_XDC_PATH=$(DVSDK_INSTALL_DIRCE_INSTALL_DIR)/gst-ti/gstreamer_ti/ti_build<br>GSTREAMER_DIR=/usr/include/gstreamer-0.10examples'''
'''# The directory that points to your kernel source OMAP35xx SDK installation directory.<br>'''<span style="color: rgb(255, 0, 0);">'''LINUXKERNEL_INSTALL_DIROMAP3503_SDK_INSTALL_DIR=$(OMAP3503_SDK_INSTALL_DIRWORKSPACE)/linux-kernel/linux-omap-2.6myigep'''</span>
'''# The directory that points to your U-boot source directory.Gstreamer Plugin<br>UBOOT_INSTALL_DIRGST_OMAP3530_PLUGIN_DIR=$(OMAP3503_SDK_INSTALL_DIRDVSDK_INSTALL_DIR)/srcgst-ti/gstreamer_ti/ti_build<br>GSTREAMER_DIR=/usr/u-bootinclude/ugstreamer-boot-03.00.010.0610'''
'''# The prefix directory that points to be added before the GNU compiler tools (optionally including # path), i.e. "arm-none-linux-gnueabi-" or "/opt/bin/arm-none-linux-gnueabi-"your kernel source directory.<br>'''<span style="color: rgb(255, 0, 0);">CSTOOL_DIR=/usr/local/poky/eabi-glibc</span><br>CSTOOL_PREFIX'''LINUXKERNEL_INSTALL_DIR=$(CSTOOL_DIROMAP3503_SDK_INSTALL_DIR)/binlinux-kernel/arm-none-linux-gnueabiomap-2.6'''</span>
'''MVTOOL_DIR=$(CSTOOL_DIR)# The directory that points to your U-boot source directory.<br>MVTOOL_PREFIXUBOOT_INSTALL_DIR=$(CSTOOL_PREFIXOMAP3503_SDK_INSTALL_DIR)/src/u-boot/u-boot-03.00.01.06'''
'''# Where The prefix to copy be added before the resulting executablesGNU compiler tools (optionally including # path), i.e. "arm-none-linux-gnueabi-" or "/opt/bin/arm-none-linux-gnueabi-".<br><span style="color: rgb(255, 0, 0);">CSTOOL_DIR=/usr/local/poky/eabi-glibc</span><br>EXEC_DIRCSTOOL_PREFIX=$(DVSDK_INSTALL_DIRCSTOOL_DIR)/targetbin/arm-none-linux-gnueabi-'''
'''MVTOOL_DIR=$(CSTOOL_DIR)<br>MVTOOL_PREFIX=$(CSTOOL_PREFIX)'''  '''# Where to copy the resulting executables<br>EXEC_DIR=$(DVSDK_INSTALL_DIR)/target'''  '''# Where the linuxlibs package is installed.<br>LINUXLIBS_INSTALL_DIR=$(CSTOOL_DIR)/arm-none-linux-gnueabi/usr'''<br>
----
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.  https://www.isee.biz/support/downloads/item/igep-dsp-gst-framework?category_id=81 = Issues detected in this version = *The package binaries included in this version be compiled for TI Arago Kernel 2.6.32. *Press Control+C when video plays hangs the DSPLink module kernel and the board should be restarted. *Audio and Video are not properly syncronized if the audio sampling rate it's different than 48Khz.&nbsp;<br> *This version be not compatible with kernels over 2.6.33 due compile issues. *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:Gstreamer]]
4,199
edits