Does anyone know good material to read about the 'loader', especially loader.efi and 'makefs' ?
The EFI is now recommended across platforms. The URL: https://www.freebsdfoundation.org/freebsd-uefi-secure-boot/ introduces to a concept of a loader root filesystem. A complete kernel is put inside the 'loader.efi' with these tools. It would be good to know how it does that.
For example
Does the kernel in the filesystem have to have MD_ROOTSIZE in it? Where is this bootfs image going in the 'loader.efi' file? An introduction to solid-state installation with the memory root filesystem was in URL: https://www.freebsd.org/doc/en/articles/solid-state . Manual pages exist but these are merely a command line reference.
best
e
The EFI is now recommended across platforms. The URL: https://www.freebsdfoundation.org/freebsd-uefi-secure-boot/ introduces to a concept of a loader root filesystem. A complete kernel is put inside the 'loader.efi' with these tools. It would be good to know how it does that.
For example
/usr/src/sys/tools/embed_mfs.sh ./loader.efi ./bootfs.img
Can't locate mfs section within ./loader.efi
.Does the kernel in the filesystem have to have MD_ROOTSIZE in it? Where is this bootfs image going in the 'loader.efi' file? An introduction to solid-state installation with the memory root filesystem was in URL: https://www.freebsd.org/doc/en/articles/solid-state . Manual pages exist but these are merely a command line reference.
best
e