stewart smith, opal architect @ ibm · who am i? stewart smith opal architect @ ibm...
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](https://reader036.vdocuments.net/reader036/viewer/2022071606/6142fa547bbb8b33111729cf/html5/thumbnails/1.jpg)
Revolutionizing the Datacenter
Join the Conversation #OpenPOWERSummit
OpenPOWER Firmware Development,
Testing, Community and Compliance
Join the Conversation #OpenPOWERSummit
Stewart Smith, OPAL Architect @ IBM
![Page 3: Stewart Smith, OPAL Architect @ IBM · Who am I? Stewart Smith OPAL Architect @ IBM stewart@linux.vnet.ibm.com 18/03/16 2](https://reader036.vdocuments.net/reader036/viewer/2022071606/6142fa547bbb8b33111729cf/html5/thumbnails/3.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022071606/6142fa547bbb8b33111729cf/html5/thumbnails/4.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022071606/6142fa547bbb8b33111729cf/html5/thumbnails/5.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022071606/6142fa547bbb8b33111729cf/html5/thumbnails/6.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022071606/6142fa547bbb8b33111729cf/html5/thumbnails/7.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022071606/6142fa547bbb8b33111729cf/html5/thumbnails/8.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022071606/6142fa547bbb8b33111729cf/html5/thumbnails/9.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022071606/6142fa547bbb8b33111729cf/html5/thumbnails/10.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022071606/6142fa547bbb8b33111729cf/html5/thumbnails/11.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022071606/6142fa547bbb8b33111729cf/html5/thumbnails/12.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022071606/6142fa547bbb8b33111729cf/html5/thumbnails/13.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022071606/6142fa547bbb8b33111729cf/html5/thumbnails/14.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022071606/6142fa547bbb8b33111729cf/html5/thumbnails/15.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022071606/6142fa547bbb8b33111729cf/html5/thumbnails/16.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022071606/6142fa547bbb8b33111729cf/html5/thumbnails/17.jpg)
Now and Future
OpenPOWER Ready OPAL Conformance / Compliance ?
Test suite Statement