Changes between Version 2 and Version 3 of BeagleBoard_DSPLink
- Timestamp:
- 06/17/09 13:28:36 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BeagleBoard_DSPLink
v2 v3 1 == Guide to Installing DSPLink on BeagleBoard ==1 == Guide to Installing DSPLink on a BeagleBoard == 2 2 3 3 OpenEmbedded 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. 4 4 5 To 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 5 10 You 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. 6 11 * 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.html12 * C6x compiler can be found at https://www-a.ti.com/downloads/sds_support/CodeGenerationTools.htm 8 13 9 14 The 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]] 10 15 * BIOS 5.33.02 (https://www-a.ti.com/downloads/sds_support/targetcontent/bios/bios_5_33/index_external.html) 11 16 * 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) 18 TI 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. 14 19 15 20 Once all three are downloaded, change permissions of each .bin file to make it an executable like such: … … 26 31 Do this for all three binaries. 27 32 28 Install the files to a folder TI under your root directory. The installation of each binar ies filesshould be located as such:33 Install the files to a folder TI under your root directory. The installation of each binary file should be located as such: 29 34 * BIOS 5.33.02 -> $HOME/TI/bios_5_33_02 30 35 * XDCtools 3.10.03 -> $HOME/TI/xdctools_3_10_03 31 36 * C6x Compiler -> $HOME/TI/cg6x_6_0_16 32 37 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 .38 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 and create a md5 checksum. 34 39 {{{ 35 40 $ 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 60 43 }}} 61 44 62 45 Open ti-paths.inc which is also located under the dsplink recipe directory. 63 46 {{{ 64 $ gedit $OE_HOME/ openembedded/recipes/dsplink/ti-paths.inc47 $ gedit $OE_HOME/beagleboard/beagleboard/conf/local.conf 65 48 }}} 66 49 … … 109 92 ---- 110 93 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 94 For more information, see: [[BR]] 95 http://elinux.org/BeagleBoard/DSP_Howto [[BR]] 96 https://gstreamer.ti.com/gf/project/gstreamer_ti/wiki/?pagename=BuildingWithAngstrom [[BR]] 97 http://groups.google.com/group/beagleboard/browse_thread/thread/3d2560c087941100 [[BR]] 98 http://www.pixhawk.ethz.ch/wiki/tutorials/omap/dsplink [[BR]]