Hardware Reference
In-Depth Information
Discussion
When you are finished with a module, you can also remove it:
bone# rmmod hello.ko
bone# dmesg | tail -4
[419313.322776] bone-capemgr bone_capemgr.9: slot #8: Applied #1
overlays.
[491540.999431] Loading hello module...
[491540.999476] Hello world
[492094.541102] Goodbye Mr.
The log message shows it has been successfully removed. You can also remove unneeded
files:
bone# make clean
rm hello.mod.c hello.o modules.order hello.mod.o Module.symvers
bone# ls
Makefile hello.c hello.ko
Search WWH ::




Custom Search