MYD-C8MMX Yocto install kernel modules and drivers

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

MYD-C8MMX Yocto install kernel modules and drivers

1,680 Views
maral_e
Contributor I

Hi,

I am using the MYD-C8MMX v1.3 board and building Yocto Zeus on Ubuntu 18.04.

I have been trying to include CH341, and CP210X drivers.

I included them by bitbake virtual/kernel -c menuconfig.

And on the board, it is enabled on config but drivers are nowhere. Please refer to the attached images.

 

Also, I added this line to myd-imx8mm.conf machine file:

maral_e_1-1663212060323.png

And, in myir-image-core.bb image file:

maral_e_2-1663212154594.png

How should I include the kernel drivers?

 

 

Tags (3)
0 Kudos
Reply
1 Reply

1,617 Views
Conductor
Contributor II

I'd like to know how to officially do this also.

The project I'm working on has a driver and currently it uses diff/patch to modify the files, but I need to move that into recipes. My gut tells me there must be a bbappend that you can add the modules to which will be installed on the image. Something like yp/layers/poky/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.10.bbappend but I am not sure that is the right place.

Also, those directories can't have commits, and one thing I'm trying to figure out is how one would go about making a local copy that we could make commits to for the meta layers. We have a meta-layer which we include pkgs for Ubuntu that we run on.

I haven't worked with Yocto for a while, but slowly getting back up to speed. There's a lot of layers, it's like a giant onion on steroids.

0 Kudos
Reply