ECE 441 · Week 7

Modern Computer: Secure Infrastructure

One kernel revision moves on spare media.

Week 7 of 10 · Solitude

ECE 441 · Week 7 · In class

One kernel revision moves on spare media.

ECE 441 · Week 7 · In class

One kernel revision moves on spare media. (continued)

ECE 441 · Week 7 · In class

Boot the previous revision once more so you can name which one you left installed.

ECE 441 · Week 7 · Lecture

A kernel move is an experiment

ECE 441 · Week 7 · Lecture

Before and after, the same commands

uname -r
cat /proc/cmdline
dtc -q -s -I fs -O dts -o tree-$(uname -r).dts \
	/proc/device-tree
dmesg | grep -i '<driver>'
ls /sys/bus/<bus>/devices/

ECE 441 · Week 7 · Lecture

What can change when the kernel moves

RecordWhat to look for
BootSame end event reached? New warnings or errors?
Device treeA new tree shipped with the kernel, or the same one
PeripheralDriver binds, device appears, one transaction succeeds

A peripheral that still works is a result worth recording, not a blank row.

ECE 441 · Week 7 · Lecture

Knowing which kernel you left installed

ECE 441 · Week 7 · Lab

Lab

  1. Move one kernel revision on spare media.
  2. Record what the board still does: boot, the device tree, and one peripheral. Second pass: boot the previous revision once more so you can name which one you left installed.
  3. Assemble the lab hand-in: A record of one kernel revision move: what the board still does.

ECE 441 · Week 7 · Lab

Hand in

A record of one kernel revision move: what the board still does.

ECE 441 · Week 7 · Homework

Homework

ECE 441 · Week 7 · Homework

Turn in

That version string.

ECE 441 · Week 7 · Read

Read

On the lab site: Module 12, A whole system, does not grade a kernel-revision move. This week is past Module 12.

ECE 441 · Week 7 · Next

Week 8

From the public reset description, say what the first stage can check at reset and what it cannot.

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.