[linux-yocto] Missing Kernel Object Files (.ko)
sgw at linux.intel.com
Thu Jun 18 22:37:37 PDT 2015
On 06/18/2015 09:50 AM, Chen, Simon wrote:
> I am currently using the poky-dizzy-12.0.1 version of Yocto and building core-image-full-cmdline. When I boot the image and look into /lib/modules/<KERNEL-VERSION>/kernel, it appears that the kernel is missing most of the .ko files that a normal Linux kernel would otherwise need to run. The only directory that appears in the "kernel" folder is "net." And in this net directory we only have "ipv4" and "netfilter" packages containing some .ko's. The kernel is missing many other modules like those in "drivers."
> In particular, I am trying to integrate the AMD Radeon E8860 graphics card on to a Yocto machine. I've already have the open source xf86-video-ati driver (7.4.0) installed into my Yocto image. The problem is that the kernel module radeon.ko seems to be missing from the kernel. Without this .ko file, Yocto cannot recognize the external graphics card, and udev cannot generate an appropriate device node (/dev/dri/card0) for Xorg to use.
I think it's possible that you are missing the kernel-modules package
would would put the the kernel modules into the rootfs.
You can verify this by looking into the core-image-full-cmdline rootfs
and send us the installed_pkgs.txt, you can find it if you use bitbake
-c devshell core-image-full-cmdline
You can try putting the following in your local.conf.
CORE_IMAGE_EXTRA_INSTALL_append = "kernel-modules"
More information about the linux-yocto