UEFI: update acrn.conf and Document

Since the boot flow had been changed to that sos kernel is lanuched
by cl bootloader directly, replace the payload acrn.efi with bzImage.efi
in the acrn.conf file, and specify ROOTDEV with UUID in the command line.

The UEFI firmware launches the EFI/org.clearlinux/bootloaderx64.efi
as os loader not the EFI/BOOT/BOOTX64.EFI, so fix the issue in the document
ACRN_UEFI.txt which guides user with incorrect steps.

Signed-off-by: Zheng, Gen <gen.zheng@intel.com>
Reviewed-by: Jack, Ren <jack.ren@intel.com>
This commit is contained in:
Zheng, Gen
2018-04-09 17:26:10 +08:00
committed by Jack Ren
parent 7430074a12
commit 4d0f26d0e1
4 changed files with 12 additions and 17 deletions

View File

@@ -4,11 +4,10 @@ Usage of acrn.efi
Suggest to follow the following step:
a. Build out the acrn.efi image with command "make PLATFORM=uefi".
b. Rename the original os loader file that is located at
\\EFI\\BOOT\\BOOTX64.EFI as CL_BL.EFI which name can be user defined
in the config file bsp/uefi/include/bsp/bsp_cfg.h, the default name
is CL_BL.EFI.
c. Copy acrn.efi to \\EFI\\BOOT\\, and rename it to BOOTX64.EFI
d. Reboot
e. If you want to recover to origianal os loader, just replace
the BOOTX64.EFI with the CL_BL.EFI.
b. Rename the original os loader file named bootloaderx64.efi that is located at \\EFI\\org.clearlinux\\ to bootloaderx64_origin.efi
which name can be user defined in the config file bsp/uefi/include/bsp/bsp_cfg.h, the default name is "EFI\\org.clearlinux\\bootloaderx64_origin.efi".
c. Copy acrn.efi to \\EFI\\org.clearlinux\\, and rename it to bootloaderx64.efi.
d. Update the bsp/uefi/clearlinux/acrn.conf file by filling the field <UUID of rootfs partition> with the your native rootfs partition uuid.
e. Copy bsp/uefi/clearlinux/acrn.conf to loader\\entries\\ directory.
f. Reboot.
g. If you want to recover to original os loader, just replace the bootloaderx64.efi with bootloaderx64_origin.efi.