AnsweredAssumed Answered

how to load kernel drivers in target board(imx6qp-sdb)

Question asked by Vasu Sriram on Jun 30, 2018
Latest reply on Jul 5, 2018 by Vasu Sriram

Hi everyone,

 

I am using yocto tool chain build linux images(.sdcard image) o imx6qp.

 

i followed process as they mentioned in the document as follows


    -> mkdir bin

 

    -> curl https://storage.googleapis.com/git-repo-downloads/repo > bin/repo
    
    -> chmod a+x bin/repo

> export PATH=bin:$PATH

 

Download the i.MX Yocto Project Community BSP recipe layers:
 
    -> To download perform the following steps:

 

    -> mkdir imx-yocto-bsp
    
    -> cd imx-yocto-bsp

 

    -> repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-rocko -m imx-4.9.88-2.0.0_ga.xml

 

    -> repo sync

 


    $ DISTRO=fsl-imx-xwayland MACHINE=imx6qpsabresd source fsl-setup-release.sh -b build-xwayland

 

    $ bitbake core-image-minimal

 

$ bunzip2 -dk -f <image_name>.sdcard.bz2

 

    $ sudo dd if=<image name>.sdcard of=/dev/sd<partition> bs=1M conv=fsync

--------------------------------------------------------------------------------------------------------------

upto know its fine and its loaded perfectly and login with root

 

Now the problem is i was trying to load the kernel modules

it is showing error like follows

modprobe: FATAL: Module "module_name" not found in directory /lib/modules/4.9.88-imx_4.9.88_2.0.0_ga+g5e23f9d

 

how to load drivers into my target and how to interface with them plz help.

 

Thanks in advance.

 

Regards .

Ram.

Outcomes