Forwarded to r...@burtonini.com . Thank you, Zoran/Zee
---------- Forwarded message --------- From: Zoran via lists.yoctoproject.org <zoran.stojsavljevic=gmail....@lists.yoctoproject.org> Date: Tue, Jan 19, 2021 at 2:23 PM Subject: Re: [yocto] insmod - huawei E3372h kernel module To: Zoltan Kerenyi Nagy <kerenyi.nagy.zol...@gmail.com>, Burton, Ross <ross.bur...@intel.com> Cc: Yocto-mailing-list <yocto@lists.yoctoproject.org> > As far as I understand the KERNEL_MODULE_AUTOLOAD directive will > populate the /etc/modules file, however, after bitbaking, on the device there > is no /etc/modules file or folder but another folder: > > root@barix-ipam400:~# ls /lib/modules/4.10.0/extra/ > cdc-ncm.ko cdc-wdm.ko hello.ko huawei_cdc_ncm.ko Hello Ross, Any comment from you on the target module configuration? My understanding is the same, the YOCTO building system should somehow create targets' /etc/modules file, since every reboot should repeat the order of modules loading (read from the same). Thank you, Zoran _______ On Tue, Jan 19, 2021 at 2:00 PM Zoltan Kerenyi Nagy <kerenyi.nagy.zol...@gmail.com> wrote: > > I don have a recipie for /etc/modules > > To my understanding this order will cause the load: > > KERNEL_MODULE_AUTOLOAD += "ncm_driver"KERNEL_MODULE_PROBECONF += > "ncm_driver"cdc_ncm = "options ncm_driver > iProduct=USB_Host_Driver_for_Network_Control_Model iManufacturer=NCM" > > KERNEL_MODULE_AUTOLOAD += "wmc_device_managment"KERNEL_MODULE_PROBECONF += > "wmc_device"cdc_wdm = "options wmc_device > iProduct=USB_CDC_WCM_Device_Management iManufacturer=WMC" > > KERNEL_MODULE_AUTOLOAD += "lte"KERNEL_MODULE_PROBECONF += "lte"huawei_cdc_ncm > = "options lte iProduct=E3372h iManufacturer=Huawei" > > As far as I understand the KERNEL_MODULE_AUTOLOAD directive will populate the > /etc/modules file, however, after bitbaking, on the device there is no > /etc/modules file or folder but another folder: > > root@barix-ipam400:~# ls /lib/modules/4.10.0/extra/ > cdc-ncm.ko cdc-wdm.ko hello.ko huawei_cdc_ncm.ko > > > > -- > Zolee > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52042): https://lists.yoctoproject.org/g/yocto/message/52042 Mute This Topic: https://lists.yoctoproject.org/mt/79498728/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-