reset command
Synopsis
reset
reset -w
reset -edl
Description
Perform reset of the CPU. By default does COLD reset, which resets CPU, DDR and peripherals, on some boards also resets external PMIC.
- -w
Do WARM reset: reset CPU but keep peripheral/DDR/PMIC active.
All other options require CONFIG_SYSRESET_CMD_RESET_ARGS=y.
- -edl
Boot to Emergency DownLoad mode on supported Qualcomm platforms. Unsupported platforms will print an error message but the command will successfully return (having done nothing). Requires CONFIG_SYSRESET_QCOM_PSCI=y.
Return value
The return value $? is always set to 0 (true).