* H. Nikolaus Schaller hns@goldelico.com [180614 12:36]:
I had started such code long time ago for the Letux 400 netbook:
shell script showing and managing a boot menu:
http://git.goldelico.com/?p=l400-rootfs.git;a=blob;f=config/root/recover;h=3...
For a basic boot menu with framebuffer console maybe take a look at kexecboot. For droid4 we have a 4MB buildroot based bootloader image with kexecboot containing wpa_supplicant, iw, mkfs.ext4, and dropbear.
Regards,
Tony