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
3,666
questions
0
votes
0
answers
7
views
bbappend ignored by image
I have created a bbappend file with the recipetool included in the toolchain. My resulting file project-spec/meta-user/recipes-containers/docker/docker-ce_git.bbappend is quite simple, I just want to ...
-1
votes
0
answers
23
views
Steps to build python packages for wheel file
Please help me to build the python packages since I am new to Python.
The following python packages cannot be found with Python 3.10 for aarch64. I would appreciate it if you could help me get the ...
0
votes
0
answers
32
views
Building Yocto on Ubuntu 23.04
I'm trying to follow this page:
https://www.codeproject.com/Articles/1079666/How-to-run-Yocto-Linux-OS-in-a-virtual-machine
I've downloaded the Ubuntu 23.04 iso and created a virtual machine in ...
0
votes
1
answer
61
views
Create directory and copy file in roofs in Yocto
I am trying to create a meta layer for my application. For testing purposes, I would like to have the Image pre-built with a sample video file. I have seen this answered, but it seems that all the ...
0
votes
0
answers
24
views
How to change library search patch for GCC built with Yocto?
With Yocto (3.1 Dunfell) I try to build SDK containing both target (arm-poky-linux-gnueabi-) and nativesdk (x86_64-sdk-linux-) GCC toolchains (GCC 9.1).
For the latter I modified libs default ...
0
votes
1
answer
28
views
Build btpclient with BlueZ Yocto Recipe
I'm trying to use the auto-pts project to perform automated Bluetooth Testing on an Embedded System. It requires that the device-under-test have btpclient included with its BlueZ installation, but I ...
0
votes
0
answers
15
views
Yocto SWUpdate include RPi boot partition in update
On my RPi image, I have currently 4 partitions: boot, rootfs 1, rootfs 2 and persistent. I'm currently updating root partitions with standard dual copy update. But it means I'm not able update boot ...
1
vote
1
answer
12
views
How to remove duplicates from an sstate cache?
I want to remove duplicates from an sstate cache in yocto because the folder is too big.
How can I do that?
0
votes
1
answer
25
views
Get value for datastore variable in Yocto
I am trying to get a datastore variable.
I know I can do
bitbake -e <image-name> | grep ^VARIABLE= to get all the assignments.
This datastore variable, however, contains other variables or ...
0
votes
0
answers
24
views
Support for epics-base in yocto
I am working on the Kirkstone branch to provide support for epics (Experimental Physics and
Industrial Control System)
I can see some information related to the EPICS license in spdx-licenses.json ...
0
votes
0
answers
25
views
Yocto, bitbake, how to avoid rebuilding a component
Component-A depends on Component-B,
I do some change to Component-B and I am sure the change does not impact Component-A,
since rebuilding Component-A requires some time,
I wonder, is it possible to ...
-1
votes
1
answer
29
views
How to combine conan_toolchain.cmake and yocto OEToolchainConfig.cmake?
I have a c++ project that I am cross compiling using a yocto sdk.
I'm starting to use conan 2.0 as a package manager to fetch third party libraries for my c++ project.
I created a conanfile.txt at the ...
0
votes
2
answers
82
views
In yocto, is Variables such as RDEPENDS:${PN} and FILES:${PN} related to OVERRIDES?
I want to know exactly about the role of : between variables and PN.
I understand that it is related to OVERRIDES variables and if the value after : was in OVERRIDES, the variables will be selected.
...
-1
votes
0
answers
31
views
Fetch electron source with Yocto
I would like build electron for Linux from Yocto.
For that I need to to get electron source and it's dependencies from the following link : https://github.com/electron/electron.
I can fetch the data ...
0
votes
1
answer
64
views
`i2cdetect` command not found after enabling it in Busybox and then using `bitbake custom-image`
I'm following every step on Shawn Hymel's (Digi-Key) tutorial on embedded Linux.
Device: STM32MP157D-DK1
Setup: Host PC is Linux Mint 21.1 Vera.
Goal: Run command i2cdetect on the device (using Yocto, ...
-1
votes
1
answer
52
views
How to link with a shared library installed in a custom directory by another yocto bitbake recipe
I have two bitbake recipes a.bb and b.bb
The recipe a.bb installs a shared library libABC.so in a custom path /opt/app/lib.
The recipe b.bb generates a binary that needs to link with the libABC.so. I ...
0
votes
0
answers
38
views
Ssh.Net.Execute() command is not returning
I am trying to reboot twice a yocto remote device from a C# application with Ssh.Net. The first time everything works well and I can see the remote device rebooting. In between there are various steps ...
0
votes
0
answers
21
views
Yocto morty build to emmc
I have created a Yocto build for my Kontron mal10. It works correctly, and I can flash my USB stick with the HDDIMG image using Win32DiskManager. The board then boots in live mode.
However, when I try ...
0
votes
1
answer
29
views
What determines package names in bitbake
I noticed that for my build 4 packages are placed into deploy/rpm, a normal, debug, dev, and src. But what determines the actual name for those 4 packages. I noticed the name changed when I used cmake ...
-1
votes
0
answers
75
views
Adding AVTP support for GStreamer in Yocto
I am trying to enable avtp plugin for GStreamer on my Yocto system. I already have GStreamer running normally, it just misses the avtp plugin.
I added the following patch, and while my Yocto build ...
0
votes
0
answers
76
views
cannot succesfully build after busybox change (added i2cdetect & i2ctransfer)
Setup:
VirtualBox 7.0
Image Ubuntu 22.04.1
Goal:
rebuild Linux image for STM32MP157 in yocto project according Digi-Key Tutorial after adding i2cdetect in busybox
Issue:
I guess main reason
Exception: ...
0
votes
1
answer
70
views
trying to extend Recipe using BBCLASSEXTEND = "nginx" but failed
How to install nginx on yocto project
So After correctly install nginx on yocto
Now I am trying to write my own recipe to replace the default_server which I modified
while using BBCLASSEXTEND = "...
1
vote
0
answers
78
views
Yocto recipe for embedding librosa
I'm trying to add librosa in my Yocto image, but I can't make it build properly.
First I add librosa in my image and, when I build it, it obviously fails. Then I try to add the corresponding recipe in ...
2
votes
0
answers
38
views
why does my bitbake task only show a dependency when the task is run but not when the project as a whole is run
I have a .bbappend file rpi-bootfiles.bbappend that runs a task named do_after_deploy which only seems to run if I manually run the task rpi-bootfiles:do_deploy within the original recipe rpi-...
0
votes
1
answer
63
views
Unable to export ${SOURCE_DATE_EPOCH} Yocto Project
Setup:
VirtualBox 7.0
Image Ubuntu 22.04.1
Goal:
build Linux image for STM32MP157 in yocto project according Digi-Key Tutorial
Issue:
Fault during menuconfig creation.
root@Ubuntu:/home/vboxuser/...
0
votes
0
answers
46
views
Build electron with Yocto
I would like to build electron with Yocto for an arm64 machine.
I use https://github.com/vulcanoio/meta-electron
But when I run bitbake electron I have the followings errors :
cannot map aarch64 to ...
0
votes
0
answers
35
views
Yocto SDK-built Application on Embedded Linux - Shared Libraries Not Found
I am developing an application for an embedded Linux device using the Yocto SDK. My project depends on several shared libraries, and I've added them using the target_link_libraries in my CMake ...
0
votes
1
answer
93
views
How to install nginx on yocto project
My Yocto project version
"3.1.15"
I do find nginx under the follow directory
meta-openembedded/meta-webserver/recipes-httpd/nginx
├── files
│ ├── 0001-Allow-the-overriding-of-the-...
0
votes
1
answer
18
views
yocto how to add a error handler for a specified task?
I want to add a error handler for do_image_* tasks of core-image-minimal(e.g., when do_image_* failed, execute my handler).
I tried bb.build.TaskFailed, but it seems to be for all tasks. What should I ...
0
votes
0
answers
45
views
Yocto build error during merge of own custom linux kernel v4.19
I am inserting my linux kernel in yocto build for Renesas RZN1D. But at 98% build process is getting failed and asking for missing configuration for rzn1. How to resolve this error?
Log data as ...
0
votes
0
answers
24
views
Can't add headers and libs to Yocto SDK
I am new to Yocto and I am trying to use wsserver recipe to yocto and I am expecting these library headers and lib files will be part of yocto SDK, But I don't see header added in SDK.
I added this ...
1
vote
0
answers
65
views
Need help resolving linker error for a Yocto recipe
so i have a source package that uses std atomic, and currently i am seeing linker erroers while building, the error i am seeing is
| /opt/workspace/foo/build-sim-debug/tmp/work/core2-64-poky-linux/bar/...
0
votes
0
answers
64
views
Rust building and testing fails while bootstrapping in poky
I am a newby to rust world and was building rust via bootstrapping method in poky.
Getting error while building & testing rust 1.72 via the src/bootstrap/bootstrap.py file
cmd-
bitbake rust
and ...
0
votes
0
answers
45
views
Yocto: Image creation date is older than the original creation date
Currently I am working with stm32mp1 board and developing Yocto image for the Kirkstone version. I have the following build configuration for the baord.
Build Configuration:
BB_VERSION ...
1
vote
0
answers
26
views
Yocto: undefined reference to ´of_find_mipi_dsi_device´
Currently I am working with stm32mp1 board and developing Yocto image for the Kirkstone version. I have the following build configuration for the baord.
Build Configuration:
BB_VERSION ...
0
votes
1
answer
61
views
SNMP Subagent - dropping bad AgentX request (wrong mode 2)
Context: I am building a snmp subagent with the c++ net-snmp library. I am working on adding data validation for set requests. Doing so, I am required to wait for the value in the set request to be ...
0
votes
2
answers
48
views
How to re-use configuration/includes from another layer?
Suppose I am using a third-party Yocto layer, and I have also created my own layer.
The third party layer has lots of config files (for instance, machine configurations) which all include one common ...
2
votes
0
answers
55
views
Cannot Remove GPL-3.0 with Yocto
I am using Yocto Kirkstone to build an image for a custom Embedded Linux device. I want to prevent building with any (L)GPL-3.0 code. I have added meta-gplv2 to my bblayers.conf file.
I have added ...
0
votes
0
answers
12
views
Can I use a nicer VSCode terminal window for Yocto devshell?
In Yocto Dunfell, installed as described in Yocto Project Quick Build, $ bitbake <recipe> -c devshell opens xterm, which doesn't support copy-paste and other useful things.
Since I'm using ...
0
votes
0
answers
24
views
Kernel source in Yocto SDK missing macros definition
I am working on porting kernel module from kernel 2.x to 5.15. I have installed the yocto sdk on my building host, which contains the 5.15 kernel source tree. After changing the kernel source path of ...
0
votes
1
answer
80
views
Do configure step of yocto build failing with python3-pyqt5 and meta-qt5
The mickledore build has the following layers:
BBLAYERS ?= " \
/home/link/yocto/poky/meta \
/home/link/yocto/poky/meta-poky \
/home/link/yocto/poky/meta-yocto-bsp \
/home/link/yocto/poky/...
0
votes
0
answers
25
views
Can dm-verity will support authentication of Ubifs root file system in Linux
I want to authenticate my root file system which is in Ubifs file type mounted on NAND flash device.
Will dm-verity will support ubifs file system ?
In dm-verity-img.bb class file i have seen only ...
1
vote
0
answers
24
views
Running/Building Yocto intel-core2-32 on 64-bit machine
I have been trying to run meta-intel Intel BSP intel-core2-32 on my 64-bit x86 hardware with 64-bit UEFI. I know that 64-bit UEFI will look only for bootx64.efi which gets produced and successfully ...
0
votes
1
answer
64
views
Need clarification regarding when to use bb/inc file in Yocto
New to Yocto here and still getting familiar with it so might be a naive question so i have a clarification on when to create inc or bb file for a package. So let say i have a package A and my project ...
0
votes
1
answer
72
views
openbmc + ast2500 web display sensors failed (hwmon seems ok)
I am a newbie no matter from openBmc or ast2500.
After a huge amount of try and errors and browse lots of discussions and docs, right now my ast2500 seems could booting successfully with webui-vue ...
-1
votes
1
answer
22
views
in yocto selinux the selinux-image.bbclass fails
i am building a readonly rootfs from yocto and i need to add the selinux. i added
inherit selinux-image
#install SELinux packages
IMAGE_INSTALL_append = "
packagegroup-core-selinux
"
...
0
votes
0
answers
21
views
Running a Yocto system built with kas on qemu
I have a Yocto-based Linux system that is built using kas, or more accurately kas-container. The system is meant to run on an embedded device and it works there.
The purpose of this system is to run ...
1
vote
0
answers
21
views
Difference between kas and kas-container
What is the difference between kas and kas-container?
The documentation says something about the other one doing something locally, but what exactly is done locally and what is the opposite of doing ...
0
votes
1
answer
87
views
Install Opencv in Yocto
I am new to Yocto project. I am using SAM9X60-EK as my target, and I want to add opencv to my image.
I noticed that there is opencv included with meta-oe but when I add IMAGE_INSTALL:append = " ...
-2
votes
1
answer
39
views
how can I install docker in yocto (runqemu)?
I installed yocto and connected to VM.
*I used command 'runqemu qemuarm64 core-image-full-cmdline nographic'
how can I install docker in yocto?