Files
documentation/source/tutorials/ex_sbl_shell_cli.rst
Sabryna 2d67e89703 Update basic info, tool version & amend parts of tutorials (#211)
Visual Studio Supported version: 2015-2022
Ubuntu latest stable version: 22.04
Intel UDK link deceprated, replaced with updated direct links
Other minor updates to the documentations

Signed-off-by: Syahirah Sabryna <nur.syahirah.sabryna.mohmad@intel.com>
2025-06-16 11:05:45 +08:00

74 lines
3.1 KiB
ReStructuredText

.. _ExerciseSblShellCli:
Exercise \\- \ SBL Shell/CLI
------------------------------
.. note::
**In this exercise, we'll learn how to execute SBL Shell Commands.**
* Used ``help<ENTER>`` to list the available commands
You can execute |SPN| with the following steps:
1. Working on Command Prompt
2. Execute cmd on Shell by type-in:
+------------+------------------------------------------------+
| **acpi** | \\- \ Display ACPI table data |
+------------+------------------------------------------------+
| **boot** | \\- \ Print or modify the OS boot option list |
+------------+------------------------------------------------+
| **cdata** | \\- \ Display configuration data |
+------------+------------------------------------------------+
| **cls** | \\- \ Clear console |
+------------+------------------------------------------------+
| **cpuid** | \\- \ Read CPU specific information |
+------------+------------------------------------------------+
| **dmesg** | \\- \ Print messages stored in boot log buffer |
+------------+------------------------------------------------+
| **exit** | \\- \ Exit the shell |
+------------+------------------------------------------------+
| **fs** | \\- \ filesystem access command |
+------------+------------------------------------------------+
| **help** | \\- \ List supported commands |
+------------+------------------------------------------------+
| **hob** | \\- \ List HOBs |
+------------+------------------------------------------------+
| **mm** | \\- \ Read or write system memory |
+------------+------------------------------------------------+
| **mmap** | \\- \ Display memory map |
+------------+------------------------------------------------+
| **mmcdll**| \\- \ Tune or print MMC DLL data |
+------------+------------------------------------------------+
| **msr** | \\- \ Read or write model specific registers |
+------------+------------------------------------------------+
| **mtrr** | \\- \ Display current MTRR configuration |
+------------+------------------------------------------------+
| **pci** | \\- \ Display PCI devices (example) |
+------------+------------------------------------------------+
| **perf** | \\- \ Display performance data |
+------------+------------------------------------------------+
| **reset** | \\- \ Reset the system |
+------------+------------------------------------------------+
| **ucode** | \\- \ Display microcode version |
+------------+------------------------------------------------+
| **usbdev**| \\- \ Display USB devices |
+------------+------------------------------------------------+
**Example**::
pci - Display PCI devices
.. image:: /images/ex3.jpg
:alt: Compile completed
:align: center
.. tip::
Exit Shell by close QEMU