Difference between revisions of "ECE497 Calendar and Exercises"

From eLinux.org
Jump to: navigation, search
m (Week 2)
(Week 10)
(48 intermediate revisions by 3 users not shown)
Line 73: Line 73:
 
| 6-Sept
 
| 6-Sept
 
|  
 
|  
| Pulse Width Modulation, Mini Project 01
+
| Pulse Width Modulation
 
|  
 
|  
 
| [[EBC Exercise 12 I2C]]
 
| [[EBC Exercise 12 I2C]]
  
 
[[EBC Exercise 13 Pulse Width Modulation]]
 
[[EBC Exercise 13 Pulse Width Modulation]]
 
[[ECE497 Mini Project 01]]
 
 
|-
 
|-
 
| 2-2
 
| 2-2
 
| 7
 
| 7
 
|  
 
|  
| Lab Time
+
| Lab Time, Mini Project 01
 
| Measure gpio and pwm with oscilloscope.
 
| Measure gpio and pwm with oscilloscope.
|  
+
| [[EBC Mini Project 01]]
 
|-
 
|-
 
| 2-3
 
| 2-3
 
| 10
 
| 10
 
|
 
|
| gdb, make
+
| gdb, Lab Time
 
|  
 
|  
| [[EBC Exercise 15 make]]
+
| [[EBC Exercise 14 gdb Debugging]]
 
+
[[EBC Exercise 14 gdb Debugging]]
+
 
|-
 
|-
 
| 2-4
 
| 2-4
 
| 11
 
| 11
 
|  
 
|  
|  
+
| Lab Time
 
|  
 
|  
 
|  
 
|  
Line 107: Line 103:
 
== Week 3 ==
 
== Week 3 ==
  
