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
3 answers

Yocto bitbake script not displaying echo statement

I currently have a bitbake .bb script that looks like this DESCRIPTION = "Hello World" SECTION = "TESTING" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" PR = "r0" SRC_URI = "file://fileA…
James Franco
  • 4,516
  • 10
  • 38
  • 80
7
votes
1 answer

What are the differences between Open Embedded Core and meta-openembedded

Until now, I am still really confused between the recipes in Openembedded-core vs the one in meta-openembedded. And many time, have trouble to put the recipes in the right directory. They are really similar yet seem to be so different in the…
Charles C.
  • 3,725
  • 4
  • 28
  • 50
7
votes
3 answers

How to create do_populate_sysroot_append task in yocto

How could we add some additional kernel files to sysroot directory? I want to extend do_populate_sysroot task, how can we to copy few more files into sysroot after do_populate_sysroot and before do_package? I tried to create…
Vivek
  • 181
  • 3
  • 10
7
votes
1 answer

How can I create machine specific recipes?

I want to know if there is an opportunity to create machine specific recipes just by file name in order that I have a similar layer structure like this: \-> recipes-example \-> example \-> example_1.0.bb_machine1 \->…
h0ch5tr4355
  • 2,092
  • 4
  • 28
  • 51
7
votes
1 answer

How can I add a folder or file to the root in a recipe with bitbake?

I am trying to put a folder into the root of the filesystem. In the documentation (e.g. here) they use mostly variables and so the files and folders from SRC_URI result in being stored under /usr/bin or something but never in /. So here is my…
h0ch5tr4355
  • 2,092
  • 4
  • 28
  • 51
7
votes
4 answers

How to find out Yocto version

How to find the current version of Yocto kernel that I am using to build the components. There is a version for poky. But i want to know the Yocto kernel version.
user1729564
  • 349
  • 1
  • 3
  • 7
6
votes
1 answer

Yocto Kirkstone Beaglebone Black add custom devicetree

When I build a core-image using Yocto Kirkstone for machine beaglebone-yocto, I get a file /boot/extlinux/extlinux.conf. This file looks like: default Yocto label Yocto kernel /zImage fdtdir / append root=PARTUUID=f8fbccd5-02 rootwait…
Katu
  • 1,296
  • 1
  • 24
  • 38
6
votes
2 answers

Yocto build fail with exit code '134'

I am trying to yocto build on wsl2 and face these kinds of errors whenever I try to build. ERROR: Task (/home/minwoo/yocto/poky/meta/recipes-core/initscripts/initscripts_1.0.bb:do_install) failed with exit code '134' ERROR: Task…
Minu
  • 380
  • 2
  • 12
6
votes
1 answer

Yocto native build of some recipes for 32 bit on 64bit system

I am trying to build some native packages as 32bit in yocto (2.6.1 actually, on a 64bit linux). My target does not use multilib at all. Let's say I am building recipe a which needs (all build-time, linking statically) package b as well as zlib and…
Stefan Hegny
  • 2,107
  • 4
  • 23
  • 26
6
votes
1 answer

What's the difference between IMAGE_INSTALL and CORE_IMAGE_EXTRA_INSTALL

It seems both (IMAGE_INSTALL and CORE_IMAGE_EXTRA_INSTALL) can add packages into yocto image. What's their difference? I checked this issue: Yocto: Difference between CORE_IMAGE_EXTRA_INSTALL and IMAGE_INSTALL but I still don't understand what's…
GreenTea
  • 769
  • 1
  • 10
  • 36
6
votes
2 answers

Differences between openembedded-core and poky

We want to build a embedded Linux device using Yocto which is SELinux Enabled. I was looking at meta-selinux layer Dependencies. Dependencies This layer depends on the openembedded-core metadata and the meta-python and meta-oe layers from the…
md.jamal
  • 4,067
  • 8
  • 45
  • 108
6
votes
3 answers

Add New Kernel Parameter To Custom Linux Image Generated By Yocto

I am experimenting with Yocto project for generating custom Linux images for my embedded devices. I have a requirement to add a persistent custom kernel parameter to /etc/sysctl.conf of the generated image. i.e. kernel.core_pipe_limit =…
Anubis
  • 6,995
  • 14
  • 56
  • 87
6
votes
1 answer

Upgrading (overriding) an entire recipe in a custom layer

I have a custom layer in project. This gets shared with colleagues. My distro (poky) it uses a older version of alsa. This gets downloaded on initial setup of the build area. I would like to 'replace' that version of alsa with a later version…
zonedar
  • 181
  • 4
  • 11
6
votes
1 answer

In Yocto, how to read a git repository via ssh on a nonstandard port

I created a recipe containing these definitions: SRC_URI = "git://git:@:/home/git/tuxin-repo/project.git;protocol=ssh;branch=test" SRCREV_default = "5a0b8545d39c97bd9f9628143ed174dabb71f641" bitbake ends with…
Tuxin
  • 170
  • 11
6
votes
1 answer

How to create a custom partition layout using yocto wic?

This might be a fairly simple question, there is a few things I'm missing. I'm trying to use wic as a replacement for a custom script for laying out a boot partition. The device is an IMX6 and has uboot written at 0x400, and a fat32 boot partition…
Kevin
  • 320
  • 5
  • 17