Changes between Version 9 and Version 10 of BeagleBoard_DSPLink
- Timestamp:
- 07/02/09 17:15:41 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BeagleBoard_DSPLink
v9 v10 14 14 There are multiple files needed to begin building applications in DSPLink. Registration at the TI website is needed for all files from TI and the user license(s) must be accepted. 15 15 16 === DSP/BIOS Link===16 ==== DSP/BIOS Link ==== 17 17 18 18 Download the DSP/BIOS Link. I used version 1.61.03 for linux. … … 25 25 }}} 26 26 27 === Arm Toolchain===28 Download the Arm Toolchain . Select target platform as ARM GNU/Linux and the Host platform as IA32 GNU/Linux. Make sure not to select the source option.27 ==== Arm Toolchain ==== 28 Download the Arm Toolchain which contains a lot of useful tools for compiling on an Arm processor. Although it included arm cross compilers, we will be using the cross compilers created by our OpenEmbedded build. Select target platform as ARM GNU/Linux and the Host platform as IA32 GNU/Linux. Make sure not to select the source option. 29 29 http://www.codesourcery.com/sgpp/lite/arm/releases/2008q1 30 30 31 === Linux Kernel === 31 Untar the tar.bz2 file to your home directory. 32 {{{ 33 $ cd ~/ 34 $ tar xvjf ~/Desktop/arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 35 }}} 36 37 ==== Linux Kernel ==== 32 38 A Linux Kernel is needed to compile DSPLink applications. The linking Kernel must be the same version or a compatible version with the Kernel on the BeagleBoard. 33 39 … … 39 45 Fortunately, our OpenEmbedded build created enough of a kernel to use for compiling DSPLink. This kernel is located at ~/oe/tmp/staging/. Therefore, there is nothing to download as long as the OpenEmbedded process was followed. 40 46 41 === DSP/BIOS, XDCTools, and C6x compiler===47 ==== DSP/BIOS, XDCTools, and C6x compiler ==== 42 48 You will need to download and install three binary files: C6x Compiler, DSP/BIOS Link, and XDCtools. 43 49 * DSP/BIOS and XDCtools can be found at https://www-a.ti.com/downloads/sds_support/targetcontent/index.html … … 67 73 * C6x Compiler -> $HOME/TI/cg6x_6_0_16 68 74 69 === Local Power Manager===75 ==== Local Power Manager ==== 70 76 71 77 Download the Local Power Manager (LPM). I used LPM version 1.23.01 which can be found at http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent//linuxutils/linuxutils_2_23/index.html . Untar the file in your TI directory and then untar ti_bios_power,omap3530.tar. … … 76 82 }}} 77 83 78 === Optional - Platform Support Package===84 ==== Optional - Platform Support Package ==== 79 85 80 86 Download the OMAP35x Platform Support Package (PSP) from TI's website. Download release 02.01.01.08. … … 90 96 * DSP side distribution file: $DSPLINK/make/DspBios/c64xxp_5.xx_linux.mk 91 97 92 If you have followed the previous steps of installing all three files, you can use the custom versions of these files I created. 93 98 If you have followed the previous steps of installing all other files without changing the directory locations, you can use the custom versions of these files I created and attached to this wiki. They can be found at the bottom of the wiki. It would be best to not replace your existing files with these files and instead, compare the two files and note the differences. If any folder locations do not match up, fix them. 94 99 95 100 == Building DSPLink Files == … … 99 104 $ echo export DSPLINK=$HOME/dsplink_1_60/dsplink >>$HOME/.bashrc 100 105 }}} 101 Now you will need to compile the GPP source API, the GPP/DSP source code, and the GPP/DSP samples. 106 Everything should now be set up to compile your sample applications. To do this, you will need to compile the GPP source API, the GPP/DSP source code, and the GPP/DSP samples. If you receive any errors, check your three makefiles for the correct directory locations. 102 107 {{{ 103 108 $ cd $DSPLINK/gpp/src/api … … 152 157 DSPLINK_REPO = ${HOME}/dsplink_1_61_03/ 153 158 }}} 154 Now perform make and it will create the lpm_omap3530.ko module needed. Remove any preexisting lpm module and then copy this module to the target in the proper modules location. You may want to backup the prexisting lpm module if it exists. In the code below, replace <target> with the location of your target files system, i.e. /media/disk-1 if SD card.159 Now perform make and it will create the lpm_omap3530.ko module needed. Remove any existing lpm module and then copy this module to the target in the proper modules location. You may want to backup the existing lpm module if it exists. In the code below, replace <target> with the location of your target files system, i.e. /media/disk-1 if SD card. 155 160 {{{ 156 161 $ make … … 173 178 }}} 174 179 175 beagle# depmod -a cmemk // Installs dependencies 180 == Running and Executing Samples == 181