Bring in latest changes from packages/pyra-uboot and fix build on bookworm
This merge request is based on https://dev.pyra-handheld.com/packages/pyra-uboot/-/tree/bullseye, with one backported commit to make it compile on Debian Bookworm, and finally a fix for #1
Edited by Patrik Dahlström