- Jul 04, 2017
-
-
Tim Newsome authored
They were implemented, and people want to keep using them. Also make OpenOCD tolerate cores that have $misa at 0xf10 instead of the current address of 0x301. Actually return an error when we fail to read a CSR. Tweak cache_set32() debug output.
-
- Jun 28, 2017
-
-
Tim Newsome authored
Also slightly improve debugging output.
-
- Jun 21, 2017
-
-
Palmer Dabbelt authored
Testsuite now passes on multicore target
-
Tim Newsome authored
Right now we're using "threads" to represent harts. gdb/OpenOCD assume there's only one set of hardware breakpoints among all threads. Make it so.
-
Tim Newsome authored
-
Tim Newsome authored
-
Tim Newsome authored
This ensures that "info threads" is accurate as soon as gdb connects. Also print out number of triggers that is discovered in examine().
-
Tim Newsome authored
Various cosmetic improvements
-
- Jun 19, 2017
-
-
Tim Newsome authored
-
- Jun 17, 2017
-
-
Tim Newsome authored
Update debug_defines from the spec, commit 920ec9a690. Decode dmstatus scans in the debug output.
-
Tim Newsome authored
-
Tim Newsome authored
-
Tim Newsome authored
Assuming the program allocating code works, we don't need its output. Only output parts of the debug RAM that are actually doing something.
-
Tim Newsome authored
Fix indentation to match OpenOCD style.
-
- Jun 16, 2017
-
-
Tim Newsome authored
This change is just in the whitespace. There are no code changes. See http://openocd.org/doc-release/doxygen/stylec.html
-
Tim Newsome authored
Two fixes from the release branch
-
Palmer Dabbelt authored
Fix print statements to work with 64-bit addresses
-
Tim Newsome authored
-
Palmer Dabbelt authored
When I disappeared the polls everywhere I forgot to sanitize the hartid after halting. This is an invariant that GDB expects: when you return from a halt whatever thread is marked as currently selected is the thread that the next register accesses reference.
-
Palmer Dabbelt authored
-
Palmer Dabbelt authored
Accept 64-bit addresses in CRC requests.
-
Tim Newsome authored
-
- Jun 15, 2017
-
-
Palmer Dabbelt authored
Merge mainline OpenOCD
-
- Jun 14, 2017
-
-
Tim Newsome authored
Main change is to make riscv_addr_t be unsigned. The rest is mechanical fixing of types, print statements, and a few signed/unsigned compares. Smoketest indicates everything is working more or less as before.
-
Tim Newsome authored
Merged 1025be36 Conflicts: src/flash/nor/Makefile.am src/rtos/Makefile.am src/rtos/rtos.c src/target/Makefile.am src/target/target.c src/target/target_type.h Doesn't build yet, but I fixed the conflicts that git pointed out.
-
- Jun 09, 2017
-
-
Tim Newsome authored
Fix dmi_read() indentation; remove \n in LOG_ERROR
-
Tim Newsome authored
-
- Jun 08, 2017
-
-
Megan Wachs authored
-
Megan Wachs authored
-
- Jun 07, 2017
-
-
Tim Newsome authored
-
Tim Newsome authored
When gcc isn't optimizing well, it might not realize that it's not possible to return fd without initializing it, and then the build fails due to -Werror.
-
- Jun 03, 2017
-
-
Paul Fertser authored
Change-Id: I7139b0658f048afea2d16216c93e8946356a630d Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/4151 Tested-by: jenkins Reviewed-by:
Salvador Arroyo <sarroyofdez@yahoo.es>
-
- May 31, 2017
-
-
Tobias Diedrich authored
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: > flash probe flash0 Found flash device 'win w25q128fv' (ID 0x001840ef) flash 'ath79' found at 0x00000000 > flash probe flash1 No SPI flash found > flash probe flash2 No SPI flash found > flash banks > 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 <ranma+openocd@tdiedrich.de> Reviewed-on: http://openocd.zylin.com/3612 Tested-by: jenkins Reviewed-by:
Dmytro <dioptimizer@hotmail.com> Reviewed-by:
Paul Fertser <fercerpav@gmail.com>
-
Grzegorz Kostka authored
For some targets (like nrf51) sysfs driver is too slow. This patch implements memory maped driver for IMX processors. Mostly based on bcm2835gpio. Tested on imx6ul CPU. However, it should work on any NXP IMX CPU. Change-Id: Idace4c98181c6e9c64dd158bfa52631204b5c4a7 Signed-off-by:
Grzegorz Kostka <kostka.grzegorz@gmail.com> Reviewed-on: http://openocd.zylin.com/4106 Tested-by: jenkins Reviewed-by:
Paul Fertser <fercerpav@gmail.com>
-
- May 26, 2017
-
-
Palmer Dabbelt authored
GDB seems to just go off the rails if I return a SIGINT.
-
Palmer Dabbelt authored
I missed this event. It appears to do nothing.
-
Palmer Dabbelt authored
This means I don't know what hart to look at, so I might as well invalidate the register cache. Without this, you might get stale registers the first time you ask for them.
-
Palmer Dabbelt authored
I thought OpenOCD did this, but it looks like that doesn't happen when runningi in RTOS mode. With this I can get to the end of most of the RTOS tests, but they SIGINT instead of exiting.
-
Megan Wachs authored
riscv-v11: Don't perform unexpected operation in cache_write
-
- May 23, 2017
-
-
Megan Wachs authored
-