Difference between revisions of "IGEP GST FRAMEWORK 3.10.10"
From IGEP - ISEE Wiki
Manel Caro (talk | contribs) (→Install) |
Manel Caro (talk | contribs) |
||
Line 5: | Line 5: | ||
= Changes From 3.00.00 = | = Changes From 3.00.00 = | ||
− | *Support linux kernel 2.6.35.13- | + | *Support linux kernel 2.6.35.13-3<br> |
− | |||
*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 only).<br> | *Added MP3 codec (decode only).<br> | ||
− | *Added IGEP X-Loader.<br> | + | *Added IGEP X-Loader.<br> |
*Prebuild binaries for DM3730 and OMAP3530 included.<br> | *Prebuild binaries for DM3730 and OMAP3530 included.<br> | ||
Line 26: | Line 25: | ||
<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- | + | --> igep-dsp-gst-framework-3_10_10.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''''') | Download the package and uncompress this package as normal user in your desired directory ('''''don't use sudo command for decompress this file''''') | ||
Line 40: | Line 39: | ||
'''<span style="color: rgb(255, 0, 0);">WORKSPACE=<YOUR_USER_PATH></span>''' | '''<span style="color: rgb(255, 0, 0);">WORKSPACE=<YOUR_USER_PATH></span>''' | ||
− | '''<span>DVSDK_INSTALL_DIR=$(WORKSPACE)/igep-dsp-gst-framework/igep-dsp-gst-framework- | + | '''<span>DVSDK_INSTALL_DIR=$(WORKSPACE)/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_10</span>''' |
− | <span style="color: rgb(0, 0, 128);">'''Your toolchain directory path:'''</span> | + | <span style="color: rgb(0, 0, 128);">'''Your toolchain directory path:'''</span> |
'''<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 92: | Line 91: | ||
make dmai_clean | make dmai_clean | ||
make gst_ti_clean | make gst_ti_clean | ||
− | </pre> | + | </pre> |
− | |||
= Install = | = Install = | ||
Line 120: | Line 118: | ||
ln -s /home/<your_desired_directory>/libgstticodecplugin.so | ln -s /home/<your_desired_directory>/libgstticodecplugin.so | ||
− | or copy the files directly as inside target directory location. | + | or copy the files directly as inside target directory location. |
− | == Target Structure == | + | == Target Structure == |
<pre>drwxr-xr-x 5 mcaro mcaro 4096 2011-08-18 11:55 dm3730-binaries | <pre>drwxr-xr-x 5 mcaro mcaro 4096 2011-08-18 11:55 dm3730-binaries | ||
lrwxrwxrwx 1 mcaro mcaro 37 2011-08-19 11:49 igep.ini -> ../psp/igep-x-loader/scripts/igep.ini | lrwxrwxrwx 1 mcaro mcaro 37 2011-08-19 11:49 igep.ini -> ../psp/igep-x-loader/scripts/igep.ini | ||
Line 128: | Line 126: | ||
drwxr-xr-x 5 mcaro mcaro 4096 2011-08-18 10:42 omap3530-binaries | drwxr-xr-x 5 mcaro mcaro 4096 2011-08-18 10:42 omap3530-binaries | ||
drwxr-xr-x 2 mcaro mcaro 4096 2011-08-18 10:54 scripts | drwxr-xr-x 2 mcaro mcaro 4096 2011-08-18 10:54 scripts | ||
− | lrwxrwxrwx 1 mcaro mcaro 35 2011-08-19 11:49 x-load.bin.ift -> ../psp/igep-x-loader/x-load.bin.ift</pre> | + | lrwxrwxrwx 1 mcaro mcaro 35 2011-08-19 11:49 x-load.bin.ift -> ../psp/igep-x-loader/x-load.bin.ift</pre> |
− | <u>Directory dm3730-binaries</u>: Inside this directory resides all the build binaries for DM3730 processor. | + | <u>Directory dm3730-binaries</u>: Inside this directory resides all the build binaries for DM3730 processor. |
− | <u>Directory omap3530-binaries</u>: Inside this directory resides all the build binaries for OMAP3530 processor. | + | <u>Directory omap3530-binaries</u>: Inside this directory resides all the build binaries for OMAP3530 processor. |
− | MLO and igep.ini: [[ | + | MLO and igep.ini: [[The IGEP X-loader|IGEP X-Loader]] |
− | <u>Scripts Directory</u>: | + | <u>Scripts Directory</u>: |
<pre>-rwxr-xr-x 1 mcaro mcaro 290 2010-12-17 12:33 exec_gst | <pre>-rwxr-xr-x 1 mcaro mcaro 290 2010-12-17 12:33 exec_gst | ||
-rwxr-xr-x 1 mcaro mcaro 198 2010-09-06 10:43 fb1-16M-settings.sh | -rwxr-xr-x 1 mcaro mcaro 198 2010-09-06 10:43 fb1-16M-settings.sh | ||
-rwxr-xr-x 1 mcaro mcaro 1109 2010-12-17 12:33 load-modules.sh | -rwxr-xr-x 1 mcaro mcaro 1109 2010-12-17 12:33 load-modules.sh | ||
-rwxr-xr-x 1 mcaro mcaro 89 2011-08-17 15:02 powervr.ini | -rwxr-xr-x 1 mcaro mcaro 89 2011-08-17 15:02 powervr.ini | ||
− | -rwxr-xr-x 1 mcaro mcaro 218 2010-12-17 12:33 unloadmodules.sh</pre> | + | -rwxr-xr-x 1 mcaro mcaro 218 2010-12-17 12:33 unloadmodules.sh</pre> |
− | Some useful scripts. | + | Some useful scripts. |
− | <u>Directory dm3730-binaries and </u><u>Directory omap3530-binaries has the same structure.<br></u> | + | <u>Directory dm3730-binaries and </u><u>Directory omap3530-binaries has the same structure.<br></u> |
− | <pre> | + | <pre><u></u>drwxr-xr-x 3 mcaro mcaro 4096 2011-08-18 11:54 boot |
drwxr-xr-x 3 mcaro mcaro 4096 2011-08-18 11:55 lib | drwxr-xr-x 3 mcaro mcaro 4096 2011-08-18 11:55 lib | ||
drwxr-xr-x 4 mcaro mcaro 4096 2011-08-18 11:56 usr | drwxr-xr-x 4 mcaro mcaro 4096 2011-08-18 11:56 usr | ||
− | </pre> | + | </pre> |
− | Boot: Here resides the kernel and the modules. | + | Boot: Here resides the kernel and the modules. |
+ | |||
+ | Lib: Here resides the Linux DSP Communication modules as lpm, sdma, cmemk, dsplink. | ||
+ | |||
+ | Usr: Here resides the Codec Server, the gst plugin and some other examples. | ||
+ | |||
+ | = BUGS Detected = | ||
+ | |||
+ | {| width="60%" cellspacing="1" cellpadding="1" border="1" | ||
+ | |- | ||
+ | | Release | ||
+ | | Description | ||
+ | | Workaround | ||
+ | | Other | ||
+ | |- | ||
+ | | 3.10.00 | ||
+ | | Incorrect GFX install script | ||
+ | | Copy the target and es.3x or es.5x directly | ||
+ | | None | ||
+ | |- | ||
+ | | 3.10.00 | ||
+ | | Incorrect DSP Memory map | ||
+ | | Upgrade the package to 3.10.10 | ||
+ | | Download the package 3.10.10 | ||
+ | |} | ||
− | |||
− | |||
= Useful Links = | = Useful Links = |
Revision as of 14:56, 31 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.00.00
- Support linux kernel 2.6.35.13-3
- Update codec server to codecs-omap3530_4_02_00_00.
- Added MP3 codec (decode only).
- Added IGEP X-Loader.
- Prebuild binaries for DM3730 and OMAP3530 included.
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 )
- Gstreamer.
- SDK: alsa-dev_1.0.20-r1_armv7a.ipk (Now included inside the directory: tools/package).
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_10.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=<YOUR_USER_PATH>
DVSDK_INSTALL_DIR=$(WORKSPACE)/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_10
Your toolchain directory path:
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
Build the framework:
cd /home/<YOUR_USER_PATH>/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_00 make linux make dsplink make lpm make cmem make sdma make codecs make c6accel make c6run make dmai make gst_ti
Clean the framework:
cd /home/<YOUR_USER_PATH>/Projects/myigep/workspace/igep-dsp-gst-framework/igep-dsp-gst-framework-3_10_00 make linux_clean make dsplink_clean make lpm_clean make cmem_clean make sdma_clean make codecs_clean make c6accel_clean make c6run_clean make dmai_clean make gst_ti_clean
Install
After build the framework you must install all build packages inside the target directory using below command.
make install
Inside the target directory you've two new directories:
dm3730-binaries (modules, kernel ... for DM3730)
omap3530-binaries (modules, kernel ... for OMAP3530)
Copy target directory to your board as:
cd target scp -r dm3730-binaries <remote_user>@<IGEP IP>:/home/<your_desired_directory> scp -r scripts <remote_user>@<IGEP IP>:/home/<your_desired_directory> Also included you've the IGEP Xloader and the configuration file.
Enter inside your IGEP board and go to gstreamer directory normally inside /usr/lib/gstreamer-0.10 and create two symbolic links from this directory to your files:
cd /usr/lib/gstreamer-0.10
ln -s /home/<your_desired_directory>/cs.x64P
ln -s /home/<your_desired_directory>/libgstticodecplugin.so
or copy the files directly as inside target directory location.
Target Structure
drwxr-xr-x 5 mcaro mcaro 4096 2011-08-18 11:55 dm3730-binaries lrwxrwxrwx 1 mcaro mcaro 37 2011-08-19 11:49 igep.ini -> ../psp/igep-x-loader/scripts/igep.ini lrwxrwxrwx 1 mcaro mcaro 14 2011-08-19 11:48 MLO -> x-load.bin.ift drwxr-xr-x 5 mcaro mcaro 4096 2011-08-18 10:42 omap3530-binaries drwxr-xr-x 2 mcaro mcaro 4096 2011-08-18 10:54 scripts lrwxrwxrwx 1 mcaro mcaro 35 2011-08-19 11:49 x-load.bin.ift -> ../psp/igep-x-loader/x-load.bin.ift
Directory dm3730-binaries: Inside this directory resides all the build binaries for DM3730 processor.
Directory omap3530-binaries: Inside this directory resides all the build binaries for OMAP3530 processor.
MLO and igep.ini: IGEP X-Loader
Scripts Directory:
-rwxr-xr-x 1 mcaro mcaro 290 2010-12-17 12:33 exec_gst -rwxr-xr-x 1 mcaro mcaro 198 2010-09-06 10:43 fb1-16M-settings.sh -rwxr-xr-x 1 mcaro mcaro 1109 2010-12-17 12:33 load-modules.sh -rwxr-xr-x 1 mcaro mcaro 89 2011-08-17 15:02 powervr.ini -rwxr-xr-x 1 mcaro mcaro 218 2010-12-17 12:33 unloadmodules.sh
Some useful scripts.
Directory dm3730-binaries and Directory omap3530-binaries has the same structure.
<u></u>drwxr-xr-x 3 mcaro mcaro 4096 2011-08-18 11:54 boot drwxr-xr-x 3 mcaro mcaro 4096 2011-08-18 11:55 lib drwxr-xr-x 4 mcaro mcaro 4096 2011-08-18 11:56 usr
Boot: Here resides the kernel and the modules.
Lib: Here resides the Linux DSP Communication modules as lpm, sdma, cmemk, dsplink.
Usr: Here resides the Codec Server, the gst plugin and some other examples.
BUGS Detected
Release | Description | Workaround | Other |
3.10.00 | Incorrect GFX install script | Copy the target and es.3x or es.5x directly | None |
3.10.00 | Incorrect DSP Memory map | Upgrade the package to 3.10.10 | Download the package 3.10.10 |