stewart smith, opal architect @ ibm · who am i? stewart smith opal architect @ ibm...

18
Revolutionizing the Datacenter OpenPOWER Firmware Development, Testing, Community and Compliance Join the Conversation #OpenPOWERSummit Stewart Smith, OPAL Architect @ IBM

Upload: others

Post on 18-Aug-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

Revolutionizing the Datacenter

Join the Conversation #OpenPOWERSummit

OpenPOWER Firmware Development,

Testing, Community and Compliance

Join the Conversation #OpenPOWERSummit

Stewart Smith, OPAL Architect @ IBM

Page 2: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

Who am I?

Stewart Smith OPAL Architect @ IBM [email protected]

218/03/16

Page 3: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

What is OpenPOWER Firmware?

https://www.github.com/open-power Especially op-build project, ties it all together

See my linux.conf.au 2016 talk Adventures in OpenPOWER Firmware https://www.youtube.com/watch?v=a4XGvssR-ag

Page 4: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

What is OpenPOWER Firmware?

Basic boot process1. Self Boot Engine (SBE)2. HostBoot3. OCC4. SkiBoot (OPAL)5. Linux / Petitboot6. Operating System

Page 5: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

WOW, That's a LOT!

Yes, it's a lot. ~600k unique LOC ~24 million LOC from elsewhere (e.g. Linux, toolchain,

libc, ncruses, lvm, busybox etc) A LOT of things happen before your computer is a

computer

Page 6: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

How do we maintain that?

Only maintain what we have to Take everything else from upstream

Page 7: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

What we have to

POWER specific Hostboot OCC Skiboot (OPAL)

Generic Petitboot Op-build (our build infrastructure) Flash manipulation utilities

Page 8: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

What we don't

Linux Use upstream

Userspace for petitboot Get it from buildroot

Build tooling Use buildroot

Contributions upstream first We'll keep a local patch if we have to

Page 9: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

Development Processes & Communities

Hostboot Github issues / pull requests Most development done internally Often developed internally before chip exists

OCC Dev done internally Lengthy (internal) qualification process before release

Skiboot Mailing list: [email protected] + patchwork

Petitboot Mailing list: [email protected] + patchwork

Page 10: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

Op-build development process

Op-build brings everything together Github Issues and pull requests Mailing list: [email protected]

Page 11: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

Other Projects

We interact with upstream: Linux Buildroot Toolchain POWER specific userspace Other userspace components

Page 12: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

Welcoming Newcomers

Join the mailing list! [email protected] https://lists.ozlabs.org/listinfo/openpower-firmware

Page 13: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

Compliance

Get a time machine to see Sandy's talk yesterday! Hardware vs firmware compliance Does the hardware work? Does the firmware set up the hardware correctly? Are the boot and runtime firmware interfaces

compatible?

Page 14: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

Exerciser

…. news coming ….

Page 15: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

Firmware & Hardware

github.com/open-power/op-test-framework Attempt to have one test runner

Internal tests Historical test infrastructure inside IBM

Open Source test suites KVM tests Linux Test project Often used and maintained by IBM test teams

Active work in integrating everything into op-test-framework

Page 16: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

OPAL

OpenPower Abstraction Layer Firmware API (OPAL)

Ensure existing and future Operating Systems work https://github.com/open-power/skiboot/doc/opal-api/

Boot interface (petitboot) Including petitboot plugins https://github.com/open-power/doc/opal/

Page 17: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

Now and Future

OpenPOWER Ready OPAL Conformance / Compliance ?

Test suite Statement

Page 18: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2

Thank you

Questions? Contact me!

[email protected]