mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-06 11:20:32 +00:00
doc: Stop using kconfig to make a customized efi.
Also fix some quick setup script issues. Signed-off-by: lirui34 <ruix.li@intel.com>
This commit is contained in:
@@ -41,6 +41,8 @@ source /etc/os-release
|
||||
skip_download_uos=0
|
||||
# switcher for disabling the reboot device
|
||||
disable_reboot=0
|
||||
# set default scenario name
|
||||
scenario=sdc
|
||||
|
||||
function upgrade_sos()
|
||||
{
|
||||
@@ -51,13 +53,11 @@ function upgrade_sos()
|
||||
echo "Upgrading Service VM..."
|
||||
|
||||
# get board name
|
||||
BOARD_NAME=`cat /sys/devices/virtual/dmi/id/board_name`
|
||||
BOARD_NAME=`cat /sys/devices/virtual/dmi/id/board_name | cut -d' ' -f1`
|
||||
BOARD_NAME=${BOARD_NAME,,}
|
||||
[[ -z $BOARD_NAME ]] && echo "Unknown board name." && exit 1
|
||||
echo "Board name is: $BOARD_NAME"
|
||||
# set default scenario name
|
||||
scenario=sdc
|
||||
|
||||
|
||||
# set up mirror and proxy url while specified with m and p options
|
||||
[[ -n $mirror ]] && echo "Setting swupd mirror to: $mirror" && swupd mirror -s $mirror
|
||||
[[ -n $proxy ]] && echo "Setting proxy to: $proxy" && export https_proxy=$proxy
|
||||
@@ -103,7 +103,7 @@ function upgrade_sos()
|
||||
umount /mnt && sync
|
||||
exit 1
|
||||
fi
|
||||
cp -a $acrn_efi_path /mnt/EFI/acrn/acrn.efi
|
||||
cp -r $acrn_efi_path /mnt/EFI/acrn/acrn.efi
|
||||
if [[ $? -ne 0 ]]; then echo "Failed to copy $acrn_efi_path" && exit 1; fi
|
||||
|
||||
new_kernel=`ls /usr/lib/kernel/org*sos* -tl | head -n1 | awk -F'/' '{print $5}'`
|
||||
|
@@ -99,10 +99,8 @@ Hardware Setup
|
||||
+----------------------+-------------------+----------------------+-----------------------------------------------------------+
|
||||
|
||||
.. [1] The maximum supported memory size for ACRN is 16GB. If you are using
|
||||
32GB memory, follow the :ref:`config_32GB_memory` instruction to modify the
|
||||
``hypervisor/arch/x86/Kconfig`` and then use ``make FIRMWARE=uefi BOARD=nuc7i7dnb
|
||||
SCENARIO=industry hypervisor`` command to make the latest ACRN hypervisor
|
||||
which is supported 32GB memory. For more detailed instruction about how to build ACRN
|
||||
32GB memory, follow the :ref:`config_32GB_memory` instruction to make the customized ACRN hypervisor
|
||||
which is supported 32GB memory. For more detailed information about how to build ACRN
|
||||
from the source code, refer to this :ref:`guide <getting-started-building>`.
|
||||
|
||||
Set up the ACRN Hypervisor for industry scenario
|
||||
|
Reference in New Issue
Block a user