DOC:GSG: Fix few mistakes about updating acrn.conf and efibootmgr options

During setting up ACRN hypervisor, SOS and UOC on the
intel® NUC (NUC6CAYH) board, there are few mistakes
about updating acrn.conf and efibootmgr options, this
will lead to fail to set up ACRN hypervisor, SOS and UOS
on the NUC.

About updating acrn.conf, add "hugepagesz=1G hugepages=2"
About efibootmgr options, string parameter of option "-L"
needs to add double quotation marks; "uart=disabled" in
the option "-u" since there is no serial port on NUC.

Signed-off-by: Xiangyang Wu <xiangyang.wu@intel.com>
This commit is contained in:
Xiangyang Wu 2018-07-23 09:02:59 +08:00 committed by David Kinder
parent f18a02ac61
commit 363a84c7b8
1 changed files with 7 additions and 6 deletions

View File

@ -150,7 +150,7 @@ partition. Follow these steps:
.. code-block:: none .. code-block:: none
# efibootmgr -c -l "\EFI\acrn\acrn.efi" -d /dev/sda -p 1 -L ACRN # efibootmgr -c -l "\EFI\acrn\acrn.efi" -d /dev/sda -p 1 -L "ACRN"
.. note:: .. note::
@ -181,8 +181,8 @@ partition. Follow these steps:
.. code-block:: none .. code-block:: none
# efibootmgr -c -l "\EFI\acrn\acrn.efi" -d /dev/sda -p 1 -L "ACRN Hypervisor" \ # efibootmgr -c -l "\EFI\acrn\acrn.efi" -d /dev/sda -p 1 -L "ACRN NUC Hypervisor" \
-u "bootloader=\EFI\org.clearlinux\bootloaderx64.efi uart=mmio@0x9141e000" -u "bootloader=\EFI\org.clearlinux\bootloaderx64.efi uart=disabled"
#. Create a boot entry for the ACRN Service OS by copying a provided ``acrn.conf`` #. Create a boot entry for the ACRN Service OS by copying a provided ``acrn.conf``
and editing it to account for the kernel versions noted in a previous step. and editing it to account for the kernel versions noted in a previous step.
@ -213,9 +213,10 @@ partition. Follow these steps:
# cp /usr/share/acrn/samples/nuc/acrn.conf /mnt/loader/entries/ # cp /usr/share/acrn/samples/nuc/acrn.conf /mnt/loader/entries/
You will need to edit this file to adjust the kernel version (``linux`` section) You will need to edit this file to adjust the kernel version (``linux`` section),
and also insert the ``PARTUUID`` of your ``/dev/sda3`` partition insert the ``PARTUUID`` of your ``/dev/sda3`` partition
(``root=PARTUUID=<><UUID of rootfs partition>``) in the ``options`` section. (``root=PARTUUID=<><UUID of rootfs partition>``) in the ``options`` section, and
add the ``hugepagesz=1G hugepages=2`` at end of the ``options`` section.
Use ``blkid`` to find out what your ``/dev/sda3`` ``PARTUUID`` value is. Use ``blkid`` to find out what your ``/dev/sda3`` ``PARTUUID`` value is.