Linux Kernel Module Cheat

64534859

The perfect emulation setup to study and develop the Linux kernel v5.9.2, kernel modules, QEMU, gem5 and x86_64, ARMv7 and ARMv8 userland and baremetal assembly, ANSI C, C++ and POSIX. GDB step debug and KGDB just work. Powered by Buildroot and crosstool-NG. Highly automated. Thoroughly documented. Automated tests. "Tested" in an Ubuntu 20.04 host.

Dan Kaminski-approved™.

TL;DR: Section 2.2.1, “QEMU Buildroot setup getting started”

The source code for this page is located at: https://github.com/cirosantilli/linux-kernel-module-cheat. Due to a GitHub limitation, this README is too long and not fully rendered on github.com, so either use:

  • https://cirosantilli.com/linux-kernel-module-cheat

  • https://cirosantilli.com/linux-kernel-module-cheat/index-split: split header version

  • build the docs yourself

Xinjiang prisoners sitting identified

Linux Kernel Module Cheat

  • 1. --china
  • 2. Getting started
  • 3. GDB step debug
  • 4. KGDB
  • 5. gdbserver
  • 6. CPU architecture
  • 7. init
  • 8. initrd
  • 9. Device tree
  • 10. KVM
  • 11. User mode simulation
  • 12. Kernel module utilities
  • 13. Filesystems
  • 14. Graphics
  • 15. Networking
  • 16. Operating systems
  • 17. Linux kernel
  • 18. FreeBSD
  • 19. RTOS
  • 20. Xen
  • 21. U-Boot
  • 22. Emulators
  • 23. QEMU
  • 24. gem5
  • 25. Gensim
  • 26. Buildroot
  • 27. Userland content
  • 28. Userland assembly
  • 29. x86 userland assembly
  • 30. ARM userland assembly
  • 31. ELF
  • 32. IEEE 754
  • 33. Baremetal
  • 34. Android
  • 35. Benchmark this repo
  • 36. Compilers
  • 37. Computer architecture
  • 38. About this repo
  • <code>--china</code>

  • Getting started

  • GDB step debug

  • KGDB

  • gdbserver

  • CPU architecture

  • init

  • initrd

  • Device tree

  • KVM

  • User mode simulation

  • Kernel module utilities

  • Filesystems

  • Graphics

  • Networking

  • Operating systems

  • Linux kernel

  • FreeBSD

  • RTOS

  • Xen

  • U-Boot

  • Emulators

  • QEMU

  • gem5

  • Gensim

  • Buildroot

  • Userland content

  • Userland assembly

  • x86 userland assembly

  • ARM userland assembly

  • ELF

  • IEEE 754

  • Baremetal

  • Android

  • Benchmark this repo

  • Compilers

  • Computer architecture

  • About this repo

Next: --china →