<feed xmlns='http://www.w3.org/2005/Atom'>
<title>OpenOCD/src/svf, branch mips-hack</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://git.amat.us/openocd/atom/src/svf?h=mips-hack</id>
<link rel='self' href='https://git.amat.us/openocd/atom/src/svf?h=mips-hack'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/'/>
<updated>2015-11-20T22:27:48Z</updated>
<entry>
<title>svf: fix progress reporting switch behaviour</title>
<updated>2015-11-20T22:27:48Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2015-11-20T10:08:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=a652a4ea209d24d0f0ebcc73e5eaab14169f958d'/>
<id>urn:sha1:a652a4ea209d24d0f0ebcc73e5eaab14169f958d</id>
<content type='text'>
The svf_progress_enabled variable is global, hence its lifetime is not
limited and it retains the value from the previous run. Fix this by
explicit assignment.

Change-Id: Id6f4fa88f39521606342a37f6876a0948ac5406e
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/3111
Tested-by: jenkins
Reviewed-by: Freddie Chopin &lt;freddie.chopin@gmail.com&gt;
</content>
</entry>
<entry>
<title>svf: fix off-by-one error in line numbers as output to user</title>
<updated>2015-11-20T22:26:21Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2015-08-27T11:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=40bd770f4523ac341892ece765d76d929f2174dc'/>
<id>urn:sha1:40bd770f4523ac341892ece765d76d929f2174dc</id>
<content type='text'>
This makes SVF error output match actual line numbers in the file
processed.

Change-Id: I1fa4b9d0891e4358b7beada516945d5331ebe182
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/2945
Tested-by: jenkins
</content>
</entry>
<entry>
<title>svf: fix segfaults exposed by some SVF</title>
<updated>2015-09-30T21:01:47Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2015-08-11T22:03:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=874f0157eb01f8486b8e739244b4429a92a8182e'/>
<id>urn:sha1:874f0157eb01f8486b8e739244b4429a92a8182e</id>
<content type='text'>
The problem was reported by jstefanop on IRC, the SVF was generated with
Xilinx ISE 14.7.

Found and investigated with Valgrind's vgdb service.

Change-Id: I32b0e77e0380ce4a391661f97449f9c2a5f83625
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/2933
Tested-by: jenkins
</content>
</entry>
<entry>
<title>svf: flush the queue before reallocing memory</title>
<updated>2015-08-06T12:17:15Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2015-07-30T08:55:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=2dcf7bf77d09f139308281c223d8562b6420b448'/>
<id>urn:sha1:2dcf7bf77d09f139308281c223d8562b6420b448</id>
<content type='text'>
During reallocation a new memory region might be allocated and the old
one freed. If jtag queue is holding a pointer to the old memory, it will
segfault during the execution. Avoid this by flushing the queue before a
reallocation attempt is made.

This should fix ticket #102.

Change-Id: I737fc3f1ebf6d76413a475beb8bf20184fe0233f
Reported-by: Alex Forencich &lt;aforencich@users.sf.net&gt;
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/2899
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson &lt;andreas.fritiofson@gmail.com&gt;
</content>
</entry>
<entry>
<title>Openocd: svf: Add ability to ignore svf_check_tdo errors</title>
<updated>2014-07-03T18:08:48Z</updated>
<author>
<name>Kamal Dasu</name>
<email>kdasu@broadcom.com</email>
</author>
<published>2014-02-20T22:46:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=a74b5687a7195a6d816a251df59af21acf05aae6'/>
<id>urn:sha1:a74b5687a7195a6d816a251df59af21acf05aae6</id>
<content type='text'>
Added Openocd commandline argument to ignore_error when the
read back TDO does not match to expected value specified with
TDO after masking with what is specified in MASK. This allows
to continue to play entire SVF file ignoring errors.
Error logs clearly show the failure reason and prints
read back TDO value.

