Skip to contentSkip to conversation

loading huawei_cdc_ncm #kernel

yocto Zoltan Kerenyi Nagy 2 participants 2 messages Nov 19, 2020 – Nov 20, 2020

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 10 lines · 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?

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

Quoted 8 lines

Thanks

Zolee

Signature · 2 lines
# Randy MacLeod
# Wind River Linux