Tim Newsome
85bfab36ad
Remove unused functionality.
...
Change-Id: I0c1464e2e6aa12d0cb1025ed0a7c1c483e7403b7
2017-10-18 12:47:07 -07:00
Tim Newsome
5d3f5c35d2
Still restore registers if an access failed.
...
Change-Id: I11571f0926f69a34f95b4929f633fdecd3a4e810
2017-10-18 12:32:41 -07:00
Tim Newsome
7edd9b1786
Fix FPR access.
...
Change-Id: I1379de87904f1cf40b45d1a5490249e3ba90d7d0
2017-10-18 11:47:15 -07:00
Tim Newsome
a0623b2fa8
Don't crash when encountering RV64.
...
Change-Id: Ie915ce830c3499919e4918ad443a5e225cf8c4d9
2017-10-17 11:58:51 -07:00
Tim Newsome
65be0776d8
Memory read/write works if the core can keep up.
...
Change-Id: Ieca50ece266fbc9d2ff16a5cc2e6b4b926ad5e6f
2017-10-17 11:52:07 -07:00
Tim Newsome
fbe2980eb7
MemTest64 passes.
...
Change-Id: I75996b71c3f31025c89ef596a08e01d191405336
2017-10-17 11:15:51 -07:00
Tim Newsome
d94b38279a
Memtest{16,32} pass.
...
Change-Id: I15c2a4fd2bb9a7b30762d07f3b3a74d2f477746b
2017-10-16 21:08:59 -07:00
Tim Newsome
7ec7bc32fe
At least some memory writes work.
...
Change-Id: I6fcf261341f10ec34df01bb844744439d02471a8
2017-10-13 12:50:02 -07:00
Tim Newsome
e7bb815e87
Register read/write might be working.
...
Change-Id: I6c51d6157dde56d8cd666b4d30ec7bbc7a4bef9f
2017-10-12 14:38:52 -07:00
Tim Newsome
94e8250713
WIP; doesn't work.
...
Change-Id: Ia407e82ccbd2044ad61e0845d285dd5765154476
2017-10-12 11:45:52 -07:00
Tim Newsome
77802af655
Remove duplicate progbuf size variable.
...
Change-Id: I662ff84d13ecfc7faae51406a4df57a3643116f0
2017-10-10 16:27:51 -07:00
Tim Newsome
f06aaa9058
Merge pull request #123 from riscv/fast_rbb
...
Add read buffer to bitbang, improving performance.
2017-10-09 11:06:20 -07:00
Tim Newsome
ed415c3cb6
Merge pull request #129 from riscv/minor_revert
...
Revert this LOG_INFO to LOG_DEBUG.
2017-10-09 11:06:08 -07:00
Tim Newsome
2da7820833
Revert this LOG_INFO to LOG_DEBUG.
...
Change-Id: I75dd7667a542aa1c6ea10f97fe1e00dd1ecba69d
2017-10-08 11:41:55 -07:00
Tim Newsome
d5836dceff
Merge pull request #126 from riscv/compile
...
Fix compile warnings.
2017-10-04 16:07:40 -07:00
Tim Newsome
24658db50e
Fix compile warnings.
...
Partly fixes #124 .
Change-Id: I3a7fd65c643e40b142709806cb9fb4cc62bb955f
2017-10-04 16:02:30 -07:00
Tim Newsome
77680cb23d
Merge pull request #125 from riscv/cleanup
...
Revert ae74097f
(extra ftdi debug).
2017-10-04 15:48:34 -07:00
Tim Newsome
916759e0de
Revert ae74097f
(extra ftdi debug).
...
Instead it makes more sense to push the debug changes to jtag/core.c.
Change-Id: I73bafa2a054e1f72b7752cfbce9ffc14303fc4c4
2017-10-04 15:44:07 -07:00
Tim Newsome
28eb10f43d
Ensure the buffer doesn't overflow.
...
Tested with a variety of prime buffer sizes.
Change-Id: I2b4835d46adf4c971111da88e8de4b46eb8dad41
2017-10-04 15:23:38 -07:00
Tim Newsome
abe7eba25a
Merge pull request #118 from riscv/priv
...
Fix priv access
2017-10-04 12:52:21 -07:00
Tim Newsome
1b11d579ea
Add read buffer to bitbang, improving performance.
...
This reduces the time for one testcase where OpenOCD connects to a
simulator from 12.30s to 5.35s!
Running all our tests went from 13m13s to 3m55s.
Change-Id: I7dc774e1e0f5752905ac4318fd9b85b930374a05
2017-10-03 15:38:31 -07:00
Tim Newsome
a3c26250bf
Merge pull request #116 from riscv/multigdb
...
Fix trigger code to work with multi-gdb mode instead of RTOS mode
2017-10-03 11:53:58 -07:00
Tim Newsome
e94c809ce4
Merge pull request #120 from gnu-mcu-eclipse/riscv-warnings
...
Silence some clang warnings
2017-10-03 11:27:57 -07:00
Tim Newsome
2f6dd2a4b5
Merge pull request #121 from gnu-mcu-eclipse/riscv-reorder
...
flash/nor/Makefile.am: keep files in lexicographical order
2017-10-03 11:26:32 -07:00
Liviu Ionescu
066ce338d8
flash/nor/Makefile.am: lexicographical order
2017-10-03 00:48:15 +03:00
Liviu Ionescu
f9f303923e
target/riscv/asm.h: use tab for indentation
2017-10-03 00:36:22 +03:00
Liviu Ionescu
f5a69e547f
target/riscv/program.c: fix clang warning
...
- I'm not sure I understand the logic behind the original statement,
but on macOS it fails to compile.
2017-10-03 00:23:14 +03:00
Liviu Ionescu
728a617bd4
target/riscv: Silence -Werror=return-type
...
- clang compains about the functions not returning a value
2017-10-03 00:17:57 +03:00
Tim Newsome
12bb3a4fd4
Merge pull request #119 from gnu-mcu-eclipse/riscv-upd
...
Update to master (Aug 10, 2017)
2017-10-02 11:56:19 -07:00
Liviu Ionescu
7dc04d7d0a
Merge commit '7719e9618e753ac41a46a2488dfba549ac578891' into riscv-upd
2017-10-01 01:57:46 +03:00
Tim Newsome
e64bb8c44a
Fix priv access on 0.13.
2017-09-30 14:15:37 -07:00
Tim Newsome
6795270a8e
Make priv readable in 0.11.
2017-09-30 13:31:57 -07:00
Tim Newsome
1083352576
Share register numbers between 0.11 and 0.13.
2017-09-30 13:13:03 -07:00
Tim Newsome
51f73a6769
Fix triggers for multi-gdb mode.
2017-09-26 15:40:49 -07:00
Tim Newsome
744894e965
Better debug messages.
2017-09-26 15:40:41 -07:00
Tim Newsome
a854089fd1
Merge pull request #114 from riscv/reset
...
Reset
2017-09-25 11:05:42 -07:00
Tim Newsome
f0195868d3
Fall back on ndmreset if hartreset is unsupported.
2017-09-21 14:53:12 -07:00
Tim Newsome
fe36097ff8
Fix reset for multicore.
2017-09-21 12:42:40 -07:00
Tim Newsome
848fe0ffcf
Cleaning up single-hart reset.
2017-09-19 17:41:52 -07:00
Tim Newsome
4e701669b7
Merge pull request #113 from riscv/macos_build
...
Add clang build
2017-09-19 14:11:10 -07:00
Tim Newsome
fd2d2d0aa3
Merge pull request #91 from riscv/info
...
Be more clear in multi-core systems without -rtos
2017-09-19 12:53:02 -07:00
Tim Newsome
60354cbea2
clang fix, don't allow unaligned uint64_t pointers
2017-09-18 14:56:46 -07:00
Tim Newsome
ed9a04bde9
Remove unnecessary abs().
2017-09-18 14:35:47 -07:00
Tim Newsome
0abd94b50c
Make constants unsigned for clang.
2017-09-18 14:23:59 -07:00
Tim Newsome
702cb0dd46
Another try at 32/64 gcc/clang
2017-09-18 14:05:32 -07:00
Tim Newsome
604dfa0dcc
Try to fix some clang warnings.
2017-09-18 14:03:33 -07:00
Tim Newsome
bf737b8985
Remove osx, do 32/64 gcc/clang.
2017-09-18 13:52:49 -07:00
Tim Newsome
a715500912
Try clang build.
...
Travis takes a long time to start OSX builds.
2017-09-18 13:47:03 -07:00
Tim Newsome
21bd5e7b68
Try OSX build.
2017-09-18 13:37:51 -07:00
Tim Newsome
157a67a98a
Be more clear in multi-core systems without -rtos
...
Don't print out there's a hart with XLEN of 0.
2017-09-18 11:29:14 -07:00