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 .
You need to source environment setup scripts everytime you boot your PC or switch to another terminal.
I doesn't have any idea about how to source can you help me how to source
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/
Thanks for your information, it works for me
If you have building and flashing correctly the MX8MM, then your problem is the host.
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,