Go to file
zwelch c6e80f63a3 David Claffey <dnclaffey@gmail.com>:
This patch helps fix MIPS big endian (elf32-tradbigmips) targets.
If "-endian big" is not set in target create, the endianess defaults to
little.  mw and md commands will still work, but binary file loads will
have the incorrect word order loaded into memory.

The EJTAG processor access data register (PrAcc) is little endian
regardless of the CPU endianness; it is always loaded LSB first. This
is confirmed by the fact that mips_ejtag_drscan_32() uses buf_set_u32()
to load the scan field; buf_set_u32() is a little-endian formatter. For
big endian targets, data buffers have to be modified so the LSB of each
u32 or u16 is at the lower (first) memory location.  If the drscan
out_value word order is set using buf_set_u32() then it makes sense to
also fixup the in_value with buf_get_u32(); a symmetry argument. This
has no affect on little endian hosts.


git-svn-id: svn://svn.berlios.de/openocd/trunk@2219 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-12 04:14:18 +00:00
contrib Uwe Hermann <uwe@hermann-uwe.de>: Make ICEbear look like other targets 2009-04-30 21:04:34 +00:00
doc David Brownell <david-b@pacbell.net>: 2009-06-11 21:48:36 +00:00
ecosflash deleted obsolete stuff. 2008-04-22 06:44:05 +00:00
src David Claffey <dnclaffey@gmail.com>: 2009-06-12 04:14:18 +00:00
tcl David Brownell <david-b@pacbell.net>: 2009-06-10 04:08:32 +00:00
testing stm32 profiling wip 2009-05-08 13:30:45 +00:00
tools Improve logger script to expose warnings and errors in the output. 2009-06-03 02:56:20 +00:00
AUTHORS Michael Schwingen <rincewind@discworld.dascon.de> add non-CFI SST flashs 2009-04-21 05:31:18 +00:00
BUGS Update Doxygen markup in PATCHES, BUGS, and TODO: 2009-05-26 23:58:01 +00:00
COPYING - prepare OpenOCD for branching, created ./trunk/ 2006-06-02 10:36:31 +00:00
ChangeLog retired 2008-03-06 17:11:35 +00:00
Doxyfile.in Properly fix doxygen out-of-tree build process: 2009-05-24 01:08:16 +00:00
INSTALL - fix typo's 2008-09-22 20:58:57 +00:00
Makefile.am Add a rule to rebuild libtool if ltmain.sh changes (from libtool docs). 2009-06-09 12:01:56 +00:00
NEWS - fix typo's 2008-09-22 20:58:57 +00:00
NEWTAPS - fix incorrect svn props from last commit 2008-12-01 15:52:56 +00:00
PATCHES Improve doxygen markup of PATCHES file, link to new primer. 2009-06-03 02:17:26 +00:00
README Test of commit email from duane 2008-12-06 13:13:02 +00:00
TODO Improve remaining documentation that was causing Doxygen warnings. 2009-06-03 04:44:38 +00:00
bootstrap Remove redundant call to autoheader in bootstrap script. 2009-05-28 23:47:37 +00:00
configure.in Improve use of automake conditionals for FTDI-based JTAG drivers: 2009-06-09 14:18:28 +00:00
guess-rev.sh - guess-rev.sh now works as expected when build_dir is not the same as src_dir 2009-02-13 09:56:51 +00:00
uncrustify.cfg Add uncrustify config file and helper script 2009-02-03 04:27:48 +00:00

README

openocd.texi is the authoritative source of OpenOCD documentation