Change-Id: I324f476fc16a003b35e6f2c5b63976431f49d54a
Signed-off-by: Kamal Dasu &lt;kdasu.kdev@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/2129
Tested-by: jenkins
Reviewed-by: Franck Jullien &lt;franck.jullien@gmail.com&gt;
Reviewed-by: Andreas Fritiofson &lt;andreas.fritiofson@gmail.com&gt;
</content>
</entry>
<entry>
<title>svf: Only read TDO back from the device if we actually need to look at the bits.</title>
<updated>2014-06-22T08:32:13Z</updated>
<author>
<name>Joshua Wise</name>
<email>joshua@joshuawise.com</email>
</author>
<published>2014-05-16T08:08:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=dd4e3a2406f97e19487aaaecbaaa3c542169e7af'/>
<id>urn:sha1:dd4e3a2406f97e19487aaaecbaaa3c542169e7af</id>
<content type='text'>
This results in a 90% speedup on USB-Blaster, which serializes repeated
TDI input against TDO readback; program time on an 5CGXFC5C6F27 part was
dropped from 2m30s to 9s.

Signed-off-by: Joshua Wise &lt;joshua@joshuawise.com&gt;
Change-Id: I92d5a8b800492283d619328549235b610528c338
Reviewed-on: http://openocd.zylin.com/2145
Reviewed-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Tested-by: jenkins
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&gt;
</content>
</entry>
<entry>
<title>svf: Fix debug and error messages that print hex buffer</title>
<updated>2014-05-05T20:25:10Z</updated>
<author>
<name>Kamal Dasu</name>
<email>kdasu.kdev@gmail.com</email>
</author>
<published>2013-12-03T21:15:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=2eb8a31a6bc91a645ed6aa06752835f4c61cd703'/>
<id>urn:sha1:2eb8a31a6bc91a645ed6aa06752835f4c61cd703</id>
<content type='text'>
Added SVF_BUF_LOG macro to properly print the hex buffer of parsed
string for SIR, SDR, TDI, TDO and MASK. The original debug and error
logs with respect to printing real values were misleading and also
had endianess issues. All the bits are printed now instead of just
u32 values.

Change-Id: Ie89902403bdb61ff458418446c2ca1253ea2a63f
Signed-off-by: Kamal Dasu &lt;kdasu.kdev@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/1964
Reviewed-by: Andreas Fritiofson &lt;andreas.fritiofson@gmail.com&gt;
Tested-by: jenkins
</content>
</entry>
<entry>
<title>svf: try to reallocate buffers if they're not enough</title>
<updated>2014-04-14T18:21:11Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2014-04-09T05:58:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=11a1080c00ccf0335a2ccf1a25f5a51cce75b641'/>
<id>urn:sha1:11a1080c00ccf0335a2ccf1a25f5a51cce75b641</id>
<content type='text'>
On larger FPGAs the default buffer size is not nearly enough;
automatically reallocate it as needed.

Change-Id: Ic8071e8cceddeef897ce76996c029250fd22662b
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/2099
Tested-by: jenkins
Reviewed-by: Kenneth Lorthioir &lt;ibelimb@gmail.com&gt;
Reviewed-by: Freddie Chopin &lt;freddie.chopin@gmail.com&gt;
Reviewed-by: Andreas Fritiofson &lt;andreas.fritiofson@gmail.com&gt;
</content>
</entry>
<entry>
<title>Don't cast return value of [cm]alloc</title>
<updated>2014-03-30T03:53:45Z</updated>
<author>
<name>Andreas Fritiofson</name>
<email>andreas.fritiofson@gmail.com</email>
</author>
<published>2014-03-28T19:00:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=e6907e6d7e4cfc108d03d05dc2686f989ba7213d'/>
<id>urn:sha1:e6907e6d7e4cfc108d03d05dc2686f989ba7213d</id>
<content type='text'>
Change-Id: I0028a5b6757b1ba00031893d9a2a1725f915a0d5
Signed-off-by: Andreas Fritiofson &lt;andreas.fritiofson@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/2069
Tested-by: jenkins
Reviewed-by: Jörg Wunsch &lt;openocd@uriah.heep.sax.de&gt;
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&gt;
</content>
</entry>
<entry>
<title>svf: off-by-one error; do not access after the allocated memory</title>
<updated>2013-09-13T19:34:46Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2013-09-10T11:14:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=8b3f0f3f69a393151252d7f2211c9a15ae6cb456'/>
<id>urn:sha1:8b3f0f3f69a393151252d7f2211c9a15ae6cb456</id>
<content type='text'>
Keep the promise and ensure there're at least 3 bytes available after
the current position.

This eliminates the errors reported by Valgrind.

Change-Id: I1d0640e904c750eed808b2b4caf419b4d7619845
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/1615
Tested-by: jenkins
Reviewed-by: Peter Stuge &lt;peter@stuge.se&gt;
</content>
</entry>
</feed>
