tinyriscv-openocd/src
Tim Newsome c5dee66a71
Redo fespi flash algorithm (#384)
* WIP, rewrite of flash algorithm.

Just put all the flashing logic into the algorithm, instead of using an
intermediate format. This should reduce total data written while
flashing by about 9%, and also makes the code much simpler.

Change-Id: I807e60c8ab4f9f376cceaecdbbd10a2326be1c79

* New algorithm works.

Speeds up Arty flashing another 9%.

wrote 2228224 bytes from file /media/sf_tnewsome/SiFive/arty_images/arty.E21TraceFPGAEvaluationConfig.mcs in 86.784538s (25.074 KiB/s)
verified 2192012 bytes in 6.693336s (319.816 KiB/s)
8.66user 13.03system 1:33.91elapsed 23%CPU (0avgtext+0avgdata 12272maxresident)k

Change-Id: Ie55c5250d667251be141cb32b144bbcf3713fce4

* Fix whitespace.

Change-Id: I338d518fa11a108efb530ffe75a2030619457a0b

* Don't reserve so much stack space.

Also properly check XLEN in riscv_wrapper.S.

Change-Id: Ifa0301f3ea80f648fb8a6d6b6c8bf39f386fe4a6
2019-07-09 10:05:07 -07:00
..
flash Redo fespi flash algorithm (#384) 2019-07-09 10:05:07 -07:00
helper helper/command: return proper JIM error code 2019-03-06 15:38:07 +00:00
jtag Merge branch 'master' into from_upstream 2019-04-03 12:38:27 -07:00
pld Convert to non-recursive make 2016-12-08 16:23:10 +00:00
rtos Merge branch 'master' into from_upstream 2019-04-03 12:38:27 -07:00
server Don't update RTOS threads just before step. (#376) 2019-05-20 14:16:07 -07:00
svf svf: improve robustness when processing invalid SVF files 2018-03-13 08:41:21 +00:00
target Redo fespi flash algorithm (#384) 2019-07-09 10:05:07 -07:00
transport configure: disable all drivers when zy1000 is enabled 2018-05-08 15:21:49 -07:00
xsvf Convert to non-recursive make 2016-12-08 16:23:10 +00:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
hello.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
openocd.c armv8: valgrind memleak fixes 2018-05-08 15:21:49 -07:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00