Since its introduction in 2005, the Unified Extensible Firmware Interface (UEFI) has become the primary standard for firmware development. As the industry continues to develop Embedded Development Kit II (EDK II) as a core UEFI component, we are also supporting test frameworks to accelerate firmware validation.
My colleagues will present an overview of a MicroPython-based UEFI test framework at the Spring 2018 UEFI Plugfest (March 26-30 in Bellevue, WA). This framework provides scripts with access to UEFI and EDK II interfaces, along with access to hardware resources. We also see this as an ideal environment for rapid prototyping of UEFI applications, and replacing legacy applications still used in manufacturing environments. MicroPython also extends support for existing UEFI CPython scripts, since the Python 2.7 tree is scheduled for end-of-life in 2020.
Using MicroPython for a firmware test framework leverages Python experience from validation engineers and a Python interpreted optimized for execution in constrained environments. There aren’t many unified EDK II testing frameworks optimized for both development and validation engineers. Extending the Python model adopted by CHIPSEC to a common framework expands validation capabilities for open source UEFI firmware.
Sign up for the spam-free, AdafruitDaily.com (Python / hardware / micro-controller newsletter) for the latest MicroPython, CiruitPython, and Python & hardware! Want to contribute? Here’s how!
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.