Page 1 of 1

FAQ_MA35D1_Auto Load Linux Kernel Modules by Yocto

Posted: 30 Jan 2023, 13:32
by ytliu6
If you need to auto load the Linux kernel modules, you have to create the recipe to add the .ko to /lib/modules/5.10.140 first.

Add the following three statement to local.conf

Code: Select all

DISTRO_FEATURES_append = " recipe_name "
KERNEL_MODULE_AUTOLOAD += " recipe_name "
IMAGE_INSTALL_append += " kernel-modules "
After that, rebuild the Image and you can use lsmod command to see what kernel module loading.