Part Number: BEAGLEBK
Tool/software: Linux
Hi,
I use Yocto build system for building Beaglebone Black software. The requirement is to have kernel modules (specifically USB host) loaded automatically when the system boots up.
I was able to do this by running "depmod -a" and a series of "mobprobe <module>" after Linux boots. The questions are:
1. Is this a proper way to do - to run "depmod" every time the system starts?
2. Can Yocto generate the module dependency during build time and deploy it to the image? If so, please explain how it can be done. This way kernel modules can be loaded automatically without running "depmod" when booting.
I'm using Yocto's default init program System V, not systemd, if that makes a difference.
Thank you for the help!