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
9
votes
2 answers

Bitbake: How to only fetch the sources?

There is a project in which we use project yocto, and our metas fetch source from some remote git repositories. The problem is that these repositories are only accessible in some particular situations/specific times. Therefore, I need a way to fetch…
AmiguelS
  • 805
  • 2
  • 10
  • 28
9
votes
1 answer

Difference between class-target and class-native in yocto recipe

I am trying to understand Yocto recipes. Following is one of the line from a Yocto Recipe: DEPENDS_append_class-target = " grub-efi-native" What I understood is this recipe depends on package grub-efi-native, while on the other hand, what I am…
md.jamal
  • 4,067
  • 8
  • 45
  • 108
9
votes
2 answers

bbappend file for replacing a file

I created a new layer in yocto: meta-abc, a recipe: abc-efg_0.1.bb and an .bbapend: abc-efg_01.bbapend file. With the bbappend file I want to overwrite a file from intel-edison board. More exactly, the wpa_supplicant.conf from…
aa86
  • 135
  • 1
  • 1
  • 10
9
votes
2 answers

How to remove a specific package from yocto

I am building yocto for a specific hardware (imx6 saber-sdb from nxp). I want to remove a particular (chromium) package from the build process. So that chromium package will not be downloaded, compiled and will not be part of the target image as…
Giridhara Kalkere
  • 211
  • 1
  • 4
  • 7
9
votes
3 answers

Bitbake build consumes more space

I recently started using Bitbake for building Yocto. Everytime I build, it consumes more space and currently I'm running out of disk space. The images are not getting overwritten. A set of new files with timestamp is getting created for every build.…
Gomu
  • 1,004
  • 5
  • 16
  • 36
9
votes
1 answer

Bitbake: force one task of a recipe and all following

I want to force-recompile a package, like that: bitbake -f -c compile mypackage However, I also want all following tasks to be executed (like install, package, etc.), just as if I had called bitbake mypackage from a completely clean state. Can this…
Georg P.
  • 2,785
  • 2
  • 27
  • 53
9
votes
1 answer

How to add packages to populate SDK as a host tool?

I have created my own recipe for building my SW, which requires native perl during building (e.g. invoking perl script for generating code). There is no problem if I add my recipe to an image and use bitbake to build my recipe with the image. Now I…
BenKwan
  • 187
  • 1
  • 8
9
votes
6 answers

How to set root password on Yocto / Poky image?

I am building an image with Yocto/Poky release Daisy 1.6.3. What is the correct way or config file where to set the root password? The default password is empty and I can't find a place where to specify it.
Alessandro Da Rugna
  • 4,571
  • 20
  • 40
  • 64
9
votes
1 answer

How to INSTALL & RUN QML QtWebEngine & QtWebKit on SBC using Yocto / Unable to fetch URL from any source

Environment Debian GNU/Linux 7.8 (wheezy) Linux marvin 3.16-0.bpo.2-amd64 #1 SMP Debian 3.16.3-2~bpo70+1 (2014-09-21) x86_64 GNU/Linux Raspberry Pi 2 Yocto Poky Qt5 My goal is to run Chromium layout web engine on the RPi2 I want to be able to run…
zabumba
  • 12,172
  • 16
  • 72
  • 129
9
votes
4 answers

Turn off Source Checksum Check Yocto

Where do I specify BB_STRICT_CHECKSUM = "0" in Yocto to disable checksum check of source code? I get: ERROR: No checksum specified for /PATH/TO/ti-linux-kernel.git, please add at least one to the recipe: SRC_URI[md5sum] =…
JohnyTex
  • 3,323
  • 5
  • 29
  • 52
8
votes
1 answer

How to manage meta layers for a yocto project & build configs in git

I am trying to figure out a workflow for yocto based project. Currently I have created a git with submodule for each meta layer that I pull. https://github.com/shrkamat/rpi/tree/thud This would mean when I move to a new yocto release (say warrior) I…
Kamath
  • 4,461
  • 5
  • 33
  • 60
8
votes
1 answer

Confused about install -m and install -d using Yocto

I have taken over a Yocto project, and inside a .bb recipe file, I see the following lines to install new directories in the image: do_install() { install -m 0755 -d ${DEPLOY_DIR_IMAGE}/app install -m 0755 -d…
Engineer999
  • 3,683
  • 6
  • 33
  • 71
8
votes
1 answer

Yocto - Linux Image Generation - Remove qemu Support

I'm using Yocto v2.4.1 and BitBake v1.36.0. I want to remove qemu and qemu-native (All qemu related thing) from my custom generated Linux Image. How can i do that ? Thanks
craken
  • 1,411
  • 11
  • 16
8
votes
2 answers

rootfs folder in yocto

I have been using buildroot till now and recently switched to Yocto. In buildroot, the root file system is present in the "target" folder. What is the location of the root file system in Yocto. I know it will be in "build/tmp" folder and it is not…
md.jamal
  • 4,067
  • 8
  • 45
  • 108
8
votes
1 answer

using SELinux in yocto/poky

Setup: I am running Ubuntu 16.04 and I am trying to build an image that includes some recipes from meta-selinux. I have tried to follow the READMEs and other help, but I am pretty stuck. Here are the layers that I have: drwxrwxr-x 19 ubuntu ubuntu…
Mark
  • 2,058
  • 2
  • 35
  • 64