@@ -76,77 +76,23 @@ Build Zephyr application
76
76
A Zephyr EFI image file named :file: `zephyr.efi ` is automatically
77
77
created in the build directory after the application is built.
78
78
79
- Preparing the Boot Device
80
- =========================
79
+ Booting the UP Squared Board using UEFI
80
+ =======================================
81
81
82
- Prepare a USB flash drive to boot the Zephyr application image on
83
- a UP Squared board.
82
+ .. include :: ../../common/efi_boot.rst
84
83
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.
121
84
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.
136
89
137
- #. From the EFI shell select Zephyr EFI image to boot.
90
+ .. note ::
91
+ You can safely ignore this message if it appears:
138
92
139
93
.. code-block :: console
140
94
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
150
96
151
97
Booting the UP Squared Board over network
152
98
=========================================
0 commit comments