You’re right, here are the details:
Basically when I wrote ‘enters the kernel’ I meant loads into the kernel, and I can see it using lsmod command. Right now I started everything form scratch, and the modules does not load into the kernel.
Here is what I did:
Downloaded the source code for the db410c with git clone (followed the link here http://builds.96boards.org/releases/dragonboard410c/linaro/ubuntu/latest/), and did a checkout to the kernel-15.09 branch.
This is the output from the git
alonh@server:~/kernel$ git checkout -b kernel-15.09 ubuntu-qcom-dragonboard410c-15.09
Checking out files: 100% (50930/50930), done.
Switched to a new branch 'kernel-15.09'
arch CREDITS drivers include Kbuild lib mm REPORTING-BUGS security usr
block crypto firmware init Kconfig MAINTAINERS net samples sound virt
COPYING Documentation fs ipc kernel Makefile README scripts tools
Then I build, kernel, device tree and modules:
make -j4 Image dtbs modules KERNELRELEASE=4.2.0-linaro-lt-qcom
This pass successfully, and Image & ko files are created.
I took the ko files:
alonh@server:~/kernel$ export INSTALL_MOD_PATH=<some directory I chosed>
alonh@server:~/kernel$ make modules_install
Then I copied the <some directory I chosed> with the ko files to /lib/modules and /lib/firmware to an mmc card to be copied to file-system, and I created the boot-db410c.img with ./skales/mkbootimg, and burn it using fastboot. I also burned the rootfs using fastboot (here is the link http://builds.96boards.org/releases/dragonboard410c/linaro/debian/latest/linaro-jessie-developer-qcom-snapdragon-arm64*.img.gz)
When I load the system the result of lsmod is:
Module Size Used by
This is the error I get from modprobe command
root@linaro-alip:~# modprobe wcn36xx
modprobe: ERROR: ../libkmod/libkmod.c:557 kmod_search_moddep() could not open moddep file '/lib/modules/4.2.0-linaro-lt-qcom/modules.dep.bin'
What am I missing ?