[poky] load kernel module at startup
Gerard van den Bosch
gerard at de-haardt.com
Wed Apr 20 23:14:19 PDT 2011
On 04/20/2011 05:25 PM, Darren Hart wrote:
>
> On 04/11/2011 02:38 AM, Gerard van den Bosch wrote:
>> Hello,
>>
>> I would like to modprobe my wireless driver kernel module at startup
>> automatically.
>>
>> This works when I generate a rootfs and then boot up the first time so
>> the modules file gets generated and then I can manually add the kernel
>> module in that file and then reboot.
>>
>> When I look in the manpage of update-modules it states that a config
>> file should be added in /etc/modutils but that directory is not in my
>> rootfs.
>>
>> So I was wondering what I have to do to get /etc/modutils directory or
>> an other way to get the kernel module loaded at startup.
>>
>> I am using the Poky 4.0 Laverne release.
> I believe you can just add the name of the module to:
>
> /etc/modules
>
> Can you try that?
That's true and that works but the problem is when I generate the rootfs the /etc/modules file isn't there.
It is generated by the update-modules script that is located in recipes-kernel, and as far as I can understand that script looks in /etc/modutils directory but I don't have that directory either.
Regards,
Gerard
More information about the poky
mailing list