Questions tagged [yocto]

An open source collaboration project that provides templates, tools and methods to help you create custom Linux-based systems for embedded products regardless of the hardware architecture

The Yocto Project is a Linux Foundation workgroup defined as:

The Yocto Project provides open source, high-quality infrastructure and tools to help developers create their own custom Linux distributions for any hardware architecture, across multiple market segments. The Yocto Project is intended to provide a helpful starting point for developers.

The Yocto Project is an open source collaboration project that provides templates, tools and methods to help us create custom Linux-based systems for embedded products regardless of the hardware architecture.

It was founded in 2010 as a collaboration among many hardware manufacturers, open-source operating systems vendors, and electronics companies to bring some order to the chaos of embedded Linux development.

In conclusion, Yocto Project is a a community open source project that is a combination of communities, companies, projects, and tools, and gather people with the same purpose to build Linux-based embedded Project.


Documentation :

3641 questions
6
votes
1 answer

How to enable eglfs plugin in Yocto setup? using yocto+meta-qt5 for Riotboard

Recently I just used fsl-community-bsp and meta-qt5 layer to generate the cross toolchain and the rootfs. I used "bitbake meta-toolchain-qt5" and "bitbake fsl-image-multimedia-full". Both fsl-community-bsp and meta-qt5 use jethro branch. Following…
James.Zhou
  • 131
  • 1
  • 2
  • 14
6
votes
1 answer

Bitbake bbappend file percent in filename

I can't find in the yocto documentation why some bbappend files have a "%" in the filename. An example would the "qtbase_%.bbappend". Does it mean "apply to all versions of the qtbase bitable recipe"?
PhilBot
  • 748
  • 18
  • 85
  • 173
6
votes
3 answers

"c: Command not found" error

I built qt5-toolchain for ARM arthitecture successfully.But I receive following error while compiling any qt application: Makefile:545: recipe for target 'moc_mainwindow.o' failed Wl,-O1 -o Demo1 main.o mainwindow.o moc_mainwindow.o …
overlord
  • 489
  • 1
  • 7
  • 20
6
votes
1 answer

How do I put Yocto-generated image on a hard drive and boot it?

I have run bitbake core-image-minimal-dev properly configured for a genericx86 machine. BitBake generates a bootia32.efi, a bzImage--.bin, an .hddimg, an .iso, a .rootfs.ext3, a .rootfs.ext4, a .rootfs.tar.bz2, and a…
karobar
  • 1,250
  • 8
  • 30
  • 61
6
votes
2 answers

How do I deploy a Python PyQt5 Application to an embedded Linux?

I've written a Python3 application which uses PyQt5 for the GUI, it runs fine on every desktop system. Now I would like to run this on an embedded linux (specifically: Yocto BSP) which is delivered by the hardware manufacturer. Since there's no…
shofstetter
  • 254
  • 1
  • 10
6
votes
3 answers

How to list all of the .bb and .bbappend files used to build a specific package with bitbake?

Let's consider the package "virtual/kernel". I would like to know which .bb and .bbappend files are involved in building this package. I know that I can get the package name through: bitbake -e virtual/kernel | grep ^BP= This command gives me the…
Irr
  • 656
  • 1
  • 9
  • 19
6
votes
4 answers

Bitbake error - Nothing RPROVIDES

I would to split and application into multiple packages. Basically I just would like to add an other one which could be build by using a specific image. Inside the .bb file associated to the application I added : SRC_URI = " \ ... …
ogs
  • 1,139
  • 8
  • 19
  • 42
6
votes
1 answer

Run a command in bitbake recipe as if on live system

Is it possible to run a command in a recipe as if it were run on the live system? If so, how? I want to import my key(s) into gpg before the image is created so I don't have to log onto the system after formatting the SD card.
E-rich
  • 9,243
  • 11
  • 48
  • 79
6
votes
1 answer

Yocto build for preempt_rt

I'm building a custom kernel for the beaglebone black. Following this guide (http://android.serverbox.ch/?p=1273) I'm able to boot to console successfully using a base image. When I try to build with the realtime kernel patch using command: bitbake…
BullBoyShoes
  • 203
  • 2
  • 6
6
votes
2 answers

Yocto: Where is the source for my project?

I recently discovered Yocto. I'm able to successfully build an image using the command bitbake fsl-image-gui. But now, I would like to browse the code, the project specific code and the Kernel code for the fsl-image-gui but I cannot figure how…
slaadvak
  • 4,611
  • 1
  • 24
  • 34
6
votes
2 answers

How to add global CXX compiler flag to yocto build

It seems something obvious to me, but I couldn't find any solution. Suppose I want to add or change a compiler flag/option which applies to all yocto recipes. It is possible to add a global flag somewhere, without changing the recipes ?
Waldorf
  • 833
  • 2
  • 13
  • 24
6
votes
1 answer

How do I specify which compiler toolchain Yocto uses to build images?

For example, how could I get my image to be compiled using: gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux? What does core-image-sato has to do with the toolchains (they supply with Yocto)? I don't understand...
JohnyTex
  • 3,323
  • 5
  • 29
  • 52
6
votes
1 answer

What are the differences between Yocto Poky and Texas Instruments Arago?

I am very new to this field so my terminology may be incorrect. My goal is to build a custom linux distribution for an embedded device equipped with Texas Instruments AM335x ARM processor. I played a little with Yocto 1.6.1 (Daisy release), bitbake…
Alessandro Da Rugna
  • 4,571
  • 20
  • 40
  • 64
6
votes
1 answer

What is the meaning of '__anonymous' function in a yocto/bitbake recipe?

In a yocto project, the core-image.bbclass contains the following code. python __anonymous() { ................ ................ } What is the meaning of the __anonymous function here?
Pala
  • 2,011
  • 3
  • 15
  • 17
5
votes
1 answer

How to use devtool to fix an outdated patch

I'm porting a layer to kirkstone which as an outdated patch which cannot be applied anymore (to u-boot). Can devtool be used to fix that patch? The problem is that per default devtool modify applies the patches and therefore fails to load the…
grmmgrmm
  • 994
  • 10
  • 29