diff --git a/doc/tutorials/create-up2-images.sh b/doc/tutorials/create-up2-images.sh index 445ec6c16..9ba7e74af 100755 --- a/doc/tutorials/create-up2-images.sh +++ b/doc/tutorials/create-up2-images.sh @@ -1,7 +1,8 @@ +#!/bin/bash + # Copyright (C) 2018 Intel Corporation. # SPDX-License-Identifier: BSD-3-Clause -#!/bin/bash usage() { echo "Usage: $0 [options]" @@ -9,7 +10,7 @@ usage() { echo "options:" echo "--mirror-url default: 'https://cdn.download.clearlinux.org/releases/', for swupd" echo "--acrn-code-path: Specify acrn-hypervisor code path for ACRN SBL build. If acrn-sbl-path is provided, acrn-code-path will be ignored" - echo "--acrn-sbl-path: Specify ACRN SBL binary path. If acrn-sbl-path isn't provided, acrn_code_path will be must option" + echo "--acrn-sbl-path: Specify ACRN SBL binary path. If acrn-sbl-path isn't provided, --acrn-code-path must be set" echo "--clearlinux-version: mandatory option for sos image build" echo "--images-type: Specify the type of OS image to build (sos/laag/all, default value is all)" echo "--sign-key: Specify the debug key for signing, default value provided" diff --git a/doc/tutorials/launch_uos.sh b/doc/tutorials/launch_uos.sh old mode 100644 new mode 100755 index 4c69b5d38..0140f665b --- a/doc/tutorials/launch_uos.sh +++ b/doc/tutorials/launch_uos.sh @@ -1,8 +1,9 @@ +#!/bin/bash + + # Copyright (C) 2018 Intel Corporation. # SPDX-License-Identifier: BSD-3-Clause -#!/bin/bash - kernel_version=$(uname -r | awk -F. '{ printf("%d.%d", $1,$2) }') diff --git a/doc/tutorials/using_sbl_on_up2.rst b/doc/tutorials/using_sbl_on_up2.rst index b1fac9f63..8ef2b55b1 100644 --- a/doc/tutorials/using_sbl_on_up2.rst +++ b/doc/tutorials/using_sbl_on_up2.rst @@ -9,7 +9,8 @@ SBL instead of UEFI to boot UP2 board. Slim Bootloader is an open-source boot firmware solution, built from the ground up to be secure, lightweight, and highly optimized while leveraging robust tools and libraries from -the EDK II framework. +the EDK II framework. For more information about booting ACRN with SBL, +please visit ``_. .. image:: images/sbl_boot_flow_UP2.png :align: center @@ -174,7 +175,7 @@ SOS and LaaG Installation ls /dev/ttyUSB* /dev/ttyUSB0 -#. Connect to board via ``minicom``, and use ``/dev/ttyUSB0`` for exmaple: +#. Connect to board via ``minicom``, and use ``/dev/ttyUSB0`` for example: .. code-block:: none @@ -257,7 +258,7 @@ SOS and LaaG Installation USB for fastboot transport layer selected -#. When UP2 board is fastboot mode, you should be able +#. When UP2 board is in fastboot mode, you should be able see the device in Platform Flash Tool. Select the file ``flash_LaaG.json`` and modify ``Configuration`` to ``SOS_and_LaaG``. Click ``Start to flash`` to flash images.