Hi Raj, Thank you for your reply. I have resolved the problem. Thank you!!
Neil -----Original Message----- From: Khem Raj [mailto:[email protected]] Sent: Thursday, December 25, 2014 11:26 AM To: Wu, Neil [CLIMATE/RS/CN] Cc: [email protected] Subject: Re: [yocto] problem of install kernel module(*.ko) to rootfs folder On Wed, Dec 24, 2014 at 7:08 PM, <[email protected]> wrote: > Hi all, > > > > First of all , merry Christmas. > > > > I run menuconfig and save the .config as following: > > > > CONFIG_SPI_DEV_INTERFACE=m > > CONFIG_PACKAGE_kmod-usb-core=m > > > > Then I build the linux-yocto and core-image-minimal : > > Bitbake linux-yocto > > Bitbake core-image-minimal > > > > I expected all the kernel module will install in core-image-minimal rootfs, > but , in the ./lib/modules/3.4.44-G4 , I just find > > > > modules.alias, modules.alias.bin , modules.builtin.bin, modules.dep … > > > > It have nothing kernel modules (*.ko) file in ./lib/modules/. How to install > the *.ko to rootfs automatically ? > > > > Someone tell me to change the .config file as these : > > CONFIG_SPI_DEV_INTERFACE=y > > CONFIG_PACKAGE_kmod-usb-core=y > > I have test it what will build the kernel modules (*.ko ) to kernel image, > that’s not what I need. > > > > > > so , I just want to know . how to install the kernel modules (*.ko) to > core-image-minimal rootfs ? If you know it , please help me . well its a minimal-image so all modules are excluded. You can build core-image-basic and it should have it or you can do something like MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" in your machine.conf > > Thank you very much. > > > > Neil > > > > > > > > > > > > > > > > > -- > _______________________________________________ > yocto mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/yocto > -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
