Difference between revisions of "ECE597 Installing DSP Development Tools"
(→Install DVSDK Dependencies: Added 'C6x compiler) |
(Changed levels of heading and added ssh authorization.) |
||
Line 4: | Line 4: | ||
'''Page under construction.''' | '''Page under construction.''' | ||
− | Here's what you need to do to program the DSP side of the BeagleBoard. | + | 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. |
− | == Install OMAP35x SDK == | + | == Installing == |
+ | |||
+ | === Install OMAP35x SDK === | ||
First install the OMAP35x Software Developers Kit. Do this by: | First install the OMAP35x Software Developers Kit. Do this by: | ||
Line 22: | Line 24: | ||
* The install takes around 5 minutes. Continue clicking until it's installed. | * The install takes around 5 minutes. Continue clicking until it's installed. | ||
− | == Install Digital Video Software Development Kit [DVSDK] == | + | === Install Digital Video Software Development Kit [DVSDK] === |
The next step is the install the DVSDK. | The next step is the install the DVSDK. | ||
Line 38: | Line 40: | ||
* Keeping clicking until it's installed. | * Keeping clicking until it's installed. | ||
− | == Install DVSDK Dependencies == | + | === Install DVSDK Dependencies === |
The next step is the install the DVSDK Dependencies. | The next step is the install the DVSDK Dependencies. | ||
Line 63: | Line 65: | ||
* Set the install path to '''/home/user/dvsdk_3_00_02_44/cg6x_6_0_16''' where '''user''' is your username. | * 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 == | + | === Install the CodeSourcery Compiler === |
[http://www.elinux.org/ARMCompilers TI recommends] the 2009q1-203 version of the [http://www.codesourcery.com CodeSourcery] compiler. | [http://www.elinux.org/ARMCompilers TI recommends] the 2009q1-203 version of the [http://www.codesourcery.com CodeSourcery] compiler. | ||
Line 78: | Line 80: | ||
* Click '''Install''' and wait awhile | * Click '''Install''' and wait awhile | ||
− | == Move some things around == | + | Some addition useful information at be found here: [http://focus.ti.com/docs/toolsw/folders/print/linuxdvsdk-omap.html 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. | The TI workshop material that we are using have these files in slightly different locations. Let's move our files to match theirs. | ||
Line 85: | Line 91: | ||
$ mv bios_5_33_06/ dvsdk_3_00_02_44 | $ mv bios_5_33_06/ dvsdk_3_00_02_44 | ||
$ mv xdctools_3_15_01_59/ dvsdk_3_00_02_44 | $ mv xdctools_3_15_01_59/ dvsdk_3_00_02_44 | ||
+ | </pre> | ||
+ | == 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 <code>make install</code> 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 | ||
+ | <pre> | ||
+ | $ ssh-keygen | ||
+ | $ cd ~/.ssh | ||
+ | $ sftp Beagle | ||
+ | put id_rsa.pub | ||
+ | exit | ||
+ | $ ssh Beagle | ||
+ | </pre> | ||
+ | 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 | ||
+ | <pre> | ||
+ | $ mkdir ~/.ssh | ||
+ | $ cd ~/.ssh | ||
+ | $ mv ../id_rsa.pub . | ||
+ | $ cp id_rsa.pub authorized_keys | ||
+ | $ exit | ||
+ | </pre> | ||
+ | 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: | ||
+ | <pre> | ||
+ | ssh Beagle | ||
</pre> | </pre> | ||
+ | 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. | ||
− | + | [http://kimmo.suominen.com/docs/ssh/ Here] is move information on ssh authorization. |
Revision as of 07:43, 7 April 2010
Page under construction.
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.
Contents
Installing
Install OMAP35x SDK
First install the OMAP35x Software Developers Kit. Do this by:
- Go to here and 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 755 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
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
$ ssh-keygen $ cd ~/.ssh $ sftp Beagle put id_rsa.pub exit $ 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
$ mkdir ~/.ssh $ cd ~/.ssh $ mv ../id_rsa.pub . $ cp id_rsa.pub authorized_keys $ 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:
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.