On 14/06/18 12:16, H. Nikolaus Schaller wrote:
BootROM -> MLO -> U-Boot -> Kernel with initramfs -> final Kernel from whichever partition
Can I suggest that we have a tiny stripped down kernel (that doesn't change often - if at all) as the kernel that U-Boot kicks off, and in the initramfs we look for a particular key held down (say the pyra key) and drop into the initrd ram disk using busybox as init (only if the key is held down - could possibly be a boot menu for SD / USB ?), the idea being that this can be used as an emergency rescue environment that is even independent of the main OS on the internal flash.
I've hacked around with the likes of extlinux a kernel and busybox in VM a fair bit and wouldn't mind having a bash at this when I can, but it bares a general discussion so it behaves in the way everyone wants and expects!
Chris