fw_printenv : No such file or directory (But file present) in INITRAMFS

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

fw_printenv : No such file or directory (But file present) in INITRAMFS

跳至解决方案
1,344 次查看
karthikeyanraju
Contributor III

Hi All,

I m using iMX6 - yocto BSP.

I have fw_printenv Binary to print environments from Userspace.

I can able to run the binary successfully in Normal Filesystem.

I cant run this same binary(fw_printenv) in Initramfs.

root@freescale ~$fw_printenv

-sh:/bin/fw_printenv:No such file or directory

I given permission and I copied all supporting file also, But no effor

Can anyone help me to resolve this issue ?

标签 (3)
0 项奖励
1 解答
1,086 次查看
gary_bisson
Senior Contributor III

Hi,

This means that the executable is missing a shared library to run. Have you copied the files manually?

You should use the Yocto recipe to add fw_printenv to your image:

IMAGE_INSTALL_append = " u-boot-fw-utils "

Regards,

Gary

在原帖中查看解决方案

1 回复
1,087 次查看
gary_bisson
Senior Contributor III

Hi,

This means that the executable is missing a shared library to run. Have you copied the files manually?

You should use the Yocto recipe to add fw_printenv to your image:

IMAGE_INSTALL_append = " u-boot-fw-utils "

Regards,

Gary