Difference between revisions of "EBC Exercise 05 Getting Exercise Support Materials"

From eLinux.org
Jump to: navigation, search
m (P8 and P9 Header Files: Moved up a level)
m (Download Reference Manuals)
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
== Download Reference Manuals ==
 
== 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.
 
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.
# The official SRM is kept https://github.com/beagleboard/beaglebone-black/wiki/System-Reference-Manual. Download it.
+
# The official SRM is kept https://yoder.beagleboard.io/docs.beagleboard.io/latest/boards/beaglebone/black/index.html. You will want to bookmark this.  
 
# The TRM for the am335x  is on [http://www.ti.com/lit/pdf/spruh73 TI's site].
 
# The TRM for the am335x  is on [http://www.ti.com/lit/pdf/spruh73 TI's site].
  
Line 31: Line 31:
 
== Set Up Git ==
 
== Set Up Git ==
  
While cd'ed into the repository, on both the host and the bone run:
+
On ''both'' the host and the bone run:
 
  $ '''git config --global user.name "Mark A. Yoder"'''
 
  $ '''git config --global user.name "Mark A. Yoder"'''
 
  $ '''git config --global user.email Mark.A.Yoder@Rose-Hulman.edu​'''
 
  $ '''git config --global user.email Mark.A.Yoder@Rose-Hulman.edu​'''
  $ '''git config --global core.editor vi'''
+
  $ '''git config --global core. Editor nano'''
Use your name and email address and your favorite editor.
+
Use your name and email address and your favorite editor.  This sets the global values.
  
 
Later exercises will tell you which files to use from here.
 
Later exercises will tell you which files to use from here.

Latest revision as of 14:10, 14 November 2023

thumb‎ 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

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.

  1. The official SRM is kept https://yoder.beagleboard.io/docs.beagleboard.io/latest/boards/beaglebone/black/index.html. You will want to bookmark this.
  2. The TRM for the am335x is on TI's site.

Keep both of these in an easy to find place, we'll reference them now and then.

Get the Files

It only takes one command to pull down all the files.

bone$ git clone https://github.com/MarkAYoder/BeagleBoard-exercises.git exercises --depth=1

(The whole repo is some 700M. Using --depth=1 you only get the recent history and it only takes 200M.)

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 if you haven't done so already.

host$ git clone https://github.com/MarkAYoder/BeagleBoard-exercises.git exercises --depth=1

Now take a look at what you got.

bone$ cd exercises
bone$ ls
bone$ cd pptx
bone$ ls

Set Up Git

On both the host and the bone run:

$ git config --global user.name "Mark A. Yoder"
$ git config --global user.email Mark.A.Yoder@Rose-Hulman.edu​
$ git config --global core. Editor nano

Use your name and email address and your favorite editor. This sets the global values.

Later exercises will tell you which files to use from here.

P8 and P9 Header Files

The BeagleBone Black has two headers, P8 and P9, that have lots of IO. There are two pdf files that have lots of information about the headers in this git repository. Here's how to get them

host$ git clone https://github.com/derekmolloy/exploringBB.git
host$ cd exploringBB/chp06/docs
host$ ls
BeagleboneBlackP8HeaderTable.pdf  BeagleboneBlackP9HeaderTable.pdf

Put these where you can find them again.




thumb‎ Embedded Linux Class by Mark A. Yoder