summaryrefslogtreecommitdiff
path: root/md/writeup/kernel_hello_world.md
diff options
context:
space:
mode:
authorArturs Artamonovs <dos21h@gmail.com>2023-11-25 12:02:55 +0000
committerArturs Artamonovs <dos21h@gmail.com>2023-11-25 12:02:55 +0000
commit5fd7ebaac1e94b84b282509cbcf9c69fbd57bb90 (patch)
treea6c2862b1ea0f06c06be2a68886b73cbea82359c /md/writeup/kernel_hello_world.md
parentc13284051093f0876e038fe65b99aba16d2578fd (diff)
downloadmd-content-5fd7ebaac1e94b84b282509cbcf9c69fbd57bb90.tar.gz
md-content-5fd7ebaac1e94b84b282509cbcf9c69fbd57bb90.zip
Add procfs and kernel topic page
Diffstat (limited to 'md/writeup/kernel_hello_world.md')
-rw-r--r--md/writeup/kernel_hello_world.md27
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
+```