1:orphan: 2 3.. start_include_here 4 5Preparing the Boot Device 6------------------------- 7 8Prepare a USB flash drive to boot the Zephyr application image on 9a board. 10 11#. Format the USB flash drive as FAT32. 12 13 On Windows, open ``File Explorer``, and right-click on the USB flash drive. 14 Select ``Format...``. Make sure in ``File System``, ``FAT32`` is selected. 15 Click on the ``Format`` button and wait for it to finish. 16 17 On Linux, graphical utilities such as ``gparted`` can be used to format 18 the USB flash drive as FAT32. Alternatively, under terminal, find out 19 the corresponding device node for the USB flash drive (for example, 20 ``/dev/sdd``). Execute the following command: 21 22 .. code-block:: console 23 24 $ mkfs.vfat -F 32 <device-node> 25 26 .. important:: 27 Make sure the device node is the actual device node for 28 the USB flash drive. Or else you may erase other storage devices 29 on your system, and will render the system unusable afterwards. 30 31#. Copy the Zephyr EFI image file :file:`zephyr/zephyr.efi` to the USB drive. 32 33Booting Zephyr on a board 34------------------------- 35 36Boot the board to the EFI shell with USB flash drive connected. 37 38#. Insert the prepared boot device (USB flash drive) into the board. 39 40#. Connect the board to the host system using the serial cable and 41 configure your host system to watch for serial data. See board's 42 website for more information. 43 44 .. note:: 45 Use a baud rate of 115200. 46 47#. Power on the board. 48 49#. When the following output appears, press :kbd:`F7`: 50 51 .. code-block:: console 52 53 Press <DEL> or <ESC> to enter setup. 54 55#. From the menu that appears, select the menu entry that describes 56 that particular EFI shell. 57 58#. From the EFI shell select Zephyr EFI image to boot. 59 60 .. code-block:: console 61 62 Shell> fs0:zephyr.efi 63 64#. When the boot process completes, you have finished booting the 65 Zephyr application image. 66