1. Aug 14, 2021
    • Tim Newsome's avatar
      Try to improve remote bitbang speed again (#638) · 6edf98db
      Tim Newsome authored
      
      
      * Tweak remote bitbang code.
      
      Reducing the number of times we perform two read(2) calls in a row.
      
      Change-Id: If8f326d4f2c4ece979af427a2213f77b9024e6dd
      
      * Remove unnecessary block/non-block changes.
      
      Change-Id: I095717d19483fb0daf2e6c264cab1134fd5f84cd
      Signed-off-by: default avatarTim Newsome <tim@sifive.com>
      
      * Refactor, creating remote_bitbang_recv_buf_empty()
      
      Change-Id: Ib678bda990b3e224abe8faec2c48401b08cf4698
      
      * Refactor available space computation.
      
      Creating remote_bitbang_recv_buf_contiguous_available_space() which has
      a ridiculously long name but I don't see anything much better without
      replacing the remote_bitbang prefix throughout the file.
      
      Change-Id: I5d241b872a50a80a2df69fa60635207496484b7d
      
      * Use TCP_NODELAY on remote bitbang socket.
      
      `make` in riscv-tests/debug went from 2m40s to 1m20s.
      
      Change-Id: I0fa9f0007774626f2306d554397877c2117e8bdb
      Signed-off-by: default avatarTim Newsome <tim@sifive.com>
      
      * Fix build on Windows.
      
      Change-Id: I91f3ddee794e8540c5e871ead3c09583c272bd34
      Signed-off-by: default avatarTim Newsome <tim@sifive.com>
      6edf98db
  2. Jul 28, 2021
  3. Jul 24, 2021
  4. Jul 13, 2021
  5. Jul 02, 2021
  6. Jul 01, 2021
    • Tim Newsome's avatar
      Fix build. · c10422f0
      Tim Newsome authored
      
      
      Change-Id: Ib8a1d0ad66a74b4bc85fd70b4cd82d1ccc200e56
      Signed-off-by: default avatarTim Newsome <tim@sifive.com>
      c10422f0
    • Tim Newsome's avatar
      Merge branch 'master' into from_upstream · 5edbbb48
      Tim Newsome authored
      Conflicts:
      	src/flash/nor/nrf5.c
      	src/flash/nor/xcf.c
      	src/jtag/drivers/remote_bitbang.c
      	src/rtos/FreeRTOS.c
      	src/rtos/zephyr.c
      	src/target/cortex_a.c
      	src/target/cortex_a.h
      	src/target/cortex_m.c
      	src/target/riscv/riscv.c
      
      Change-Id: I80b0a33b40c06c229d20fe34e04d6322da83326d
      5edbbb48
  7. Jun 27, 2021
  8. Jun 26, 2021
  9. Jun 24, 2021
  10. Jun 22, 2021
    • Tim Newsome's avatar
      Get closer to mainline. (#624) · 388db62c
      Tim Newsome authored
      
      
      * Get closer to mainline.
      
      .gitignore is left-over from when I tried gnulib.
      The other changes were made to make the checker happy, and I don't care
      to upstream these.
      
      Change-Id: I9168b3b80d89a142a46eb1906a7640fc02552743
      Signed-off-by: default avatarTim Newsome <tim@sifive.com>
      
      * checkpatch requires this.
      
      Why isn't this correct in upstream?
      
      Change-Id: I3810e26e591450b6d7425368a39750405f4d8bfa
      Signed-off-by: default avatarTim Newsome <tim@sifive.com>
      
      * Appears unnecessary.
      
      I added this as part of FreeRtos work, but all those tests pass just
      fine even without this change. I suspect I added it in an attempt to fix
      something and it turned out to be unnecessary. Reverting because I don't
      know how to justify upstreaming this.
      
      Change-Id: I1e4d0af9d2b4d62c79969216929702463bf0c815
      Signed-off-by: default avatarTim Newsome <tim@sifive.com>
      388db62c
    • Tim Newsome's avatar
      Merge pull request #625 from riscv/fix_merge · 383ff365
      Tim Newsome authored
      Fix merge
      383ff365
    • Tim Newsome's avatar
      Merge branch 'from_upstream' into fix_merge · 7d3cd4e7
      Tim Newsome authored
      Should result in no changes, but now I will probably merge the PR so git
      knows the merge happened. (I accidentally did a squash merge before.)
      
      Change-Id: I939492c0b1ef181ccb3f3158e5fc3a0626a60412
      7d3cd4e7
  11. Jun 19, 2021
  12. Jun 14, 2021
  13. Jun 12, 2021
  14. Jun 09, 2021