AnsweredAssumed Answered

where the modules cache of core-image-base

Question asked by Qinghua Zhu on Jul 28, 2016
Latest reply on Aug 3, 2016 by Qinghua Zhu


I just meet a simple problem, and I try every method but i still can’t solve it.


I download yocto from , and build core-image-base.


MACHINE=imx6ulevk source setup-environment imx6ul

bitbake core-image-base


After it’s finished , I want to remove a module, such as I can see a file

/home/user/fsl-community-bsp/imx6ul/tmp/work/imx6ulevk-poky-linux-gnueabi/core-image-base/1.0-r0/rootfs/lib/modules/4.1.15-1.1.0+ga4d2a08/kernel/drivers/net/wireless/ bcmdhd/ bcmdhd.ko

I just execute “bitbake linux-imx -c menuconfig” and remove this module

“Device Drivers ---> Network device support  ---> [ ] Wireless LAN  ----”,it’s blank, I didn’t choose it.

And I execute “rm -rf core-image-base” in directory “/home/user/fsl-community-bsp/imx6ul/tmp/work/imx6ulevk-poky-linux-gnueabi”


I wish I won’t see this modules again.

     I run commands as below to rebuild.


rm tmp/stamps/imx6ulevk-poky-linux-gnueabi/linux-imx/4.1.15-r0.do_compile*

bitbake linux-imx -c compile

bitbake linux-imx -c compile_kernelmodules

if [ $? -ne 0 ];then



rm sstate-cache/0d/sstate\:linux-imx\:imx6ulevk-poky-linux-gnueabi\:4.1.15\:r0\:imx6ulevk\:3\:0d8abcd98b0d527280499c07fb574e03_deploy.tgz

rm tmp/stamps/imx6ulevk-poky-linux-gnueabi/linux-imx/4.1.15-r0.do_deploy.*

bitbake linux-imx -c deploy

if [ $? -ne 0 ];then



rm tmp/stamps/imx6ulevk-poky-linux-gnueabi/core-image-base/1.0-r0.do_rootfs.*

bitbake core-image-base


but unfortunately, I can find bcmdhd.ko in the same directory.


I just want to know where the cache is.

I even run “rm -rf sstate-cache” to delete all cache directory, but it still there, and the size, the time ,nothing changed.


Anybody tell me where the cache is ?

Thanks very much!