How soumya-dev-nayak/kernel-module-development-on-wsl2 works
This repository is a WSL2 kernel-module development guide accompanied by a minimal “Hello World” module. The principal workflow takes a developer from setting up WSL2 through preparing and building a matching custom kernel, then building and loading an out-of-tree module. The README explicitly documents the kernel-source preparation stages and the overall workflow; the excerpt ends during the kernel-image section, so later-stage details are limited to its introductory summary. The PDFs are present but their contents were not sampled.
Main entry points: README.md Build external module · hello.c Hello module
Components 15
Development guide
- Practical guide
README.md - Kernel build guide PDF
FPGA_SoC_Kernel_Build_WSL2.pdf - Module development PDF
Kernel_Module_Development_on_WSL2.pdf
Kernel setup
- Install WSL2 tools
README.md - Get WSL2 source
README.md - Configure kernel tree
README.md - Prepare module tree
README.md - Build symbol table
README.md - Build kernel image
README.md - Boot custom kernel
README.md
Example module
- Build external module
README.md - Hello module
hello.c - Load module
README.md
Other components
- Developer
- Running WSL2 kernel
Connections 12
- Developer → Practical guide: follows
README.md - Practical guide → Install WSL2 tools: guides
README.md - Install WSL2 tools → Get WSL2 source: then obtains
README.md - Get WSL2 source → Configure kernel tree: then configures
README.md - Configure kernel tree → Prepare module tree: then prepares
README.md - Prepare module tree → Build symbol table: then builds
README.md - Build symbol table → Build kernel image: then builds
README.md - Build kernel image → Boot custom kernel: then boots
README.md - Boot custom kernel → Build external module: enables matching
README.md - Build external module → Hello module: builds
- Build external module → Load module: precedes
README.md - Load module → Running WSL2 kernel: loads into
README.md