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
7
votes
1 answer

How to know distro features

I am building image for NXP board using yocto. I could see different distros say "x11, wayland, fb, directfb" etc. In the conf files for these distros I could see "DISTRO_FEATURES_remove" of other distros. Say in x11 distro conf file…
Ravi A
  • 421
  • 2
  • 9
  • 21
7
votes
3 answers

Overwriting Yocto Classes through meta-layer

Thanks for your time and support I am planning to use swupdate for updates. So, I need to create an additional partition in which I need to store the recovery partition. poky/meta/classes/image-live.bbclass is the class which creates partitions and…
md.jamal
  • 4,067
  • 8
  • 45
  • 108
7
votes
2 answers

How to enable/disable a particular bbappend for a specific MACHINE in Yocto

I'm trying to understand the mechanism Yocto provides to enable/disable a particular bbappend for a specific MACHINE. I read this link (Modifying Variables to Support a Different…
aicastell
  • 2,182
  • 2
  • 21
  • 33
7
votes
5 answers

Disable a standard systemd service in Yocto build

I need to start my own systemd service, let's call it custom.service. I know how to write a recipe for it to be added and enabled on boot: SYSTEMD_SERVICE_${PN} = "custom.service" SYSTEMD_AUTO_ENABLE_${PN} = "enable" However, it conflicts with one…
ilya1725
  • 4,496
  • 7
  • 43
  • 68
7
votes
1 answer

Write a recipe in yocto for a python application

I have a simple python application which does: acquire information from a GPS parse information store it in InfluxDB The package requirements: certifi==2018.4.16 chardet==3.0.4 idna==2.6 influxdb==5.0.0 pynmea2==1.12.0…
Shan-Desai
  • 3,101
  • 3
  • 46
  • 89
7
votes
3 answers

In Yocto, how to include header files from another recipes

My program depends on the poco recipes, which provides both the header files and shared libraries. However, I cannot make use of the header files from poco in my recipe, which leads to the error Poco/Delegate.h: No such file for directory. How do I…
Amumu
  • 17,924
  • 31
  • 84
  • 131
7
votes
7 answers

create symbolic link in bitbake recipe

I have a .bbappend recipe that I need to create a symbolic link in my system. This is how it looks like now: bernardo@bernardo-ThinkCentre-Edge72:~/yocto/genericx86-64-rocko-18.0.0/meta-datavision/recipes-devtools/oracle-java$ cat…
Bernardo Rodrigues
  • 378
  • 1
  • 4
  • 17
7
votes
2 answers

Yocto: oe_runmake failed, error in do_compile from bitbake image

I'm building yocto image and a newbie for this. I'm having an error when I type bitbake piflo command (piflo is my image name) like shown figure below: It says ERROR: batctl-2017.1-r0 do_compile: oe_runmake failed and also says pkg-config not…
paulc1111
  • 631
  • 3
  • 14
  • 32
7
votes
4 answers

Kernel selection using yocto

I am building images for i.MX board using Yocto. My requirement is to build specific kernel for the board. After downloading from Freescale Yocto repository site, I could see recipes for multiple kernels. Can you guide me to understand how yocto…
Ravi A
  • 421
  • 2
  • 9
  • 21
7
votes
2 answers

How do I extend someone else's repo manifest?

In my project, I want to take an existing Yocto setup for the Automotive Grade Linux distribution and add some layers with recipes for our own components. There exists a manifest file, publicly available, on their gerrit site. What I'd like to do…
kdopen
  • 8,032
  • 7
  • 44
  • 52
7
votes
2 answers

Systemd - always have a service running and reboot if service stops more than X times

I need to have a systemd service which runs continuously. System under question is an embedded linux built by Yocto. If the service stops for any reason (either failure or just completed), it should be restarted automatically If restarted more than…
Igor
  • 329
  • 1
  • 3
  • 10
7
votes
3 answers

How to do_fetch by hand in a Yocto Project

My question is raised because my build-yocto server ran into the error: ERROR: Fetcher failure: Fetch command failed with exit code 128, output: Cloning into bare repository…
Thảo M. Hoàng
  • 1,224
  • 3
  • 20
  • 42
7
votes
2 answers

How to install recursively my directories and files in BitBake recipe

I would like to install/copy all my directories and files recursively from working directory to my target package rootfs on yocto build system. I tried the solution provided by Tobias Bystricky in How to install directory structure recursively in…
vijayaragavalu
  • 101
  • 1
  • 6
7
votes
1 answer

yocto: how to install command locale & localedef?

How to install command locale & localedef for my image in the yocto project? I have try the following: IMAGE_INSTALL_append = " glibc-locale" But it does not work. How can I do it?
dudengke
  • 489
  • 2
  • 6
  • 18
7
votes
6 answers

How do I escape a "$" in bitbake/yocto?

One of my recipes in Yocto need to create a file containing a very specific line, something like: ${libdir}/something To do this, I have the recipe task: do_install() { echo '${libdir}/something' >/path/to/my/file } Keeping in mind that I want…
paxdiablo
  • 854,327
  • 234
  • 1,573
  • 1,953