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

yocto: rebuild part of project

I have a project which is using yocto for building libraries including gstreamer. I found out that I need to patch some gstreamer element thus creating new bitbake recipe with patch.. I usually have to run bitbake with image name as parameter which…
nayana
  • 3,787
  • 3
  • 20
  • 51
13
votes
4 answers

Yocto version control

We are struggling for version control of our application ,RFS, Uboot and kernel We have a hello world program. Every time we are changing (patching) new functionality to the program, we have to keep a track on changes with help of version no. We…
Setu Gupta
  • 193
  • 1
  • 10
13
votes
3 answers

Using populate_sdk to include kernel headers

How do I include the linux kernel headers as part of the SDK package in Yocto? I'm using Yocto 1.8 (fido) in an embedded project and want to do out-of-tree kernel module development. Currently, I can build my kernel modules (apart from bitbake) by…
benf
  • 915
  • 1
  • 9
  • 28
12
votes
4 answers

Why does BitBake error if it can't find www.example.com?

BitBake fails for me because it can't find https://www.example.com. My computer is an x86-64 running native Xubuntu 18.04. Network connection is via DSL. I'm using the latest versions of the OpenEmbedded/Yocto toolchain. This is the response I get…
Ray Depew
  • 573
  • 1
  • 9
  • 22
12
votes
1 answer

Difference between Yocto Project and OpenEmbedded?

On Yocto Project FAQ: The Yocto Project and OpenEmbedded share a core collection of metadata called openembedded-core. However, the two organizations remain separate, each with its own focus. OpenEmbedded provides a comprehensive set of…
anat0lius
  • 2,145
  • 6
  • 33
  • 60
12
votes
1 answer

What is the job for oe_runmake in yocto?

I want to know about the oe_runmake in yocto.
yoctotutor.com
  • 5,145
  • 4
  • 26
  • 36
12
votes
1 answer

Request for clarification on Yocto inheritance

I've recently made a foray into building Linux-based embedded systems, a far cry from my usual embedded stuff where I have total control over everything. As part of that, I'm looking into the Yocto/bitbake/OpenEmbedded build system. There's one…
paxdiablo
  • 854,327
  • 234
  • 1,573
  • 1,953
12
votes
3 answers

How to determine dependencies of recipes in yocto?

I want to add the gedit package to the the image. But I am not able to find the dependencies of the gedit package. How to find the dependencies (DEPENDS) in yocto?
Vikram
  • 131
  • 2
  • 2
  • 8
12
votes
2 answers

Yocto/bitbake/OpenEmbedded: Best place for build/conf/local.conf's content?

I'm trying out yocto (2.0, jethro) and I want to build an image starting from core-image-minimal. This works fine. Every website out there mention modifying the file build/config/local.conf with (some of) my customization. For example, the target…
big_gie
  • 2,829
  • 3
  • 31
  • 45
12
votes
3 answers

WORKDIR in a yocto recipe

When I open bitbake files (ending with .bb extension), most of the files are using the WORKDIR variable as shown below. S = "${WORKDIR}/git" can you please tell me where this WORKDIR is defined.
user3693586
  • 1,227
  • 5
  • 18
  • 40
11
votes
2 answers

Yocto - Create and populate a separate /home partition

I'm creating quite a simple Yocto image based on x86. I want the / file system to be readonly, so I set the IMAGE_FEATURES_append = " read-only-rootfs " in a custom copy of the original core-image-minimal.bb. I do want to have the /home writable…
fault-tolerant
  • 451
  • 5
  • 15
11
votes
6 answers

AWS CodeBuild as non-root user

Is there a way to drop root user on AWS CodeBuild? We are building a Yocto project that fails on CodeBuild if we're root (Bitbake sanity check). Our desperate approach doesn't work either: ... build: commands: - chmod -R 777 $(pwd)/ && chown…
Livioso
  • 1,242
  • 1
  • 11
  • 21