> Does the u-boot bootloader routine have to do anything other than > generating the extlinux.conf file? That would be enough so that there > is an alternative to grub-install for the qemu use case and for actual > boards, isn't uboot usually written to flash instead of to a MBR?
So I'd say the next steps are: 1. Pick out your changes that are related to renaming grub to bootloader and add a shim for the uboot parts. That should be enough to get vm's booting. 2. Add your extlinux.conf generation/install code. 3. We can still add an install uboot to MBR procedure if it's necessary. This would break the changes down into easy to review patches and subgoals...