In Yocto (poky/krogoth), I am building an image for raspberrypi2 using my own meta layer, built upon existing meta-raspberrypi layer.I want to load automatically the kernel module i2c-dev to create the I2C device file /dev/i2c-1. It works when i2c-dev is added manually to /etc/modules. I want to do the same in some Yocto configuration files. I've tried the following in my image recipe:KERNEL_MODULE_AUTOLOAD += i2c-devIt compiles smoothly but I can't find any /etc/modules file, neither any /etc/modules-load.d/modname.conf.Would you have any idea ?
autoload a kernel module in Yocto
raspberry pi;kernel modules;yocto