Commit Graph

449 Commits

Author SHA1 Message Date
Ciro Santilli
8ae43f00ec dtb: make awesome 2018-09-12 09:37:46 +01:00
Ciro Santilli
5c594c3634 gem5: initparam 2018-09-11 14:14:16 +01:00
Ciro Santilli
0844628382 make initial docs shine 2018-09-10 11:45:09 +01:00
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
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
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
a6a712acef init_env_poweroff: make into executable to reduce system noise 2018-09-02 21:54:16 +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
04b878dfa7 port runtc 2018-08-31 13:38:08 +01:00
Ciro Santilli
3a5d85f38b ported bst-vs-heap 2018-08-31 09:44:56 +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
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
9b30ac217f common: convert scripts to python 2018-08-26 10:45:26 +01:00
Ciro Santilli
f8c0502bb2 readme: link to m5ops.h as well 2018-08-25 14:34:14 +01:00
Ciro Santilli
7ccc1d3a8f m5ops: move to factored .h file
Create empty subs for unsupported archs, much less messy for callers.

bst_vs_heap: create
2018-08-25 09:32:44 +01:00
Ciro Santilli
eb4f4ba1d7 gem5.sh: simplify, and do m5 resetstats and m5 exit
This covers the most common use case of running a benchmark after restore.
2018-08-25 06:13:09 +01:00
Ciro Santilli
865d065d3d run: document positional args 2018-08-25 04:57:23 +01:00
Ciro Santilli
155357f0e2 qemu: document -d -D trace options 2018-08-24 18:08:42 +01:00
Ciro Santilli
6d51da52bb gem5: add m5 fail 1 to /m5op.out
Document that m5 fail is not actually exiting status 1 on fs.py.
2018-08-24 16:56:19 +01:00
Ciro Santilli
e269429995 readme: getting started how to quit qemu on top 2018-08-23 14:14:45 +01:00
Ciro Santilli
3241c114f0 gem5: bisected arm boot failure 2018-08-23 10:35:32 +01:00
Ciro Santilli
9e70327494 readme: getvar vmlinux refactor 2018-08-23 10:16:20 +01:00
Ciro Santilli
735c136bfc gem5: report broken arm on kernel v4.18 2018-08-23 06:06:27 +01:00
Ciro Santilli
737fd32352 gem5: update to 200281b08ca21f0d2678e23063f088960d3c0819
Fixes Linux kernel boot on arm and aarch64 due to:
d84a0714220ffcc10eed0530ec01ed1a01a4ad4b Was failing with:

    /build/ARM/cpu/simple/atomic.cc:377: virtual Fault AtomicSimpleCPU::readMem(Addr, uint8_t*, unsigned int, Request::Flags): Assertion
-`!pkt.isError()' failed
2018-08-22 10:42:12 +01:00
Ciro Santilli
72e135d2b2 gem5 trace: explain A and D 2018-08-20 16:48:02 +01:00
Ciro Santilli
b57baebe87 gem5: explain -N a bit better 2018-08-16 18:11:50 +01:00
Ciro Santilli
085253a457 run: fix broken -h 2018-08-16 12:00:50 +01:00
Ciro Santilli
da465e3b33 readme: link to build-all and test 2018-08-14 00:33:28 +01:00
Ciro Santilli
0f5c5a9912 readme: move build and run docs in 2018-08-13 23:14:39 +01:00