ECE 440 · Week 3

Modern Computer: Full Stack

No Monday lecture.

Week 3 of 10 · Solitude

ECE 440 · Week 3 · In class

No Monday lecture.

ECE 440 · Week 3 · In class

No Monday lecture. (continued)

ECE 440 · Week 3 · In class

Capture the console dying, revert the claim, and confirm the console answers after a second reboot of that spare card.

ECE 440 · Week 3 · Lecture

The console has its own connector

  • Console TX
  • Console RX
  • Console ground

Other pins are dimmed. Colours as on the Solitude pinout, where each pin's name is. The square pad is pin 1.

ECE 440 · Week 3 · Lecture

Why a pin claim can kill the console

ECE 440 · Week 3 · Lecture

What the log says when two owners collide

pin PAD already requested by OWNER; cannot claim for DEV
could not request pin N (PAD) from group GRP on device PCTL

ECE 440 · Week 3 · Lecture

Capture from the other end of the cable

# on the lab PC, before powering the board
picocom -b 115200 -g console.log /dev/ttyUSB0

ECE 440 · Week 3 · Lecture

Spare media first, revert planned before

ECE 440 · Week 3 · Lab

Lab

  1. No Monday lecture. Claim a pin the serial console uses, capture the console dying, and revert the claim so the console returns.
  2. Do this on spare media. Second pass: confirm the console still answers after a second reboot of that spare card.
  3. Assemble the lab hand-in: The console log of the pin claim that breaks the serial console, and the revert that brings the console back.

ECE 440 · Week 3 · Lab

Hand in

The console log of the pin claim that breaks the serial console, and the revert that brings the console back.

ECE 440 · Week 3 · Homework

Homework

ECE 440 · Week 3 · Homework

Turn in

The label and the command you refuse.

ECE 440 · Week 3 · Read

Read

On the lab site: Module 9, Device tree and pin multiplexing, does not grade a claim that breaks the console and the revert. This week does.

ECE 440 · Week 3 · Next

Week 4

What a bind line looks like in the kernel log, and which job stays in userspace.

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.