Commit Graph
397 Commits
Author SHA1 Message Date
Jerry Zhao 854e71a205 Add tutorial config and tutorial patches 2020-03-05 19:44:37 -08:00
1e26cb1f49 Add a git version check to the init scripts and make them work outside of the repo root. (#459)
* Fixes #453

- Update scripts/init-submodules-no-riscv-tools.sh to also work if you're in scripts/

- Provide a git version check to ensure the init scripts will work (>= 1.7.8)

- Update the documentation to be more explicit that the init script is also for updating.

* Update scripts/init-submodules-no-riscv-tools-nolog.sh

Co-Authored-By: Albert Ou <aou@eecs.berkeley.edu>
2020-03-05 13:04:54 -08:00
Abraham GonzalezandGitHub de2170e7a6 [setup] log init submodules (#433) 2020-02-25 21:27:53 -08:00
David BiancolinandGitHub 9d45a2711e Fix generation of env.sh for ZSH (#435) 2020-02-14 23:41:14 -08:00
Nathan PembertonandGitHub ccd6ecd418 Marhsal in chipyard (#415)
* Move firemarshal into chipyard (was in firesim)
2020-02-09 17:58:56 -08:00
Albert OuandSagar Karandikar d7d7c79c22 scripts: Initialize firesim non-recursively (#388) 2020-01-24 09:31:41 -08:00
cb2f48b148 System Requirements (#387)
* more system requirements

* [ci skip] system reqs PR comments

* scripts: Make {ubuntu,centos}-req.sh executable [ci skip]

* scripts: Add Ubuntu toolchain dependencies [ci skip]

* inline marshal reqs

* [skip ci] Update scripts/centos-req.sh

Co-Authored-By: Albert Ou <aou@eecs.berkeley.edu>

Co-authored-by: Albert Ou <aou@eecs.berkeley.edu>
2020-01-22 13:40:59 -08:00
Albert Ou 7059ac3f0f toolchains: Add libgloss replacement 2019-12-21 12:11:49 -08:00
Albert Ou f71d976114 toolchains: Build libraries with medany code model
This enables bare-metal programs to link against newlib and libgcc at
addresses above 0x80000000.
2019-12-21 12:11:48 -08:00
Jerry ZhaoandGitHub 72f9730cbd Allow user to specify toolchain install prefix (#334) 2019-12-13 11:40:47 -08:00
abejgonzalez 2468da282e dont ctags within toolchains/sim | only ctags scala/C/C++/python files 2019-11-23 18:56:38 -08:00
Nathan Pemberton 6d2f102a7e Shallow clone sha3 2019-11-12 19:42:36 -05:00
Nathan Pemberton 6ca1715b47 Bump firemarshal to not initialize linux by default. This bumps the sha3
generator to include the software workloads (moved from marshal). As a
result, the sha3 generator submodule is not initialized by default
(because it now has a copy of linux).
2019-11-12 17:18:02 -05:00
Howard Mao 05af2f9a9c Fix tracegen target and add to CI 2019-10-21 09:55:40 -07:00
Abraham GonzalezandGitHub ced4d2eea0 Merge pull request #314 from ucb-bar/master
`master` fixes into `dev`
2019-10-18 21:05:29 -04:00
abejgonzalez c87b69fcbf fix spacing in init-submodules-no-riscv-tools.sh 2019-10-15 21:14:27 -07:00
abejgonzalez 112fe43f60 add -f flag 2019-10-14 10:36:15 -07:00
abejgonzalez 33664cf11e add a specific toolchain env 2019-10-13 08:24:57 -07:00
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 GonzalezandGitHub 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 GonzalezandGitHub 60f603e7c8 Safer LD_LIBRARY_PATH 2019-07-25 15:19:59 -07:00
Abraham GonzalezandGitHub 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
alonamidandGitHub 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