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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,061 Views
vasusriram
Contributor II

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.

0 Kudos
Reply
2 Replies

832 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Ram,

The process you are following is correct. However, it seems that the modules you are looking for are not available on the core-image-minimal recipe. Would you please review if that’s the case? You do not mention which modules you are looking for but perhaps it’s not part of the core-image-recipe.

I hope this helps!

Regards,

0 Kudos
Reply

832 Views
vasusriram
Contributor II

hello gusarambula,

I am checking for the acclerometer(mma8451) module. when i try to load that module it is sowing that as already registered.but i wasn't showing in drivers/hwmon folder in board kernel.

0 Kudos
Reply