diff options
Diffstat (limited to 'md/writeup')
-rw-r--r-- | md/writeup/kernel_hello_world.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/md/writeup/kernel_hello_world.md b/md/writeup/kernel_hello_world.md index 5f1e7e6..eb4fdc8 100644 --- a/md/writeup/kernel_hello_world.md +++ b/md/writeup/kernel_hello_world.md @@ -53,3 +53,30 @@ Now if you havent done so ... install kernel headers of kernel that your system ```sh make ``` + +## Load module + +```sh +sudo insmod hello_world.ko +``` + +check that module is running + +```sh +lsmod | grep hello +``` + +## Unload module + +```sh +rmmod hello_world +``` + + +### Install kernel headers raspbian + +RaspberryPi4 ARMv8 + +```bash +sudo apt-get install raspberrypi-kernel-headers +``` |