Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Kernel module compiled but not found
@ 2013-10-13 14:29 Marco Trapanese
  2013-10-13 14:51 ` Yann E. MORIN
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Marco Trapanese @ 2013-10-13 14:29 UTC (permalink / raw)
  To: buildroot

Hello,
I read the official documentation and this tutorial:

http://blog.willygroup.org/buildroot-aggiungere-modulo-al-kernel.html#fn-729-1

to add a custom kernel module.
It seems it is successfully compiled but I cannot find the .ko file in 
the Buildroot tree.
This is the relevant output:

 >>> sensoray2253 1.2.6 Building
/usr/bin/make -j5 
HOSTCC="/home/mark/dev/rpiqt5/buildroot-rpi/output/host/usr/bin/ccache 
/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm 
INSTALL_MOD_PATH=/home/mark/dev/rpiqt5/buildroot-rpi/output/target 
CROSS_COMPILE="/home/mark/dev/rpiqt5/buildroot-rpi/output/host/usr/bin/ccache 
/home/mark/dev/rpiqt5/buildroot-rpi/output/host/usr/bin/arm-buildroot-linux-gnueabi-" 
DEPMOD=/home/mark/dev/rpiqt5/buildroot-rpi/output/host/usr/sbin/depmod 
-C /home/mark/dev/rpiqt5/buildroot-rpi/output/build/linux-custom 
M=/home/mark/dev/rpiqt5/buildroot-rpi/output/build/sensoray2253-1.2.6 
modules
make[1]: Entering directory 
`/home/mark/dev/rpiqt5/buildroot-rpi/output/build/linux-custom'
   Building modules, stage 2.
   MODPOST 0 modules
make[1]: Leaving directory 
`/home/mark/dev/rpiqt5/buildroot-rpi/output/build/linux-custom'
 >>> sensoray2253 1.2.6 Installing to target
/usr/bin/make -j5 
HOSTCC="/home/mark/dev/rpiqt5/buildroot-rpi/output/host/usr/bin/ccache 
/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm 
INSTALL_MOD_PATH=/home/mark/dev/rpiqt5/buildroot-rpi/output/target 
CROSS_COMPILE="/home/mark/dev/rpiqt5/buildroot-rpi/output/host/usr/bin/ccache 
/home/mark/dev/rpiqt5/buildroot-rpi/output/host/usr/bin/arm-buildroot-linux-gnueabi-" 
DEPMOD=/home/mark/dev/rpiqt5/buildroot-rpi/output/host/usr/sbin/depmod 
-C /home/mark/dev/rpiqt5/buildroot-rpi/output/build/linux-custom 
M=/home/mark/dev/rpiqt5/buildroot-rpi/output/build/sensoray2253-1.2.6 
modules_install
make[1]: Entering directory 
`/home/mark/dev/rpiqt5/buildroot-rpi/output/build/linux-custom'
   DEPMOD  3.9.11
make[1]: Leaving directory 
`/home/mark/dev/rpiqt5/buildroot-rpi/output/build/linux-custom'
mkdir -p /home/mark/dev/rpiqt5/buildroot-rpi/output/target/etc
echo "rpi" > /home/mark/dev/rpiqt5/buildroot-rpi/output/target/etc/hostname


As you can see, there are no errors but I'm not sure the module is 
correctly installed!
According to the tutorial I should find it in:

buildroot_folder/output/target/lib/modules/kernel_version/extra/

but mine is empty.

How investigate further?
Thanks
Mark

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

end of thread, other threads:[~2013-10-14  7:58 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-13 14:29 [Buildroot] Kernel module compiled but not found Marco Trapanese
2013-10-13 14:51 ` Yann E. MORIN
2013-10-13 15:02   ` Marco Trapanese
2013-10-13 15:05     ` Thomas Petazzoni
2013-10-13 15:19       ` Marco Trapanese
2013-10-13 21:12         ` Arnout Vandecappelle
2013-10-14  7:58           ` Marco Trapanese
2013-10-13 15:57       ` Yann E. MORIN
2013-10-13 16:53     ` Sagaert Johan
2013-10-13 17:05       ` Marco Trapanese
2013-10-13 15:56 ` Yann E. MORIN
2013-10-13 16:02   ` Marco Trapanese
2013-10-13 20:11 ` Ciarán Rehill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox