Questions tagged [bitbake]

BitBake is a simple tool for the execution of tasks. It is derived from Portage, which is the package management system used by the Gentoo Linux distribution. It is most commonly used to build packages, and is used as the basis of the OpenEmbedded project.

From the manual:

BitBake is a simple tool for the execution of tasks. It is derived from Portage, which is the package management system used by the Gentoo Linux distribution. It is most commonly used to build packages, and is used as the basis of the OpenEmbedded project.

BitBake is now managed using the Git source control system which can be obtained from git://git.openembedded.org/bitbake.git. Releases can be downloaded from http://downloads.yoctoproject.org/releases/bitbake/ and the developer mailing list, bitbake-devel can be found at http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel.

The user manual is found in the docmentation directory within the source code.

1383 questions
19
votes
3 answers

Tracking variable assignments in bitbake

I'm using bitbake / openembedded, but my recipe fails because some path-variable ends up being not set correctly I think. Specifically i'm adding files to SRC_URI, but the error indicates the attempt to copy the file is done using the wrong path.…
S.C. Madsen
  • 5,100
  • 5
  • 32
  • 50
17
votes
2 answers

Bitbake not installing my file in the rootfs image

I have created a bitbake recipe that would copy 2 of my files (firmware binaries for VPU) into `/lib/firmware/` directory on targets root filesystem. I have tried many options so I'm now not sure what in my recipe is unnecessary/redundant and what…
lewiatan
  • 1,126
  • 2
  • 21
  • 37
16
votes
6 answers

Why does the yocto bblayers.conf file use absolute paths?

The yocto project allows the use of relative path in most of its configuration files but not within the ./build/conf/bblayers.conf file. What is the reason for blocking the use of anything but absolute paths for the BBLAYERS and…
TafT
  • 2,764
  • 6
  • 33
  • 51
16
votes
1 answer

How to configure yocto to use the latest git commit?

I am a very lazy person. While working on a HW/SW project the software changes permanently. In this development stage, changing the commit/reversion-tags in the recipes is very nasty. I want Yocto to fetch the latest git commit. Is this possible/How…
Stefan Jaritz
  • 1,999
  • 7
  • 36
  • 60
16
votes
3 answers

How to use an own device tree and modified kernel config in Yocto?

I am working to build an own "embeeded linux" with yocto. It is based on the SAMA5D3x-MB + SAMA5D3x-CM(RONETIX) with the SAMA5D35. I have two questions: 1.) changing the device tree I build an image based on: MACHINE ??= "sama5d3xek" After the…
Stefan Jaritz
  • 1,999
  • 7
  • 36
  • 60
16
votes
1 answer

How does Shared State Cache in Yocto work?

Can any one explain to me more comprehensively how the sstate cache works in yocto? This explanation is far from clear. I don't understand when such situation occurs: NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Running setscene…
mastier
  • 872
  • 1
  • 10
  • 22
15
votes
2 answers

How to setup an Yocto recipe to build from a local git source?

Hej I am playing a bit around with Yocto, a Raspberry Pi and some code I wrote. Now I want that Yocto is building an image including the program I wrote. I like to know how to setup the fetcher to fetch from a local git repro. My setup is simple.…
Stefan Jaritz
  • 1,999
  • 7
  • 36
  • 60
15
votes
5 answers

How should the sstate-cache directory be deleted in Yocto?

The size of my sstate-cache directory of my YoctoProject "fido" environment is more than 3GB. How can I delete the sstate-cache directory in yocto/build-dir? Is it save to use rm -rf or is there any other method?
yoctotutor.com
  • 5,145
  • 4
  • 26
  • 36
15
votes
2 answers

What is Bitbake and Poky?

Can someone please briefly explain what is Bitbake, Poky, Recipes in simple words? I just want a basic understanding of what these are. Thanks.
P Singh
  • 151
  • 1
  • 1
  • 4
15
votes
2 answers

How to write a BitBake driver recipe which requires kernel source header files?

Introduction I have a do_install task in a BitBake recipe which I've written for a driver where I execute a custom install script. The task fails because the installation script cannot find kernel source header files within
karobar
  • 1,250
  • 8
  • 30
  • 61
14
votes
5 answers

How do I add more python modules to my yocto/openembedded project?

I wish to add more python modules to my yocto/openembedded project but I am unsure how to? I wish to add flask and its dependencies.
timelmg
  • 151
  • 1
  • 1
  • 3
14
votes
1 answer

Yocto using .bbappend file to override writing of default init scripts for initramfs

I am trying to write a .bbappend file that will append to the initramfs-live-boot_1.0.bb which has a statement inside the do_install() that writes the contents of init-live.sh, a shell script that manages the boot procedure, to init, an…
Shiri
  • 1,972
  • 7
  • 24
  • 46
13
votes
3 answers

How to change the config of u-boot in Yocto

Building linux for an iMX6 dev board using the Yocto Project, and I want to change the .config used to build u-boot-imx (u-boot for the iMX dev board) - e.g. change the auto boot delay to 1 second as an example. I can edit the config (e.g. find the…
Jeremy
  • 1,083
  • 3
  • 13
  • 25
13
votes
3 answers

How patching works in yocto

I am using BBB to understand the yocto-project. I am not sure how patching works. This is my project directory ├── meta-testlayer ├── poky meta-test layer contains a "helloworld" example ├── conf │   └── layer.conf ├── COPYING.MIT ├── README └──…
user7345878
  • 492
  • 2
  • 7
  • 20
13
votes
9 answers

Unable to connect to bitbake server

Im trying to setup bitbake tool and trying to follow the tutorial https://www.yoctoproject.org/docs/1.8/bitbake-user-manual/bitbake-user-manual.html#bitbake-examples Now when I run the bitbake command I get the following…
user1050619
  • 19,822
  • 85
  • 237
  • 413
1
2
3
92 93