Skip to main content
AKuma.46
Associate II
Nov 11, 2022 11:46 UTC
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

..

This topic has been closed for replies.
Erwan SZYMANSKI
Erwan SZYMANSKIBest answer
ST Technical Moderator
Nov 14, 2022 14:28 UTC

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.

4 replies

AKuma.46
AKuma.46Author
Associate II
Nov 11, 2022 11:51 UTC

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
Nov 14, 2022 14:28 UTC

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
Nov 24, 2022 13:14 UTC

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
Nov 25, 2022 05:59 UTC

Dear Team,

I went through Distribution package article and understood the flow.

Thankyou for you valuable suggestion.

Regards

Aniket Kumar