<feed xmlns='http://www.w3.org/2005/Atom'>
<title>OpenOCD/src/target, branch mips-hack-upstream</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://git.amat.us/openocd/atom/src/target?h=mips-hack-upstream</id>
<link rel='self' href='https://git.amat.us/openocd/atom/src/target?h=mips-hack-upstream'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/'/>
<updated>2017-09-22T14:04:24Z</updated>
<entry>
<title>Some hack for MIPS, don't remember the details</title>
<updated>2017-09-22T14:04:24Z</updated>
<author>
<name>David Barksdale</name>
<email>david.barksdale@exodusintel.com</email>
</author>
<published>2017-09-15T19:42:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=61126661bbdf2ad4ca87437601e0981bbeabbe81'/>
<id>urn:sha1:61126661bbdf2ad4ca87437601e0981bbeabbe81</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mips32: inline functions in headers must be static</title>
<updated>2017-07-07T08:54:35Z</updated>
<author>
<name>Andreas Fritiofson</name>
<email>andreas.fritiofson@gmail.com</email>
</author>
<published>2017-07-06T07:51:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=29cfe9c5eede2cd2fb3a62f44bdaf4f58377b027'/>
<id>urn:sha1:29cfe9c5eede2cd2fb3a62f44bdaf4f58377b027</id>
<content type='text'>
Change-Id: If1d0fc6766cadc2db33408ae5c0968de6b7a1b94
Signed-off-by: Andreas Fritiofson &lt;andreas.fritiofson@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/4178
Tested-by: jenkins
Reviewed-by: Salvador Arroyo &lt;sarroyofdez@yahoo.es&gt;
Reviewed-by: Stian Skjelstad &lt;stian@nixia.no&gt;
</content>
</entry>
<entry>
<title>target: Fix snprintf format string and argument mismatch in md output</title>
<updated>2017-06-30T09:06:32Z</updated>
<author>
<name>Andreas Fritiofson</name>
<email>andreas.fritiofson@gmail.com</email>
</author>
<published>2017-06-22T12:23:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=868a100143ad74fb194040df7da6895b0e55d0a3'/>
<id>urn:sha1:868a100143ad74fb194040df7da6895b0e55d0a3</id>
<content type='text'>
Commit 47b8cf842 changed the fixed type of the value argument to snprint
but didn't change the format string to match for sizes != 64 bit.

Change-Id: I908b06f49ab69d04224282949190a0de883048e0
Signed-off-by: Andreas Fritiofson &lt;andreas.fritiofson@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/4167
Tested-by: jenkins
Reviewed-by: Stian Skjelstad &lt;stian@nixia.no&gt;
Reviewed-by: Philipp Guehring &lt;pg@futureware.at&gt;
</content>
</entry>
<entry>
<title>flash: Add support for Atheros (ath79) SPI interface</title>
<updated>2017-05-31T07:18:29Z</updated>
<author>
<name>Tobias Diedrich</name>
<email>ranma+coreboot@tdiedrich.de</email>
</author>
<published>2016-08-01T13:57:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=6b9d19d3675a82ccc501fd7cba036c5b04d04590'/>
<id>urn:sha1:6b9d19d3675a82ccc501fd7cba036c5b04d04590</id>
<content type='text'>
Supported SoCs: AR71xx, AR724x, AR91xx, AR93xx, QCA9558

Extended and revised version of my original patch submitted by Dmytro
here: http://openocd.zylin.com/#/c/3390

This driver is using pure SPI mode, so the flash base address is not
used except some flash commands (e.g. "flash program") need it to
distinguish the banks.

Example config with all 3 chip selects:
flash bank flash0 ath79 0 0 0 0 $_TARGETNAME cs0
flash bank flash1 ath79 0x10000000 0 0 0 $_TARGETNAME cs1
flash bank flash2 ath79 0x20000000 0 0 0 $_TARGETNAME cs2

