Difference between revisions of "ECE497 Lab10 gMake"

From eLinux.org
Jump to: navigation, search
m (Lab 05, gMake)
m
Line 4: Line 4:
 
** DaVinci-OMAP_Workshop_v2.0.pdf
 
** DaVinci-OMAP_Workshop_v2.0.pdf
 
** tto_workshop_labs_(v2.00).tar
 
** tto_workshop_labs_(v2.00).tar
** setpaths.mak  (Get BOTH setpaths, they are different)
+
** makefile_profile.mak
 +
 
 +
* Untar the labs file on your Linux host.  It will create two directories, '''workshop''' and '''solutions'''.  You will find the materials needed to do the labs below in the '''workshop''' directory. The directions in '''DaVanci-OMAP_Workshop''' file will tell you which directory to use for each lab.
 +
 
 +
These labs were originally done for the Digital Video Evaluation Module (DVEVM).  We will be adapting them for the BeagleBoard as we go.
 +
 
 +
== Lab 05, gMake ==
 +
 
 +
Lab 05 is on pages 125-157 of the DaVinci-OMAP_Workshop_v2.0.pdf file. Work through this lab.  You'll learn how '''make''' works.  When you get to part D, compare my version of the make file ('''makefile_profile.mak.yoder''') to the one in the folder.  The workshop assumes you have NFS setup to share files between the DVEVM and the host computer.  Rather than share files, I've set up the makefile so use sftp and ssh to copy the executables to the Beagle when installing.  If you can at the NFS working, great!, otherwise use my setup.
 +
 
 +
== Lab 06, Using the OSS Driver ==
 +
 
 +
Lab 06 is on pages 171-186 of the DaVinci-OMAP_Workshop_v2.0.pdf file.  In doing this lab you will get audio from the line-in jack on the Beagle and sent it out the speaker jack.
 +
* Go to the class [https://myrhit.rose-hulman.edu/class/ece597/default.aspx SharePoint Site] and get
 +
** setpaths.mak
 
** setpaths.sh
 
** setpaths.sh
* Untar the labs file on your Linux host.  It will create two directories, '''workshop''' and '''solutions'''.  You will find the materials needed to do the labs below in the workshop folder.  The directions in '''DaVanci-OMAP_Workshop''' file will tell you which directory to use for each lab.
+
 
* Move the '''setpaths''' files to another location.
+
* Move the '''setpaths''' files in the workshop directory to another location.
 
<pre>
 
<pre>
 
host $ cd workshop
 
host $ cd workshop
Line 13: Line 27:
 
host $ mv setpaths.mak setpaths.mak.orig
 
host $ mv setpaths.mak setpaths.mak.orig
 
</pre>
 
</pre>
* Copy the setpaths files you got from SharePoint into the workshop directory. In Lab 5 you will edit these files so they are correct.
+
* Copy the setpaths files you got from SharePoint into the workshop directory. In Lab 6 you will edit these files so they are correct.
 
 
These labs were originally done for the Digital Video Evaluation Module (DVEVM).  We will be adapting them for the BeagleBoard as we go.
 
 
 
== Lab 05, gMake ==
 
 
 
Pages 125-157 of the DaVinci-OMAP_Workshop_v2.0.pdf file are Lab 5. 
 
 
 
{|
 
! Due Date !! style="width:50%" | Exercise !! Links
 
|-
 
| 12-Apr-2010
 
| Demo what you've done so far
 
|
 
|-
 
| 13-Apr-2010
 
| Reconfigure BusyBox
 
| [[ECE597 Configuring BusyBox]]
 
|-
 
|
 
| Install DSP Software
 
| [[ECE597 Installing DSP Development Tools]]
 
|-
 
|
 
| DaVinci Workshop Lab 5
 
| [[ECE597 DaVinci Workshop Labs]]
 
|}
 

Revision as of 10:53, 12 April 2010

Below are the details of the labs we'll be doing from the DaVinci workshop. Get these files before doing the labs:

  • Go to the class SharePoint Site and get
    • DaVinci-OMAP_Workshop_v2.0.pdf
    • tto_workshop_labs_(v2.00).tar
    • makefile_profile.mak
  • Untar the labs file on your Linux host. It will create two directories, workshop and solutions. You will find the materials needed to do the labs below in the workshop directory. The directions in DaVanci-OMAP_Workshop file will tell you which directory to use for each lab.

These labs were originally done for the Digital Video Evaluation Module (DVEVM). We will be adapting them for the BeagleBoard as we go.

Lab 05, gMake

Lab 05 is on pages 125-157 of the DaVinci-OMAP_Workshop_v2.0.pdf file. Work through this lab. You'll learn how make works. When you get to part D, compare my version of the make file (makefile_profile.mak.yoder) to the one in the folder. The workshop assumes you have NFS setup to share files between the DVEVM and the host computer. Rather than share files, I've set up the makefile so use sftp and ssh to copy the executables to the Beagle when installing. If you can at the NFS working, great!, otherwise use my setup.

Lab 06, Using the OSS Driver

Lab 06 is on pages 171-186 of the DaVinci-OMAP_Workshop_v2.0.pdf file. In doing this lab you will get audio from the line-in jack on the Beagle and sent it out the speaker jack.

  • Move the setpaths files in the workshop directory to another location.
host $ cd workshop
host $ mv setpaths.sh setpaths.sh.orig
host $ mv setpaths.mak setpaths.mak.orig
  • Copy the setpaths files you got from SharePoint into the workshop directory. In Lab 6 you will edit these files so they are correct.