I am trying to compile kernel modules natively on the beagleboard, but
makefile cannot find the modules directory (/usr/src is also empty). I
think that means I am missing a Kernel headers package, since it looks
for a kernel headers package. Does anyone have any advice as to how I
can get the kernel header package for the kernel im running - 2.6.29-
omap1?
No idea about the headers, but you could just download the complete
kernel source and copy the source tree to /usr/src on your
beagleboard.
(and one way to get the source is to set up the cross environment and
do a bitbake virtual/kernel; that will also give you a kernel that is
compliant with the modules you like to build).
BTW: if you need existing modules, you can also set up the cross
environment and change the config file and do a cross build.
Frans
Thank you for your response Frans.
this could be a very silly question, but would you know where I can
obtain the kernel source 2.6.29-omap1?
I searched, and reached Kernel Archives, they have 2.6.29.6 kernel
source.
But I would need 2.6.29-omap1 for my purpose, am I right?
Thanks,
Chhavi
Thank you for your response Frans.
this could be a very silly question, but would you know where I can
obtain the kernel source 2.6.29-omap1?
I searched, and reached Kernel Archives, they have 2.6.29.6 kernel
source.
But I would need 2.6.29-omap1 for my purpose, am I right?Thanks,
Chhavi
As I said before I would grab them from OpenEmbedded, and also build a
kernel image from that sources, in order to make sure your kernel and
source versions match.
No idea where you can get the sources from the kernel you are using.