When i have build the complete booting process in Linux for imx8m mini EVK in the same build terminal the bitbake command works properly. when I have shutdown the Linux machine and I'm again turning on the PC at the time it throwing an exception bitbake command not found .
It is available in the README.
Run i.MX Linux Yocto Project Setup:
$: [MACHINE=<machine>] [DISTRO=fsl-imx-<backend>] source ./imx-setup-release.sh -b <build folder>
In my case I run:
MACHINE=imx8mmevk DISTRO=fsl-imx-xwayland source imx-setup-release.sh -b build/
Currently I'm using ubuntu 18.04 for building the image and i am able to flash through sd card .When I'm going to compile the device tree after rebooting the linux pc using bitbake -c compile -f linux-imx it shows bitbake not found.
Thanks & Regards,