x86,aarch64,arm

Ciro Santilli ce724a38ff Test shallow linux clone vor 7 Jahren
buildroot @ 083c0735e9 338756a029 bak vor 8 Jahren
buildroot_patches c47c6d7c9f build-root vor 7 Jahren
global_patch_dir 5393299433 Make global_patch_dir empty vor 7 Jahren
hello_host bb10d0e914 Improve hello_host readme vor 7 Jahren
kernel_module 2e04c96fad MODULE_VERSION and srcversion vor 7 Jahren
linux @ 361bb62367 cbe8b9fa22 Improve pci and platform device more vor 7 Jahren
qemu @ 09fa182a4e 9ec43c4e88 lkmc_platform_device read example vor 7 Jahren
rootfs_overlay 938e742209 Explain /etc/modprobe.conf further vor 7 Jahren
.gitignore cbea7cc02c your inits are belongz to uz vor 7 Jahren
.gitmodules ce724a38ff Test shallow linux clone vor 7 Jahren
.travis.yml f5ce238c3d RIP travis, hits timeout of course vor 7 Jahren
CONTRIBUTING.md 6c51ecaf7b split build and run scripts due to option conflicts vor 7 Jahren
LICENSE.txt 36cd620dd2 license vor 8 Jahren
README.md fa0a7e150d Less converstaion vor 7 Jahren
S99 4727fadcc8 procfs example, S99 symlink vor 7 Jahren
bibliography.md 74dec92b4b link to linux-kernel-labs vor 7 Jahren
build 0d7259fe81 Remove runqemu from build... document platform_device.c a bit further, add a modprobe.conf test vor 7 Jahren
buildroot_config_fragment fa5c64a0b0 Make X11 optional vor 7 Jahren
buildroot_config_fragment_x11 fa5c64a0b0 Make X11 optional vor 7 Jahren
buildroot_override 9133fe023c qemu and linux as submodlues, S98 vs S99, readme benefits of Ctrl + C vor 7 Jahren
busybox_config_fragment 8d668d6ed3 Use busybox devmem vor 7 Jahren
configure a9bf4c19dd travis 6 vor 7 Jahren
count-boot-instructions.md 6c51ecaf7b split build and run scripts due to option conflicts vor 7 Jahren
debugging.md 6c51ecaf7b split build and run scripts due to option conflicts vor 7 Jahren
device-tree.md 2ff3648e8f device tree info vor 7 Jahren
ftrace.md f80957cc40 frace docs an mmap minor improvements vor 7 Jahren
gdbserver.md 6c51ecaf7b split build and run scripts due to option conflicts vor 7 Jahren
gem5.md 5284dc31a7 Document gem5 attempts vor 7 Jahren
getting-started.md fa0a7e150d Less converstaion vor 7 Jahren
init.md 6c51ecaf7b split build and run scripts due to option conflicts vor 7 Jahren
kernel_config_fragment 2e04c96fad MODULE_VERSION and srcversion vor 7 Jahren
kgdb.md 6c51ecaf7b split build and run scripts due to option conflicts vor 7 Jahren
kmod.md fa0a7e150d Less converstaion vor 7 Jahren
modprobe.md fa0a7e150d Less converstaion vor 7 Jahren
other-architectures.md 6c51ecaf7b split build and run scripts due to option conflicts vor 7 Jahren
qemumonitor a8e11e6de9 qemumonitor helper, extra_append from CLI, pci_rescan.sh vor 7 Jahren
record-and-replay.md a070486855 Mention rr on record and replay vor 7 Jahren
rootfs_post_build_script f69e894034 rootfs_post_build_script stub vor 7 Jahren
run 6c51ecaf7b split build and run scripts due to option conflicts vor 7 Jahren
rungdb b3b1df5560 bak vor 7 Jahren
rungdb-user 52c3ee15dc Userland without gdbserver vor 7 Jahren
rungdbserver b89ba9b799 gdbserver shared library vor 7 Jahren
screenshot.png 53c1b61879 screenshot, vm to description, qemu debug non intrusive vor 8 Jahren
user_table b2459d07f5 Add a non-root user user0 password "a" vor 7 Jahren
x11.md 6c51ecaf7b split build and run scripts due to option conflicts vor 7 Jahren
x11.png 01f6ca24e5 x11 screenshot and link to insmod C vor 7 Jahren

README.md

Linux Kernel Module Cheat

Run one command, get a QEMU Buildroot BusyBox virtual machine built from source with several minimal Linux kernel 4.9 module development example tutorials with GDB and KGDB debug and minimal QEMU educational models. Tested in x86, ARM and MIPS guests, Ubuntu 14.04 - 17.04 hosts.

  1. Getting started
  2. Action
    1. Debugging
    2. KGDB
    3. Other architectures
    4. X11
    5. gdbserver
    6. Count boot instructions
    7. Hello host
    8. ftrace
    9. Device tree
    10. modprobe
  3. Failed action
    1. Record and replay
    2. GEM5
  4. Conversation
    1. kmod
  5. Bibliography