Changes between Version 2 and Version 3 of BeagleBoard_DSPLink

Show
Ignore:
Timestamp:
06/17/09 13:28:36 (4 years ago)
Author:
ravishi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BeagleBoard_DSPLink

    v2 v3  
    1 == Guide to Installing DSPLink on Beagle Board == 
     1== Guide to Installing DSPLink on a BeagleBoard == 
    22 
    33OpenEmbedded includes a bitbake recipe to install ti-codec-engine.  However, multiple files are needed for this bitbake to complete.  This guide will instruct how to get the ti-codec-engine to build successfully. 
    44 
     5To start, make sure that you have set the directory environment variable for OpenEmbedded.  Replace "oe" to whatever your OpenEmbedded root directory is called. 
     6{{{ 
     7$ export OE_HOME=$HOME/oe 
     8}}} 
     9 
    510You will need to download and install three binary files: C6x Compiler, DSP/BIOS Link, and XDCtools.  Registration at the TI website is needed for all three files and the  user license must be accepted. 
    611 * DSP/BIOS Link and XDCtools can be found at https://www-a.ti.com/downloads/sds_support/targetcontent/index.html 
    7  * C6x compiler can be found at https://www-a.ti.com/downloads/sds_support/targetcontent/linuxutils/index.html 
     12 * C6x compiler can be found at https://www-a.ti.com/downloads/sds_support/CodeGenerationTools.htm 
    813 
    914The latest versions of the three files might work just fine but I have not tested them.  The versions I used to get it working, as suggested by various forums, were: [[BR]] 
    1015 * BIOS 5.33.02 (https://www-a.ti.com/downloads/sds_support/targetcontent/bios/bios_5_33/index_external.html)  
    1116 * XDCtools 3.10.03 (https://www-a.ti.com/downloads/sds_support/targetcontent/rtsc/xdctools_3_10/index.html)  
    12  * C6000 Code Generation Tools v6.0.16 Linux Host (https://www-a.ti.com/downloads/sds_support/CodeGenerationTools.htm) 
    13 A newer version of BIOS 5.33.02 should be tested since this version has a Critical 283xx (28x floating point) bug. 
     17 * C6000 Code Generation Tools v6.0.16 Linux Host (https://www-a.ti.com/downloads/sds_support/CodeGenerationTools.htm#C6000-6.0.x) 
     18TI frequently updates their site so searching for these files may be required.  A newer version of BIOS 5.33.02 should be tested since this version has a Critical 283xx (28x floating point) bug. 
    1419 
    1520Once all three are downloaded, change permissions of each .bin file to make it an executable like such: 
     
    2631Do this for all three binaries. 
    2732 
    28 Install the files to a folder TI under your root directory.  The installation of each binaries files should be located as such: 
     33Install the files to a folder TI under your root directory.  The installation of each binary file should be located as such: 
    2934 * BIOS 5.33.02 -> $HOME/TI/bios_5_33_02 
    3035 * XDCtools 3.10.03 -> $HOME/TI/xdctools_3_10_03 
    3136 * C6x Compiler -> $HOME/TI/cg6x_6_0_16 
    3237 
    33 Download the codec engine tarball, codec_engine_2_21.tar.gz at https://www-a.ti.com/downloads/sds_support/targetcontent/CE/index.html.  Version 2.21 is required by the bitbake recipe.  There is no need to untar this file.  Copy the file to your recipes/dsplink/files folder.  
     38Download the codec engine tarball, codec_engine_2_21.tar.gz at https://www-a.ti.com/downloads/sds_support/targetcontent/CE/index.html.  Version 2.21 is required by the bitbake recipe.  There is no need to untar this file.  Copy the file to your recipes/dsplink/files folder and create a md5 checksum.  
    3439{{{ 
    3540$ cd ~/Desktop 
    36 $ cp codec_engine_2_21.tar.gz $OE_HOME/openembedded/recipes/dsplink/files 
    37 }}} 
    38  
    39  
    40 Edit the ti-coded-engine recipe: 
    41 {{{ 
    42 $ gedit $OE_HOME/openembedded/recipes/dsplink/ti-codec-engine_2.21.bb 
    43 }}} 
    44 Change SRC_URI to include your local directory where the tar.gz file was copied too. 
    45 {{{ 
    46 SRC_URI = "file://codec_engine_2_21.tar.gz \ 
    47            file://cmem-class-device-27-and-sched-include-fix.patch;patch=1 \ 
    48            file://sdma-class-device-and-includes-fix.patch;patch=1 \ 
    49            file://dsplink-semaphore-27.patch;patch=1 \ 
    50            file://dsplink-add-class-device-create-support.patch;patch=1 \ 
    51            file://lpm-device-create-and-semaphore-include-fix.patch;patch=1 \ 
    52            file://lpm-make-symbol-warnings-fix.patch;patch=1 \ 
    53            file://Makefile-dsplink-gpp \ 
    54            file://Makefile-dsplink-dsp \ 
    55            file://loadmodules-ti-dsplink-apps.sh \ 
    56            file://unloadmodules-ti-dsplink-apps.sh \ 
    57            file://loadmodules-ti-codec-engine-apps.sh \ 
    58            file://unloadmodules-ti-codec-engine-apps.sh \ 
    59 " 
     41$ cp codec_engine_2_21.tar.gz $OE_HOME/tmp/downloads 
     42$ md5sum $OE_HOME/tmp/downloads/codec_engine_2_21.tar.gz > $OE_HOME/tmp/downloads/codec_engine_2_21.tar.gz.md5 
    6043}}} 
    6144 
    6245Open ti-paths.inc which is also located under the dsplink recipe directory. 
    6346{{{ 
    64 $ gedit $OE_HOME/openembedded/recipes/dsplink/ti-paths.inc 
     47$ gedit $OE_HOME/beagleboard/beagleboard/conf/local.conf 
    6548}}} 
    6649 
     
    10992---- 
    11093 
    111 For more information, see: 
    112 http://elinux.org/BeagleBoard/DSP_Howto 
    113 https://gstreamer.ti.com/gf/project/gstreamer_ti/wiki/?pagename=BuildingWithAngstrom 
    114 http://groups.google.com/group/beagleboard/browse_thread/thread/3d2560c087941100 
    115 http://www.pixhawk.ethz.ch/wiki/tutorials/omap/dsplink 
     94For more information, see: [[BR]] 
     95http://elinux.org/BeagleBoard/DSP_Howto [[BR]] 
     96https://gstreamer.ti.com/gf/project/gstreamer_ti/wiki/?pagename=BuildingWithAngstrom [[BR]] 
     97http://groups.google.com/group/beagleboard/browse_thread/thread/3d2560c087941100 [[BR]] 
     98http://www.pixhawk.ethz.ch/wiki/tutorials/omap/dsplink [[BR]]