west: sign: Move imgtool specific docs to appropriate place
Move documentation specific to imgtool to appropriate place.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
diff --git a/scripts/west_commands/sign.py b/scripts/west_commands/sign.py
index 966d388..123cf65 100644
--- a/scripts/west_commands/sign.py
+++ b/scripts/west_commands/sign.py
@@ -32,10 +32,7 @@
west sign -t your_tool -- ARGS_FOR_YOUR_TOOL
-Assuming your binary was properly built for processing and handling by
-tool "your_tool", this creates zephyr.signed.bin and zephyr.signed.hex
-files (if supported by "your_tool") which are ready for use by your
-bootloader. The "ARGS_FOR_YOUR_TOOL" value can be any additional
+The "ARGS_FOR_YOUR_TOOL" value can be any additional
arguments you want to pass to the tool, such as the location of a
signing key, a version identifier, etc.
@@ -53,6 +50,10 @@
For this to work, either imgtool must be installed (e.g. using pip3),
or you must pass the path to imgtool.py using the -p option.
+Assuming your binary was properly built for processing and handling by
+imgtool, this creates zephyr.signed.bin and zephyr.signed.hex
+files which are ready for use by your bootloader.
+
The image header size, alignment, and slot sizes are determined from
the build directory using .config and the device tree. A default
version number of 0.0.0+0 is used (which can be overridden by passing