316 questions
30
votes
4
answers
72k
views
Yocto - Files/directories were installed but not shipped in any package
I'm using Yocto to install clBLAS library, using the clblas_git.bb recipe. But I'm getting the below warning everytime and the .so file is not present in the built image.
WARNING: QA Issue: clblas: ...
7
votes
4
answers
5k
views
Yocto recipe python whl package
I am writing a custom yocto recipe that should install a python package from a .whl file.
I tried it using a recipe that contains:
inherit pypi setuptools
PYPI_SRC_URI="http://ci.tensorflow.org/...
22
votes
2
answers
50k
views
Enable systemd services using yocto
Hi this is my layer tree
├── conf
│ └── layer.conf
├── COPYING.MIT
├── README
└── recipes-hello
├── helloworld
│ ├── helloworld-0.1
│ │ ├── helloworld.c
│ │ ├── helloworld....
14
votes
5
answers
38k
views
How do I add more python modules to my yocto/openembedded project?
I wish to add more python modules to my yocto/openembedded project but I am unsure how to? I wish to add flask and its dependencies.
5
votes
3
answers
10k
views
Yocto: Install different config files based on MACHINE type or target image
I've got a couple of HW platforms (same cpu, etc.) that require different asound.conf files.
The way that I'm controlling the target platform is via the MACHINE variable and target image (i.e., ...
2
votes
1
answer
5k
views
Yocto add custom UBoot Environment Variables
I am trying to add two new u-boot environment variables through my Yocto build process.
My file u-boot-imx_2021.04.bbappend contains
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += ...
22
votes
2
answers
69k
views
An example of using FILES_${PN}
I have a trouble of understanding the FILES_${PN} even after I have read the manual. For example, I was working on this example of making startup script. After I wrote something similar to, I got ...
9
votes
6
answers
14k
views
How do I get Qt SDK configured properly with Yocto project?
I'm new to Yocto Project. The initial idea is to create a custom image based on core-image-full-cmdline (this is with no windowing system) and generate a Qt5 SDK against this image.
So my target to ...
7
votes
5
answers
28k
views
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"
...
7
votes
2
answers
13k
views
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
...
39
votes
3
answers
28k
views
How to find which Yocto Project recipe populates a particular file on an image root filesystem
I work with the Yocto Project quite a bit and a common challenge is determining why (or from what recipe) a file has been included on the rootfs. This is something that can hopefully be derived from ...
19
votes
6
answers
74k
views
How to export DBUS_SESSION_BUS_ADDRESS
I'm trying to run D-Bus on an embedded system (Yocto Linux) and connect to it from my application code.
I get the following error when I call dbus_bus_get(DBUS_BUS_SESSION, &err);
Using X11 for ...
14
votes
6
answers
41k
views
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 ...
8
votes
1
answer
24k
views
Yocto: Adding kernel module recipe to image, but it doesn't load on boot
For testing purposes, I am using the example recipe provided by yocto to demonstrate how to build kernel modules.
SUMMARY = "Example of how to build an external Linux kernel module"
LICENSE = "GPLv2"
...
7
votes
3
answers
18k
views
Update custom device tree on yocto
I am using the sama5d27-wlsom1-ek board for my demo and I am trying to make changes to the device tree.
So far I have compiled core-image-minimal and find my dtb files are generated in
/tmp/work/...
6
votes
1
answer
9k
views
Licenses for packagegroups and images on Yocto
I am creating an image containing standard recipes and my owns. I wanted to list the licenses I use in all of the included packages and later check if I can use them for commercial application for ...
6
votes
1
answer
10k
views
Yocto build for preempt_rt
I'm building a custom kernel for the beaglebone black. Following this guide (http://android.serverbox.ch/?p=1273) I'm able to boot to console successfully using a base image.
When I try to build ...
5
votes
2
answers
4k
views
Linux capabilities with yocto
I want to give several files Linux capabilities (e.g. CAP_NET_ADMIN).
I am using Yocto and my file system should be read-only and must not be changed after flashing the software (this means ...
3
votes
4
answers
5k
views
Add python project based on pyproject.toml to yocto image
I'm putting together a recipe that's supposed to add amqtt to my image (https://github.com/Yakifo/amqtt). The project only comes with a pyproject.toml but lacks a setup.py. Thus, bitbake is ...
2
votes
1
answer
1k
views
Using armhf as a secondary toolchain in Yocto
I am currently working on a board booting in 64 bit mode using aarch64 and I have a u-boot in 32 bit mode, I would use arm-linux-gnueabihf.
I looked around but there's no other way than using a ...
2
votes
2
answers
33k
views
How to compile a basic c file in yocto
I am working on yocto, I want to compile some C files in yocto and install the resulting binary to external filesystem.
Before doing that I tried creating a separate reciepe and compile c code ...
2
votes
1
answer
4k
views
meta-oe of meta-openembedded vs meta of Poky
What is the difference between meta-oe of meta-openembedded layer and meta of poky layer
https://github.com/openembedded/meta-openembedded
https://git.yoctoproject.org/git/poky
I am looking into ...
2
votes
2
answers
8k
views
stdint.h "no such file or directory" error on yocto sdk
I'm building an System with Yocto/poky (morty branch). Building the image and the sdk works fine.
I've installed the SDK on an machine (other than the build machine) to cross compile a tool.
I've ...
1
vote
1
answer
876
views
invalid choice: 'kernel_add_dts' in yocto build
Whats wrong with the argument,
is there is no kernel_add_dts subcommand.
I get this below error whenever i try to run
$ recipetool kernel_add_dts meta-local /path/to/my.dts
recipetool: error: argument ...
1
vote
1
answer
183
views
Understanding the difference between ??=, ?= and = for bitbake variables
When looking up something in the Yocto project reference manual, I sometimes encounter ??= or ?= operators. Normally, a simple = is used in recipes instead.
What's the difference between ??= and a ...