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,200
questions
0
votes
0
answers
9
views
Yocto recipe for secure APT repository
I have a private APT repository configured with a GPG key and a self-signed certificate. I want to access the repository from a device with a yocto generated OS. I am trying to create a recipe for ...
0
votes
0
answers
25
views
Files not created inside any directory, It's creating only in /root
I'm working on dockerfile and i'm new to this. In dockerfile top we taken client base image and we are executing the commands. We created one directory , now we enter into this new dir . we are ...
0
votes
0
answers
18
views
How discover the device /dev
on my embedded device (RTOS Yocto) there are two serial link (RS232 and RS485) but I don't have a full documentation so I 'm not able to find the right node ( under /dev ) to open for R\W operation
...
0
votes
0
answers
39
views
Yocto & Rust - recipe fails to generate correct build dependencies
I am trying to build a Rust application for Yocto which uses a number of bindgen generated bindings to custom ioctl calls. My recipe includes the following dependency line:
DEPENDS += " clang ...
1
vote
0
answers
22
views
Crash in Qt library file after upgrading to Qt 5.10. Segmentation fault in qqmltype wrapper.cpp
I have code which has been running on systems using Qt 5.4.3 on an ARM processor for several years with no problems. We now need to upgrade to Qt5.10 and the same software compiled on the new ...
0
votes
0
answers
20
views
Eclipse combining applications
I have two applications. One I wrote and one that comes from a third party vendor. My application in written in C, theirs in C++. My project builds in two ways, within eclipse or with autotools ...
-1
votes
0
answers
19
views
couldn't parse 'modules': unrecognized construct
I am trying to compile latest kernel-5.15.40 using yocto but I am getting the error of unparsed module in Kconfig. How can I resolve it? below is the error.
DEBUG: Executing python function ...
0
votes
1
answer
16
views
difference between inherit Directive and INHERIT Configuration Directive in bitbake
I am new to bitbake and i am learing it.
Can you please help me understand the difference between inherit Directive and INHERIT Configuration Directive?
My understanding on inherit Directive:
inherit ...
0
votes
3
answers
35
views
Using our own local linux kernel source code on Yocto Project
We need use our customized linux kernel source code on Yocto Project, is it possible to use our kernel source code with tar file and put it on downloads folder, then use SRC_URI = file://xxx.tar.gz on ...
0
votes
0
answers
13
views
CI\CD with yocto BSP
I have a Yocto BSP git repo and in that BSP we wrote some recipes that their sources are fed from other git repos (in SRC_URI).
I'm planning on building a CI\CD process which will start to build the ...
-1
votes
0
answers
16
views
What are the reasons to show "bb:do_compile) failed with exit code '1'" like that error ? What are the common point and solutions [closed]
bb:do_compile) failed with exit code '1'
Ok,
All of you aware about this error and new for new ,
Thats Great
As I all ready say
What are the reasons to show "bb:do_compile) failed with exit code '...
0
votes
1
answer
16
views
How to solve Yocto Files/directories were installed but not shipped in any package issue
I am using a custom recipe to install packages in my rootfs. My recipe is as follows:
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
DESCRIPTION = "VPU libraries provided by fsl"
...
0
votes
1
answer
20
views
Getting Parse error for LUA and WWW license on swupdate yocto
running meta-swupdate recipe for yocto on dunfell branch, getting error for license of bot lua and www in swupdate.inc file
New to this field, help would be really appreciated. Building for octavo
In ...
1
vote
0
answers
9
views
yocto devtool change ":portnumber" to "/portnumber" in URI, how to fix it?
The command I executed:
devtool add --srcbranch master hello ssh://git@gitlab.xxxx.com.cn:22222/cjl/hello.git
but error shows:
ERROR: Fetcher failure: Fetch command export PATH="...omit"; ...
0
votes
1
answer
24
views
No bb files found in layer
I am new to Yocto and doing some starter projects. I have added my own layer called meta-tutorial .
I have the following recipe file inside my layer at meta-tutorial/recipe-example/hello/hello_1.0.bb
...
-1
votes
0
answers
17
views
how to boot from the yocto grub shell or from the grub menu [closed]
I have two yocoto images and i need to make a dual boot for them.
I make two partitions in dev/mmcblk1 called mmcblk1p1 & mmcblk1p2.
I install first image in mmcblk1p1 & the second image in ...
-2
votes
0
answers
19
views
u-boot and host network interface [closed]
I was trying to follow this tutorial of bootlin https://bootlin.com/blog/tftp-nfs-booting-beagle-bone-black-wireless-pocket-beagle/
on the part of "Configure your PC" it says, I should see ...
0
votes
0
answers
20
views
Yocto - how to stop overwriting the same image
I am new to Yocto and following starter tutorials : https://tutorialadda.com/yocto
When I do source oe-init-build-env , this creates a build directory and moves me into it. Then when I do bitbake ...
0
votes
1
answer
47
views
Getting keys error while setup the Yocto environment in ubuntu
I'm new to Yocto environment setup and using ubuntu 18.04 , while i am running the repo init -u https://link -b branch name -u .xml . Getting the error the below error
gpg: keybox '/root/.repoconfig/...
0
votes
0
answers
16
views
X server error when booting sato image on rasp
Once I have generated the sato image with the Raspberry Pi 4 as the target machine, and it is loaded onto the SD card of the RaspBerry, once we boot up the system I have the error shown below, ...
0
votes
1
answer
30
views
Yocto Dunfell - glibc do_stash_locale failed in multilib enabled environment
Yocto build failed in glibc. Build failed in do_stash_locale with below error.
ERROR: lib64-glibc-2.31+gitAUTOINC+1094741224-r0 do_stash_locale: The recipe lib64-glibc is trying to install files into ...
1
vote
1
answer
46
views
Kernel module build fails with "missing argument to -gdwarf-"
I am trying to build a Xilinx XDMA driver for Yocto, using their supplied makefile. When I run my recipe the build fails with the following errors:
DEBUG: Executing shell function do_compile
NOTE: ...
0
votes
1
answer
21
views
dev packages not getting included in Yocto SDK
We are generating Yocto SDK using the following command: bitbake -c populate_sdk <image-name>
Yocto Branch : Dunfell
We don't see header files getting included in the SDK, for example we have ...
1
vote
0
answers
22
views
How to configure an I2c Controller in the PS of the Zynq 7000 as a slave from Linux
I am using a zed board with a Zynq 7000 on it. The end goal is to have the I2c-0 controller in the physical PS of the Zynq7000 to act as an I2c slave device.
I am using yocto/bitbake to generate linux ...
0
votes
0
answers
15
views
Where is the symlink created for a generated Yocto sdcard image
I modified an existing Yocto class (sdcard_image-rpi.bbclass) which generates an SD card image. The new class has a different name as well. Everything works as expected with one exception. When ...
1
vote
0
answers
28
views
Using WIC to format FAT32 partition to expose via USB mass storage
I have a partition on an eMMC in an embedded linux device that I would like to expose as storage through the g_mass_storage USB gadget. Everything is being build via yocto/bitbake and mostly works; ...
0
votes
1
answer
19
views
How can I interface graphical lcd with raspberry pi with yocto build image
I am newbie to yocto world, learning and trying to develop small projects.
I want to interface graphical lcd with raspberry pi 3, what interface should I use?
I have build a yocto image for raspberry ...
0
votes
0
answers
17
views
How can i add pillow to yocto image rocko branch?
We're working on an older yocto release, and I'm trying to add pillow to our image. Sadly it seems open-embedded lacks pillow recipe for rocko (branch), and the one found in meta-printing appears to ...
0
votes
0
answers
10
views
How to activate PMBus on OpenBMC image flashed on Beaglebone Black?
I'm new to OpenBMC project and trying to enable PMBus for OpenBMC image I built for BeagleBone Black. For now, I'm reading Bosch's BMP280 sensor's readings on OpenBMC: Beaglebone Black using the I2C ...
0
votes
0
answers
45
views
Yocto toolchain installation with qscxmlc support
Hej Folks.
I try to implement a yocto and QT5 based project for a variscite board with QtSCXML support. I got everything run on QtCreator for my Hostmachine (Ubuntu 64-bit, 18.04), so I know my ...
0
votes
0
answers
75
views
nfs mounting problem VFS: Unable to mount root fs via NFS
I am not able to mount nfs, my Parameters are like following, it is from bootlin;
setenv bootargs 'console=ttyS0,115200 root=/dev/nfs rw
nfsroot=192.168.0.1:/nfs,nfsvers=3,tcp
ip=192.168.0.100:::::...
0
votes
1
answer
21
views
nfs mounting error, nfs: Unknown parameter 'ip'
I was trying to make nfs mounting by following the document of bootlin. I set the parameters as following;
setenv bootargs 'console=ttyS0,115200 root=/dev/nfs rw
nfsroot=192.168.0.1:/nfs,nfsvers=3,
ip=...
0
votes
2
answers
58
views
How to change the architecture of armv7l (yocto) to arm64/aarch64?
I have installed Yocto image in the Raspberry Pi 4B previously and I know that the current architecture is armv7l by using uname -m. However, I want to change the architecture to ARM64/AARCH64.
Anyone ...
0
votes
1
answer
30
views
ERROR: Task (virtual:native:/...../pseudo/pseudo_git.bb:do_compile) failed with exit code '1'
ERROR: Task (virtual:native:/home/ahmed-nasr/Desktop/Linux_Customization/myPoky/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_compile) failed with exit code '1'
Im building my custom image for ...
0
votes
1
answer
22
views
Command-line dependency tree for BitBake recipes
For some reason, my Yocto image build is pulling in xserver-xorg along with several other GUI-related dependencies such as GTK3+ and Wayland. I want to understand where this dependency is being ...
0
votes
0
answers
27
views
Conflicting revision error when sourcing from multiple git repositories in yocto
I want to fetch from two git repositories in yocto, but I get an "conflicting revisions error. The code I use is like this:
SRC_URI_append = " git:///home/project1/source/;protocol=file;rev=&...
0
votes
0
answers
23
views
yocto inherit qmake5 don't work if install directory is not /usr/bin
I have a directory qt project with a application (customqtapp) and two libraries (libprotocustom and libcustom).
I created a simple yocto recipe inherit qmake5.
All works fine if the target install ...
-3
votes
0
answers
47
views
Yocto do_image_wic: ExecutionError
When i build the yocto to target is raspberry pi3 b+,
i use cmd : bitbake core-image-base,
but occur some error, plz see the following:
Build Configuration:
BB_VERSION = "2.0.0"
...
0
votes
0
answers
15
views
What does 'expr' and '\+' in Yocto class do
Within a Yocto class definition I find the following:
$(expr ${BOOT_SPACE_ALIGNED} \+ ${IMAGE_ROOTFS_ALIGNMENT})
I assume 'expr' is the bash command, but what does the '\+' do ?
With multiplication ...
0
votes
1
answer
34
views
configure already deployed yocto build / flashing os with wifi
I got my hands on an already deployed yocto system (yocto 2.6.2 - thud) on a board with a NXP i.MX 6UL Cortex-A7. My only possible access at the moment is via wifi. I have access as root via wifi with ...
0
votes
0
answers
25
views
Yocto Build with HDMI STM32MP1-DK1 no display
Ive been following the Digi-Key introduction to Yocto project on the STM32MP1-DK1:
link here
Ive gone through all the tutorials and had success setting up a custom Yocto project with the following ...
-1
votes
0
answers
30
views
Disable UART Intel Processor
I have a custom device that uses an Intel Celeron N3350 processor, following a security penetration test it was observed that we need to disable our UART debug port. Ideally we still provide a means ...
0
votes
0
answers
39
views
How to port patches created for older kernel version to new version without changing the original maintainer
While building yocto images for various SOCs, patches are used to add the internal changes to the mainline kernel. When a new kernel version releases, sometimes the old patches fail at a couple of ...
0
votes
0
answers
42
views
How to create fw_env file for rauc - yocto - rauc not working properly
I am trying to integrate rauc to my yocto image, I can't do it correctly and I had this issue. I tried to create a suitable fw_printenv for my device but still have the same problem. The boot mode is ...
0
votes
2
answers
37
views
How to copy whole directories containing subdirectories to /boot (i.e bootfs) in Yocto while inheriting core-image class?
I have a directory which again contains subdirectories, which are built has part of other recipe and moved to DEPLOY_DIR_IMAGE using deploy bb class. So now I want to copy it to main image boot ...
0
votes
1
answer
116
views
Yocto bitbake ${@bb.utils.contains(...)} is having subtistution failure
I'm trying to integrate meta-mender and the problem comes down to the file path:
meta-mender/meta-mender-core/classes/mender-part-images.classes
On the line:
56: if ${@bb.utils.contains('...
0
votes
1
answer
49
views
Can't start bitbake on ubuntu with python2
I'm trying so start bitbake, yet it tells me there's a previews instance running, despite none is present:
Previous bitbake instance shutting down?, waiting to retry...
Previous bitbake instance ...
-2
votes
1
answer
50
views
Setup Yocto Environment using Dockerfile
I'm working on Setup Yocto Environment using Dockerfile through Jenkins.
I need to execute commands step by step in Dockerfile. I'm able to download repo using curl command successful.
Getting errors ...
1
vote
1
answer
57
views
How to limit memory usage in yocto bitbake?
When building some packages, I found OOM in dmesg.
The build process was killed and terminated.
Anyway to set up memory usage limitations?
0
votes
1
answer
82
views
Kernel modules not loaded during boot
Observing that some kernel modules are not being loaded in the latest kernel 5.15.34-v7.
So I have built a core-image-base from meta-raspberrypi (0135a02) and while trying access the camera using ...