# 启动

Source: [https://docs.qualcomm.com/doc/80-70015-4SC/topic/boot-developer-touchpoints.html](https://docs.qualcomm.com/doc/80-70015-4SC/topic/boot-developer-touchpoints.html)

启动设备树属性介绍了如何在 XBL 中启用和禁用用户发起的紧急下载 (EDL)。同时，还介绍了 EDL 超时和用 USB 线强制系统进入 EDL 模式的选项。启动 DT 属性用于配置与启动相关的功能。

Linux 编译计算机上的启动 DT 文件路径为 /boot\_images/boot/Settings/Soc/&lt;chipset&gt;/Core/Boot/sw\_boot.dtsi。

| 属性名称 | 属性说明 | 数据类型 | 可能的值/取值范围 | 设备行为 |
| --- | --- | --- | --- | --- |
| `vibration` | 在 XBL 出口处打开/关闭振动。 | UINT32 | <ul class="ul" id="boot-developer-touchpoints__ul_nf1_q1z_s1c"><br>                                <li class="li">0x00</li><br><br>                                <li class="li">0x01</li><br><br>                            </ul> | <ul class="ul" id="boot-developer-touchpoints__ul_bqs_lmr_l1c"><br>                                <li class="li">启用 (0x01)：打开振动。0x01 是默认设置。</li><br><br>                                <li class="li">禁用 (0x00)：关闭振动。</li><br><br>                            </ul> |
| `forced_download.feature` | <ul class="ul" id="boot-developer-touchpoints__ul_hxv_bjv_rcc"><br>                                <li class="li">在 XBL 阶段启用或禁用强制紧急下载模式 (EDL) 功能。</li><br><br>                                <li class="li">使用 USB 线和组合键（同时按下电源键 (PWR）、VOL+ 和 VOL- 键）刷写镜像</li><br><br>                            </ul> | UINT32 | 0x00 | 强制执行 EDL 功能 (FEDL)：禁用 (0x00)：FEDL 处于禁用状态。 |
| `forced_download.feature` | <ul class="ul" id="boot-developer-touchpoints__ul_hxv_bjv_rcc"><br>                                <li class="li">在 XBL 阶段启用或禁用强制紧急下载模式 (EDL) 功能。</li><br><br>                                <li class="li">使用 USB 线和组合键（同时按下电源键 (PWR）、VOL+ 和 VOL- 键）刷写镜像</li><br><br>                            </ul> | UINT32 | 0x01 | 启用 (0x01)：在 XBL 中启用用户发起的 EDL。 |
| `forced_download.check_usb_option` | 要进入 FEDL 模式，可选择 USB 线选项 | UINT32 | 0x00 | FEDL 功能配置：<br><br><br>                            <br>CHECK\_USB\_D\_PLUS\_GROUND (0x00)：当使用 D+ 线接地的特殊 USB 线为设备通电时，设备会强制进入 EDL 模式。默认设置 |
| `forced_download.check_usb_option` | 要进入 FEDL 模式，可选择 USB 线选项 | UINT32 | 0x01 | CHECK\_USB\_D\_PLUS\_HIGH\_WITH\_TIMEOUT (0x01)：在启动期间和启动超时时间内将设备连接到接地的 USB+，拔下线缆后会强制设备进入 EDL 模式。 |
| `forced_download.check_usb_option` | 要进入 FEDL 模式，可选择 USB 线选项 | UINT32 | 0x02 | <ul class="ul"><br>                                <li class="li">超时时间在 DT 属性 <code class="ph codeph">forced_download.check_dp_timeout</code> 中设置，单位为毫秒 (ms)</li><br><br>                                <li class="li">CHECK_USB_REGULAR_CABLE (0x02)：使用普通 USB 线启动时，会强制设备进入 EDL 模式。</li><br><br>                            </ul> |
|  |  |  |  |  |
|  |  |  |  |  |

**Parent Topic:** [接口](https://docs.qualcomm.com/doc/80-70015-4SC/topic/interfaces.html)

Last Published: Dec 04, 2024

[Previous Topic
接口](https://docs.qualcomm.com/bundle/publicresource/80-70015-4SC/topics/interfaces.md) [Next Topic
PMIC](https://docs.qualcomm.com/bundle/publicresource/80-70015-4SC/topics/pmic-developer-touchpoints.md)