cancel
Showing results for 
Search instead for 
Did you mean: 

After Installing the YOCTO SDK Version 30.0.0 getting "bitbake: command not found" once after running the Software development installation script. PC $> <local path>Distribution-Package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sdk$ bitbake -c

AKuma.46
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions
Erwan SZYMANSKI
ST Employee

Hello @AKuma.46​ ,

bitbake is not a tool that you have by sourcing the SDK but by sourcing in a Distribution Package Context which is really different. Sourcing an SDK is used to cross compile kernels or application for example. Sourcing in a Distribution Package context is used to compile a Linux distribution.

I invite you to double read the Distribution Package article to better understand.

Kind regards,

Erwan.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4
AKuma.46
Associate II

Small correction with Version: 3.0.0

Adding to this :

PC $> /<working Directory>/SDK$ ls

environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi sysroots

site-config-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi       version-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi

PC $> /<working Directory>/SDK$ bitbake -c populate_sdk st-image-weston

bitbake: command not found

Erwan SZYMANSKI
ST Employee

Hello @AKuma.46​ ,

bitbake is not a tool that you have by sourcing the SDK but by sourcing in a Distribution Package Context which is really different. Sourcing an SDK is used to cross compile kernels or application for example. Sourcing in a Distribution Package context is used to compile a Linux distribution.

I invite you to double read the Distribution Package article to better understand.

Kind regards,

Erwan.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Kevin HUBER
ST Employee

Hello @AKuma.46​ ,

Is this fixed now or do you still need help on this topic?

Best Regards,

Kevin

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
AKuma.46
Associate II

Dear Team,

I went through Distribution package article and understood the flow.

Thankyou for you valuable suggestion.

Regards

Aniket Kumar