Skip to main content

Questions tagged [yocto]

Framework for building installable images

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

How do I make sure two entities manipulating the same SPI line with different linux modules don't collide, or is this handled by the kernel already?

TL;DR I am developing some code for my SPI display that also has an SD card reader on it for use on a Linux board. I'm trying to use mmc_spi with the SD card reader portion, concurrently with a ...
thecreamybeige's user avatar
1 vote
0 answers
19 views

Need to expand rootfs online. Looking for alternatives

I am currently working with NXP's iMX8MP-EVK and I created a custom image using yocto. The image is 6.6GB in size and after flashing this image into eMMC and booting through it, I found the remaining ...
G-Smart's user avatar
  • 11
0 votes
0 answers
17 views

systemd-remount-fs randomly fails with "mount: /: mount point is busy."

I recently switched to a read-only root filesystem using Yocto (Kirkstone version) and use the Yocto volatiles feature to keep some directories writable - for instance the entire /etc, /home, etc... ...
ramacassis's user avatar
0 votes
0 answers
49 views

Devtool modify recipe not working correctly in Kirkstone

Facing issue using devtool modify recipe in Yocto kirsktone. Error Snippet: devtool modify nginx NOTE: Starting bitbake server... NOTE: Reconnecting to bitbake server... NOTE: Retrying server ...
Nathan's user avatar
  • 21
0 votes
1 answer
61 views

Unsupported Locale setting error when running Azure pipelines

I am getting this below error snippet when I try to run pipeline build from Azure. 2024-06-18T06:02:45.1075555Z Your configuration files at build have not been touched. 2024-06-18T06:02:45.3914362Z ...
Nathan's user avatar
  • 21
0 votes
0 answers
27 views

I couldn't find the cups file in /etc/init.d

I've built a Yocto image for BeagleBone, ensuring to include the cups package in the image recipe. However, after booting the OS, I noticed that the CUPS init script is missing from the /etc/init.d ...
Sanket Warhade's user avatar
0 votes
0 answers
14 views

Define GPIO name/status in Device Tree and have it accessible from userspace

I have a custom board with several GPIO. I'd like to: give them a friendly name be able to get the level at boot time define active high/low I defined the GPIO as hogs like this &gpio5 { ...
il_mix's user avatar
  • 101
0 votes
0 answers
17 views

Multiple I2C GPIO Expander give probing error due to shared reset pin

I'm editing the kernel device tree for a custom board. I have two GPIO expanders (pcal6416) connected to i2c3 bus. The two expanders share the same CPU pin as reset. Here is the initial device tree &...
il_mix's user avatar
  • 101
0 votes
0 answers
35 views

ALSA: How to duplicate audio so it comes out of two devices at once

I have two devices playback_bt (Connects to BT chip) and aduplex_rtp (which delivers audio to a device/speaker over rtp). I can use aplay to play sound to them individually. I want to be able to write ...
Cameron McFie's user avatar
0 votes
0 answers
32 views

Enable ARP Announcement on Linux built with yocto

When connecting my Linux computer (Ubuntu 22.04, Kernel 5.15) to the network I see an ARP Announcement according to the Wireshark print screen below. For an embedded device I build my Linux using ...
moudi's user avatar
  • 111
0 votes
0 answers
18 views

Problem adding onnxruntime python package to a yocto build

I'm trying to add the meta-st-x-linux-ai to my yocto build setup so that I can have the onnxruntime python package available on my linux, but I get the following errors : Notice that all my layers ...
SADALI Mohand's user avatar
0 votes
1 answer
41 views

Why can't I access UBoot variables?

When I run fw_printenv, I get: Cannot read environment, using default Cannot read default environment from file However, if I run: u-boot=> saveenv Saving Environment to MMC... Writing to MMC(2)......
antitivoization's user avatar
0 votes
1 answer
43 views

systemd service for openvpn vs networkmanager-openvpn

I am using Yocto for a rpi4 target. I was using a systemd service to activate my VPN over openvpn at boot: [Unit] Description=OpenVPN connection to .ovpn file After=network.target [Service] Type=...
void_brain's user avatar
2 votes
0 answers
70 views

Running chromium on Rpi5 using Yocto

I have a Raspberry Pi 5. I want to get chromium to run on it. I want to build Linux via Yocto. I'm using the Kirkstone branch of Yocto. My local.conf relating to chromium IMAGE_INSTALL:append = " ...
Matt Ellen's user avatar
0 votes
0 answers
25 views

Why is my linux kernel showing as a "debug kernel"?

I have a fairly standard yocto (nanbield) system running on an intel machine. I see the following message when I boot: ********************************************************** ** NOTICE NOTICE ...
Dave's user avatar
  • 23
4 votes
1 answer
465 views

ps: invalid option -- 'p'

I'm using Yocto Project (honister) to build my OS image. When I'm trying to use vscode ssh extension, I'm getting an error: > ps: invalid option -- 'p' > BusyBox v1.34.1 () multi-call binary....
YoctoDragon's user avatar
0 votes
0 answers
28 views

How create a persistent system with Petalinux?

