Ciro Santilli
984e2dd835
init: make awesome
2018-09-09 23:09:31 +01:00
Ciro Santilli
28e90dd4df
Get rid of out/common, make buildroot, qemu, gem5 in out/
...
Rationale: previously we had archs on toplevel, e.g. out/x86_64
However, host tools like QEMU and gem5 can reuse a lot of the common build
files across archs. Therefore, we save space and time by putting them into
a single directory.
Therefore, the toplevel out/x86_64 was inconsistent, better put arch
inside guest tools that need separate build trees instead, e.g.
out/buildroot/x86_64/
Also common was pretty obscure as a name to say the best.
2018-09-09 22:21:54 +01:00
Ciro Santilli
6f73a9eb30
bench-boot looks fine
2018-09-09 17:05:43 +01:00
Ciro Santilli
b3f2ddd629
porting "done"
2018-09-09 15:08:44 +01:00
Ciro Santilli
6d17b2ef84
readfile moved into run dir to allow multiple parallel runs
...
Set with --gem5-readefile helper
2018-09-09 13:03:49 +01:00
Ciro Santilli
40cd607f56
bak
2018-09-09 11:33:57 +01:00
Ciro Santilli
d38e1de17a
expand common options
2018-09-09 11:05:11 +01:00
Ciro Santilli
0a497bba7a
expand a bunch of options, run and build are done
2018-09-09 10:41:43 +01:00
Ciro Santilli
58de3f7243
port bisect-linux-boot-gem5 and zip-img
...
fix m5 build and a bunch other things
2018-09-08 23:46:29 +01:00
Ciro Santilli
dd7614cbce
some more docs, retore full Linux configs, wont touch that now
2018-09-08 08:54:39 +01:00
Ciro Santilli
a99e041c8a
rename kernel_module to kernel_modules, start README mass factorings
2018-09-08 07:14:31 +01:00
Ciro Santilli
0a2446edf7
shorter names for kernel and buildroot dirs
2018-09-07 17:25:47 +01:00
Ciro Santilli
022d971cad
gem5 basic build and boot
2018-09-07 14:27:48 +01:00
Ciro Santilli
925189fe73
build + run works for the first time!
2018-09-07 13:12:36 +01:00
Ciro Santilli
9c7213f99d
build-qemu
2018-09-07 12:18:21 +01:00
Ciro Santilli
66fe5f6647
build runs, lots of uncommented and lots of untested though
...
Refactor everything. Create nice submodules/ and packages/ folders.
2018-09-07 10:08:59 +01:00
Ciro Santilli
5796f1ee1d
start refactoring build, completely broken atm'
2018-09-06 09:32:45 +01:00
Ciro Santilli
24b539f152
give up on trac2line full porting, just call sh script for now
2018-09-06 08:01:58 +01:00
Ciro Santilli
df47eba450
failed attempt at trace2line
2018-09-05 09:47:12 +01:00
Ciro Santilli
485c071a4d
get_elf_entry
...
trace2txt fully ported
2018-09-05 08:19:09 +01:00
Ciro Santilli
1ff6a95ab3
run: generalize with main(), start porting trace-boot and qemu-trace2txt
2018-09-05 07:26:53 +01:00
Ciro Santilli
09cb390904
./rungdb-user ported, but I noticed that it is broken, again... on master...
2018-09-04 07:49:06 +01:00
Ciro Santilli
6ae0c43cf5
bak
2018-09-04 07:39:27 +01:00
Ciro Santilli
a6a712acef
init_env_poweroff: make into executable to reduce system noise
2018-09-02 21:54:16 +01:00
Ciro Santilli
41922a37fe
poweroff: dont print anything
2018-09-02 20:31:39 +01:00
Ciro Santilli
c512b2752f
just add the lvimrc
2018-09-02 04:50:09 +01:00
Ciro Santilli
efa2e4c29f
run: add --terminal and explain gem5 pdb
2018-08-31 19:00:32 +01:00
Ciro Santilli
e3a09ba232
equal sign required after python silly argparse
...
https://stackoverflow.com/questions/16174992/cant-get-argparse-to-read-quoted-string-with-dashes-in-it
2018-08-31 18:44:19 +01:00
Ciro Santilli
8c16820365
rungdb-user: failed attempt with rungdb factor
2018-08-31 18:02:51 +01:00
Ciro Santilli
de682e80c7
do-release: rename to just release
2018-08-31 15:50:54 +01:00
Ciro Santilli
1c0b6eb21c
getvar: move docs to --help
2018-08-31 15:49:00 +01:00
Ciro Santilli
0ea6a2ef5d
bisect: previx all bisec scripts with bisect-
2018-08-31 15:41:49 +01:00
Ciro Santilli
e8bb30963d
port gdbserver
2018-08-31 15:38:07 +01:00
Ciro Santilli
04b878dfa7
port runtc
2018-08-31 13:38:08 +01:00
Ciro Santilli
eb3422c1ea
env var write: add missing newline_separator back
2018-08-31 09:53:19 +01:00
Ciro Santilli
3a5d85f38b
ported bst-vs-heap
2018-08-31 09:44:56 +01:00
Ciro Santilli
17b3e10bab
gem5-stat ported
2018-08-31 09:38:29 +01:00
Ciro Santilli
78a7eeaed8
run: write environment variables to cmd.sh for the glorious M5_PATH
2018-08-30 16:54:15 +01:00
Ciro Santilli
1c8eb2d838
config: handle config not present
2018-08-30 16:35:51 +01:00
Ciro Santilli
2cd1224db6
run_cmd: factor out logging of run and rungdb
2018-08-30 10:11:38 +01:00
Ciro Santilli
12d5794547
run: -l latest checkpoint restore
...
Run is in theory done now, but all edge functionality needs double testing.
2018-08-30 09:54:28 +01:00
Ciro Santilli
ddfb34cdd4
run logging works
2018-08-30 09:06:04 +01:00
Ciro Santilli
094b6c4275
rungdb, gem5-shell and ./run -u ported
2018-08-29 09:57:26 +01:00
Ciro Santilli
f46c7470e8
preparing for tmux and gdb
2018-08-28 00:21:22 +01:00
Ciro Santilli
9484b43942
qemu basic boots work, not tested extensively
2018-08-27 09:50:17 +01:00
Ciro Santilli
17c38b0c81
./run -g almost fully ported in theory, not extensively tested
2018-08-27 00:26:43 +01:00
Ciro Santilli
561c08a286
run: port argparse
2018-08-26 22:35:47 +01:00
Ciro Santilli
f532a6dcf4
config works
2018-08-26 21:28:48 +01:00
Ciro Santilli
9b30ac217f
common: convert scripts to python
2018-08-26 10:45:26 +01:00
Ciro Santilli
f8c0502bb2
readme: link to m5ops.h as well
v1.0
2018-08-25 14:34:14 +01:00