exec qemu-system-x86_64 \
    -m 1G -smp 2 -enable-kvm \
    -drive file=/usr/share/edk2-ovmf/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \
    [email protected]


Serial on a Raspberry Pi Zero (or any one with an OTG USB port) can be used without
adding the GPIO headers by sending the console down the USB cable itself.

This will present as ttyGS0 on the pi, and ttyACM0 on the host.

Continue reading

let blocks

It’s kinda obvious now that I’ve typed it, but the builder pattern in rust can work, even if you don’t expect it to.

let already_initialised = { do_stuff_here() };

Continue reading