This is an automated email from Gerrit.

Alexei Colin ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/2348

-- gerrit

commit 55e430f137736d0fb0d5b830c8509346833ebfa6
Author: Alexei Colin <[email protected]>
Date:   Sun Oct 19 17:46:05 2014 -0400

    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 <[email protected]>

diff --git a/doc/openocd.texi b/doc/openocd.texi
index 88d8928..203a15d 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

-- 

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to