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

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

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

Jump to solution
1,342 Views
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 ?

Labels (3)
0 Kudos
1 Solution
1,084 Views
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

View solution in original post

1 Reply
1,085 Views
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