Prepare your Raspberry Pi Pico
To flash Libreboot externally you need an SPI programmer, and a Raspberry Pi Pico H running the open-source serprog firmware is the cheapest reliable one: about $5, and the programmer Libreboot itself recommends. Getting it ready takes two steps: build serprog and copy it onto the Pico, then wire the Pico to a SOIC-8 clip for your laptop's flash chip.
What are the steps?
- Build serprog: compile serprog with lbmk, unpack it from the archive lbmk makes and copy it onto the Pico
- Connect the Pico: wire the Pico to the clip, pin for pin