Bitbake not working

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

Bitbake not working

Jump to solution
8,837 Views
VinithNama
Contributor III

Hi,

      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 .

0 Kudos
Reply
1 Solution
8,812 Views
VinithNama
Contributor III

Thanks for your information,  it works for me

View solution in original post

0 Kudos
Reply
6 Replies
8,823 Views
turker
Contributor IV

You need to source environment setup scripts everytime you boot your PC or switch to another terminal.

Tags (1)
0 Kudos
Reply
8,819 Views
VinithNama
Contributor III

I doesn't have any idea about how to source can you help me how to source 

0 Kudos
Reply
8,815 Views
turker
Contributor IV

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/

0 Kudos
Reply
8,813 Views
VinithNama
Contributor III

Thanks for your information,  it works for me

0 Kudos
Reply
8,832 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello VinithNama,

If you have building and flashing correctly the MX8MM, then your problem is the host.

 

Regards

 

 

0 Kudos
Reply
8,829 Views
VinithNama
Contributor III

Hi,

     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,

Vinith.

0 Kudos
Reply