Commit Graph

805 Commits

Author SHA1 Message Date
Ciro Santilli
9e70327494 readme: getvar vmlinux refactor 2018-08-23 10:16:20 +01:00
Ciro Santilli
dfa9d72f68 linux-bisect-boot-gem5: use common and handle status 134 2018-08-23 09:33:27 +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
433e60f876 common: common_gem5_default_src_dir factor out 2018-08-16 17:42:46 +01:00
Ciro Santilli
085253a457 run: fix broken -h 2018-08-16 12:00:50 +01:00
Ciro Santilli
59b6062b29 run: dont check for panic if executable failed 2018-08-14 13:40:53 +01:00
Ciro Santilli
d879ddc14f build-all: allow selecting custom archs 2018-08-14 12:49:41 +01:00
Ciro Santilli
da465e3b33 readme: link to build-all and test 2018-08-14 00:33:28 +01:00
Ciro Santilli
63ec42f72f common: factor out common opts to all scripts 2018-08-14 00:27:55 +01:00
Ciro Santilli
0f5c5a9912 readme: move build and run docs in 2018-08-13 23:14:39 +01:00
Ciro Santilli
d38a99754c linux: update to v4.18 2018-08-13 23:03:37 +01:00
Ciro Santilli
796a0e1c70 linux: move rebase procedure to submodule neutral section 2018-08-13 23:02:22 +01:00
Ciro Santilli
626f5f9e22 bench-boot: add -f option to only run fast boots
Comment out all tests that are known to be failing.

run: exit 1 on failure, was broken dude to termout pipe
2018-08-13 22:56:20 +01:00
Ciro Santilli
a8bc1f4cce readme: factor out hardcoded paths on code snippets with getvar 2018-08-13 21:09:27 +01:00
Ciro Santilli
185c2730cc gem5: ./run -l works for fs_bigLITTLE.py
When you remove something from the README because it became obvious
through automation, that is a good thing.
2018-08-12 21:52:54 +01:00
Ciro Santilli
4085dfd7b3 readme: fix some directories
TODO: maybe I should automate all that stuff with some magic helper
that exposes internal paths, otherwise the docs break on every refactor
and it is very hard to fix them up.
2018-08-12 21:13:54 +01:00
Ciro Santilli
4e648479f2 gem5: add run -l option to restore latest checkpoint with directory timestamps 2018-08-12 21:06:30 +01:00
Ciro Santilli
8cd6ffda2a run: fix extra flags after -- 2018-08-12 19:31:28 +01:00
Ciro Santilli
111580acd2 gem5: exit on panic, link to mailing list thread 2018-08-12 18:56:19 +01:00
Ciro Santilli
6792bfd45a gem5: arm linux kernel bisection result and script 2018-08-12 12:30:15 +01:00
Ciro Santilli
e5e68750ce gem5: vs qemu, implements more low level functionality 2018-08-11 21:50:10 +01:00
Ciro Santilli
71a5ab31a2 qemu: system registers fail 2018-08-11 21:41:03 +01:00
Ciro Santilli
688d26ecd6 qemu arm: fix boot with -M virt,highmem=off 2018-08-11 20:52:41 +01:00
Ciro Santilli
4f6b206ccf gem5: investigate why gem5 returns 0 on abort 2018-08-11 20:52:41 +01:00
Ciro Santilli
88cd4d6d0b gem5: parse logs and exit with status 1 in case of errors 2018-08-11 20:52:41 +01:00
Ciro Santilli
539b176e1d gem5: test out panic_on_panic
patches: create patche/manual patch dir, put all patch directories under
patches/ subdir
2018-08-11 20:52:41 +01:00
Ciro Santilli
fbbfe98bfd bisection: document our amazing bisect fu 2018-08-11 13:30:56 +01:00
Ciro Santilli
67f4454032 gem5: get rid of configure-gem5 leftover 2018-08-11 13:13:04 +01:00
Ciro Santilli
ae55c73397 README: fix references 2018-08-11 12:37:53 +01:00
Ciro Santilli
5cdce7be46 run: factor out arm and aarch64
Make the generated command beautiful and perfect without any trailing whitespace.
I have to review my life choices
2018-08-11 12:36:38 +01:00
Ciro Santilli
cb5ce8ea2b qemu: savevm oneliner ./run command 2018-08-11 00:10:39 +01:00
Ciro Santilli
b1a4571680 qemu: restore correct -lkmc version 2018-08-10 17:15:28 +01:00
Ciro Santilli
dfb7e05150 qemu: monitor from gdb 2018-08-10 16:38:20 +01:00
Ciro Santilli
6ea0b16cd7 run: detect QEMU panics by log parsing
Add correct error messages to kernel v4.17 gem5 boot failures
2018-08-10 15:03:40 +01:00
Ciro Santilli
b585590fc0 qemu: add error message to qemu v3.0.0-rc4 boot failure 2018-08-10 09:38:28 +01:00
Ciro Santilli
13e0ea7801 qemu: exit on panic by default instead of hanging 2018-08-10 08:51:49 +01:00
Ciro Santilli
faec16e00c do-release: link to release upload automation SO threads 2018-08-09 23:30:22 +01:00
Ciro Santilli
cf9c2e6ce8 qemu: document arm boot failure after update to v3.0.0-rc3 2018-08-09 23:24:29 +01:00
Ciro Santilli
b675cf35cb zip-image: factor out with common
Notably, only include the strictly necessary files in the archive, otherwise
initrd's from other builds might get in the way.
2018-08-09 22:25:53 +01:00
Ciro Santilli
f5a997b2b6 do-release: sketch + a bunch of fixes from bench-all
qemu: monitor command from guest
sha-f5a997b2b67e151a37d93e372f5731b624bd5f1d
2018-08-09 12:56:17 +01:00
Ciro Santilli
380000ce57 gdb: step debug init runtc readelf missin -s 2018-08-09 07:17:06 +01:00
Ciro Santilli
b1bd45684f config: replace cli with direct common_ options 2018-08-09 07:12:20 +01:00
Ciro Santilli
1cb056a995 common: simplify set_common_vars, rename to common_setup
Don't pass all arguments explicitly, just use existing vars.

Prefix all common_setup inputs and outputs with common_ to avoid name conflicts.
2018-08-09 06:59:52 +01:00
Ciro Santilli
b8abb15ca7 gem5: trace use -ExecSymbol 2018-08-09 03:45:32 +01:00
Ciro Santilli
02e294c62c qemurr: create
qemu: start documenting unmerged replay reverse debugging while testing it
2018-08-08 00:41:13 +01:00
Ciro Santilli
19f4d00f9b qemu: expose rr
run: expose forgotten -Q, document it
sha-19f4d00f9b13aa67369e32ec7cd3518950c6f30e
2018-08-06 02:48:43 +01:00
Ciro Santilli
2e42a776c5 qemu build variant 2018-08-06 02:48:43 +01:00