Example usage:
&gt; flash probe flash0
Found flash device 'win w25q128fv' (ID 0x001840ef)
flash 'ath79' found at 0x00000000
&gt; flash probe flash1
No SPI flash found
&gt; flash probe flash2
No SPI flash found
&gt; flash banks
&gt; flash read_bank flash0 /tmp/test.bin 0x00000000 0x1000
reading 4096 bytes from flash @0x00000000
wrote 4096 bytes to file /tmp/test.bin from flash bank 0 at offset
0x00000000 in 28.688066s (0.139 KiB/s)

Change-Id: I5feb697722c07e83a9c1b361a9db7b06bc699aa8
Signed-off-by: Tobias Diedrich &lt;ranma+openocd@tdiedrich.de&gt;
Reviewed-on: http://openocd.zylin.com/3612
Tested-by: jenkins
Reviewed-by: Dmytro &lt;dioptimizer@hotmail.com&gt;
Reviewed-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
</content>
</entry>
<entry>
<title>mips32, use scan32 function for reading impcode/idcode.</title>
<updated>2017-05-08T17:05:58Z</updated>
<author>
<name>Salvador Arroyo</name>
<email>salvador@telecable.es</email>
</author>
<published>2017-02-20T19:45:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=f22b89d9fbc0d44b23f56e71429d0df909430036'/>
<id>urn:sha1:f22b89d9fbc0d44b23f56e71429d0df909430036</id>
<content type='text'>
There is no need to implement scan code in functions
mips_ejtag_get_idcode/impcode(), use mips_ejtag_drscan_32().
Impcode/idcode saved in ejtag.info.
Reorder the code in the callers of this functions.

Change-Id: Ia829c783a0b24c6a65cade736113fa6f67b0a170
Signed-off-by: Salvador Arroyo &lt;salvador@telecable.es&gt;
Reviewed-on: http://openocd.zylin.com/4003
Tested-by: jenkins
Reviewed-by: Peter Mamonov &lt;pmamonov@gmail.com&gt;
Reviewed-by: Freddie Chopin &lt;freddie.chopin@gmail.com&gt;
</content>
</entry>
<entry>
<title>mips32: add micromips breakpoints support</title>
<updated>2017-05-08T17:05:26Z</updated>
<author>
<name>Salvador Arroyo</name>
<email>sarroyofdez@yahoo.es</email>
</author>
<published>2017-05-08T07:44:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=b702b16dc2d9bb0bcc4b9b4c909e8c1067aba238'/>
<id>urn:sha1:b702b16dc2d9bb0bcc4b9b4c909e8c1067aba238</id>
<content type='text'>
Breakpoint setting based on length (kind) only.
Added 16bit aligned 32bit software breakpoints
support and same filtering before setting
breakpoint.
Set the required isa bit in hardware breakpoints.
Drop the isa bit in software breakpoints.

Change-Id: I7020f27be16015194b76f385d9b8e5af496d0dfc
Signed-off-by: Salvador Arroyo &lt;sarroyofdez@yahoo.es&gt;
Reviewed-on: http://openocd.zylin.com/4124
Tested-by: jenkins
Reviewed-by: Freddie Chopin &lt;freddie.chopin@gmail.com&gt;
</content>
</entry>
<entry>
<title>mips32: add micromips isa handling</title>
<updated>2017-05-08T17:04:56Z</updated>
<author>
<name>Salvador Arroyo</name>
<email>sarroyofdez@yahoo.es</email>
</author>
<published>2017-05-07T16:39:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=4831ce4433adf4e2fbf5729bebf8c0f7c2fce1c1'/>
<id>urn:sha1:4831ce4433adf4e2fbf5729bebf8c0f7c2fce1c1</id>
<content type='text'>
Read and save configuration registers, up to 4.
Config3 holds the micromips implementation info.
Added isa implementation info to mips32_common.
Added isa filter to avoid common mistakes, but only
if one isa mode is implemented.
When resuming the isa requested is set if more than
one isa mode is implemented.

