Commit Graph

325 Commits

Author SHA1 Message Date
Ciro Santilli
baca62a883 Allow passing options to gem5 itself instead of fs.py 2018-02-23 04:55:17 +00:00
Ciro Santilli
a1776aef80 QEMU guest agent qemu-ga 2018-02-23 04:35:03 +00:00
Ciro Santilli
a1cd07d6ed Rename rungem5-shell to gem5-shell to make shorter 2018-02-23 02:24:40 +00:00
Ciro Santilli
4a9469d83c GEM5 aarch64 2018-02-22 18:50:27 +00:00
Ciro Santilli
5a1d5ba7a9 Merge branch 'master' of github.com:cirosantilli/linux-kernel-module-cheat 2018-02-22 17:45:21 +00:00
Ciro Santilli
ecdded0316 gem5 vs qemu license 2018-02-22 15:46:59 +00:00
Ciro Santilli
b895ba1815 Document that GEM5 snapshot is better than QEMU since guest started 2018-02-22 11:47:16 +00:00
Ciro Santilli
cd34810607 Document ARM kernel module step debugging is broken 2018-02-22 10:12:06 +00:00
Ciro Santilli
6420c31986 GEM5 gdb debug
Improve GEM5 documentation in general.

Fix documentation for x86 kernel module debugging example, fop_write had been made static,
and use timer.ko instead of fops which is more reliable and fun.
2018-02-22 10:05:57 +00:00
Ciro Santilli
ff71f19fa6 GEM5 don't pass norandmaps twice 2018-02-22 08:39:03 +00:00
Ciro Santilli
80e299850d GEM5 vm GDB debug 2018-02-22 08:35:11 +00:00
Ciro Santilli
e4dde335ed Document initrd is good as it uses pristine image 2018-02-22 08:25:32 +00:00
Ciro Santilli
be8897304b Fix nested list 2018-02-22 00:37:22 +00:00
Ciro Santilli
2c4a9476be Fix x86 build with GEM5. Boot still fails as before.
Use ./run -g instead of ./rungem5.

More convenient GEM5 kernel command line options with -e differentially.
2018-02-22 00:23:57 +00:00
Ciro Santilli
f31046d26a Don't compile qemu when gem5 is used 2018-02-21 13:50:23 +00:00
Ciro Santilli
9e5173f324 GEM5 checkpoint
Add gem5 as buildroot package to cross compile m5.

Add gem5 as a submodule.

Split gem5 from arch on CLI with "-a arm -g" instead of "-a arm-gem5".
2018-02-21 10:19:35 +00:00
Ciro Santilli
0c2bd829d4 qemu 2.11
Fixes required:

- split and fakeup a clean one feature per commit history
- lkmc_pci_min: use INTERFACE_CONVENTIONAL_PCI_DEVICE or an assert failed
- trace event location changes, use generated trace-events-all
2018-02-20 22:44:45 +00:00
Ciro Santilli
d9fcf897ac arm limitation: turn qemu off on poweroff 2018-02-20 22:05:11 +00:00
Ciro Santilli
e519caa9c2 Build dhrystone, preparing to run it on gem5 2018-02-20 19:47:25 +00:00
Ciro Santilli
33ca2b29e2 Fix MIPS BR2_PACKAGE_LINUX_TOOLS_GPIO build
Update mips for snapshot and initrd features.

Document MIPS limitations.

Improve description of test procedure
2018-02-17 10:06:00 +00:00
Ciro Santilli
2b5a9ea45d Merge branch 'master' of github.com:cirosantilli/linux-kernel-module-cheat 2018-02-17 08:47:29 +00:00
Ciro Santilli
ee622c2be5 Fix "./run -a arm -i" initrd 2018-02-17 08:47:03 +00:00
Ciro Santilli
0b4f156b1b initrd in desktop 2018-02-16 09:39:13 +00:00
Ciro Santilli
b3868a3b00 initrd 2018-02-15 23:26:47 +00:00
Ciro Santilli
5d60fd0903 Document kernel boot command line options 2018-02-15 13:03:02 +00:00
Ciro Santilli
bae2138b73 rename call to GDB call for uniqueness 2018-02-14 08:50:44 +00:00
Ciro Santilli
66e7208364 Make aarch64 boot again and explain its limitations better.
Restore lkmc_min that was accidentaly removed.

Explain how to remove modules that fail to build.
2018-02-14 07:56:35 +00:00
Ciro Santilli
1e0f0b4928 Improve snapshot instructions 2018-02-14 06:46:00 +00:00
Ciro Santilli
0b09391695 Remove forgotten intermediate snapshots 2018-02-14 06:40:11 +00:00
Ciro Santilli
55d3288901 Document snapshots here as well as SO 2018-02-14 06:36:35 +00:00
Ciro Santilli
de8f396429 Improve contributing testing procedure 2018-02-14 06:31:22 +00:00
Ciro Santilli
5ae702c71c Use qcow2 by default for savevm, loadvm.
Create shortcuts for -t linux-reconfigure and -t host-qemu-reconfigure.
2018-02-14 06:16:52 +00:00
Ciro Santilli
a14c95346c about section! 2018-02-14 04:39:43 +00:00
Ciro Santilli
254c8bf42e adoc
Semi automated conversion, in part because Pandoc is kind of buggy for adoc:

Some of the commands were along the lines:

    for f in *.md; do pandoc --atx-headers --base-header-level=3 -o ${f%.md}.adoc --wrap=none $f; done
    sed -Ei '/\[\[.*\]\]/d' *.adoc
    while read -r f; do cat $f; echo; done <f >g
2018-02-14 04:26:07 +00:00
Ciro Santilli
9a35e4c37a Document failed gdb call, rename file to gdb.md test-replay-arm 2018-02-13 01:55:52 +00:00
Ciro Santilli
1f79ad5014 getting started back to getting started 2018-02-13 01:27:39 +00:00
Ciro Santilli
ae9bbf9aa6 QEMU snapshot example 2018-02-10 19:09:13 +00:00
Ciro Santilli
0a1a600d49 exec cli strings as commands on init 2018-02-09 23:26:58 +00:00
Ciro Santilli
fc168d6eb5 Add init_env_poweroff.sh 2018-02-09 20:48:45 +00:00
Ciro Santilli
c771b40913 rand_check_poweroff.sh + random stuff 2018-02-08 06:36:13 +00:00
Ciro Santilli
c052a83205 nokaslr, thanks to @dakami at close #12 2018-02-01 20:27:43 +00:00
Ciro Santilli
7bd1508c98 Improve maintainer guideline on Linux updates 2018-02-01 09:48:16 +00:00
Ciro Santilli
cf063ad8d2 Bail out of shallow cloning if it fails, and do full clone instead 2018-01-31 23:41:41 +00:00
Ciro Santilli
dc495f9334 Linux v4.15 2018-01-31 23:21:11 +00:00
Ciro Santilli 六四事件 法轮功 包卓轩
6b0f89a8b4 aosp 2018-01-25 15:26:35 +00:00
Ciro Santilli
69eb98b5ab Document debugfs directory created automatically 2018-01-20 10:21:33 +00:00
Ciro Santilli
03f418b53e document how to clean the build in getting started 2018-01-20 10:18:48 +00:00
Ciro Santilli
1be85b6dc2 configure: install automake 2018-01-20 09:58:21 +00:00
Ciro Santilli
f5a0111c3e Fix kernel_config_fragment that was getting ignored after gem5 addition 2018-01-20 09:50:05 +00:00
Ciro Santilli 六四事件 法轮功 包卓轩
027bca7927 Update gdbserver.md 2018-01-16 17:30:22 +00:00