Skip to content

Commit f4d0b8f

Browse files
finikorgjhedberg
authored andcommitted
doc: boards: up_squared: Reuse efi_boot part
Reuse available efi_boot.rst from common in the board documentation. Move specific parts to notes below. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
1 parent d231e58 commit f4d0b8f

File tree

1 file changed

+10
-64
lines changed

1 file changed

+10
-64
lines changed

boards/x86/up_squared/doc/index.rst

Lines changed: 10 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -76,77 +76,23 @@ Build Zephyr application
7676
A Zephyr EFI image file named :file:`zephyr.efi` is automatically
7777
created in the build directory after the application is built.
7878

79-
Preparing the Boot Device
80-
=========================
79+
Booting the UP Squared Board using UEFI
80+
=======================================
8181

82-
Prepare a USB flash drive to boot the Zephyr application image on
83-
a UP Squared board.
82+
.. include:: ../../common/efi_boot.rst
8483

85-
#. Refer to the `UP Squared Serial Console Wiki page
86-
<https://wiki.up-community.org/Serial_console>`_ for instructions on how to
87-
connect for serial console.
88-
89-
#. Format the USB flash drive as FAT32.
90-
91-
On Windows, open ``File Explorer``, and right-click on the USB flash drive.
92-
Select ``Format...``. Make sure in ``File System``, ``FAT32`` is selected.
93-
Click on the ``Format`` button and wait for it to finish.
94-
95-
On Linux, graphical utilities such as ``gparted`` can be used to format
96-
the USB flash drive as FAT32. Alternatively, under terminal, find out
97-
the corresponding device node for the USB flash drive (for example,
98-
``/dev/sdd``). Execute the following command:
99-
100-
.. code-block:: console
101-
102-
$ mkfs.vfat -F 32 <device-node>
103-
104-
.. important::
105-
Make sure the device node is the actual device node for
106-
the USB flash drive. Or else you may erase other storage devices
107-
on your system, and will render the system unusable afterwards.
108-
109-
#. Copy the Zephyr EFI image file :file:`zephyr/zephyr.efi` to the USB drive.
110-
111-
Booting the UP Squared Board
112-
============================
113-
114-
Boot the UP Squared board to the EFI shell with USB flash drive connected.
115-
116-
#. Insert the prepared boot device (USB flash drive) into the UP Squared board.
117-
118-
#. Connect the board to the host system using the serial cable and
119-
configure your host system to watch for serial data. See
120-
https://wiki.up-community.org/Serial_console.
12184

122-
.. note::
123-
On Windows, PuTTY has an option to set up configuration for
124-
serial data. Use a baud rate of 115200.
125-
126-
#. Power on the UP Squared board.
127-
128-
#. When the following output appears, press :kbd:`F7`:
129-
130-
.. code-block:: console
131-
132-
Press <DEL> or <ESC> to enter setup.
133-
134-
#. From the menu that appears, select the menu entry that describes
135-
that particular EFI shell.
85+
.. note::
86+
Refer to the `UP Squared Serial Console Wiki page
87+
<https://wiki.up-community.org/Serial_console>`_ for instructions on how to
88+
connect serial console.
13689

137-
#. From the EFI shell select Zephyr EFI image to boot.
90+
.. note::
91+
You can safely ignore this message if it appears:
13892

13993
.. code-block:: console
14094
141-
Shell> fs0:zephyr.efi
142-
143-
.. note::
144-
You can safely ignore this message if it appears:
145-
146-
.. code-block:: console
147-
148-
WARNING: no console will be available to OS
149-
95+
WARNING: no console will be available to OS
15096
15197
Booting the UP Squared Board over network
15298
=========================================

0 commit comments

Comments
 (0)