537 questions
-1
votes
1
answer
194
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
263
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 ...
0
votes
1
answer
141
views
How to use dt schema for device tree validation in yocto project
I want to use dt validation for my kernel build in yocto projects. I noticed 2 recipes python3-dtschema-wrapper.bb and python3-dtschema.bb but I'm unclear about how to properly use them to validate my ...
1
vote
2
answers
740
views
Yocto layer meta-browser depends on scarthgap-rust-mixin
In my yocto recipe I added the meta-browser layer from the branch scarthgap.
I get the error:
ERROR: Layer 'chromium-browser-layer' depends on layer 'scarthgap-rust-mixin', but this layer is not ...
1
vote
0
answers
79
views
Apply git patch to specific git source
I have u-boot-xlnx.bbappend recipe where I download the wolfssl repo and put it under lib
SRC_URI += " git://github.com/wolfssl/wolfssl.git;protocol=https;destsuffix=git/lib/wolfssl;name=wolf &...
0
votes
1
answer
489
views
Random build failures during yocto poky build
I am building latest poky and seeing random build failures like these :
| {standard input}: Assembler messages:
| {standard input}:31007: Warning: end of file not at end of a line; newline inserted
| {...
0
votes
1
answer
176
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
1
answer
50
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
133
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
307
views
Why do I get yocto build error "Feature 'cfg/efi.scc' not found, this will cause configuration failures"?
I'm trying to write a meta laterfor scarthgap and build only the kernel for a custom board.
I have added all the configurations but it seems efi causes some erros in build despite following the ...
1
vote
0
answers
231
views
How to build a PyO3 extension with Yocto / OpenEmbedded?
I have a Python/Rust project that uses PyO3 to build a Python extension, written in Rust.
I have it set up with maturin and it works fine locally - it will build a wheel (.whl) and within that is my ...
0
votes
0
answers
176
views
How to override a url in local.conf / site.conf for a yocto recipie
I am trying to override the url for gstreamer-omx module in yocto recipe.
gstreamer/gstreamer1.0-omx_1.16.3.bb:
SRC_URI = "https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz"
...
-1
votes
1
answer
284
views
How to get buidinfo directly in yocto building environment?
We can get build info if we add this line:
INHERIT += "image-buildinfo"
ref:
https://wiki.koansoftware.com/index.php/Add_build_information_into_a_Yocto_image
However, the information was ...
0
votes
1
answer
82
views
How to update libraries in yocto standard SDK
Right now I'm trying to create my custom SDK image. At the beginning I created my own image and added a bunch of packages to it using: TOOLCHAIN_TARGET_TASK += "<package name>-dev". ...
1
vote
1
answer
759
views
Change recipe variable (e.g. EXTRA_OECMAKE) inside a bitbake task
Currently, I'm facing an odd requirement, where we have to put 2 slightly different binaries into the rootfs, and the only difference is the fact that we have an extra CMake option set for one of them....