> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 重启系统

用户空间重启框架使用内核驱动程序（`drivers/firmware/psci/psci.c`）触发重启。您可以通过 SSH 运行以下重启命令：

**表：重启命令**

|        **命令**       |                                                                                             **描述**                                                                                             |
| :-----------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|     `reboot edl`    |              使用此命令将设备重启进入紧急下载（EDL）模式。有关 EDL 模式的更多信息，请参阅 [Qualcomm Linux 构建指南](https://dragonwingdocs.qualcomm.com/Key-Documents/Flash-Guide/flash-with-qdl#flash-software-images)。             |
| `reboot bootloader` | 使用此命令将设备重启进入 fastboot 模式。有关 fastboot 模式的更多信息，请参阅 [Qualcomm Linux 启动指南](https://dragonwingdocs.qualcomm.com/System/Boot/tools-to-update-boot-configuration#tools-to-update-boot-configuration)。 |

您可以将以下可选参数与 `reboot` 命令一起使用。

```text theme={null}
Reboot the system.

Options:
  --help        Show this help
  --halt        Halt the machine
-p --poweroff Switch off the machine
  --reboot      Reboot the machine
-f --force    Force immediate halt/power-off/reboot
-w --wtmp-only Don't halt/power-off/reboot, just write wtmp record
-d --no-wtmp  Don't write wtmp record
   --no-wall     Don't send wall message before halt/power-off/reboot
```

## **后续步骤**

> * 要强制设备进入 EDL 模式，请参阅 [Qualcomm Linux 构建指南](https://dragonwingdocs.qualcomm.com/Key-Documents/Flash-Guide/flash-with-qdl#flash-software-images)。
> * 要详细了解 fastboot 模式，请参阅 [Qualcomm Linux 启动指南](https://dragonwingdocs.qualcomm.com/System/Boot/tools-to-update-boot-configuration#tools-to-update-boot-configuration)。

<Tooltip tip="上一篇：配置调试符号" />\\
