ECE 441 · Week 9

Modern Computer: Secure Infrastructure

One device-tree or driver change, in the form an upstream project would read: a commit message, a diff, and a test log.

Week 9 of 10 · Solitude

ECE 441 · Week 9 · In class

One device-tree or driver change, in the form an upstream project would read: a commit message, a diff, and a test log.

ECE 441 · Week 9 · In class

One device-tree or driver change, in the form an upstream project would read: a commit message, a diff, and a test log. (continued)

ECE 441 · Week 9 · In class

Run the test a second time and keep that log in your notes.

ECE 441 · Week 9 · Lecture

Three parts a maintainer reads

ECE 441 · Week 9 · Lecture

Shape of a commit message

subsystem: component: short imperative summary

Why the change is needed: what was wrong, or
what was missing, and how it showed on the board.

What the change does, in a sentence or two.

Signed-off-by: Your Name <you@example.com>

ECE 441 · Week 9 · Lecture

From commit to patch

git log --oneline -- <path>     # prefixes others used
git commit -s
git format-patch -1
./scripts/checkpatch.pl 0001-*.patch

ECE 441 · Week 9 · Lecture

A test log someone can trust

ECE 441 · Week 9 · Lab

Lab

  1. Make one device-tree or driver change in the form an upstream project would read.
  2. Include a test you run, and a commit message. This is not ECE 440's teaching module. Second pass: run the test a second time and keep that log in your notes.
  3. Assemble the lab hand-in: The commit message, the device-tree or driver diff, and the test log.

ECE 441 · Week 9 · Lab

Hand in

The commit message, the device-tree or driver diff, and the test log.

ECE 441 · Week 9 · Homework

Homework

ECE 441 · Week 9 · Homework

Turn in

The subject line and the test command.

ECE 441 · Week 9 · Read

Read

On the lab site: Module 11, Drivers, does not grade a commit message, a diff, and a test log. This week is past Module 12.

ECE 441 · Week 9 · Next

Week 10

The report and the reproduction package carry the week-5 method, the week-4 build hash with its rebuild commands, and the week-6 peer 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.