Difference between revisions of "ECE597 Installing DSP Development Tools"
m (Added creation of authorized_keys folder) |
|||
Line 25: | Line 25: | ||
* On your Beagle run | * On your Beagle run | ||
<pre> | <pre> | ||
− | beagle $ mkdir ~/.ssh | + | beagle $ mkdir ~/.ssh |
beagle $ cd ~/.ssh | beagle $ cd ~/.ssh | ||
beagle $ mv ../id_rsa.pub . | beagle $ mv ../id_rsa.pub . |
Revision as of 13:00, 21 July 2010
Contents
Installing Software for the DSP
Although TI's GSG: OMAP35x DVEVM Software Setup is targeting a different board (DVEVM, Digital Video EValuation Module) it looks like a good set of instructions for getting the Beagle set up for using the DSP. I've copied it locally so we can update it for the BeagleBoard (ECE597 BeagleBoard DSP Software Setup).
Follow the instructions at ECE597 BeagleBoard DSP Software Setup to install the Beagle DSP software. If you get stuck, look at the Old instructions below. These are the instructions I wrote before TI updated their site. They might help.
Once everything is installed, do the Authorizing ssh below. It will make developing software easier.
Authorizing ssh
We'll be using ssh and sftp to move files to the Beagle and run them there. Makefile will be setup to automatically sftp files to the Beagle when make install
is run. For this to work you need to set up authorization so you don't have to enter your password when using these commands. Here's how to do it:
- On your host computer run
host $ ssh-keygen host $ cd ~/.ssh host $ sftp Beagle put id_rsa.pub exit host $ ssh Beagle
The first command creates an authorization key and places it in your .ssh directory. Remember the pass phrase you enter here. You'll use it below. The next two commands copy that key to your Beagle. The last command connects to your Beagle.
- On your Beagle run
beagle $ mkdir ~/.ssh beagle $ cd ~/.ssh beagle $ mv ../id_rsa.pub . beagle $ cp id_rsa.pub authorized_keys beagle $ exit
Here we create a .ssh directory and copy the public key into it. The authorized_keys folder contains a list of all the machines that are authorized to connect to your Beagle without a password.
- Back on the host computer:
host $ ssh Beagle
This time you should see a window pop up. Enter your pass phrase from above. You should be logged into your Beagle. Log out and log in again. This time you should get access without having to enter your pass phrase.
Here is move information on ssh authorization.
Old
Here's what you need to do to program the DSP side of the BeagleBoard. The first part is getting things installed. The second is moving things around and setting up ssh show you don't have to enter your password every time.
Installing
To save download time I've put these files on the class SharePoint site. Look in the Shared Documents folder in Downloads.
Install OMAP35x SDK
First install the OMAP35x Software Developers Kit. Do this by:
- Go to here
- Click on
- Scroll near the bottom to Linux Platform Support Package [PSP]. Below it you will see a link to OMAP35x-PSP-SDK-setuplinux-02.01.03.11.bin. Click and download it.
- Change to your download directory
cd ~/Downloads
. - Make the downloaded file executable,
chmod +x OMAP35x-PSP-SDK-setuplinux-02.01.03.11.bin
- Run it,
./OMAP35x-PSP-SDK-setuplinux-02.01.03.11.bin
.
- Click Yes
- Click Next >
- Accept the terms.
- Use the default location
- The install takes around 5 minutes. Continue clicking until it's installed.
Install Digital Video Software Development Kit [DVSDK]
The next step is the install the DVSDK.
- Go back to here and scroll down to Digital Video Software Development Kit [DVSDK]. Click on dvsdk_setuplinux_3_00_02_44.bin to download.
- Change to your download directory
cd ~/Downloads
. - Make the downloaded file executable,
chmod 755 dvsdk_setuplinux_3_00_02_44.bin
- Run it,
./dvsdk_setuplinux_3_00_02_44.bin
.
- Click Yes
- Click Next >
- Accept the agreement.
- Keeping clicking until it's installed.
Install DVSDK Dependencies
The next step is the install the DVSDK Dependencies.
- Go back to here and scroll down to DVSDK Dependencies. Click on xdctools_setuplinux_3_15_01_59.bin to download.
- Also download bios_setuplinux_5_33_06.bin and TI-C6x-CGT-v6.0.16.1.bin
- Change to your download directory
cd ~/Downloads
. - Make the downloaded file executable,
chmod 755 xdctools_setuplinux_3_15_01_59.bin
- Run it,
./xdctools_setuplinux_3_15_01_59.bin
. - Pick you language (sorry, no Chinese)
- Click Yes
- Click Next >
- Accept the agreement.
- Keeping clicking until it's installed. This will take longer than the previous installs.
- Repeat this process for bios_setuplinux_5_33_06.bin
- Again repeat for TI-C6x-CGT-v6.0.16.1.bin
- Set the install path to /home/user/dvsdk_3_00_02_44/cg6x_6_0_16 where user is your username.
Install the CodeSourcery Compiler
TI recommends the 2009q1-203 version of the CodeSourcery compiler.
- Get it here
- Click on IA32 GNU/Linux Installer to download it
- Install as before
- After a while this will appear
- Click through, selecting Typical install
- Use the default install location
- Take the default shortcuts
- Click Install and wait awhile
Some addition useful information at be found here: Linux Digital Video Software Development Kit (DVSDK) for OMAP35x Processors
Post install setup
Move some things around
The TI workshop material that we are using have these files in slightly different locations. Let's move our files to match theirs.
$ cd $ mv bios_5_33_06/ dvsdk_3_00_02_44 $ mv xdctools_3_15_01_59/ dvsdk_3_00_02_44 $ mv OMAP35x-PSP-SDK-02.01.03.11 dvsdk_3_00_02_44 $ cd dvsdk_3_00_02_44 $ mv OMAP35x-PSP-SDK-02.01.03.11 PSP_02_01_03_11