I've been stuck on this problem for several days and I'm having trouble finding resources, so I'm calling on the community. I have created a Linux system on a Zynq-7000 type card using Petalinux. This ...
Boune's user avatar
  • 1
1 vote
0 answers
50 views

Adding extra PAM modules on yocto

I'm new to yocto, I'm trying to add the 'pwquality' pam module to the image but I'm struggling with it, initially I have added this line to the local.conf file: DISTRO_FEATURES:append = " pam&...
R -'s user avatar
  • 11
0 votes
0 answers
26 views

How can I patch u-boot in yocto for the beaglebone black?

I'm trying to make some modifications to u-boot for the beaglebone black, compiling in yocto nanbield. The two changes I'm trying to make are: Turn off the delay for the bootloader Enable booting ...
Dave's user avatar
  • 23
0 votes
1 answer
117 views

Building python3-scipy for Kirkstone

I am trying to install the python3-scipy for Yocto/Kirkstone. Using the inbuilt command pipoe , I installed the package. pipoe --python python3 --package scipy --licenses MIT This command worked & ...
Nathan's user avatar
  • 21
0 votes
1 answer
25 views

ath9k_htc wifi must be unplugged and plugged back in after each boot

Context, I have an stm32mp135d odyssey board running my own linux image made with yocto and booting from an SD Card. I have a cheap ath9k wifi USB dongle plugged into it and have a nuisance issue ...
robo1340's user avatar
1 vote
0 answers
30 views

Yocto Implementation of QEMU

What exactly is the difference between the Yocto Implementation of QEMU and QEMU in general? It is clearly stated right at the beginning of the relevant chapter in the Yocto documentation that they ...
notanothernoob's user avatar
0 votes
0 answers
38 views

Yocto. How to keep u-boot splash screen and then how to keep kernel splash screen on

I am porting Yocto into my board. I wrote u-boot & kernel graphics drivers for my display. Everything works fine. The only problem I have is: u-boot splash screen is displayed for a while when ...
gulpr's user avatar
  • 101
1 vote
1 answer
81 views

Possible reasons for the shell's "not found" response?

What are all the possible reasons that the shell would respond with "not found" when trying to run an executable? The executable definitely exists and has execute permission (chmod +x). ldd ...
Dane's user avatar
  • 13
0 votes
1 answer
285 views

How do I enable UEFI secure boot for a linux build made with yocto?

I'm producing a yocto build, and want to enable UEFI Secure Boot on the intel machine I'm using. This is a pretty basic yocto build, using core-image-minimal and meta-intel. The artifacts it ...
Dave's user avatar
  • 23
0 votes
0 answers
39 views

Suckless Surf Browser not rendering webpages correctly

I created an image for my RPI4 using Yocto and BitBake. I also added Suckless Surf browser that runs on X11 and openbox. Even though I am able to open the browser and browse to websites, the content ...
simon's user avatar
  • 1
1 vote
1 answer
107 views

How can I manually install a Yocto image?

I'm having difficulties installing an image I've built with Yocto. In the past I've always used u-boot, MBR, and legacy boot. Installing Yocto meant creating boot and rootfs partitions, installing the ...
Dave's user avatar
  • 23
0 votes
0 answers
57 views

How to remove Sox dependency on ffmpeg in Yocto

In my embedded application I have to downsample wav files. I found out that SoX could do the job so I added it in my image recipe. When building the image it raised an error as ffmpeg is required as ...
A.Joly's user avatar
  • 101
0 votes
0 answers
66 views

Yocto, bitbake - how to remove unwanted hunks in the patch file

