mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-18 16:22:35 +00:00
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>
14 lines
866 B
Plaintext
14 lines
866 B
Plaintext
*******************
|
|
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 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.
|