doc: usage: cmd: reset: specify when the -edl option is available
PATCH 1/1 doc: usage: cmd: reset: specify when the -edl option is available
From: Quentin Schulz <[email protected]>
The option is only available when CONFIG_SYSRESET_QCOM_PSCI is enabled, so let's make that explicit in the boot cmd documentation.
--- doc/usage/cmd/reset.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
doc/usage/cmd/reset.rst +2 -1
@@ -23,7 +23,8 @@ DDR and peripherals, on some boards also resets external PMIC. Do warm WARM, reset CPU but keep peripheral/DDR/PMIC active. -edl - Boot to Emergency DownLoad mode on supported Qualcomm platforms. + Boot to Emergency DownLoad mode on supported Qualcomm platforms and only + when CONFIG_SYSRESET_QCOM_PSCI=y. Return value ------------
---
base-commit: 4433253ecf2041f9362a763bb6cb79960921ac7e
change-id: 20260428-doc-sysreset-qcom-f5d21aa84142
Best regards,
Signature · 1 line
Quentin Schulz <[email protected]>
Quoted 30 lines · Quentin Schulz
From: Quentin Schulz <[email protected]>
The option is only available when
CONFIG_SYSRESET_QCOM_PSCIis enabled, so let's make that explicit in the boot cmd documentation.Fixes ef06c5d76ff4 ("cmd: boot: Add '-edl' option to reset command documentation")Signed-off-by Quentin Schulz <[email protected]>--- doc/usage/cmd/reset.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)doc/usage/cmd/reset.rst +2
-2@@ -23,7 +23,8 @@ DDR and peripherals, on some boards also resets external PMIC. Do warm WARM, reset CPU but keep peripheral/DDR/PMIC active. -edl - Boot to Emergency DownLoad mode on supported Qualcomm platforms. + Boot to Emergency DownLoad mode on supported Qualcomm platforms and only + when CONFIG_SYSRESET_QCOM_PSCI=y. Return value ------------ ---base-commit:
4433253ecf2041f9362a763bb6cb79960921ac7e
change-id: 20260428-doc-sysreset-qcom-f5d21aa84142
Quoted 4 lines
Best regards,
--
Quentin Schulz <[email protected]>
Thanks for posting the patch. Somehow missed your comment.
Quoted 16 lines · Quentin Schulz
From: Quentin Schulz <[email protected]>
The option is only available when
CONFIG_SYSRESET_QCOM_PSCIis enabled, so let's make that explicit in the boot cmd documentation.Fixes ef06c5d76ff4 ("cmd: boot: Add '-edl' option to reset command documentation")Signed-off-by Quentin Schulz <[email protected]>--- doc/usage/cmd/reset.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)doc/usage/cmd/reset.rst +0
-0
doc/usage/cmd/reset.rst DDR and peripherals, on some boards also resets external PMIC. · line 25
Quoted 3 lines
doc/usage/cmd/reset.rst +0
-0@@ -23,7 +23,8 @@ DDR and peripherals, on some boards also resets external PMIC. Do warm WARM, reset CPU but keep peripheral/DDR/PMIC active. -edl
All available arguments need to be specified in the synopsis section.
The parameters -w and -edl are exclusive as both only work if they are the first argument. So maybe:
reset [-w|-edl]
doc/usage/cmd/reset.rst DDR and peripherals, on some boards also resets external PMIC. · line 27
Quoted 3 lines
doc/usage/cmd/reset.rst +2
-1- Boot to Emergency DownLoad mode on supported Qualcomm platforms. + Boot to Emergency DownLoad mode on supported Qualcomm platforms and only + when CONFIG_SYSRESET_QCOM_PSCI=y.
This information is incomplete. Without CONFIG_SYSRESET_CMD_RESET_ARGS=y the -edl argument will not be parsed. A configuration section to this document might be helpful.
Should we mention that a "PSCI SYSTEM_RESET2 not supported\n" message is shown if the platform is not supported?
Where will a user learn how he can use the emergency download mode? Can we add a link here? Unfortunately the EDL information seems to be dispersed over multiple documents in the U-Boot documentation:
doc/board/qualcomm/dragonwing.rstdoc/board/qualcomm/iq8.rstdoc/board/qualcomm/rdp.rst
Do we need a document doc/board/quallcomm/edl.rst?
Best regards
Heinrich
Quoted 3 lines
doc/usage/cmd/reset.rst +0
-0Return value ------------
Hi Heinrich,
Quoted 23 lines · Heinrich Schuchardt
Quoted 16 lines · Quentin Schulz
From: Quentin Schulz <[email protected]>
The option is only available when
CONFIG_SYSRESET_QCOM_PSCIis enabled, so let's make that explicit in the boot cmd documentation.Fixes ef06c5d76ff4 ("cmd: boot: Add '-edl' option to reset command documentation")Signed-off-by Quentin Schulz <[email protected]>---
doc/usage/cmd/reset.rst| 3 ++-1 file changed, 2 insertions(+), 1 deletion(-)doc/usage/cmd/reset.rst +0
-0@@ -23,7 +23,8 @@ DDR and peripherals, on some boards also resetsQuoted 3 lines
external PMIC.
Do warm WARM, reset CPU but keep peripheral/DDR/PMIC active. -edlAll available arguments need to be specified in the synopsis section.
Quoted 4 lines
The parameters -w and -edl are exclusive as both only work if they are the first argument. So maybe:
reset [-w|-edl]
I'll follow the same syntax as in U_BOOT_CMD and have a separate line for -edl.
Quoted 8 lines
Quoted 5 lines
- Boot to Emergency DownLoad mode on supported Qualcomm platforms. + Boot to Emergency DownLoad mode on supported Qualcomm platforms and only
+ whenCONFIG_SYSRESET_QCOM_PSCI=y.This information is incomplete. Without
CONFIG_SYSRESET_CMD_RESET_ARGS=ythe -edl argument will not be parsed. A configuration section to this document might be helpful.
We should probably not make the -edl option available if this isn't set either then, no?
Quoted 2 lines
Should we mention that a "PSCI
SYSTEM_RESET2not supported\n" message is shown if the platform is not supported?
I would be wary of documenting strings that may change. However, we can say that the command will fail if the device doesn't support it.
Quoted 8 lines
Where will a user learn how he can use the emergency download mode? Can we add a link here? Unfortunately the EDL information seems to be dispersed over multiple documents in the U-Boot documentation:
doc/board/qualcomm/dragonwing.rstdoc/board/qualcomm/iq8.rstdoc/board/qualcomm/rdp.rstDo we need a document
doc/board/quallcomm/edl.rst?
That would be a question for Varadarajan or Casey, I have never done anything with Qualcomm devices.
Cheers,
Quentin
Quoted 26 lines · Quentin Schulz
Hi Heinrich,
Quoted 23 lines · Heinrich Schuchardt
Quoted 16 lines · Quentin Schulz
From: Quentin Schulz <[email protected]>
The option is only available when
CONFIG_SYSRESET_QCOM_PSCIis enabled, so let's make that explicit in the boot cmd documentation.Fixes ef06c5d76ff4 ("cmd: boot: Add '-edl' option to reset command documentation")Signed-off-by Quentin Schulz <[email protected]>---
doc/usage/cmd/reset.rst| 3 ++-1 file changed, 2 insertions(+), 1 deletion(-)doc/usage/cmd/reset.rst +0
-0@@ -23,7 +23,8 @@ DDR and peripherals, on some boards also resetsQuoted 3 lines
external PMIC.
Do warm WARM, reset CPU but keep peripheral/DDR/PMIC active. -edlAll available arguments need to be specified in the synopsis section.
Quoted 6 lines
Quoted 4 lines
The parameters -w and -edl are exclusive as both only work if they are the first argument. So maybe:
reset [-w|-edl]
I'll follow the same syntax as in
U_BOOT_CMDand have a separate line for -edl.
Please, follow the synopsis syntax of Linux man-pages for our documentation.
Quoted 11 lines
Quoted 9 lines
Quoted 6 lines
- Boot to Emergency DownLoad mode on supported Qualcomm platforms. + Boot to Emergency DownLoad mode on supported Qualcomm platforms and only
+ whenCONFIG_SYSRESET_QCOM_PSCI=y.This information is incomplete. Without
CONFIG_SYSRESET_CMD_RESET_ARGS=ythe -edl argument will not be parsed. A configuration section to this document might be helpful.We should probably not make the -edl option available if this isn't set either then, no?
Yes, Kconfig may have to be fixed.
Quoted 5 lines
Quoted 3 lines
Should we mention that a "PSCI
SYSTEM_RESET2not supported\n" message is shown if the platform is not supported?I would be wary of documenting strings that may change. However, we can say that the command will fail if the device doesn't support it.
ok
Quoted 11 lines
Quoted 9 lines
Where will a user learn how he can use the emergency download mode? Can we add a link here? Unfortunately the EDL information seems to be dispersed over multiple documents in the U-Boot documentation:
doc/board/qualcomm/dragonwing.rstdoc/board/qualcomm/iq8.rstdoc/board/qualcomm/rdp.rstDo we need a document
doc/board/quallcomm/edl.rst?That would be a question for Varadarajan or Casey, I have never done anything with Qualcomm devices.
Let's see what they come up with.
Best regards
Heinrich
Quoted 3 lines
Cheers,
Quentin