ECE 440 · Week 10

Modern Computer: Full Stack

The demo, the repository, and a maintenance note.

Week 10 of 10 · Solitude

ECE 440 · Week 10 · In class

The demo, the repository, and a maintenance note.

ECE 440 · Week 10 · In class

The demo, the repository, and a maintenance note. (continued)

ECE 440 · Week 10 · In class

Have your partner point at one line of the note.

ECE 440 · Week 10 · Lecture

What a kernel move breaks

ECE 440 · Week 10 · Lecture

Rebuilding the module for the running kernel

# Makefile
obj-m := mydev.o
KDIR ?= /lib/modules/$(shell uname -r)/build

all:
	$(MAKE) -C $(KDIR) M=$(CURDIR) modules
clean:
	$(MAKE) -C $(KDIR) M=$(CURDIR) clean

ECE 440 · Week 10 · Lecture

A maintenance note someone else can use

ECE 440 · Week 10 · Lecture

The repository at hand-in

ItemWhy it is there
Requirement pageWhat the product promised
Overlay and module sourceWhat runs on the board
Unit fileHow the service starts, and as whom
Measurements and logsWhat was shown, with evidence
Maintenance noteWhat to redo when the kernel moves

ECE 440 · Week 10 · Lecture

The demo

ECE 440 · Week 10 · Lab

Lab

  1. Demonstrate the project.
  2. Hand in the repository and a maintenance note. Second pass: have your partner point at one line of the note and correct it if they cannot find the spare media.
  3. Assemble the lab hand-in: The demo, the repository, and a one-page maintenance note that says what to redo when the kernel moves and where the spare media is kept.

ECE 440 · Week 10 · Lab

Hand in

The demo, the repository, and a one-page maintenance note that says what to redo when the kernel moves and where the spare media is kept.

ECE 440 · Week 10 · Homework

Homework

ECE 440 · Week 10 · Homework

Turn in

The package name and the shelf.

ECE 440 · Week 10 · Read

Read

On the lab site: Module 12, A whole system, stops at the system. This week grades the demo, the repository, and the maintenance note.

Arrow keys or space to move, F for full screen, N for speaker notes, Home and End for the first and last slide. Print gives one slide per page.