All of lore.kernel.org
 help / color / mirror / Atom feed
* using module_autoload
@ 2013-05-29 13:01 Katu Txakur
  2013-05-29 14:39 ` Martin Jansa
  0 siblings, 1 reply; 12+ messages in thread
From: Katu Txakur @ 2013-05-29 13:01 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 852 bytes --]

Hi,
I'm failing to load a kernel module named spike doing this:
1) add the recipe (inherit module), based in a Makefile with
modules_install:
$(MAKE) INSTALL_MOD_DIR=kernel/drivers/spike -C $(KERNEL_SRC) M=$(SRC)
modules_install
2) Add the package to the image with IMAGE_INSTALL += "spike" in the
local.conf file
3) In the machine/mymachine.conf I've added
        MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "spike"
        module_autoload_spike = "spike"

The driver gets added to the image and I can load it with insmod spike,
however, I would like to load it at boot time.
A workaround is to create a file with the name spike.conf and write spike
inside. Copying that file to /etc/modules-load.d/spike.conf
loads the driver correctly, but I need to do it from a recipe.

Can anyone spot what am I doing wrong?

Thanks a lot,
Katu

[-- Attachment #2: Type: text/html, Size: 1243 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-05-30 23:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-29 13:01 using module_autoload Katu Txakur
2013-05-29 14:39 ` Martin Jansa
2013-05-29 14:55   ` Paul Eggleton
2013-05-29 15:32     ` Katu Txakur
2013-05-29 15:34       ` Bruce Ashfield
2013-05-29 15:48         ` Katu Txakur
2013-05-29 16:14           ` Martin Jansa
2013-05-30  8:49             ` Katu Txakur
2013-05-30 11:34               ` Martin Jansa
2013-05-30 16:44                 ` Katu Txakur
2013-05-30 17:12               ` Khem Raj
2013-05-30 23:03                 ` Katu Txakur

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.