HW:IMX8QM EVK
We need read/set uboot env in system,so try to genera fw_printenv ,
I add IMAGE_INSTALL_append += " u-boot-fw-utils" to conf/local.conf
then bitbake imx-image-full after finish and download to IMX8qm EVK
root@imx8qmmek:~# ls -l /usr/bin/fw_printenv
-rwxr-xr-x 1 root root 14448 Mar 9 2018 /usr/bin/fw_printenv
root@imx8qmmek:~# ls -l /usr/bin/fw_setenv
-rwxr-xr-x 1 root root 14448 Mar 9 2018 /usr/bin/fw_setenv
root@imx8qmmek:~# fw_printenv
Cannot read environment, using default
Cannot read default environment from file
efer Linux fw_printenv fw_setenv to access U-Boot's env... - NXP Community
build in path: Yocto/L5.10.52_2.1.0/build-xwayland_imx8qmmek/tmp/work/imx8qmmek-poky-linux/u-boot-imx/2021.04-r0/git, generate the fw_printenv,this one is ok
root@imx8qmmek:~# ls -l
total 40
-rwxr-xr-x 1 root root 39968 Mar 24 10:28 fw_printenv
My question how to build this tools in Yocto?
Hi @wang12zhe
Please refer this document:https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Adding-u-boot-fw-utils-for-i-MX-to-yocto...