Difference between revisions of "EBC Exercise 05 Getting Exercise Support Materials"
(I fixed the link to download the DM3730 technical reference manual.) |
(This was an issue for me.. hopefully it will help someone else) |
||
Line 31: | Line 31: | ||
after running <code>ssh-keygen</code> to get <code>ssh -T git@github.com</code> to work. | after running <code>ssh-keygen</code> to get <code>ssh -T git@github.com</code> 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 [[Wikipedia:OpenDNS|OpenDNS]] nameserver. | ||
== Get the Files == | == Get the Files == |
Revision as of 23:52, 5 September 2012
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.
Download Reference Manuals
- Download the BeagleBone and the BeagleBoard-xM BeagleBoard System Reference Manuals.
- Download the AM335x Technical Reference Manual. Be sure you have the right one, it's some 4,300+ pages long.
- Download the DM3730 Technical Reference Manual. It's some 3,600+ pages long.
Keeps these in an easy to find place.
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 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
Embedded Linux Class by Mark A. Yoder