The bakery is part of the gokrazy project. It consists of a set of programs, installed on multiple different Raspberry Pis at stapelberg’s place:
- A number of “sacrificial” Raspberry Pis (
bakery,bakery4,bakeryzero2w, etc.) are running a gokrazy image with thebakeprogram. The program prints success messages to the serial console. - The
booteryprogram installs updated gokrazy images on thebakeryRaspberry Pis and waits for the success messages printed by thebakeprogram (the Raspberry Pi runningbooteryis physically connected to the serial console of thebakeryRaspberry Pi).
The bootery program is used in our continuous integration setup to
verify that new firmware and
kernel versions actually work on
real hardware.
gok add github.com/gokrazy/bakery/cmd/bake