I am trying to bitbake system for seedStudio odyssey board. I got into problems applying patches CmdError('quilt --quiltrc /home/seed-studio/STM/Distribution-Package/build-openstlinuxweston-stm32mp1/...
gulpr's user avatar
  • 101
0 votes
1 answer
94 views

Git LFS doesn't work anymore with our Yocto: git doesn't fetch "large files" since we upgraded our tools

Git LFS doesn't work anymore with Yocto: git doesn't fetch "large files" since we upgraded our tools to these versions: Yocto kirkstone gitlab 16.7.3 and gitlab 16.8 git version 2.34.1 git-...
Jean-Loup Sabatier's user avatar
0 votes
1 answer
227 views

In a yocto recipe, what selects the release to download from the GitHub repository?

I'm using yocto to build my custom Linux distribution. I need to add hiredis to my distribution. hiredis is a minimalistic C client library for the Redis database, and I need it to access Redis by a C ...
User051209's user avatar
0 votes
1 answer
151 views

Yocto project building: version `GLIBC_2.33' not found

I need to build an image using Yocto project with custom layers and device tree to work on Oclea hardware. I'm on Ubuntu 20 with ldd (Ubuntu GLIBC 2.31-0ubuntu9.14) 2.31 I've seen that the filesystem ...
Ja_cpp's user avatar
  • 101
0 votes
0 answers
78 views

Yocto Project for a New Board

I am trying to hunt down specifics on Yocto in regards to how to set up the filesystem before the build of poky. I have a new board that I wanted to try Yocto on. I have this FS so far after source oe-...
De Funct's user avatar
  • 105
1 vote
0 answers
111 views

Automatic Partition Resizing during Boot in Linux

I have a Linux system with a storage device containing multiple partitions. Specifically, the device (/dev/sdX) has three partitions (sda1, sda2, and sda3). The third partition (sda3) is intended for ...
Aravind Ekan's user avatar
0 votes
1 answer
198 views

How to set static IP for 2 network interfaces in systemd linux

I have a Yocto distro that uses systemd (like ArchLinux) to allow static IP configuration via /etc/systemd/network/20-wired.network file. I need to set a static IP for 2 network interfaces (eth0 & ...
Del's user avatar
  • 11
0 votes
1 answer
91 views

How do I remove ntpd from the final image with my own recipe?

I want to get rid of all ntpd related stuff from my yocto linux image. Currently I include the meta-openembedded layer, which is responsible that the NTP service ntpd is installed on my final image. ...
schande's user avatar
  • 115
0 votes
0 answers
133 views

Broadcom USB Wireless Driver Installation

I try to use a USB Wireless Stick. The hardware is well recognized with lsusb : Bus 001 Device 003: ID 0a5c:bd1e Broadcom Corp. BCM43143 802.11bgn (1x1) Wireless Adapter I tried to install the ...
Volt's user avatar
  • 1
0 votes
1 answer
84 views

Yocto - rootfs size is smaller on target than in workdir

I use Yocto to build an image for my development board and I noticed that the same command du -sh showed smaller value when I checked it on the running system than in the yocto work directory. The ...
user3333's user avatar
0 votes
0 answers
241 views

The OOM killer kill process when there is enough memory available in linux

DotNET process got killed by OOM-Killer when ~150MB memory was available in system, and OOM min criteria is set 20MB. Note: we are using Linux version 5.4.3-yocto-standard+g852f89dfab60 TCPBufferRcv....
Ankit Khasa's user avatar
0 votes
0 answers
19 views

why doesn't systemd start automatically on boot from beagleboard

I have built beagleboard images (core-image-minimal, core-image-base and core-image-sata) with yocto poke, after linux kernel (v5.19) starts, I don't see systemd starts unlike debian or angstrom ...
Kaijun Tang's user avatar
0 votes
0 answers
116 views

Podman Integration

As I am trying to integrate podman in yocto build system as already done in docker. For docker i haven't faced any issues just followed these steps: https://elinux.org/images/b/b4/03_integrating-...
Deepika's user avatar
0 votes
1 answer
322 views

Stream MP4 file over usb

I have an embedded system running a custom distro built using Yocto. Later down the line, I will have a usb camera plugged into the system, but for not I would like to use a .mp4 file as a "dummy&...
ESD's user avatar
  • 103
1 vote
0 answers
126 views

avahi-daemon runs with wrong hostname

I have a problem on one device where the avahi-daemon is running with the wrong hostname and it is messing up my system. The hostname is ABC-100001 but when I check the process list it shows that ...
uncletall's user avatar
  • 111
1 vote
0 answers
124 views

How can daemons source environment variables on a machine without persistent storage

I'm working on a Yocto Project build of an AARCH64 system, where I need the monit daemon (or at least a process started by monit) to access an environment variable I'm setting. It's my understanding ...
Patrick M's user avatar
1 vote
0 answers
226 views

Why are serial ports losing bytes after Linux upgrade?

I have an embedded Linux system built using Yocto. Recently I upgraded from Dunfell (kernel 5.4) to Kirkstone (kernel 5.15) and I started having problems with the serial port. Large chunks of bytes ...
xAptive's user avatar
  • 11
1 vote
1 answer
266 views

Yocto Linux, root logging error : libcrypt does not support MD5 or SHA512

I'm building Linux image using yocto 4.2. I've already set up the root password on the local.conf file with hash generated my MD5 using openssl openssl passwd -1 root INHERIT += "extrausers" ...
Lkaf Temravet's user avatar
2 votes
1 answer
3k views

UFW Couldn't determine iptables version

I am building a custom embedded Linux platform based on the NXP i.MX8 with Yocto. I want to use UFW to setup the firewall. When I boot the system and try to use UFW it returns an error Couldn't ...
PhilBot's user avatar
  • 29
1 vote
1 answer
471 views

"-dev package mylib-dev contains non-symlink" error when building lib using Yocto bitbake

I am trying to build Linux distribution using Yocto project, the target board is STM32MP157A-DK1 board ,I am using distribution package and meta data delivered by STMicroelectronics for OpenSTLinux. I ...
Hossam Alzomor's user avatar
0 votes
0 answers
568 views

How to modify timesyncd.conf in a yocto recipe

I have a yocto build and now I am trying to write a recipe in which I can adjust the parameters in the configuration file under /etc/systemd/timesyncd.conf. Responsible for the file is probably the ...
schande's user avatar
  • 115
0 votes
1 answer
189 views

what are the potential benefits of using YOCTO for generating custom distro and rootfs over using the ones supplied by vendor [closed]

I read about comparisons between buildroot and YOCTO project (google) regarding building rootfs and wanted to ask a more general question: What are the potential benefits of building my own rootfs ...
hutcruchi's user avatar
  • 349

1
2 3 4 5 6