Commit Graph

560 Commits

Author SHA1 Message Date
Ciro Santilli
b1463c26a3 readme: gem5 failed python script without rebuild attempt 2018-04-29 13:38:23 +01:00
Ciro Santilli
bb410cc3bb readme: move about kernel configs together with other kernel configs
Add rationale on not having a single defconfig file
2018-04-29 08:24:04 +01:00
Ciro Santilli
0b9157c919 readme: qemu snapshot is stored in qcow2, qemu-img info 2018-04-27 21:27:11 +01:00
Ciro Santilli
41aac40759 readme: mention secondary no reboot disk technique 2018-04-27 19:19:03 +01:00
Ciro Santilli
7c16eb6ec1 run: pass Ctrl+C to GDB when using -D 2018-04-26 14:47:40 +01:00
Ciro Santilli
4da17d0816 rungdb: store cd into rungdb.sh to make it actually rerunnable 2018-04-26 13:24:15 +01:00
Ciro Santilli
ab21ef58de trace2line: gem5 support
As noted however, it is potentially too slow to be useful.

run: unify gem5 and qemu tracing under -T

readme: overhaul tracing documentation from what I've learnt from trace2line
2018-04-26 00:23:44 +01:00
Ciro Santilli
14965a40d2 tmu: fix window switch for build problem 2018-04-22 22:30:55 +01:00
Ciro Santilli
f10ef3a467 bench-all: add build benchmarks and make all benchmarks options
run: fix ./run -gu broken behaviour. Document ./tmu window switch failure.

readme: move travis failed attempt to readme.
2018-04-22 21:09:17 +01:00
Ciro Santilli
62f6870e4e bench-all: reactivate forgotten commented out build and bench 2018-04-22 00:36:12 +01:00
Ciro Santilli
96ee0246ce runtc: remove unused gem5 argument due to qemu / gem5 unification 2018-04-21 22:59:58 +01:00
Ciro Santilli
5ff3999199 bench-all and linux-kernel-module-cheat-regressoin repo 2018-04-21 22:38:48 +01:00
Ciro Santilli
2bddcc2891 build: unify QEMU and gem5 kernel configs! The last one!
Split optional and required kernel configs into separate files.

readme: describe how our kernel configs are generated from Buildroot

readme: document QEMU `-no-reboot` and speculate gem5 `panic_on_panic`
in preparation for some more automated bisection with ktest.
2018-04-21 11:50:02 +01:00
Ciro Santilli
4e0d9af81f netlink 2018-04-20 17:51:17 +01:00
Ciro Santilli
05888ec5c1 readme: rerun gem5-bench-caches and take some conclusions 2018-04-20 00:15:22 +01:00
Ciro Santilli
759fb7b7c8 run: move run.sh into out/arch/qemu or out/arch/gem5 subdirs
This allows to compare both commands as the run.sh won't overwritten.
2018-04-19 23:51:21 +01:00
Ciro Santilli
af210a7671 Move arm to virt armv7, unify arm QEMU and gem5 builds
gem5 requires armv7, and we learnt that the versatiledb we were using
was pre-v7.

We could have moved to -M vexpress-*, but in the end decided to go for
-M virt due to its simpliciy, and uniformity with aarch64.

platform_device: does not work anymore and was removed, since it was tied
to versatilepb.

We left a mention on the README and removed all in tree source. The QEMU
patch is still left as it was.

As a consequence, the linux tree had no other patches, and we now use
vanilla linux by default, which is a great thing for reproducibility.

Another consequence is the /poweroff.out works for arm -M virt,
and we removed all mentions of the problem.
2018-04-19 23:38:17 +01:00
Ciro Santilli
2852fe1989 readme: failed attempt at arch/arm/boot/compressed/vmlinux 2018-04-19 09:14:49 +01:00
Ciro Santilli
2c084f5fb2 run: create -F option to run base64 encoded command after busybox init
Fix ./run -h which was showing the build help instead.
2018-04-19 08:57:35 +01:00
Ciro Santilli
9805d333ea tc: create helper to access toolchain tools 2018-04-19 08:24:10 +01:00
Ciro Santilli
3fdabbda61 configure: updated submodules recursively
Otherwise, on the git module update fallback, QEMU's submodules don't get updated.

