Questions tagged [yocto]

Framework for building installable images

Filter by
Sorted by
Tagged with
0 votes
1 answer
49 views

Problems running bitbake on Kirkstone

So I was able to set up Poky Honister and get that working a while back but I'd like to move to Kirkstone for a variety of reasons. I keep getting the following errors and I have no idea whats going ...
user avatar
1 vote
0 answers
11 views

Complete kernel hang after adding bluetooth to system devicetree

I am working right now at adapting yocto distro to run on custom, imx8mm-evk based hardware. I was mostly changing linux devicetree to fit new board needs and everything was fine, but when I added ...
user avatar
  • 11
0 votes
0 answers
13 views

Raspberry Pi CM3 UART1 kernel modules not loading

I am trying to build a Raspberry Pi cm3 Yocto image. I am current on the sumo branch of yocto and my kernel version is rpi-4.9y. I want to uart1 on pin 32 and 33 for which I updated my device tree ...
user avatar
0 votes
1 answer
53 views

what happens when shell script is built in bitbake

I am just tying to understand the bitbake build system. I have a doubt regarding how shell functions/task gets executed. I am going through below documentation https://docs.yoctoproject.org/bitbake/ ...
user avatar
0 votes
0 answers
89 views

VSFTPD 500 OOPS: cannot change directory:/logs

I am getting error 500 OOPS: cannot change directory:/logs while using file zila client to access this directory. My linux kernel version is "4.9.11". I have created a user called log_user ...
user avatar
0 votes
0 answers
45 views

How to access gpio-keys from a shell script

In my embedded linux system, I defined some GPIOs as keys in the device tree so I can use them as keys in my application. This works fine so far. Now I want to add an early startup script to respond ...
user avatar
  • 11.7k
0 votes
0 answers
70 views

How does one install a python3 library in yocto/opkg?

Openembedded opkg packages for python contain pyc files. I looked at python3-dbus, and I do not see a post-install step. All python related files except the SO files are in /usr/lib/python3.8/site-...
user avatar
  • 153
1 vote
0 answers
51 views

Booting arm64 linux from PHRAM device on RAM failed on systemd processing

I'm trying to boot a busybox based ext4 Liunx image built by yocto, from the RAM, using PHRAM device(dev/mtdblock0) as rootfs. The machine is Intel FPGA board(Stratix 10). I have enabled PHRAM in ...
user avatar
  • 11
1 vote
0 answers
63 views

System is booting to "emergency/rescue mode"

This may not be the issue with Yocto itself but rather related to properly booting up Linux on Avenger96(STM32MP1) board. I am currently working on Avenger96 with Yocto(Dunfell). Aim is to implement ...
user avatar
1 vote
2 answers
150 views

Iptables and fail2ban on Yocto Linux

I've installed both iptables and fail2ban on my embedded Yocto-Linux. When fail2ban set the following command: iptables -w -I INPUT -p tcp -m multiport --dports http,https -j f2b-NoScript I have that ...
user avatar
0 votes
1 answer
168 views

Setting up DNF on Yocto

I am using PetaLinux (or Yocto) as my systems OS. I built the image and have dnf as my package manager. However, when I try to install something, I get the error message: Error: There are no enabled ...
user avatar
  • 101
0 votes
0 answers
27 views

Yocto howto retain a random variable between builds?

I am using Yocto to build an embedded distribution. I am trying to generate a random name for the computer within the machine.conf file. To that goal, I created a python function: def ...
user avatar
  • 1
0 votes
0 answers
71 views

Yocto recipe to add X11?

I've got a SAMA5D4 Xplained board & I'm running a Yocto image using the meta-atmel layer. It currently uses a KMS backend but I'd like to try using X11 (to overlay text on video which doesn't seem ...
user avatar
  • 11
0 votes
1 answer
440 views

Why does networkmanager change device state to unavailable?

Using a Yocto distribution with NetworkManager and NetworkManager-nmcli installed, I am not able to have my wifi wlan0 device leaving the unavailable state. The error message I have is: device (wlan0):...
user avatar
  • 1
0 votes
1 answer
20 views

Offline setting account expiration

I need to set up an account inactivity expiration date (es. 1 year). As shown in some tutorials, a way of doing so is to use the usermod command. Due to some constraints, I need to do so offline, ...
user avatar
  • 351
0 votes
2 answers
165 views

Udev rule runs, script fails

I am trying to use udev to detect a USB attach event then run a script. There are many examples of this but I can not seem to get it to work. My script is /usr/bin/ is very plain usbattached.sh !/bin/...
user avatar
  • 101
1 vote
0 answers
108 views

Relationship between flags D_FILE_OFFSET_BITS and D_LARGEFILE64_SOURCE

I am using a 32 bit version of a Linux build in Yocto. I want to add support for timestamps after 2038, so in the local .conf file I added: TARGET_CPPFLAGS += "-D_FILE_OFFSET_BITS=64" ...
user avatar
0 votes
1 answer
121 views

