3,914 questions
0
votes
0
answers
12
views
How to Integrate FreeRTOS on the i.MX6UL-Var-DART Board(yocto project)
I am working on i.MX6UL-Var-DART board with a Yocto build (Kirkstone). My goal is to reduce unnecessary tasks in the Yocto build and focus on enabling video features. Here i plan to use FreeRTOS. Is ...
0
votes
0
answers
42
views
How to build docker container based on Yocto image?
I want to build docker container based on yocto to create Linux environment for Application to run on Host machine instead of actual Linux Board.
I know how to build docker container based any base ...
0
votes
0
answers
16
views
Unable to Build Required Kernel Modules for Container Management on Jetson Nano with Yocto
Issue: Kernel Modules Missing for Container-Management Feature in Custom Jetson Nano Yocto Image
Problem:
I am building a custom Linux image for the Jetson Nano using Yocto with the linux-tegra kernel....
0
votes
1
answer
12
views
How to solve "Multiple init scripts found (meta-openembedded vs. poky). Resolve ambiguity by removing one of the repos" without removing one repo
There is another very similar question here but it has no answer so ill try anyway
Im using Kas 4.5 to setup a yocto build
I need meta-xilinx which requires openembedded meta layers
https://layers....
0
votes
0
answers
12
views
Use second partition in yocto scarthgap (worked on honnister)
I am in the process of updating our embedded deployment from Honnister to Scarthgap.
In our custom layer, we have the definition of several partition using a wks file defined as such:
part /boot --...
1
vote
0
answers
20
views
Yocto adding patch in custom layer
Created a new custom layer named meta-mylayer
Assigned Priority 6
Added patches to folder meta-mylayer/recipes-kernel/linux/linux-ti-staging/XXX-evm
Added patches entry in meta-mylayer/recipes-kernel/...
0
votes
1
answer
22
views
Yocto: How to add custom header files to sdk sysroot
I created a custom header file named soc-v4l2-controls.h inside the kernel source, and it is located in the include/uapi/linux folder.
What I want to achieve is to include this header file in the SDK ...
1
vote
0
answers
9
views
Why can't I run qemu without X error : BadValue
Fairly new to yocto, I built successfully bitbake core-image-minimal, then runing runqemu nographic works as expected but I cannot make it work with just runqemu:
runqemu - INFO - Continuing with the ...
0
votes
0
answers
40
views
Which reasons could make Yocto nginx post installation script not run on target?
I'm building a Kirkstone Yocto distro, running with systemd and using the nginx recipe from meta-openembedded/meta-webserver/recipes-httpd (this version).
I thought that the nginx package post-...
0
votes
0
answers
13
views
Custom rsyslog Rule Not Logging to Specific File in Yocto Project on Ubuntu
I am working on a Yocto Project running on Ubuntu and have configured rsyslog to route log messages from a specific program to a custom log file. However, the messages don't seem to be logged as per ...
0
votes
0
answers
27
views
tell if a directory exists in one of the prefixes
I'm trying to find a way to detect if a directory exists in one of the CMAKE prefix.
I am integrating a recipe in yocto, and a program tries to check is a directory exists to activate or not a feature....
-1
votes
1
answer
31
views
ERROR: hellosystemd-1.00-r0 do_package: Didn't find service unit 'hello.service', specified in SYSTEMD_SERVICE:hellosystemd
I need to install a systemd service into my own image, but it is failing with following errors:
*ERROR: hellosystemd-1.00-r0 do_package: Didn't find service unit 'hello.service', specified in ...
0
votes
0
answers
15
views
OPKG Fails GPG Signature Verification Despite Manual GPG Validation: Bad signature
I am setting up an OPKG feed on an embedded system and am encountering issues with GPG signature verification. Here's the setup and the problem:
Setup Details:
Generated a GPG key using:
gpg --quick-...
0
votes
1
answer
40
views
How to suppress 'refers to relative ssh reference' warning?
I've got an application recipe that fetches the source code from a Git repository. The application's repository includes submodule(s). To fetch the source code with submodule(s), I use the below ...
0
votes
1
answer
40
views
When to update Yocto sstate-cache on CI server
Our Yocto CI script restores the sstate-cache on every build and updates it when bitbake succeeds via rsync. Our intention is to speed-up the CI builds by not rebuilding packages we already have.
The ...
-1
votes
1
answer
20
views
Apache2 in Yocto build
I followed the instructions given in this post.
I can see that image is building fine. However httpd binary is not present on the target.
When I try to find any files related to httpd, they are not ...
0
votes
1
answer
55
views
RAUC not working due to problems with fw_printenv & fw_setenv when setting up Custom Yocto Image
I'm setting up a custom Yocto distro that will go into a custom board (right now still using dev board).
I have custom partitions A & B for boot & root and I'm implementing RAUC, I've reached ...
0
votes
1
answer
28
views
Copy executable to deploy images
Fairly new to yocto, I am using meta-swupdate to generate a cpio update file. This layer will scan for artifacts within tmp/deploy/images to build the cpio.
I want my compiled executable to be ...
-1
votes
1
answer
30
views
Not getting past TPL (Device tree issues?)
I am trying to upgrade a yocto build to scarthgap.
On kirkstone everything worked fine and we got a bootable image.
While doing so, I struggle with u-boot. Already had to use 2023.07.02, because the ...
0
votes
0
answers
18
views
Download two repos in one yocto recipe, one of the repos should be subdir [duplicate]
I have a recipe test.bb that downloads a given repo. Inside that repo, there a multiple folders and one of them is called lets say "lib". What I want is to add another SRC_URI in the same ...
0
votes
0
answers
39
views
How to add UART support for DTS and compile it for STM32MP157F-DK2
I created a custom linux image for this target using the distribution package + x-linux-qt and the image "st-image-qt". This image is working correctly on my target.
Now, I want to add UART5 ...
0
votes
0
answers
66
views
How to use update-alternatives Yocto class correctly?
I would appreciate any help with update-alternatives Yocto class: simply I cannot understand how it can be used and what are the correct options there.
The problem is simple: I need to install nginx-...
0
votes
1
answer
34
views
Complex programs built with Bitkake have different checksums based on path, simple programs yield always the same checksums
Executive summary: Some binaries build for our yocto images have different md5sums based on build path. Path does not affect checksums of a minimal project built.
I am using TI-supplied Yocto platform ...
0
votes
1
answer
33
views
When building qemu through yocto error: ../target/hexagon/meson.build:29:16: ERROR: No build machine compiler for 'target/hexagon/gen_semantics.c'
I'm trying to enable support for am62xx-evm machine through yocto. here is my recipe:
SUMMARY = "QEMU for aarch64 architecture"
DESCRIPTION = "QEMU for emulating the aarch64 ...
1
vote
1
answer
56
views
How to find the custom recipe created in yocto inside my embedded linux image
I created a st-image-qt image using the STM32MP Distribution package and X-LINUX-QT add-on for the STM32MP157F-DK2 board.
I could flash this image using the dd command in Linux and my target board is ...
0
votes
0
answers
10
views
Yocto project :Installing dlib with python bindings
I used layer 'meta-iris-thirdparty' to build image with dlib package .But it is getting installed as shared library(libdlib). Is there a method that can help with installing dlib with python bindings ...
-1
votes
1
answer
42
views
bitbake b2qt-embedded-qt6-image fails for STM32mp15-disco
I'm building the target image in yocto with the boot2qt manifest 6.7.xml.
Before creating the full image, I bitbake my custom recipe, and after solving some errors it built correctly, here's a post ...
0
votes
2
answers
34
views
Remove wget argument from Yocto do_fetch
I'm using Yocto Mickledore, and my build fails on the do_fetch of multiple python libraries.
The log files show that the use of --passive-ftp as a wget argument is to blame.
DEBUG: Fetcher accessed ...
0
votes
1
answer
51
views
How to build Yocto recipe for Qt Quick app using cmake and Qt 6.7.3
I created a Qt quick app in Qt Creator with CMake using Qt 6.7.3.
Now, I would like to create an embedded Linux image with this app for the stm32mp157f-dk2.
I'm using a VM with Ubuntu 22.04 and set up ...
0
votes
1
answer
98
views
Cargo failed to load source dependency, virtual manifest
I'm new to Rust/Cargo and been struggling to address an issue when compiling a new Yocto recipe for gst-plugins-rs, the Cargo.toml file can be found in this directory structure.
../gstreamer1.0-...
2
votes
0
answers
80
views
Understanding the gcc related recipes in Yocto project
I am trying to understand how exactly the concpet of toolchain for embedded Linux systems is used/being practiced in the Yocto project but find myself
confused.
To start with, what I DO understand ...
0
votes
0
answers
38
views
Properly remove files that are installed but not shipped in any package
Issue
Yocto recipes install files in the do_install task and later packages them in do_package. This is often automated using using inherit [c]make, so bitbake will look for a Makefile or CMakeLists....
0
votes
0
answers
77
views
Android 11 - IMX8M - Default Audio Stream Routing to Lineout - SGTL5000
Platform: IMX8M Custom Board
OS: Android 11
Kernel: 5.10.9-678025-gbccc0b2805b7-dirty
Codec: SGTL5000
Problem: Default Sound Audio Output with Line-Out
Is this card necessary for lineout audio routing ...
1
vote
0
answers
50
views
How to create a single SDK in Yocto for multiple projects with different dependencies?
I'm currently working in a Yocto environment with multiple projects, each based on different layers. However, I always work on the same meta layer across these projects, with different recipes used in ...
0
votes
0
answers
14
views
How to patch nested dependencies in Yocto (swupdate)
Our team recently encountered an error where the libwebsockets commit referenced by meta-oe changed branching schemes from master to main which resulted in the following error:
ERROR: libwebsockets-3....
0
votes
0
answers
30
views
Automatically added runtime dependency not working in Yocto?
I Have a question about Yocto build system.
I just did the following out of curiosity:
I have two recipe.
myapp.bb: builds a simple application myapp which use share library libA.so.1.1
libprovider....
0
votes
1
answer
64
views
How to configure Qt Creator for cross-compiling
I am trying to run Qt6 demo examples on my RPi 3B running Yocto. The problem appears when I try to configure the cross-compilers in Qt Creator "Remote Linux Device".
The build machine is x86-...
0
votes
1
answer
63
views
Yocto Qt6: Qt6QuickTools dependency missing
I'm working on getting Qt6 to work on an embedded system. But I am getting the following error:
Qt6Quick could not be found because dependency Qt6QuickTools could not be found.
Could NOT find ...
0
votes
0
answers
23
views
Yocto recipe that changes based on image paramaters
I'm trying to add a feature to a development image that lets me boot from an sdcard, and I don't want this feature installed on the production image.
I was trying to do this as an IMAGE_FEATURE but ...
0
votes
0
answers
29
views
Issue loading files from dependency cache for yocto build
I am attempting to build a yocto build for the imx8 for the first time.
I have set up a docker file from the following github (I believe the official imx8 branch), and am building from this branch:
...
0
votes
0
answers
61
views
Yocto/PetaLinux use make xconfig instead of make menuconfig for configuration
I am using PetaLinux (2024.1) to build linux images. Component configuration (e.g. uboot) is done with
petalinux-config -c uboot
which opens a tui interface to interact with the .config and the ...
0
votes
0
answers
12
views
Error while building rust image for RCAR (h3ulcb) board
ERROR: cargo-1.72.0-r0 do_compile: Execution of '/home/dibakar/ruu/build/tmp/work/aarch64-poky-linux/cargo/1.72.0-r0/temp/run.do_compile.481275' failed with exit code 101:
error[E0463]: can't find ...
0
votes
0
answers
131
views
hwclock - No usable clock interface found
I'm running Linux 6.1 built with yocto 4.2 mickeldore. I'm trying to get my hwclock to match my system clock via the command sudo hwclock -w --verbose
It fails to do so and spits out the following ...
0
votes
1
answer
54
views
Custom Yocto Recipes not in .bin
I have created 2 .bb files in separate folders in my custom meta folder, and they can be compiled in bitbake. However, when I take the image and use it, the folders are somehow not there and I've ...
0
votes
1
answer
67
views
yocto - Why is if statement always false?
I set a debug flag in my local.conf
IS_DEBUG_BUILD = "1"
but a if condition in a Yocto recipe outputs False all the time when I run bitbake -C compile my-recipe
do_install:append() {
...
0
votes
1
answer
42
views
How to change deploy & install location of kernel in yocto?
When I build yocto, I get the kernel Image and device tree in build/tmp/deploy/images/<machine>/. The device tree and overlays are also at the same location.
I want to change the location of the ...
0
votes
0
answers
29
views
Cannot build libgbm on i.MX6 SoloX board with meta-freescale
I want to run an app on Electron.js 11.5.0 on my UDOO Neo board (i.MX6 SoloX). I'm using Yocto Project with meta-freescale on thud branch to build my image.
Electron.js recipe complains about libgbm....
0
votes
0
answers
66
views
Emulate battery device in yocto QEMU x86-64
I am trying to emulate battery device in the QEMU x86-64. I am building QEMU images using Yocto reference distribution poky, I am building core-image-sato image for the qemux86-64 machine. My goal is ...
1
vote
0
answers
95
views
How to add Wifi functionality to core-image-x11 Yocto Image [closed]
I am building a Yocto image using the core-image-x11 recipe for a variscite dart-mx8m-mini board. The issue I am encountering is that when I boot into the image I dont have wifi capabilities.
ifconfig ...
0
votes
2
answers
158
views
Yocto glibc error in do_fetch for glibc library in cross compilation for qt based yocto image
While compiling Yocto for Renesas Board facing an issue in fetching the glibc library
Please find the log:
glibc-2.28-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export ...