Commit Graph

982 Commits

Author SHA1 Message Date
Ciro Santilli
8a5c310535 Document failed bisect of ARM kernel module debug 2018-02-24 04:10:27 +00:00
Ciro Santilli
c01df4301d Merge branch 'master' of github.com:cirosantilli/linux-kernel-module-cheat 2018-02-24 03:53:16 +00:00
Ciro Santilli
ecca3480ad bak 2018-02-24 03:52:46 +00:00
Ciro Santilli
52d07614c3 GEM5 benchmark cycle counting 2018-02-23 12:37:49 +00:00
Ciro Santilli
75fd05c1c8 Document m5 exit 2018-02-23 10:08:27 +00:00
Ciro Santilli
7bd23baae8 Add m5 to path 2018-02-23 10:01:58 +00:00
Ciro Santilli
e076e0eb64 Move gem5 doc down since much of it is diffed with qemu 2018-02-23 04:58:47 +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
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
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
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
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
55d3288901 Document snapshots here as well as SO 2018-02-14 06:36:35 +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