LS1012A Yocto Ubuntu root fs modules not loading by name

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1012A Yocto Ubuntu root fs modules not loading by name

869 Views
epoletaev
Contributor III

I'm compiling Yocto on kirkstone branch

repo init -u https://github.com/nxp-qoriq/yocto-sdk -b kirkstone -m ls-5.15.71-2.2.0_distro.xml
 
All seems working well except of kernel modules which I can load only by providing full file path to insmod command.
 
Is there a way to fix it?
0 Kudos
Reply
4 Replies

848 Views
khushbur
NXP TechSupport
NXP TechSupport

Hi @epoletaev 

 

Can you please elaborate more which kernel module you want to load?

Please change your kernel configuration file accordingly.

 

Thanks

Khsuhbu

0 Kudos
Reply

841 Views
epoletaev
Contributor III

Every module that listed in /boot/modules are not loading by name and only loading by full path

insmod any

Not found

insmod /boot/modules/full/path/any.ko

Loaded

Lets say for example usbserial.ko

0 Kudos
Reply

815 Views
khushbur
NXP TechSupport
NXP TechSupport

Hi @epoletaev 

 

Can you please try with modprobe

 

Please run below command

sudo ln -s /path/to/module_name.ko /lib/modules/`uname -r`

sudo depmod -a

sudo modprobe module_name

 

Thanks

Khushbu

 

0 Kudos
Reply

805 Views
epoletaev
Contributor III

That would work, but it is just workaround is there real fix for the issue?

0 Kudos
Reply