Jump to content

Recommended Posts

Posted

Hi,

 

I've installed the latest available xenial image for orangepizeroplus2-h5 and also upgraded all the packages, so currently running on 4.14.14-sunxi64. 

 

I can see the following parameters in the kernel config file:

CONFIG_USB_CDC_COMPOSITE=m
CONFIG_USB_FUNCTIONFS=m

 

But at the same time the actual modules are missing:

ls: cannot access '/lib/modules/4.14.14-sunxi64/kernel/drivers/usb/gadget/libcomposite.ko': No such file or directory
ls: cannot access '/lib/modules/4.14.14-sunxi64/kernel/drivers/usb/gadget/function/usb_f_fs.ko': No such file or directory

Does it look like some issue during the image build process (if so, do I need to open it in github?)

 

Also, how is it possible to build just the missing modules without rebuilding the whole kernel now?

 

Thanks

Posted
27 minutes ago, xpk said:

I can see the following parameters in the kernel config file:

...

But at the same time the actual modules are missing:

 

CONFIG_USB_CDC_COMPOSITE makes the g_cdc.ko module

CONFIG_USB_FUNCTIONFS makes the g_ffs.ko module

libcomposite.ko is compiled by CONFIG_USB_LIBCOMPOSITE

usb_f_fs.ko is compiled by CONFIG_USB_F_FS

 

so please check kernel Kconfigs and Makefiles to map missing kernel modules to configuration options

29 minutes ago, xpk said:

Also, how is it possible to build just the missing modules without rebuilding the whole kernel now?

It is possible only if modules are designed to be built out of tree and if all required functionality for these modules was compiled in the kernel.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines