This guide assume you have built your driver mydriver.ko and you are able to load it into the kernel space with insmod command.
If you want you driver to load automatically at boot you can follow below steps:
1. copy your driver file in /lib/modules/3.10.17-poky-edison+/extra
2. cd in /lib/modules/3.10.17-poky-Edison+ directory and execute depmod command (it will update modules.dep)
if it worked good, executing modprobe mydriver should exit without errors
3. go to in the /etc/modules-load.d directory
4. create a file mydriver.conf with only 1 line with the name of the driver mydriver
After reboot your driver will be automatically loaded.
Check it with lsmod command.
thank you for sharing!
Retrieving data ...