Difference between revisions of "EBC Exercise 05 Getting Exercise Support Materials"
(Updated for Fall 2013) |
m (Adding dropbear notes.) |
||
Line 15: | Line 15: | ||
Many of the following exercises require some extra files on the BeagleBoard. These files are stored in a '''git''' repository. We'll learn more about using git later. Here I'll just show you how to get the files. | Many of the following exercises require some extra files on the BeagleBoard. These files are stored in a '''git''' repository. We'll learn more about using git later. Here I'll just show you how to get the files. | ||
− | Go to [ | + | Go to [https://help.github.com/articles/set-up-git github], [https://help.github.com/articles/generating-ssh-keys generating-ssh-keys] and [http://www.troodon-software.com/Embedded/2012/01/31/using-git-with-the-dropbear-ssh-client/ dropbear] and follow the directions for installing and setting up git. No need to set up your own repository right now (unless you want to). |
I suggest you do this for both your host computer and your Beagle. On the Beagle use | I suggest you do this for both your host computer and your Beagle. On the Beagle use |
Revision as of 14:04, 27 May 2013
Embedded Linux Class by Mark A. Yoder
You need to download some reference manuals and set up your Beagle with some extra files. Here's what to do.
Contents
Download Reference Manuals
There are two important hardware reference manuals you need to have, the System Reference Manual (SRM) and the Technical Reference Manual (TRM) for the ARM processor. Here's where to find them.
- CircuitCo has the official reference materials for the Bone. Click on the link for the Bone Black and then click on the Hardware Files link. Here you will find a link to a pdf file with the SRM. Download it.
- Finding the TRM is a bit trickier. Open the SRM you found in the previous step and find what processor it is using. (Hint: page 52) You'll find a link to a TI site that has the manual. Be sure you have the right one, it's some 18M and 4,100+ pages long.
Keep both of these in an easy to find place, we'll reference them now and then.
Set Up Git
Many of the following exercises require some extra files on the BeagleBoard. These files are stored in a git repository. We'll learn more about using git later. Here I'll just show you how to get the files.
Go to github, generating-ssh-keys and dropbear and follow the directions for installing and setting up git. No need to set up your own repository right now (unless you want to).
I suggest you do this for both your host computer and your Beagle. On the Beagle use
beagle$ opkg update beagle$ opkg install git beagle$ opkg install openssh-keygen
The last opkg installs ssh-keygen
which is needed to work with github.
On my host computer I had to run
host$ ssh-add id_rsa
after running ssh-keygen
to get ssh -T git@github.com
to work.
'opkg update' Doesn't Work
If you're connected to the Internet but the "feeds.angstrom-distribution.org" host doesn't resolve, make this the only line in the "/etc/resolv.conf" file on your Beagle:
nameserver 208.67.222.222
This is an OpenDNS nameserver.
Get the Files
It only takes one command to pull down all the files.
beagle$ git clone git://github.com/MarkAYoder/BeagleBoard-exercises.git exercises
This will take a while since it's getting all the course files, including pdf files of the course PowerPoint. You only have to clone once for each computer. I suggest you do the same on your host computer.
host$ git clone git://github.com/MarkAYoder/BeagleBoard-exercises.git exercises
Now take a look at what you got.
beagle$ cd exercises beagle$ ls beagle$ cd pptx beagle$ ls
Later exercises will tell you which files to use from here.
If it's been a while since you did the clone it's a good idea to do a pull. This will make sure all the files are up to date.
beagle$ git pull
Materials for later
Some later exercises will need the following additional git repositories. You don't have to load them now, the exercises will tell you when to do it.
This will load Big Buck Bunny and some other media.
beagle$ cd ~/exercises/gstreamer beagle$ git clone git://github.com/MarkAYoder/esc-media.git
This load the things needed for using the DSP.
beagle$ cd ~/exercises/audioThru/lab06d_audio_c6run beagle$ git clone git://github.com/MarkAYoder/c6run_build.git
Embedded Linux Class by Mark A. Yoder