Topics

loading huawei_cdc_ncm #kernel


Zoltan Kerenyi Nagy
 

Hi,

I'd li to include as a kernel module the huawei_cdc_ncm.c file and autoloaded as a kernel object.

I did this in the main recipie file, but it's not enogh:

KERNEL_MODULE_AUTOLOAD += "cdc_ncm.ko"

I guess I should have a bb file for the huawei_cdc_ncm.c, but I didnt find any on the net.
Could you please help me?

Thanks

Zolee


Zoltan Kerenyi Nagy
 

Hi,

I'd li to include as a kernel module the huawei_cdc_ncm.c file and autoloaded as a kernel object.

I did this in the main recipie file, but it's not enogh:

KERNEL_MODULE_AUTOLOAD += "cdc_ncm.ko"

I guess I should have a bb file for the huawei_cdc_ncm.c, but I didnt find any on the net.
Could you please help me?

Thanks

Zolee


Randy MacLeod
 

On 2020-11-18 7:10 a.m., Zoltan Kerenyi Nagy wrote:
Hi,
I'd li to include as a kernel module the huawei_cdc_ncm.c file and autoloaded as a kernel object.
I did this in the main recipie file, but it's not enogh:
KERNEL_MODULE_AUTOLOAD += "cdc_ncm.ko"
I guess I should have a bb file for the huawei_cdc_ncm.c, but I didnt find any on the net.
Could you please help me?
Hi Zoltan,

See:

http://docs.yoctoproject.org/kernel-dev/kernel-dev-common.html?highlight=external%20kernel%20module#working-with-out-of-tree-modules

Good luck,

../Randy
Thanks
Zolee

--
# Randy MacLeod
# Wind River Linux


Zoltan Kerenyi Nagy
 

Hi,

I'd li to include as a kernel module the huawei_cdc_ncm.c file and autoloaded as a kernel object.

I did this in the main recipie file, but it's not enogh:

KERNEL_MODULE_AUTOLOAD += "cdc_ncm.ko"

I guess I should have a bb file for the huawei_cdc_ncm.c, but I didnt find any on the net.
Could you please help me?

Thanks

Zolee