aboutsummaryrefslogtreecommitdiff
path: root/doc/openocd.texi
diff options
context:
space:
mode:
authorAlexei Colin <ac@alexeicolin.com>2014-10-19 17:46:05 -0400
committerSpencer Oliver <spen@spen-soft.co.uk>2014-11-24 22:22:25 +0000
commitfd25b3bcd1ccde5ae4dc7e94a0ad3863ee016555 (patch)
tree6122a56d723a9f0657ff3ed894873bbf2ff3fd98 /doc/openocd.texi
parentf83e1dc13fb79957dcb7de668628bf9e0762a2c1 (diff)
doc: flash: write_image writes only loadable sections
The code that takes only sections marked PT_LOAD is in image_elf_read_headers in src/target/image.c (Just trying to save some time for the next person with same question.) Change-Id: I493c102c908fca2b7238276ddbbecbe8c7cd9a0a Signed-off-by: Alexei Colin <ac@alexeicolin.com> Reviewed-on: http://openocd.zylin.com/2348 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'doc/openocd.texi')
-rw-r--r--doc/openocd.texi1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 88d89284..203a15db 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -4844,6 +4844,7 @@ The @var{num} parameter is a value shown by @command{flash banks}.
@deffn Command {flash write_image} [erase] [unlock] filename [offset] [type]
Write the image @file{filename} to the current target's flash bank(s).
+Only loadable sections from the image are written.
A relocation @var{offset} may be specified, in which case it is added
to the base address for each section in the image.
The file [@var{type}] can be specified