Commit Graph

79 Commits

Author SHA1 Message Date
Albert Ou
14d2cfc751 Fix SRCDIR for qemu build
RDIR (the initial working directory) is not necessarily the top of the
chipyard source tree.
2019-10-08 02:33:28 -07:00
abejgonzalez
73252f323b Merge remote-tracking branch 'origin/dev' into alon-docs-dev 2019-10-07 19:54:12 -07:00
Nathan Pemberton
151d3f16c3 typo in command for ignoring qemu submodule 2019-10-05 00:24:31 +00:00
Nathan Pemberton
8e8ce09ce9 Move qemu to chipyard from firesim 2019-10-04 19:04:08 -04:00
Nathan Pemberton
95a44ff6d0 Switch to bash optarg for cli handling in init-submodules script 2019-10-04 17:54:33 -04:00
alonamid
1e7c57f36c fix toolchains usage 2019-10-04 00:17:12 -07:00
Nathan Pemberton
dcddf2c842 Fix typo in firesim initialization in init-submodules-no-riscv-tools.sh 2019-10-03 20:20:41 -04:00
Nathan Pemberton
41c560e5a8 Add symlink to firemarshal to software/firemarshal. Marshal still lives
in firesim for now, but can be accessed from chipyard top.
2019-10-03 18:47:04 -04:00
Albert Ou
c7b252aa09 toolchains: Check for GNU make 4.x
GNU make 4.x is needed to cross-compile glibc 2.28 and newer.
This ensures the problem is caught earlier on CentOS release 7.6, whose
default make version remains 3.82.
2019-10-02 13:16:04 -07:00
Albert Ou
b4ed5eb61b toolchains: Optionally build riscv-openocd with a separate script 2019-10-02 13:16:01 -07:00
Albert Ou
2f1e5e994b toolchains: Flatten riscv-tools submodule
This allows individual components to be better maintained following the
deprecation of riscv-tools.  Eliminate non-essential submodules.

build-static-libfesvr.sh is no longer necessary since libfesvr.a is
built as part of the riscv-isa-sim build.

For simplicity, only riscv-gnu-toolchain is now pre-built instead of the
entirety of riscv-tools.
2019-10-02 13:14:05 -07:00
Albert Ou
b0b3e016e5 scripts: Remove unnecessary experimental-blocks ignore
Polluting the global .gitconfig is not appreciated in any case.
2019-10-02 13:09:43 -07:00
Harrison Liew
cfba37afc9 bump hammer, remove saed32 2019-09-19 22:50:14 -07:00
Harrison Liew
971809a546 update submodules script 2019-09-19 22:50:14 -07:00
Harrison Liew
6179a91a29 some plumbing but still need to remove sram generator target for asap7 2019-09-19 22:50:05 -07:00
Abraham Gonzalez
3083bfd442 Merge pull request #218 from ucb-bar/ignore-docs-ci
Ignore docs in CircleCI
2019-09-04 19:49:53 -07:00
Albert Ou
4963792e98 scripts: Scale number of make jobs by hardware thread count
If the hardware thread/core count cannot be determined successfully,
avoid setting the '-j' option for make.
2019-09-01 00:03:08 -07:00
Albert Ou
cff1f6b11e scripts: Eliminate unnecessary process substitution 2019-09-01 00:01:10 -07:00
Albert Ou
9e9e7dd442 scripts: Fix latent issues with env.sh
* Ensure shell metacharacters are quoted in RISCV variable assignment.
* Avoid unnecessary expansion of $RISCV and $LD_LIBRARY_PATH at
  generation time.
* Remove undefined usage of $DTCversion.
* Simplify output redirection.
2019-09-01 00:00:50 -07:00
Albert Ou
2c2f5a76e3 scripts: Fix quoting to prevent unintended word splitting 2019-08-31 15:00:32 -07:00
Albert Ou
10b708d173 scripts: Ensure non-zero exit code on error 2019-08-31 03:18:34 -07:00
Albert Ou
40a94dd08e scripts: Parse options with getopts builtin 2019-08-31 03:18:34 -07:00
Howard Mao
0e8fb52f8d add check-tracegen.sh script 2019-08-30 11:38:07 -07:00
abejgonzalez
fc380b2dda ignore docs using a github webhook 2019-08-29 23:43:08 -07:00
Abraham Gonzalez
60f603e7c8 Safer LD_LIBRARY_PATH 2019-07-25 15:19:59 -07:00
Abraham Gonzalez
495e9d2668 Do not clobber LD_LIBRARY_PATH in env.sh 2019-07-24 23:19:18 -07:00
Howard Mao
fe45d94974 make sure git submodule update --init run from top-level directories 2019-07-22 14:58:30 -07:00
alonamid
5a7ff760d1 Merge pull request #157 from ucb-bar/toolchains2
Toolchains build update
2019-07-22 14:37:38 -07:00
alonamid
72b5df057a Return to main dir 2019-07-22 17:43:51 +00:00
alonamid
e177fcd414 try to fix openocd path 2019-07-22 17:41:31 +00:00
alonamid
9e5ed591b9 try to fix CI 2019-07-22 16:54:23 +00:00
alonamid
8646283a17 colin comments 2019-07-22 16:35:15 +00:00
Abraham Gonzalez
52322376e6 Unset the init for hammer-cad-plugins
This allows the user to not run the `unset` command after the init script to update the submodules.
2019-07-19 16:44:46 -07:00
Jerry Zhao
b923617f64 Fixup init-vlsi.sh 2019-07-19 15:06:51 -07:00
Jerry Zhao
e63db54b9c Add first-time-run instructions to vlsi/README 2019-07-19 15:03:28 -07:00
alonamid
265380d960 fix install path 2019-07-19 16:59:40 +00:00
alonamid
b74b23aad0 remove global 2019-07-19 05:57:43 +00:00
alonamid
a759d64926 Merge remote-tracking branch 'origin/dev' into toolchains2 2019-07-19 01:10:50 +00:00
alonamid
121c572d72 pr comments 2019-07-19 00:54:34 +00:00
alonamid
b47c8a5f30 fix usage 2019-07-19 00:24:07 +00:00
alonamid
e29acc2b56 fix openocd 2019-07-18 23:35:53 +00:00
Jerry Zhao
7a55b74ed2 Merge pull request #116 from ucb-bar/vlsi
Add initial VLSI flow scripts
2019-07-18 16:19:28 -07:00
alonamid
e967667d1b remove ec2 arg 2019-07-18 21:47:29 +00:00
alonamid
b3f9398faa fix message 2019-07-18 06:02:44 +00:00
alonamid
1f0fb1a399 change flag name 2019-07-18 05:28:09 +00:00
alonamid
302ffe7869 fix fast init 2019-07-18 05:10:18 +00:00
alonamid
40203f60a3 update deinit name 2019-07-18 04:35:31 +00:00
alonamid
9fa1d8d971 update arg 2019-07-18 04:12:41 +00:00
alonamid
bb13dc98f5 Merge branch 'toolchains2' of https://github.com/ucb-bar/chipyard into toolchains2 2019-07-18 03:28:39 +00:00
alonamid
eba7b4ec16 correct libfesvr script 2019-07-18 03:28:22 +00:00