FAQ_MA35D1_Auto Load Linux Kernel Modules by Yocto

Post Reply
Posts: 74
Joined: 08 Nov 2022, 10:28

30 Jan 2023, 13:32

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.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests