3,895 questions
1
vote
0
answers
64
views
Devtool with/without running bitbake first
I don't understand how to use devtool properly for my Yocto project. I started using it in order to patch the kernel as suggested by the Yocto Project. I just don't understand why it behaves ...
Tooling
0
votes
6
replies
63
views
Why or when does yocto copy src files in a recipe to WORKDIR instead of S
From the variable glossary manual of yocto kirkstone (https://docs.yoctoproject.org/4.0.30/ref-manual/variables.html):
S
The location in the Build Directory where unpacked recipe source code resides. ...
1
vote
1
answer
57
views
Yocto SDK portable with relative links
We have a Yocto project (mickledore) to create a custom Linux for an ARM A7 system. To be able to write code for this target, we also created the SDK. Inside local.conf we have:
SDKMACHINE = "...
0
votes
2
answers
70
views
Add OpenSSL Dev Libraries to Yocto SDK target sysroot
I have a RISC-V dev board for which I am building Yocto Linux.
Some of the applications require OpenSSL and the development headers and libs to build the applications.
I have been able to add openssl ...
0
votes
1
answer
114
views
How to get git commit of a package?
I am using the scarthgap version of yocto to build an image. I managed to build the image, but now I need to get information which git commit is of a gstreamer library. How to do it?
2
votes
0
answers
79
views
Yocto: Including Python Getpass Library
I'm working with a python library (clickhouse_connect) that depends on getpass, a standard python library. I'm deploying that library to an embedded linux device, a Toradex iMX8QXP board. When I go to ...
1
vote
1
answer
83
views
Forced to deal with underscores in name
I'm trying to create a Bitbake recipe which imports the Clickhouse python library. I'm following the example set in this post. I have a unique problem in that the name of the recipe is very sensitive ...
0
votes
2
answers
60
views
How got get the list of inherited classes in a BitBake recipe?
I'm trying to get the list of inherited classes and, eventually, I will use it to determine whether to deploy some files or not.
The below one only returns the ones that were inherited via INHERIT ...
1
vote
0
answers
34
views
Custom Bitbake recipe installs to /opt but files missing from final initramfs image
I have a Yocto build that generates both vmlinuz and a cpio.gz initramfs for my target hardware.
Part of the requirement is to include a set of executables under /opt/output/myexecutables in the ...
0
votes
0
answers
67
views
bitbake not populating sysroot correctly with qt libs
I am using a b2qt manifest v6.9.0.xml to build an image bsp.
I have added a layer with our own customisations, recipes, bbappends etc. and build a successful image with MACHINE=raspberrypi-armv8 for ...
1
vote
1
answer
97
views
Free up space after adding `INHERIT += "rmwork"` to local.conf file
Is it possible to run rm_work tasks on already built recipes? After using up all the disc space I realized too late that INHERIT += "rm_work" is missing in my local.conf file and I do not ...
0
votes
0
answers
40
views
yocto compilation for weston is creating error in nss-3.103
I am building yocto styhead for a custom board. However, it chokes on nss-3.10. I am not sure why only I am getting this issue. Iam building on Docker container running ubuntu 24.04. How do I debug ...
0
votes
1
answer
60
views
yocto on target linux kernel module compiling - Assembler problems
I have a yocto image for an ARM target. I am building kernel modules on the ARM target and have found an odd problem. Can anyone suggest a solution?
On the target I have run "make scripts ...
0
votes
0
answers
241
views
Upgrade python to 3.12 in Yocto causes python3-distutils dependency errors
In my Yocto mickledore image, I need python 3.12. Yocto mickledore has only python 3.11 included, so I have copied meta/recipes-devtools/python/* from openembedded layer scarthgap branch to my own ...
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 ...
0
votes
1
answer
58
views
How would you generate a copy of a Yocto project's man pages for offline references?
Often in embedded systems, storage is a bit limited. Hence, you rather not bundle in all the man pages onboard. Later on, I still want to access the manual pages for the specific package versions ...
0
votes
0
answers
118
views
Repopulate artifacts when deploy folder deleted
I run a build bitbake core-image-minimal which produced poky distro image under build/deploy-ti/images/beagley-ai. I deleted the folder thinking that tmp folder has-it-all and will re-create and re-...
0
votes
1
answer
64
views
Yocto SDK mbedtls as static lib
Using Yocto (Scarthgap version) to build a SDK, I am trying to use mbedtls recipe from meta-openembedded (bb file) to have static lib and headers to the standrad SDK (with TOOLCHAIN_TARGET_TASK += &...
0
votes
1
answer
81
views
Yocto kernel patch "previously applied" error
I have a DTS patch file that adds an EEPROM to the devicetree.
I have a .bbappend recipe with these simple lines
PATCHTOOL = "git"
SRC_URI += " \
file://0001-imx6dl-custom.dts.patch \
...
2
votes
2
answers
182
views
UART times out writing data
I have built a custom yocto image for my BBB and I'm having trouble with the UART. I have two uarts mapped ttyS1 and ttyS4. But for some reason I'm having trouble with ttyS1 timing out writing data, ...
0
votes
1
answer
196
views
How to add a recipes-graphics for DRM?
I have a yocto project, the kernel version is 6.1.55. With generated kernel source, it fails to compile my driver code, and generates errors:
error: ‘drm_ioctl’ undeclared here (not in a function);
...
0
votes
0
answers
112
views
FBIOPUT_VSCREENINFO failed, double buffering disabled on STM32MP157F-EV1
I’m working on an STM32MP157F-EV1 board and encountering this error:
warning: FBIOPUT_VSCREENINFO failed, double buffering disabled
I’ve tried enabling framebuffer-related options, including enabling ...
-1
votes
1
answer
156
views
How to enable libgfortran in yocto scarthgap (stm32mpu157f-dk2)
I want to enable libgfortran on OpenSTLinux. Based on the informotion that i found on the internet I added the following lines to the local.conf
IMAGE_FEATURES += "tools-sdk"
FORTRAN = "...
0
votes
1
answer
196
views
How to build a yocto image having multiple python versions?
I am new to building images using Yocto. I am working with an STM32MPU157F, which comes with OpenSTLinux by default. The default image includes Python 3.12.4, but I also need to have Python 3.11.5 ...
1
vote
0
answers
99
views
How can I install node_modules for an architecture other than my dev machine?
I'm working on a yocto project and I'm doing the development on an x86 linux machine. However, the build target is arm64 linux, and I need the native modules (specifically sharp) to be compiled for ...