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

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
767件の閲覧回数
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 解決策
509件の閲覧回数
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 返信
510件の閲覧回数
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