LS1012A Yocto Ubuntu root fs modules not loading by name

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LS1012A Yocto Ubuntu root fs modules not loading by name

870 次查看
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 项奖励
回复
4 回复数

849 次查看
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 项奖励
回复

842 次查看
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 项奖励
回复

816 次查看
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 项奖励
回复

806 次查看
epoletaev
Contributor III

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

0 项奖励
回复