LinuxCon + CloudOpen + ContainerCon NA 2015 has ended
Back To Schedule
Tuesday, August 18 • 2:00pm - 2:50pm
Demystifying ACPI and EFI via Python and BITS - Josh Triplett

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

This talk provides a guided tour through the interfaces provided by your hardware and firmware, via BITS, a port of Python to run in ring 0 via the GRUB bootloader. In particular, this session will explore how modern systems find hardware, configuration, and platform services, via ACPI and EFI. This talk is a live demo from beginning to end, exploring a real BIOS firmware environment via Python. During the demo, you'll see working examples of how the kernel enumerates devices and assigns resources to hardware, and how bootloaders and the OS access EFI protocols, filesystems, text consoles, and graphics. You'll also see how to call EFI and ACPI functions from Python without writing any C code, using an FFI interface.

Join me in bringing back the culture of PEEK and POKE on modern systems.

avatar for Josh Triplett

Josh Triplett

Principal Engineer, Intel
Josh Triplett hacks on system software, including Rust, the Linux kernel, BITS, X, Git, Sparse, Debian, Chrome OS, and firmware. Josh enjoys using software for unconventional purposes, such as running Python in GRUB2 to test BIOS (https://biosbits.org). Josh has previously presented... Read More →

Tuesday August 18, 2015 2:00pm - 2:50pm PDT

Attendees (0)