ECE497 Calendar and Exercises

From eLinux.org
Revision as of 07:24, 7 September 2012 by Yoder (talk | contribs) (Week 2)
Jump to: navigation, search

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, Mini Project 01 EBC Exercise 12 I2C

EBC Exercise 13 Pulse Width Modulation

ECE497 Mini Project 01

2-2 7 Lab Time Measure gpio and pwm with oscilloscope.
2-3 10 gdb, make EBC Exercise 15 make

EBC Exercise 14 gdb Debugging

2-4 11 Lab Time

Week 3

Day Date Reading Topic Exercise Links
3-1 12 i2c lab I2C: Do the green section here

make

EBC Exercise 07a make,

EBC Exercise 07b make with variables

3-2 13 Advanced Linux Sound Architecture (ALSA) git EBC Exercise 05 I2C, EBC Exercise 07c git
3-3 15 Using the DSP (c6run)
3-4 16 Lab Time

Week 4

Day Date Reading Topic Exercise Links
4-1 19 Lab Time
4-2 20 Lab Time ALSA EBC Exercise 08 Using ALSA for Audio Processing
4-3 5-Jan-2012 Video Processing,

bitbaking 2.6.32 kernel

4-4 6 Threads c6run. Do the green things here EBC Exercise 09 Using the DSP for Audio Processing

Week 5

Day Date Reading Topic Exercise Links
6-1 16-Jan-2012 2.1-2.3.5 Booting, Memory Map, Cross-Development 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 17 3.2.13, 4.1-4.3.2 Processor Basics, TI ARM, The Kernel 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 19 4.3.3-4.5, 5.1-5.2 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. EBC Exercise 12 Cross-Compiling and Finding the Right 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. DM3730 Technical Reference Manual

BeagleBoard-xM System Reference Manual

6-4 20 5.3-5.6 Command Line Processing, __setup Macro Configuring the Kernel Lab EBC Exercise 13 Configuring the Kernel
" 6.1-6.3 System Initialization Project Status Report, update your project status page. ECE497 Contributions and Project Status

Week 7

Day Date Reading Topic Exercise Links
7-1 23-Jan 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 Bootloaders, Das U-Boot
7-3 26 8.1-8.4 Device Driver Basics, Driver Methods Modify the prompt in U-boot to include you initials. EBC Exercise 15 Configuring U-boot
7-4 27 8.1-8.4 More Device Drivers Project Status Report, update your project status page. ECE497 Contributions and Project Status

Week 8

Day Date Reading Topic Exercise Links
8-1 30 11 BusyBox Follow the example in 8.1-8.2 to write a kernel module. EBC Exercise 16 Device Drivers
8-2 31 GStreamer GStreamer (Cheat Sheet,

Weekend with GStreamerr)

Follow the example in 8.3-8.4 to write a kernel module that does more. Use dynamic major number allocation. EBC Exercise 16 Device Drivers
8-3 2-Feb-2012 Remote Debugging Reconfigure BusyBox EBC Exercise 17 Configuring BusyBox
8-4 3 Project Status Report, update your project status page. ECE497 Contributions and Project Status

Week 9

Day Date Reading Topic Exercise Links
9-1 6 Project Time Remote debugging with gdb, cbrowser/cscope and strace EBC Exercise 18 Remote gdb and more
9-2 7 GStreamer EBC Exercise 19 GStreamer
9-3 9 Project Time Project Status Report, update your project status page. ECE497 Contributions and Project Status
9-4 10 Project Presentations Demos all period

Week 10

Day Date Reading Topic Exercise Links
10-1 13 Project Presentations Demos all period
10-2 14 No Class
10-3 16 No Class
10-4 17 No Class




thumb‎ Embedded Linux Class by Mark A. Yoder