a common platforms tree · 6/1/2011  · •all platforms in one tree, all drivers in same tree...

Post on 21-Sep-2020

5 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

presented by

A Common Platforms Tree

UEFI Spring Plugfest – May 18-22, 2015

UEFI Plugfest – May 2015 www.uefi.org 1

Leif LindholmLinaro Ltd.

Updated 2011-06-01

Agenda

• Introduction

• Plan

• Wrapup

UEFI Plugfest – May 2015 www.uefi.org 2

Introduction

UEFI Plugfest – May 2015 www.uefi.org 3

4

Current State of EDK2

• Platform support spread around the tree–PcAtChipset, BeagleBoard/Omap35xx, ARM Ltd. platforms, ValleyView2

–Virtual platforms (special case?)

• Very few drivers–Spread around the tree…

•Most “real” platforms not buildable–Require separately downloaded packages

–Coexistence of multiple platforms in one tree is … tricky

UEFI Plugfest – May 2015 www.uefi.org

5

Linux kernel

• All platforms in one tree, all drivers in same tree

• Many benefits–Simple to verify changes to core code do not break existing platforms

–Drivers for common components implemented once, then reused

–Components shared between different platforms

•… but does become more complex

UEFI Plugfest – May 2015 www.uefi.org

6

So we would like to...

• Have more reference code

• Have more open source drivers–Without mandating only open source

•Minimise code (and other) duplication

UEFI Plugfest – May 2015 www.uefi.org

7

Optimally...

• A set of new top-level directories–Platforms–SoC/Chipset–Drivers

•But we need to start somewhere

UEFI Plugfest – May 2015 www.uefi.org

Plan

UEFI Plugfest – May 2015 www.uefi.org 8

9

Plan

• Set up a new repository–Imported into existing edk2 tree, manually into a subdirectory or automated as a git submodule

• Convert current linaro-edk2 to use this–Instead of juggling topic branches

–Base our monthly releases on this

• Build-tests on all platforms in tree, not just the ones we release

UEFI Plugfest – May 2015 www.uefi.org

Common UEFI BIOS Layout

UEFI Plugfest – May 2015 www.uefi.org 10

UEFI BIOS

Tianocore EDK2 Vendor additions

Platform code & Drivers

CPU support Chipset/SoC support

Layout with OpenPlatformPkg

UEFI Plugfest – May 2015 www.uefi.org 11

Tianocore EDK2 Vendor additions

UEFI BIOS

OpenPlatformPkg

OpenPlatformPkg

UEFI Plugfest – May 2015 www.uefi.org 12

PlatformsDrivers

ARM

Dell

HP

SoC, CPU, Chipset

AMD

ARM

Cavium

Huawei

Block

Net

PCI

Huawei

Intel

USB

Wrapup

UEFI Plugfest – May 2015 www.uefi.org 13

Wrapup

• Interested in getting feedback on the overall approach

–This week, in public or private.–linaro-uefi@lists.linaro.org

• Looking for more platform support and/or common drivers

UEFI Plugfest – May 2015 www.uefi.org 14

Thanks for attending the UEFI Spring Plugfest 2015

For more information on the Unified EFI Forum and UEFI Specifications, visit http://www.uefi.org

presented by

UEFI Plugfest – May 2015 www.uefi.org 15

Leif LindholmLinaro Ltd.

top related