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 Zhao
72f9730cbd
Allow user to specify toolchain install prefix ( #334 )
2019-12-13 11:40:47 -08: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
8e8ce09ce9
Move qemu to chipyard from firesim
2019-10-04 19:04:08 -04:00
alonamid
1e7c57f36c
fix toolchains usage
2019-10-04 00:17:12 -07: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
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
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
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
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
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
alonamid
265380d960
fix install path
2019-07-19 16:59:40 +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
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
9fa1d8d971
update arg
2019-07-18 04:12:41 +00:00
alonamid
955903759e
add firesim chipyard path
2019-07-18 03:13:59 +00:00
alonamid
171923d3b6
fix path
2019-07-18 02:52:54 +00:00
alonamid
f331ec13d0
move libfesvr script
2019-07-18 01:38:44 +00:00
alonamid
fdb21fc603
pull toolchain from firesim
2019-07-18 00:57:24 +00:00
alonamid
9976bc192a
more typos
2019-07-17 22:17:24 +00:00
alonamid
89f1271734
typo fix
2019-07-17 21:47:02 +00:00
alonamid
baf3753b91
update pre-compiled hash
2019-07-17 07:08:27 +00:00
alonamid
160dbd2636
fix env.sh
2019-07-17 01:54:55 +00:00
alonamid
b74aff9ba8
toolchain script fixes
2019-07-16 23:09:23 +00:00
alonamid
3be2241c8a
toolchain script update
2019-07-16 11:14:42 -07:00
abejgonzalez
b556bee0b9
rename to "Chipyard"
2019-06-23 22:47:23 -07:00
Abraham Gonzalez
1ef687605d
remove old boom references | build-toolchain rebar directory fix
2019-05-11 21:13:56 -07:00
Abraham Gonzalez
2dbe087fce
have toolchain script point to rebar correctly
2019-05-11 21:13:56 -07:00
alonamid
6ccb3defc1
add toolchains
2019-03-12 14:30:38 -07:00