Browse Source

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>
tags/v0.9.0-rc1
Alexei Colin 7 years ago
committed by Spencer Oliver
parent
commit
fd25b3bcd1
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      doc/openocd.texi

+ 1
- 0
doc/openocd.texi View File

@@ -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


Loading…
Cancel
Save