1
votes

I loaded some kernel modules on linux for an embedded system. When I run these kernel-modules by insmod command, it works. How can I run these modules automatically(without entering any command) at boot starting time

-----SOLVED----

I added modules' configuration file to etc/modules-load.d

Then I put modules and modules.dep file in /lib/modules/uname -rdirectory

----SOLVED----

2
Modules are working based on modalias mechanism. First, your driver should be complaint with a certain alias (you can see by run modinfo <DRIVER>. Second, the device should appear from somewhere (ACPI, Device Tree, etc) - 0andriy
I'm working on Arago k2e-evm. I couldn't run modinfo command, it gave me 'not found modinfo' error. - Celile Yıldız

2 Answers

1
votes

Add your modules in the following config file

/etc/modules-load.d/modules.conf

0
votes

You can use modprobe command

 modprobe {driver-name}