bf0d79b69d
This patch makes the Service OS bootloader configurable by passing a command-line argument to 'acrn.efi' when setting up the EFI bootloader using, e.g., 'efibootmgr'. If no argument is passed, the default bootloader used is: "\EFI\org.clearlinux\bootloaderx64.efi". This is the default bootloader/setting used by Clearlinux and is set in the bsp/uefi/include/bsp/bsp_cfg.h file (via the CONFIG_UEFI_OS_LOADER_NAME define) The general format of the argument is: "bootloader=<\path\to\bootloader>". As a concrete example, imagine the following set-up: * You have installed the Service OS (bare-metal for now) * Bootloader is "\EFI\org.clearlinux\bootloaderx64.efi" * Boot device is '/dev/sda' * EFI System Partition (ESP) is '1' * You put the ACRN hypervisor under "\EFI\acrn\" To change the default boot entry to boot the ACRN hypervisor, enter: # efibootmgr -c -l "\EFI\acrn\acrn.efi" -d /dev/sda -p 1 \ -L "ACRN Hypervisor" -u "bootloader=\EFI\org.clearlinux\bootloaderx64.efi" And reboot your machine. Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
||
---|---|---|
.. | ||
include | ||
ld | ||
sbl | ||
uefi |