Actually not yet too successful booting my #BuildRoot image with systemd-boot. With grub-efi I got to the login.
EDIT: I think I got it and it is pretty obvious. I’m still deploying GRUB style configs when I construct the disk image with genimage, so I just fix them up as systemd boot style configs (found a reference for that).
So I just follow along [1] and cross my fingers ;-) I think it is good exercise to build from scratch a systemd image from boot to user space in all cases.
[1] https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/
I think this is the most time-standing IT book that I own. It was published in 1999 and I still check it from time to time.
E.g. when collaborating with hpa on arch/x86/realmode
, this book was my main reference in addition to ELF specification.
It is also as prose very nice reading with cool stories embedded!