{| style="color:blue; background-color:#ffffff;" cellpadding="10" cellspacing="0" border="1"
+
{| style="color:blue; background-color:#ffaaff;" cellpadding="10" cellspacing="0" border="1"
 
! Day !! Date !! Reading !! Topic !! Exercise !! Links
 
! Day !! Date !! Reading !! Topic !! Exercise !! Links
 
|-
 
|-
 
| 3-1
 
| 3-1
| 12
+
| 13
 
|  
 
|  
| i2c lab
+
| make, Mini Project 02
| I2C: Do the <span style="color:green">green</span> section [[EBC_Exercise_05_I2C#Assignment | here]]
+
| Flash ETC 2012 image on SD card for xM
make
+
| [[EBC Exercise 15 make]]
| [[EBC Exercise 07a make]],
+
 
[[EBC Exercise 07b make with variables]]
+
[[EBC Mini Project 02]]
 +
 
 +
[[EBC Exercise 03 Installing a Beagle OS]]
 
|-
 
|-
 
| 3-2
 
| 3-2
| 13
+
| 14
 
|  
 
|  
 
| Advanced Linux Sound Architecture (ALSA)
 
| Advanced Linux Sound Architecture (ALSA)
| git
+
|  
| [[EBC Exercise 05 I2C]], [[EBC Exercise 07c git]]
+
| [[EBC Exercise 17 Using ALSA for Audio Processing]]
 
|-
 
|-
 
| 3-3
 
| 3-3
| 15
+
| 17
 
|  
 
|  
 
| Using the DSP (c6run)
 
| Using the DSP (c6run)
 
|  
 
|  
|  
+
| [[EBC Exercise 18 Using the DSP for Audio Processing]]
 
|-
 
|-
 
| 3-4
 
| 3-4
| 16
+
| 18
 
|  
 
|  
| Lab Time
+
| Lab Time, Mini Project 1 demo time
 
|  
 
|  
 
|  
 
|  
Line 143: Line 141:
 
== Week 4 ==
 
== Week 4 ==
  
{|style="color:blue; background-color:#ffffff;" cellpadding="10" cellspacing="0" border="1"
+
{|style="color:blue; background-color:#ddffff;" cellpadding="10" cellspacing="0" border="1"
 
! Day !! Date !! Reading !! Topic !! Exercise !! Links
 
! Day !! Date !! Reading !! Topic !! Exercise !! Links
 
|-
 
|-
 
| 4-1
 
| 4-1
| 19
+
| 20
|
+
| Lab Time
+
 
|  
 
|  
 +
| Video Processing
 
|  
 
|  
 +
| [[EBC Exercise 19 DSS2 and sysfs]]
 +
 +
[[EBC Exercise 20 The Display SubSystem (DSS)]]
 
|-
 
|-
 
| 4-2
 
| 4-2
| 20
+
| 21
 
|  
 
|  
 
| Lab Time
 
| Lab Time
| ALSA
+
|  
| [[EBC Exercise 08 Using ALSA for Audio Processing]]
+
|  
 
|-
 
|-
 
| 4-3
 
| 4-3
| 5-Jan-2012
+
| 24
|
+
| Video Processing,
+
bitbaking 2.6.32 kernel
+
 
|  
 
|  
 +
| Threads
 
|  
 
|  
 +
| [[EBC Exercise 21 Running Audio and Video]]
 
|-
 
|-
 
| 4-4
 
| 4-4
| 6
+
| 25
 +
|
 +
| Lab Time
 +
|
 
|  
 
|  
| Threads
 
| c6run.  Do the <span style="color:green">green</span> things [[EBC_Exercise_09_Using_the_DSP_for_Audio_Processing#Assignment_-_Experiment_with_the_code | here]]
 
| [[EBC Exercise 09 Using the DSP for Audio Processing]]
 
 
|}
 
|}
  
 
== Week 5 ==
 
== Week 5 ==
  
{| style="color:blue; background-color:#ffffff;" cellpadding="10" cellspacing="0" border="1"
+
{| style="color:blue; background-color:#ffffdd;" cellpadding="10" cellspacing="0" border="1"
 
! Day !! Date !! Reading !! Topic !! Exercise !! Links
 
! Day !! Date !! Reading !! Topic !! Exercise !! Links
 
|-
 
|-
| 6-1
+
| 5-1
| 16-Jan-2012
+
| 27-Sept-2012
| 2.1-2.3.5
+
|  
| Booting, Memory Map, Cross-Development
+
| Graphical Interfaces and node.js
| Video through
+
|  
| [[EBC Exercise 01 Using bitbake for Kernel and U-boot#Finding the Correct Kernel]],
+
|  
[[EBC Exercise 10 The Display SubSystem (DSS) Writing to the Framebuffer]],
+
 
+
[[EBC Exercise 10a DSS2 and sysfs]]
+
 
|-
 
|-
| 6-2
+
| 5-2
| 17
+
| 28
| 3.2.13, 4.1-4.3.2
+
|  
| Processor Basics, TI ARM, The Kernel
+
| Lab Time
| Reproduce every listing each day's reading assignment. See my Listing page as an example.  Note any interesting differences between your listing and the book and my listings. Keep a printed copy in a notebook.  Bring to class and I'll check them during lab time.
+
|  
| [[EBC Listings for Embedded Linux Primer]],
+
|
[[EBC Exercise 11 Running Audio and Video]]
+
 
|-
 
|-
| 6-3
+
| 5-3
| 19
+
| 1-Oct-2012
| 4.3.3-4.5, 5.1-5.2
+
| 2.1-2.3.5, 3.2.13
 +
| Booting, Memory Map, Cross-Development, Processor Basics, TI ARM
 +
|
 +
|
 +
|-
 +
| 5-4
 +
| 2
 +
| 4.1-4.3.3
 +
| The Kernel
 +
|
 +
| [[EBC Exercise 22 Cross-Compiling]]
 +
|}
 +
 
 +
== Week 6 ==
 +
 
 +
{| style="color:blue; background-color:#ffddff;" cellpadding="10" cellspacing="0" border="1"
 +
! Day !! Date !! Reading !! Topic !! Exercise !! Links
 +
|-
 +
| 6-1
 +
| 4
 +
| 4.4-4.5, 5.1-5.2
 
| Adding to the Kernel makefile, Kernel Initialization
 
| Adding to the Kernel makefile, Kernel Initialization
| Compile and run Listing 2-4 (Hello World, embedded style) on your host computer, Beagle ARM and Beagle DSP. Compare the results.
+
| Find the Beagle version of Figure 2-5 on page 25. Be sure to find a numeric value for the starting address of the POP SDRAM. Note where you found this information.
| [[EBC Exercise 12 Cross-Compiling and Finding the Right Kernel]]
+
| [[EBC Exercise 23 Configuring the Kernel]]
 
|-
 
|-
 
| "
 
| "
 
| "
 
| "
|
 
|
 
| Find the Beagle version of Figure 2-5 on page 25. Be sure to find a numeric value for the starting address of the POP SDRAM. Note where you found this information.
 
| [http://www.ti.com/lit/ug/sprugn4n/sprugn4n.pdf DM3730 Technical Reference Manual]
 
[http://beagleboard.org/ BeagleBoard-xM System Reference Manual]
 
|-
 
| 6-4
 
| 20
 
 
| 5.3-5.6
 
| 5.3-5.6
 
| Command Line Processing, __setup Macro
 
| Command Line Processing, __setup Macro
 
| Configuring the Kernel Lab
 
| Configuring the Kernel Lab
| [[EBC Exercise 13 Configuring the Kernel]]
+
| [[EBC Exercise 24 Kconfig Edits]]
 
|-
 
|-
 +
| 6-2
 +
| 5
 
|  
 
|  
| "
+
| Lab Time
 +
|
 +
|
 +
|-
 +
| 6-3
 +
| 8
 
| 6.1-6.3
 
| 6.1-6.3
 
| System Initialization
 
| System Initialization
 
| Project Status Report, update your project status page.
 
| Project Status Report, update your project status page.
| [[ECE497 Contributions and Project Status]]
+
| [[EBC Exercise 21a Boot Sequence]]
 +
[[ECE497 Contributions and Project Status]]
 +
|-
 +
| 6-4
 +
| 9
 +
| 6.4-6.7
 +
| Initial RAM Disk, Using initramfs
 +
|
 +
 
|}
 
|}
  
Line 235: Line 257:
 
|-
 
|-
 
| 7-1
 
| 7-1
| 23-Jan
+
| 15
| 6.4-6.7
+
| Initial RAM Disk, Using initramfs, Shutdown
+
| Here's a challenge for today's lab.  Modify the correct Kconfig file so you have the option shown in the link.  What changes would you have to make the the makefile for your new code to compile?
+
| [[EBC Exercise 13 Configuring the Kernel]]
+
|-
+
| 7-2
+
| 24
+
 
| 7.1-7.3
 
| 7.1-7.3
 
| Bootloaders, Das U-Boot
 
| Bootloaders, Das U-Boot
 +
|
 +
| [[EBC Exercise 25 Configuring U-boot]]
 +
|-
 +
| 7-2
 +
| 16
 +
|
 +
| Demo and Work Day
 
|  
 
|  
 
|  
 
|  
 
|-
 
|-
 
| 7-3
 
| 7-3
| 26
+
| 18
 
| 8.1-8.4
 
| 8.1-8.4
 
| Device Driver Basics, Driver Methods
 
| Device Driver Basics, Driver Methods
| Modify the prompt in U-boot to include you initials.
+
|  
| [[EBC Exercise 15 Configuring U-boot]]
+
| [[EBC Exercise 08 Installing Development Tools]]
 +
[[EBC Exercise 26 Device Drivers]]
 
|-
 
|-
 
| 7-4
 
| 7-4
| 27
+
| 19
| 8.1-8.4
+
| 11.1-11.4
| More Device Drivers
+
| BusyBox
| Project Status Report, update your project status page.
+
| In B105
| [[ECE497 Contributions and Project Status]]  
+
| [[EBC Exercise 27 BusyBox]]
 +
 
 
|}
 
|}
  
 
== Week 8 ==
 
== Week 8 ==
  
{| style="color:blue; background-color:#ffffff;" cellpadding="10" cellspacing="0" border="1"
+
{| style="color:blue; background-color:#ddffff;" cellpadding="10" cellspacing="0" border="1"
 
! Day !! Date !! Reading !! Topic !! Exercise !! Links
 
! Day !! Date !! Reading !! Topic !! Exercise !! Links
 
|-
 
|-
 
| 8-1
 
| 8-1
| 30
+
| 22
| 11
+
| BusyBox
+
| Follow the example in 8.1-8.2 to write a kernel module.
+
| [[EBC Exercise 16 Device Drivers]]
+
|-
+
| 8-2
+
| 31
+
 
| [http://gstreamer.freedesktop.org/ GStreamer]
 
| [http://gstreamer.freedesktop.org/ GStreamer]
 
| GStreamer ([http://wiki.oz9aec.net/index.php/Gstreamer_cheat_sheet Cheat Sheet],
 
| GStreamer ([http://wiki.oz9aec.net/index.php/Gstreamer_cheat_sheet Cheat Sheet],
[http://www.oz9aec.net/index.php/gstreamer/345-a-weekend-with-gstreamer Weekend with GStreamerr])
+
[http://www.oz9aec.net/index.php/gstreamer/345-a-weekend-with-gstreamer Weekend with GStreamer])
| Follow the example in 8.3-8.4 to write a kernel module that does more. Use dynamic major number allocation.
+
| Status Report
| [[EBC Exercise 16 Device Drivers]]
+
| [[EBC Exercise 29 GStreamer]] (optional)
 +
|-
 +
| 8-2
 +
| 23
 +
|
 +
|
 +
| Project Time
 +
|
 
|-
 
|-
 
| 8-3
 
| 8-3
| 2-Feb-2012
+
| 25
 
|  
 
|  
| Remote Debugging
+
| Remote debugging with gdb, cbrowser/cscope and strace
| Reconfigure BusyBox
+
| Project Time
| [[EBC Exercise 17 Configuring BusyBox]]
+
| [[EBC Exercise 28 Remote gdb and more]] (optional)
 
|-
 
|-
 
| 8-4
 
| 8-4
| 3
+
| 26
|
+
|  
 +
| Project Time
 
|  
 
|  
| Project Status Report, update your project status page.
 
 
| [[ECE497 Contributions and Project Status]]
 
| [[ECE497 Contributions and Project Status]]
 
|}
 
|}
Line 304: Line 328:
 
|-
 
|-
 
| 9-1
 
| 9-1
| 6
+
| 29
 +
|
 +
| Project Time all week
 +
|
 
|  
 
|  
| Project Time
 
| Remote debugging with gdb, cbrowser/cscope and strace
 
| [[EBC Exercise 18 Remote gdb and more]]
 
 
|-
 
|-
 
| 9-2
 
| 9-2
| 7
+
| 30
 +
|
 +
|
 
|  
 
|  
 
|  
 
|  
| GStreamer
 
| [[EBC Exercise 19 GStreamer]]
 
 
|-
 
|-
 
| 9-3
 
| 9-3
| 9
+
| 1-Nov-2012
 +
|
 +
|
 +
|
 
|  
 
|  
| Project Time
 
| Project Status Report, update your project status page.
 
| [[ECE497 Contributions and Project Status]]
 
 
|-
 
|-
 
| 9-4
 
| 9-4
| 10
+
| 2
 
|
 
|
 
|  
 
|  
| Project Presentations
+
|
| Demos all period
+
|
 
|}
 
|}
  
Line 338: Line 362:
 
|-
 
|-
 
| 10-1
 
| 10-1
| 13
+
| 5
 
|  
 
|  
| Project Presentations
+
|  
| Demos all period
+
| Project Time all week
 
|  
 
|  
 
|-
 
|-
 
| 10-2
 
| 10-2
| 14
+
| 6
 +
|
 
|  
 
|  
| '''No Class'''
 
 
|  
 
|  
 
|  
 
|  
 
|-
 
|-
 
| 10-3
 
| 10-3
| 16
+
| 8
 
|  
 
|  
| '''No Class'''
 
 
|  
 
|  
 +
| Meet in B105
 
|  
 
|  
 
|-
 
|-
 
| 10-4
 
| 10-4
| 17
+
| 9
|
+
| '''No Class'''
+
 
|
 
|
 +
|
 +
| Demo Time
 
|
 
|
 
|}
 
|}
  
 
{{YoderFoot}}
 
{{YoderFoot}}

Revision as of 16:03, 7 November 2012

thumb‎ Embedded Linux Class by Mark A. Yoder


Here's what you'll need to do for the class. Unless stated otherwise these are individual exercises, not team.

I'm updating this from last year, so be sure to check the year to be sure it's been refreshed. If the background is white, it hasn't been updated.

All assignments are due the start of the following week. Initially that is a Thursday!

Week 1

Day Date Reading Topic Exercise Assignment Links
1-1 30-Aug-2012 Introductions, Demos Fire up your Beagle and see it work. Do everything in Exercise 09. Due Friday.

EBC Exercise 01 Start Here gives an overview of what we'll be doing over the next few days. Start setting up your Linux development computer now. You can do either a native install, or a virtual machine. Here and here are some notes in virtual machine installs. They are out of date. Feel free to update them.

I suggest Ubuntu 12.04 LTS. Some of the TI software may require it. I may not be able to help with other versions of distributions.

ECE497 - 32-bit Embedded Linux, Rose-Hulman

EBC Exercise 01 Start Here

EBC Exercise 02 Out-of-the-Box, Bone

EBC Exercise 09 Working With Open Source

1-2 31 General Purpose IO, LEDs and push buttons. Set up a Beagle, demo in class. Get reference manuals and clone git repository. EBC Exercise 03 Installing a Beagle OS

EBC Exercise 05 Getting Exercise Support Materials

EBC Exercise 10 Flashing an LED

1-3 3-Sept-2012 Interrupts and gpio EBC Exercise 08 Installing Development Tools

EBC Exercise 11 gpio Polling and Interrupts

1-4 4 i2c, git EBC Exercise 16 git
" Add your project ideas ECE497 Project Ideas

Week 2

Day Date Reading Topic Exercise Links
2-1 6-Sept Pulse Width Modulation EBC Exercise 12 I2C

EBC Exercise 13 Pulse Width Modulation

2-2 7 Lab Time, Mini Project 01 Measure gpio and pwm with oscilloscope. EBC Mini Project 01
2-3 10 gdb, Lab Time EBC Exercise 14 gdb Debugging
2-4 11 Lab Time

Week 3

Day Date Reading Topic Exercise Links
3-1 13 make, Mini Project 02 Flash ETC 2012 image on SD card for xM EBC Exercise 15 make

EBC Mini Project 02

EBC Exercise 03 Installing a Beagle OS

3-2 14 Advanced Linux Sound Architecture (ALSA) EBC Exercise 17 Using ALSA for Audio Processing
3-3 17 Using the DSP (c6run) EBC Exercise 18 Using the DSP for Audio Processing
3-4 18 Lab Time, Mini Project 1 demo time

Week 4

Day Date Reading Topic Exercise Links
4-1 20 Video Processing EBC Exercise 19 DSS2 and sysfs

EBC Exercise 20 The Display SubSystem (DSS)

4-2 21 Lab Time
4-3 24 Threads EBC Exercise 21 Running Audio and Video
4-4 25 Lab Time

Week 5

Day Date Reading Topic Exercise Links
5-1 27-Sept-2012 Graphical Interfaces and node.js
5-2 28 Lab Time
5-3 1-Oct-2012 2.1-2.3.5, 3.2.13 Booting, Memory Map, Cross-Development, Processor Basics, TI ARM
5-4 2 4.1-4.3.3 The Kernel EBC Exercise 22 Cross-Compiling

Week 6

Day Date Reading Topic Exercise Links
6-1 4 4.4-4.5, 5.1-5.2 Adding to the Kernel makefile, Kernel Initialization Find the Beagle version of Figure 2-5 on page 25. Be sure to find a numeric value for the starting address of the POP SDRAM. Note where you found this information. EBC Exercise 23 Configuring the Kernel
" " 5.3-5.6 Command Line Processing, __setup Macro Configuring the Kernel Lab EBC Exercise 24 Kconfig Edits
6-2 5 Lab Time
6-3 8 6.1-6.3 System Initialization Project Status Report, update your project status page. EBC Exercise 21a Boot Sequence

ECE497 Contributions and Project Status

6-4 9 6.4-6.7 Initial RAM Disk, Using initramfs

Week 7

Day Date Reading Topic Exercise Links
7-1 15 7.1-7.3 Bootloaders, Das U-Boot EBC Exercise 25 Configuring U-boot
7-2 16 Demo and Work Day
7-3 18 8.1-8.4 Device Driver Basics, Driver Methods EBC Exercise 08 Installing Development Tools

EBC Exercise 26 Device Drivers

7-4 19 11.1-11.4 BusyBox In B105 EBC Exercise 27 BusyBox

Week 8

Day Date Reading Topic Exercise Links
8-1 22 GStreamer GStreamer (Cheat Sheet,

Weekend with GStreamer)

Status Report EBC Exercise 29 GStreamer (optional)
8-2 23 Project Time
8-3 25 Remote debugging with gdb, cbrowser/cscope and strace Project Time EBC Exercise 28 Remote gdb and more (optional)
8-4 26 Project Time ECE497 Contributions and Project Status

Week 9

Day Date Reading Topic Exercise Links
9-1 29 Project Time all week
9-2 30
9-3 1-Nov-2012
9-4 2

Week 10

Day Date Reading Topic Exercise Links
10-1 5 Project Time all week
10-2 6
10-3 8 Meet in B105
10-4 9 Demo Time




thumb‎ Embedded Linux Class by Mark A. Yoder