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
11
votes
5 answers

Yocto: : does bitbake cleanall ,cleans dependencies as well

bitbake cleanall Removes all output files, shared state cache, and downloaded source files for a target It is not clear or documented if it cleans all build time dependencies as well
Mohit
  • 183
  • 1
  • 3
  • 9
11
votes
1 answer

bitbake: how does the build system choose the recipe provided by more than one layer

The meta layer provide recipe: meta/recipes-graphics/x11-common/xserver-nodm-init.bb The meta-oe layer provide recipe: meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb My question is: How the build system select the…
dudengke
  • 489
  • 2
  • 6
  • 18
11
votes
3 answers

Embedded Linux – mechanism for deploying firmware updates?

I am considering developing on the Yocto project for an embedded Linux project (an industrial application) and I have a few questions for those with experience with embedded Linux in general -- Yocto experience a bonus. Just need to get an idea of…
user5153351
10
votes
1 answer

TOOLCHAIN_HOST_TASK Vs TOOLCHAIN_TARGET_TASK

I am sorry for naive question. I could not understand the difference between these Yocto variables. The Manual says TOOLCHAIN_HOST_TASK: Lists packages that make up the host part of the SDK (i.e. the part that runs on the SDKMACHINE). When you…
TonyParker
  • 2,024
  • 5
  • 18
  • 27
10
votes
1 answer

Yocto Warrior Bitbake Recipe for PyTorch for NVIDIA Jetson Nano

I am trying to create a simple Yocto Python Recipe for Python 3 PyTorch. The target is an SD Card Image for the NVIDIA Jetson Nano produced by Yocto from the meta-tegra layer. I can successfully compile and boot an image from meta-tegra without…
PhilBot
  • 748
  • 18
  • 85
  • 173
10
votes
1 answer

Yocto "Failed to run qemu: Could not initialize SDL(x11 not > available)"

So I've got Yocto on a local build server, coz who wants that massive build chewing up their workspace amirite? Host and Server are Arch Linux 4.19.44-1-lts Anyway I am just running up the example from the quick build page found here and when I…
BitShift
  • 977
  • 2
  • 9
  • 28
10
votes
1 answer

QBackingStore::endPaint() called with active painter on backingstore paint device

I'm following this tutorial for deploy qml to yocto. I'm using beaglebone black not raspberry but i think it is not important. When i ran cmd "./QmlProject" on beaglebone black , I had an error: QBackingStore::endPaint() called with active painter…
Đại Ngoc
  • 109
  • 1
  • 10
10
votes
1 answer

What is difference between .bb ( recipe ) and .bbclass ( class ) in yocto

I just started understanding Yocto. I have not find much information about classes ( .bbclass ) files . I know .bb file is a recipe which contains the instruction to build a package. When do we have to write a recipe and when a class or what is the…
md.jamal
  • 4,067
  • 8
  • 45
  • 108
10
votes
2 answers

Read a specific memory address via /dev/mem from the command line

For context, programming a driver to interact with an FPGA IP core on an embedded Linux (Yocto: krogoth) on a Xilinx board. For debugging purposes I would like to read out specific memory addresses from physical memory. /dev/mem looks promising. I…
Moritz
  • 2,987
  • 3
  • 21
  • 34
10
votes
1 answer

Simple installation of native script for use in other recipe

I need to install a native script, call it foo, in one recipe (foo-native) and then use it in the do_compile step of another (target) recipe - call it bar. My (minimal) native recipe SRC_URI = "file://foo" LICENSE = "CLOSED" inherit…
kdopen
  • 8,032
  • 7
  • 44
  • 52
10
votes
1 answer

Recipe to deploy the .ipk for other developers

I have a recipe (lets say my_package_1.0.bb) that builds libraries and populates sysroot with libraries and headers I need for development. I also see that .ipk for my package is created under build/tmp/deploy/ipk/. My requirement is, I want to…
sob
  • 982
  • 11
  • 31
10
votes
3 answers

How to clone a git repo with its submodules recursively in Yocto

Is there any other way to clone all the dependent folders in a Bitbake recipe file (similar to using recursive tag)? I'm currently doing it as below: SRC_URI="git://[uri_a];...;name=a \ git://[uri_b];...;destsuffix=git/a/b;name=b \ …
Ram Prasad
  • 129
  • 1
  • 1
  • 8
10
votes
5 answers

How to disable serial console(non-kernel) in u-boot

I am building a Yocto image for Intel Edison. One of the image's components is u-boot with an Edison-specific patch. By default, Edison's UART port is used for u-boot console. I want to disable this feature, but only on the serial interface(u-boot…
Egor
  • 401
  • 1
  • 7
  • 14
10
votes
1 answer

How to specify which kernel to build with bitbake/yocto

I am working on generating a new BSP using yocto daisy. When I build my image I get these warnings: NOTE: Resolving any missing task queue dependencies NOTE: multiple providers are available for virtual/kernel (my-kernel, linux-dummy) NOTE:…
AllenKll
  • 1,006
  • 2
  • 12
  • 23
9
votes
1 answer

How do I fix a bitbake failed to fetch git error?

While bitbaking a Yocto rocko build I got this error: WARNING: go-systemd-4+gitb4a58d95188dd092ae20072bac14cece0e67c388-r0 do_fetch: Failed to fetch URL git://github.com/coreos/go-systemd.git, attempting MIRRORS if available ERROR:…
Quintin Kerns
  • 131
  • 1
  • 2
  • 6