Change-Id: I1d6526c5525bffac8d75e031b842b2edc6310e28
Signed-off-by: Salvador Arroyo &lt;sarroyofdez@yahoo.es&gt;
Reviewed-on: http://openocd.zylin.com/4123
Tested-by: jenkins
Reviewed-by: Freddie Chopin &lt;freddie.chopin@gmail.com&gt;
</content>
</entry>
<entry>
<title>mips32, convert miniprograms with code definition</title>
<updated>2017-05-08T17:03:58Z</updated>
<author>
<name>Salvador Arroyo</name>
<email>sarroyofdez@yahoo.es</email>
</author>
<published>2017-05-07T11:36:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=f5151b6d46cb0b939e3beb0fc61cb8718908f4b8'/>
<id>urn:sha1:f5151b6d46cb0b939e3beb0fc61cb8718908f4b8</id>
<content type='text'>
Needed to run in micromips mode. Seems that if an isa
is supported in debug mode it also supported in kernel
mode. The contrary is not true.

Change-Id: I1feb8e2c376f4db97089f05c20bc0cd177208fb3
Signed-off-by: Salvador Arroyo &lt;sarroyofdez@yahoo.es&gt;
Reviewed-on: http://openocd.zylin.com/4033
Tested-by: jenkins
Reviewed-by: Freddie Chopin &lt;freddie.chopin@gmail.com&gt;
</content>
</entry>
<entry>
<title>mips32, add support for micromips in debug mode</title>
<updated>2017-05-08T17:03:28Z</updated>
<author>
<name>Salvador Arroyo</name>
<email>sarroyofdez@yahoo.es</email>
</author>
<published>2017-05-07T09:58:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=2279c23cdeaea05839a28ff3addf12b9b0f5357e'/>
<id>urn:sha1:2279c23cdeaea05839a28ff3addf12b9b0f5357e</id>
<content type='text'>
Micromips is 16bit oriented, branch and jumps are
16 bit based. The upper half 16bits of a 32bit instruction
with the major opcode, must go first in the instruction
stream, hence the SWAP16 macro and swap16 array function,
needed if the code is written as 32 bit word in little endian
cores. Endianess info added to ejtag_iinfo. Pointer to
ejtag_info and isa field added to pracc context.
MIPS32 code are renamed to MIPS32_ISA_...
To select the isa, the new code has an additional isa parameter
(1 for micromips, 0 for mips32).
In JR instruction the isa bit must be set to execute
micromips code.
The suffix u is added to the OP codes to avoid signed/unsigned
comparison errors and to make sure the right shift is
performed logically.
The isa in debug mode is updated in the poll function.
Code for miniprograms, in kernel mode, need to be converted.
CFI code only for mips32.

Change-Id: I79a8b637d49b0e2d92b6dd5eb5aa8aa0520bf938
Signed-off-by: Salvador Arroyo &lt;sarroyofdez@yahoo.es&gt;
Reviewed-on: http://openocd.zylin.com/4032
Tested-by: jenkins
Reviewed-by: Freddie Chopin &lt;freddie.chopin@gmail.com&gt;
</content>
</entry>
<entry>
<title>mips32, add microMips instruction subset</title>
<updated>2017-05-08T17:00:46Z</updated>
<author>
<name>Salvador Arroyo</name>
<email>sarroyofdez@yahoo.es</email>
</author>
<published>2017-02-27T12:06:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=6012a87d4464cdbf65ba46cb5c98d6113b5d7aea'/>
<id>urn:sha1:6012a87d4464cdbf65ba46cb5c98d6113b5d7aea</id>
<content type='text'>
Only reencoded MIPS32 instructions. Added some instructions
for crc code. Micromips isa in debug mode is only needed for
pic32mm cores. Pic32mz seems that only works with MIPS32
isa when in debug mode.

Change-Id: I07059e153a7000ea9204f20b6b37edf6a7623455
Signed-off-by: Salvador Arroyo &lt;sarroyofdez@yahoo.es&gt;
Reviewed-on: http://openocd.zylin.com/4022
Tested-by: jenkins
Reviewed-by: Freddie Chopin &lt;freddie.chopin@gmail.com&gt;
</content>
</entry>
</feed>
