xpk Posted January 22, 2018 Share Posted January 22, 2018 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 Link to comment Share on other sites More sharing options...
Igor Posted January 22, 2018 Share Posted January 22, 2018 Those functions are apparently not developed yet: http://linux-sunxi.org/USB_Gadget Link to comment Share on other sites More sharing options...
zador.blood.stained Posted January 22, 2018 Share Posted January 22, 2018 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. Link to comment Share on other sites More sharing options...
Recommended Posts