ECE 320 · Week 5

Modern Computer: Embedded Systems

An EFI boot entry: what it names, and what it does not set.

Week 5 of 10 · Das Frite

ECE 320 · Week 5 · In class

An EFI boot entry: what it names, and what it does not set.

ECE 320 · Week 5 · In class

Boot a generic arm64 image through UEFI from the bootloader in SPI NOR.

ECE 320 · Week 5 · Lecture

UEFI: a standard hand-off

ECE 320 · Week 5 · Lecture

Boot entries are variables

VariableHolds
Boot0000, Boot0001, …one boot entry each
BootOrderthe entry numbers, in the order to try them
BootCurrentthe entry this boot used

With no usable entry, the firmware tries the default path on removable media: \EFI\BOOT\BOOTAA64.EFI for 64-bit Arm.

ECE 320 · Week 5 · Lecture

Inside one entry

ECE 320 · Week 5 · Lecture

Finding the kernel and init in the log

ECE 320 · Week 5 · Lab

Lab

  1. Boot a generic arm64 image through UEFI from the bootloader in SPI NOR. Inspect one EFI boot entry.
  2. Name the kernel and init lines on the log. Do not submit a boot-time budget. Second pass: open a second entry, name it in your notes, and leave it off the graded page.
  3. Assemble the lab hand-in: The kernel and init lines named on the log, and the EFI boot entry you inspected.

ECE 320 · Week 5 · Lab

Hand in

The kernel and init lines named on the log, and the EFI boot entry you inspected.

ECE 320 · Week 5 · Homework

Homework

ECE 320 · Week 5 · Homework

Turn in

A paragraph on what an EFI boot entry names and what it leaves unset.

ECE 320 · Week 5 · Read

Read

On the lab site: Module 7, UEFI, and Module 8, Linux boots. This week grades the named lines and the entry you opened.

ECE 320 · Week 5 · Next

Week 6

Three labels an overlay needs for a stock driver: the compatible string, the bus address, and the status.

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.