Integrate a younger qt version in an older yocto release

Our project is based on the meanwhile outdated yocto warrior, which was first modified by the vendor of our SoM. Then we integrated the FreeScale/NXP kernel into it because the mainline kernel did not ...
user avatar
  • 11.7k
0 votes
1 answer
47 views

Bitbake Congatec Yocto - hangs in step: parsing recipes. git ls-remote http://<user>:<key>@host/project hangs

Everything worked before. But at one point everything got stuck at the step of parsing recipes. How can i fix it? ./clear_mntconti_cpp.sh source /opt/yocto/.yocto_build.rocko/poky/oe-init-build-env /...
user avatar
  • 11
0 votes
1 answer
78 views

How to Start an application during boot without login in Linux-Yocto

I am currently trying to deploy an image on my raspberry pi 3 that would allow me to run a simple "helloworld" application after boot. I want my board to display the helloworld text without ...
user avatar
1 vote
0 answers
51 views

SELinux: allow socat to run on unreserved_port_t

I'm working on an embedded distro with SELinux. I am having this issue: root@unknown7:~# socat openssl-listen:7777,reuseaddr, stdio 2022/02/03 13:44:44 socat[2331] E bind(5, {AF=2 0.0.0.0:7777}, 16): ...
user avatar
  • 351
1 vote
1 answer
46 views

Can't type at Linux login prompt

I've just opened up two brand new Intel Galileo Gen 2s and am looking to login to their default Linux distro via terminal (ie. no SD card used). I am coming across a weird, identical issue with both ...
user avatar
  • 121
3 votes
1 answer
70 views

How to set keyboard repeat delay in Weston

I'm working on a platform with Wayland & Weston and I so far only have the Wayland-Terminal application installed. I can start it but it's unusable because I cannot type a single letter, it ...
user avatar
  • 1,937
1 vote
1 answer
217 views

How to identify serial ports on new boards

I'm porting a custom board based on I.MX233 using yocto and I'm wondering how you initially set the "console" kernel parameter? Does the kernel assign serial devices based on first mentioned ...
user avatar
0 votes
0 answers
31 views

Syslog entries getting out of sequence

I have an embedded Linux installation completely self-cross-compiled using Yocto Poky. Beside the many system services I also have a completely custom application running as headless daemon. ...
user avatar
  • 738
0 votes
2 answers
332 views

Cross-compile libgpiod library and use it in my program

I am trying to cross-compile a program with the "gpiod" library. My host pc has Ubuntu 18.04 and the target platform I am cross-compiling for is a Board with IMX8X SOM. I found source code ...
user avatar
1 vote
1 answer
276 views

Serial getty service stops during boot

I'm working on an embedded device running a Yocto based Linux distribution. Others appear to have faced this exact issue under different conditions but don't seem to have found a solution. I've taken ...
user avatar
  • 121
0 votes
0 answers
74 views

How to specify the root partition in the u-boot bootloader configuration?

I am trying to understand Yocto OpenEmbedded Kickstart (.wks) manual and use it to creat wic images. In the manual Kickstart .wks reference they have mentioned about --use--uuid. And it's described as ...
user avatar
0 votes
0 answers
20 views

VAR-SOM-MX8M-PLUS booting on Yocto-Recovery-SD with custom board restarts kernel again and again

Currently i am working with the VAR-SOM-MX8M-PLUS from Variscite on a self-build board. I am new to this topic and tryed a lot to get it working. I started booting the controller with the recovery-sd ...
user avatar
0 votes
0 answers
193 views

how to set SSH locale

I have a box running Poky Linux Rocko-2.4.2 with BusyBox. I set the locale to US English UTF-8 (en_US.UTF-8). If I log in as root directly at the console and execute: locale, I get the expected ...
user avatar
2 votes
0 answers
165 views

How to check if the memory is actually used by the OS in an Embedded Linux system?

This question needs additional clarifications. Background: I am working on an embedded system (Xilinx zynq ultrascale+) which consists of an ARM processor + FPGA. The memory map (if I were to use the ...
user avatar
  • 149
1 vote
1 answer
43 views

Displaying video on a monitor without a graphic interface

I am working on a microcomputer with Yocto operating system (based on openembedded) where I don't have any graphical environment. The system is quite heavily loaded, and I would like to avoid adding a ...
user avatar
  • 161
1 vote
1 answer
106 views

Any reason for not getting rid of bash dependency in rpm?

I don't want bash in my yocto image, but it got included over a couple of dependencies. I was able to get rid of most of them, now only the rpm is left (which I need). Tracking it down I found only ...
user avatar
  • 11.7k
1 vote
1 answer
586 views

How to get xinput device ID of touchscreen without using manufacturer string?

Chromium only shows proper touchscreen behavior when the supplied ID argument is 7 in the case of the below devices. Note that the xinput IDs are subject to change during a reboot, so I can't just use ...
user avatar
  • 21
0 votes
1 answer
80 views

yocto: psplash custom executables do not get installed

Depending on the detected hardware I need to start one of two executables of psplash with different images, so in my psplash_%.bbappend I have SPLASH_IMAGES = "file://bootscreen1.png;outsuffix=...
user avatar
  • 11.7k
0 votes
1 answer
40 views

sshd on yocto linux consistenaly disconnects me

We have our own yocto image on IMX8 device (NXP). The device internet is served by simcon EU 4G modem and IOT sim (Monogoto). The connection id created with libqmi and created wwan0 successfully. the ...
user avatar
0 votes
0 answers
76 views

Yocto splash screen before rc5

I would like to show splash screen on yocto boot. Im'm using psplash for this purpose. But the difficalty I'm facing is that despite psplash is located in rcS.dgraphic only start to appear when ...
user avatar
0 votes
2 answers
346 views

tar fails on symlinks when called as python subprocess

After upgrading my debian from buster to bullseye, my yocto build process fails in do_package: Function failed: perform_packagecopy with hundereds of messages like tar: ./dir/linkfile: Cannot change ...
user avatar
  • 11.7k
10 votes
1 answer
2k views

Can not execute "Hello, World!" C program with user other than 'root'

I have written a "Hello, World!" C file myCFile.c on an x86 embedded board on the Debian OS. #include <stdio.h> int main() { printf("hello\n") } I compile the program: gcc ...
user avatar
0 votes
0 answers
214 views

How to debug gtest unit tests under gdb with proot

I'm trying to debug a unit test with gdb and proot. I need proot because I'm cross-compiling with a toolchain. What I'm trying is to run LC_ALL="" PROOT_NO_SECCOMP=1 proot -R /home/yocto/sdk/...
user avatar
1 vote
0 answers
128 views

systemd-mount and automatic deletion of mount point on USB removal

On a systemd based embedded system, built with yocto, I'm trying to use systemd-mount for automatically mounting USB drives whenever those are plugged in. Following the official manual, I created a ...
user avatar
  • 11
0 votes
0 answers
51 views

Are there any other standard ways of bringing network interfaces up at boot, apart from using /etc/network/interfaces?

I'm working with a Yocto based embedded system and I want all external network interfaces to default to being disabled at boot. Normally, I'd assume that they go up at boot because /etc/network/...
user avatar
  • 103
0 votes
0 answers
33 views

Program not use the same cpu core number between two OS

I have a program in C who use SDL2. When I run my program on my Raspberry with Raspbian OS, it uses all core (I can see this with htop). When I run the same program on the same Raspberry but with a ...
user avatar
  • 13
0 votes
0 answers
85 views

RTL1892CU WIFI USB Stick not working stable?

I have a RTL1892CU wifi usb stick which i am trying to run stable on yocto linux. It is running fine but when i unplug the usb and then plug it again it stops working. It desnt say anything about the ...
user avatar
  • 101
1 vote
0 answers
34 views

Compiling Beaglebone Black Linux image for QT and 4Dsystems LCD cape

I have researched a lot into buildroot and yocto compilation for BBB and understand qt configs / layers for both. However I can’t seem to get the 4.3” Touchscreen cape to work. I have tried comparing ...
user avatar
0 votes
0 answers
24 views

Generating poppler rpm with yocto

I would like to build an rpm package for installing the poppler libary on an embedded linux with an i.MX6 processor. So far I have been able to generate some packages using this guide from NXP. I have ...
user avatar
  • 101
0 votes
0 answers
111 views

How to disable TX path of ethernet PHY in embedded linux?

In a yocto-based embedded device I use ethernet only to receive UDP packets. Now I want save energy as the device (as well as the UDP transmitter) is battery powered, and the ethernet PHY (a micrel ...
user avatar
  • 11.7k
0 votes
1 answer
436 views

Fail to enable NFS on Yocto Linux

I'm trying to enable NFS on a Linux image built using Yocto. The image is running on a dev board - Qualcomm RB5. After booting up, mount.nfs didn't seem to work, complaining mount.nfs: No such device ...
user avatar
  • 111
1 vote
0 answers
390 views

How to start using google tests on a Yocto(Open Embedded) System

I'm doing a project for ARM64 devices and am using Linux Embedded as the OS. I am trying to using Google Tests but when running bitbake, it is failing. Heres the error: | CMake Error at /#####/tmp-...
user avatar
0 votes
1 answer
1k views

Can't set static IP on systemd-networkd

I can't set static IP on a wired interface using systemd-networkd. based on here, I should be able to set static IP using below code on /etc/systemd/network/eth0.network path: [Match] Name=enp1s0 [...
user avatar
  • 1

1
2 3 4 5