Also add a --recursive to the main qemu clone, just in case they add
submodules to the submodules in the future.
2018-04-19 07:34:57 +01:00
Ciro Santilli
f618718248 Merge branch 'master' of github.com:cirosantilli/linux-kernel-module-cheat 2018-04-19 07:21:10 +01:00
Ciro Santilli
0d8c066a8e merge 2018-04-19 07:20:59 +01:00
Ciro Santilli
81e8ca6fb9 build: create out_dir to put out/cli into it
Fix:

```
touch: cannot touch /linux-kernel-module-cheat/out/br2_cli: No such file or directory
```
2018-04-19 06:46:09 +01:00
Ciro Santilli
ca84b8d0a7 readme: typo BR2_SOME_OPTION 2018-04-18 20:35:16 +01:00
Ciro Santilli
adfa082cd0 readme: ./build -K recommend putting inside data/ 2018-04-18 15:42:17 +01:00
Ciro Santilli
b21d78b96f readme: more /proc/config.gz info on README 2018-04-18 15:30:39 +01:00
Ciro Santilli
8d9e1ac1a8 readme: CONFIG_LOGO, group with other interactive stuff 2018-04-18 15:25:54 +01:00
Ciro Santilli
b5d64142e9 readme: explain how to use dynamic debugging for boot messages
run: pass the console_msg_format=syslog boot parameter by default,
to allow seeing what is the priority of messages on the terminal.

Document printk better.
2018-04-18 15:04:19 +01:00
Ciro Santilli
5698a5ed2b build: move br2_cli.gitignore to out/ 2018-04-18 14:06:48 +01:00
Ciro Santilli
f4eed4163b scripts: factor out benchmarks and run further with ./eeval and common_bench_cmd 2018-04-18 12:47:43 +01:00
Ciro Santilli
96090a4c24 readme: aarch64 gem5 hpi slow: document gem5 update and cache size increase not working 2018-04-17 22:54:55 +01:00
Ciro Santilli
cc6099dd6b gem5: update to 2a9573f5942b5416fb0570cf5cb6cdecba733392 2018-04-17 22:54:21 +01:00
Ciro Santilli
ad6e311a8b readme: gem5 arm possible good panics... 2018-04-17 21:33:24 +01:00
Ciro Santilli
991dd49748 readme: arm gem5 slow fix good commit 2018-04-17 17:15:43 +01:00
Ciro Santilli
3f1979c1b2 readme stress: expected outcome of ps 2018-04-17 15:08:42 +01:00
Ciro Santilli
fad1eb0a99 readme: too may try outs 2018-04-17 15:07:27 +01:00
Ciro Santilli
50f2518656 kernel_module, sample_package: correctly forward Buildroot -O and -g flags
readme: improve optimization documentation
2018-04-17 15:05:27 +01:00
Ciro Santilli
ffa430eef9 readme: typo 2018-04-17 13:16:33 +01:00
Ciro Santilli
02b433e3ee readme: move compiler optimization section under Buildroot 2018-04-17 13:11:18 +01:00
Ciro Santilli
383e1c3120 readme: ./run -f does not need a - in the argument 2018-04-17 13:05:26 +01:00
Ciro Santilli
6e8cf30849 stress 2018-04-17 11:51:13 +01:00
Ciro Santilli
d5de5c6324 ltp 2018-04-17 11:15:22 +01:00
Ciro Santilli
de9dba276b readme: document failed attempt to get newer uclibc to fix aarch64 proc_events 2018-04-17 10:44:03 +01:00
Ciro Santilli
4e42e29f6d readme: recommend better br2 path data/br2 2018-04-17 10:28:18 +01:00
Ciro Santilli
72e9fcc4b0 proc_events.c: comment out aarch64 2018-04-17 09:22:20 +01:00
Ciro Santilli
0111ca406b CONFIG_PROC_EVENTS 2018-04-16 13:38:04 +01:00
Ciro Santilli
d58d4f0796 readme: more detail to GDB step debug userland non-init without -d 2018-04-16 11:06:14 +01:00
Ciro Santilli
bfba11afdd run: add qemu options directly into run
readme: add ascii tmux split screenshot to preamble
2018-04-16 01:09:11 +01:00
Ciro Santilli
24cdcdc756 readme: document rdtsc 2018-04-16 00:48:10 +01:00