Skip to main content
AKuma.46
Associate II
November 11, 2022
Solved

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

  • November 11, 2022
  • 4 replies
  • 2719 views

..

This topic has been closed for replies.
Best answer by Erwan SZYMANSKI

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.

4 replies

AKuma.46
AKuma.46Author
Associate II
November 11, 2022

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
Erwan SZYMANSKIBest answer
ST Technical Moderator
November 14, 2022

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
November 24, 2022

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 'Best answer' on the reply which solved your issue or answered your question.
AKuma.46
AKuma.46Author
Associate II
November 25, 2022

Dear Team,

I went through Distribution package article and understood the flow.

Thankyou for you valuable suggestion.

Regards

Aniket Kumar