EBC Exercise 05 Getting Exercise Support Materials

From eLinux.org
Revision as of 22:52, 5 September 2012 by Shinnsm (Talk | contribs) (This was an issue for me.. hopefully it will help someone else)

Jump to: navigation, search

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

  1. Download the BeagleBone and the BeagleBoard-xM BeagleBoard System Reference Manuals.
  2. Download the AM335x Technical Reference Manual. Be sure you have the right one, it's some 4,300+ pages long.
  3. 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
{"cc_re__cc_re__cc_by_sa_3_0": ["Permanent link</a></li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li id=\"t-info\"><a href=\"/index.php?title=EBC_Exercise_05_Getting_Exercise_Support_Materials&amp;action=info\" title=\"More information about this page\">Page information</a></li>\n\t\t\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t</div>\n\t\t</div>\n\t\t\t\t</div>\n\t\t</div>\n\t\t<div id=\"footer\" role=\"contentinfo\">\n\t\t\t\t\t\t\t<ul id=\"footer-info\">\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-info-viewcount\">This page has been accessed 16,668 times.</li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-info-copyright\">Content is available under <a class=\"external\" rel=\"nofollow\" href=\"http://creativecommons.org/licenses/by-sa/3.0/\">a Creative Commons Attribution-ShareAlike 3.0 Unported License</a> unless otherwise noted.</li>\n\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t<ul id=\"footer-places\">\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-privacy\"><a href=\"/eLinux.org:Privacy_policy\" title=\"eLinux.org:Privacy policy\">Privacy policy</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-about\"><a href=\"/eLinux.org:About\" title=\"eLinux.org:About\">About eLinux.org</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-disclaimer\"><a href=\"/eLinux.org:General_disclaimer\" title=\"eLinux.or", "oter-places-privacy\"><a href=\"/eLinux.org:Privacy_policy\" title=\"eLinux.org:Privacy policy\">Privacy policy</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-about\"><a href=\"/eLinux.org:About\" title=\"eLinux.org:About\">About eLinux.org</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-disclaimer\"><a href=\"/eLinux.org:General_disclaimer\" title=\"eLinux.org:General disclaimer\">Disclaimers</a></li>\n\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\t\t\t<ul id=\"footer-icons\" class=\"noprint\">\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-copyrightico\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http://creativecommons.org/licenses/by-sa/3.0/\"><img src=\"http://i.creativecommons.org/l/by-sa/3.0/88x31.png\" alt=\"a Creative Commons Attribution-ShareAlike 3.0 Unported License\" width=\"88\" height=\"31\" /></a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-poweredbyico\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"//www.mediawiki.org/\"><img src=\"/resources/assets/poweredby_mediawiki_88x31.png\" alt=\"Powered by MediaWiki\" srcset=\"/resources/assets/poweredby_mediawiki_132x47.png 1.5x, /resources/assets/poweredby_mediawiki_176x62.png 2x\" width=\"88\" height=\"31\" /></a>\n\t"], "copyright__copyright__copyright": ["", "lone once for each computer. I suggest you do the same on your host computer.\n\nhost$ git clone git://github.com/MarkAYoder/BeagleBoard-exercises.git exercises\n\nNow take a look at what you got.\n\nbeagle$ cd exercises\nbeagle$ ls\nbeagle$ cd pptx\nbeagle$ ls\n\nLater exercises will tell you which files to use from here.\n\nIf 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.\n\nbeagle$ git pull\n\n\n\n\nEmbedded Linux Class by Mark A. Yoder", "lone once for each computer. I suggest you do the same on your host computer.\n\nhost$ git clone git://github.com/MarkAYoder/BeagleBoard-exercises.git exercises\n\nNow take a look at what you got.\n\nbeagle$ cd exercises\nbeagle$ ls\nbeagle$ cd pptx\nbeagle$ ls\n\nLater exercises will tell you which files to use from here.\n\nIf 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.\n\nbeagle$ git pull\n\n\n\n\nEmbedded Linux Class by Mark A. Yoder"]}