Top Banner
ECE 424 Embedded Systems Design Lecture 11: Embedded Platform Boot Sequence Chapter 6 Ning Weng
12

ECE 424 Embedded Systems Design Lecture 11: Embedded Platform Boot Sequence Chapter 6 Ning Weng.

Dec 15, 2015

Download

Documents

Kyree Wyles
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ECE 424 Embedded Systems Design Lecture 11: Embedded Platform Boot Sequence Chapter 6 Ning Weng.

ECE 424 Embedded Systems

Design

Lecture 11: Embedded Platform Boot Sequence

Chapter 6Ning Weng

Page 2: ECE 424 Embedded Systems Design Lecture 11: Embedded Platform Boot Sequence Chapter 6 Ning Weng.

ECE 424 2

Introduction

• What is boot sequence?• Why we care?

• 2 or 3 phases─ BIOS/fireware: from processor reset vector─ OS boot loader: from storage devices─ OS

Ning Weng

Page 3: ECE 424 Embedded Systems Design Lecture 11: Embedded Platform Boot Sequence Chapter 6 Ning Weng.

ECE 424 3

Multi-core/threads Boot• Basic terms

─ Thread, core, package and SOC, • Bootstrap processor (BSP), Aps• Wait-for-SIPI state: wait for startup inter processor

interrupt

Ning Weng

Page 4: ECE 424 Embedded Systems Design Lecture 11: Embedded Platform Boot Sequence Chapter 6 Ning Weng.

ECE 424 4

Image Storage Technologies

Ning Weng

Page 5: ECE 424 Embedded Systems Design Lecture 11: Embedded Platform Boot Sequence Chapter 6 Ning Weng.

ECE 424 5

S1: Power Sequencing

Ning Weng

Page 6: ECE 424 Embedded Systems Design Lecture 11: Embedded Platform Boot Sequence Chapter 6 Ning Weng.

ECE 424 6

S2: Reset• Reset vector: the location of these initial

processor instructions─ Inel 16 bytes

• Hardware and software reset

• Operation modes─ Real─ Flat protected mode─ Segmented protected mode

Ning Weng

Page 7: ECE 424 Embedded Systems Design Lecture 11: Embedded Platform Boot Sequence Chapter 6 Ning Weng.

ECE 424 7

S3: Early Initialization • CPU and memory controller initialization

─ CPU─ IA Microcode update─ Device Initialization─ Memory Configuration─ Post-memory setup─ Shadowing─ AP Initialization

Ning Weng

Page 8: ECE 424 Embedded Systems Design Lecture 11: Embedded Platform Boot Sequence Chapter 6 Ning Weng.

ECE 424 8

S4: Advanced Initialization

• Platform related initialization, peripheral-specific

─ GPIO─ Interrupt/Cache controller─ Timers─ PCIe bus─ Image storage

• …

Ning Weng

Page 9: ECE 424 Embedded Systems Design Lecture 11: Embedded Platform Boot Sequence Chapter 6 Ning Weng.

ECE 424 9

S5: Boot Loader• Identifying the image and handoff to the image• See next slides for overall boot flow

Ning Weng

Page 10: ECE 424 Embedded Systems Design Lecture 11: Embedded Platform Boot Sequence Chapter 6 Ning Weng.

ECE 424 10Ning Weng

Page 11: ECE 424 Embedded Systems Design Lecture 11: Embedded Platform Boot Sequence Chapter 6 Ning Weng.

ECE 424 11

PXE (Networking Booting)

Ning Weng

Page 12: ECE 424 Embedded Systems Design Lecture 11: Embedded Platform Boot Sequence Chapter 6 Ning Weng.

ECE 424 12

Announcement• Read chapter 7 for OS overview• Friday, 9/21 Exam 1• HW and Lab due

Ning Weng